<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Node on 村边的池塘</title>
    <link>https://jerrywang1981.github.io/categories/node/</link>
    <description>Recent content in Node on 村边的池塘</description>
    <generator>Hugo</generator>
    <language>zh-CN</language>
    <lastBuildDate>Tue, 28 Mar 2023 18:52:12 +0800</lastBuildDate>
    <atom:link href="https://jerrywang1981.github.io/categories/node/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Axios Error Request Body Larger Than MaxBodyLength Limit</title>
      <link>https://jerrywang1981.github.io/post/node/axios-error-Request-body-larger-than-maxBodyLength-limit/</link>
      <pubDate>Tue, 28 Mar 2023 18:52:12 +0800</pubDate>
      <guid>https://jerrywang1981.github.io/post/node/axios-error-Request-body-larger-than-maxBodyLength-limit/</guid>
      <description>Axios error Request Body Larger Than MaxBodyLength Limit&#xA;solution config axios maxContentLength/maxBodyLength to a large number or Infinity&#xA;const options = { url, //method: &amp;#39;post&amp;#39;, //... maxContentLength: Infinity, maxBodyLength: Infinity, }; </description>
    </item>
    <item>
      <title>Blind Sql Injection</title>
      <link>https://jerrywang1981.github.io/post/node/blind-sql-injection/</link>
      <pubDate>Wed, 16 Nov 2022 09:29:06 +0800</pubDate>
      <guid>https://jerrywang1981.github.io/post/node/blind-sql-injection/</guid>
      <description>Security Risk: It is possible to view, modify or delete database entries and tables&#xA;Cause: Sanitation of hazardous characters was not performed correctly on user input&#xA;Fix: Review possible solutions for hazardous character injection&#xA;Reasoning: The test result seems to indicate a vulnerability because it shows that values can be appended to parameter values, indicating that they were embedded in an SQL query. In this test, three (or sometimes four) requests are sent. The last is logically equal to the original, and the next-to-last is different. Any others are for control purposes. A comparison of the last two responses with the first (the last is similar to it, and the next-to-last is different) indicates that the application is vulnerable.&#xA;How to fix https://sequelize.org/v5/manual/raw-queries.html&#xA;make sure to &amp;lsquo;replace&amp;rsquo;/&amp;lsquo;bind&amp;rsquo;</description>
    </item>
    <item>
      <title>React for Beginners</title>
      <link>https://jerrywang1981.github.io/post/react/react-for-beginners/</link>
      <pubDate>Fri, 25 Sep 2020 07:56:47 +0800</pubDate>
      <guid>https://jerrywang1981.github.io/post/react/react-for-beginners/</guid>
      <description>Prerequesite node javascript html css es6 code editor create-react-app npm install -g create-react-app create-react-app app-name React component state class component里面管理状态使用state class Counter extends Component { state = { counter: 10, title: &amp;#34;this is demo&amp;#34;, products: [ { id: 1, name: &amp;#34;ok&amp;#34;, }, { id: 2, name: &amp;#34;bad&amp;#34;, }, ], }; // ..... other } render jsx expression attributes list/array conditional rendering handle events binding event handlers updating state event arguments passing data to component passing children debug react app props vs state raising and handle events multiple component in sync lifting state up functional component destructure arguments lifecycle hooks</description>
    </item>
    <item>
      <title>Sequelize Bulk Create to return with primary key in Postgre</title>
      <link>https://jerrywang1981.github.io/post/node/sequelize-bulk-create-postgre/</link>
      <pubDate>Tue, 19 May 2020 20:00:37 +0800</pubDate>
      <guid>https://jerrywang1981.github.io/post/node/sequelize-bulk-create-postgre/</guid>
      <description>Sequelize data model 在使用 bulkCreate的时候，如果想在返回的数据中包括生成的id, 需要加上option, { returning: true } return CertificationEndUsers.bulkCreate(usersToInsert, { returning: true }); 另外 postgresql中table name包含双引号和不包含的，竟然是不一样的两个table &amp;#34;users&amp;#34; users 比如这是两个table</description>
    </item>
    <item>
      <title>Angular Javascript Heap Out of Memory</title>
      <link>https://jerrywang1981.github.io/post/node/angular-javascript-heap-out-of-memory/</link>
      <pubDate>Thu, 14 May 2020 21:20:50 +0800</pubDate>
      <guid>https://jerrywang1981.github.io/post/node/angular-javascript-heap-out-of-memory/</guid>
      <description>如果启动angular的时候有报 Javascript heap out of memory错误，可以试着修改 node_modules/.bin/ng 加上 --max_old_space_size #!/usr/bin/env node --max_old_space_size=4096 &amp;#39;use strict&amp;#39;;</description>
    </item>
    <item>
      <title>Python Nest</title>
      <link>https://jerrywang1981.github.io/post/python/python-nest/</link>
      <pubDate>Sat, 11 Apr 2020 21:15:14 +0800</pubDate>
      <guid>https://jerrywang1981.github.io/post/python/python-nest/</guid>
      <description>背景 最近有做一个nestjs的项目，用的nestjs实现的微服务，如果所有的功能都用node/nestjs写，那倒也没有什么问题了。可是有一个功能是需要用到机器学习，代码是用python写的，需要用python实现一个微服务，供nest app来调用，同时，python代码也需要调</description>
    </item>
  </channel>
</rss>
