
nodejs
xuemiyang
这个作者很懒,什么都没留下…
展开
-
利用HTTP的缓存机制,避免web页面编写缓存代码
利用HTTP缓存机制,避免web页面编写缓存代码原创 2023-11-09 10:41:18 · 3166 阅读 · 0 评论 -
NodeJS模拟多IP连接MTQQ
查看网卡 ifconfig 添加IP ip address add 192.168.4.100/24 dev ens160 // ens160是网卡 ip address add 192.168.4.102/24 dev ens160 查看端口号范围 cat /proc/sys/net/ipv4/ip_local_port_range 修改端口号范围 vim /etc/sysctl.conf 增加一行 net.ipv4.ip_local_port_range = 1024 6500.原创 2022-03-17 09:33:08 · 594 阅读 · 0 评论 -
node-gyp 记录
{ "targets": [ { "target_name": "hello", "cflags!": [ "-fno-exceptions" ], "cflags_cc!": [ "-fno-exceptions" ], "sources": [ "src/node-blf.cc" ], "include_dirs": [ "<!@(node -p \"require('node-addon-api').inc.原创 2021-03-20 09:40:31 · 375 阅读 · 0 评论