上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 16 下一页
摘要: tcpdump -v -i eth0 "ip and (dst net $ip) and (tcp[13]!=20 and tcp[13]!=2) tcp[13] 第14个字节(数组序号从0算起,为13),即CWR~FIN位,CWR、ECE默认为0 tcp[13]!=20 不等于20(0001010 阅读全文
posted @ 2021-04-28 12:09 JeromePowell 阅读(42) 评论(0) 推荐(0) 编辑
摘要: Nginx nginx.conf location /v2 { try_files /nonexistent @$http_upgrade; } location @websocket { proxy_redirect off; proxy_pass http://127.0.0.1:10000;# 阅读全文
posted @ 2020-12-22 13:17 JeromePowell 阅读(2032) 评论(0) 推荐(0) 编辑
摘要: 需求:两个开关控制一个灯。 需要开关类型:单刀双掷开关 x 2 接线方式: 单开双控开关,后面有三个触点,分别是L、L1、L2。如果开关接线柱标记是L1、L2、L3,则一般位于中间L2为L(动片),L1、L3为上文的L1、L2(定片)。 把两个L1、L2分别用线连起来(交叉连接,即S1的L1连接S2 阅读全文
posted @ 2020-12-22 11:06 JeromePowell 阅读(1317) 评论(0) 推荐(0) 编辑
摘要: docker exec 无法进入容器 OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused "process_linux.go:78: starting setn 阅读全文
posted @ 2020-12-10 19:35 JeromePowell 阅读(2505) 评论(0) 推荐(0) 编辑
摘要: 1.gunicorn启动配置中增加–preload2.全局锁确保实例化apscheduler只运行一次,文件锁/端口锁/redis/mysql等数据库锁均可,可能导致无法使用modify_job编辑任务3.add_job(func=add_job_xxx,...)时,在add_job_xxx中实现加 阅读全文
posted @ 2020-11-19 15:49 JeromePowell 阅读(2278) 评论(0) 推荐(0) 编辑
摘要: 1.清空表数据 TRUNCATE table table_name; TRUNCATE table_name; DELETE FROM table_name; TRUNCATE与DELETE清空表数据的区别: 1.TRUNCATE整体删除,速度快;DELETE逐条删除,速度慢。 2.TRUNCATE 阅读全文
posted @ 2020-11-19 15:16 JeromePowell 阅读(80) 评论(0) 推荐(0) 编辑
摘要: 跳过编译: CMakeList.txt CMAKE_CXX_FLAGS设置 -Werror=narrowing 原因: from:https://blog.csdn.net/dai_peixian/article/details/52767057 C++11中的列表初始化禁止缩窄转换,关于缩窄转换的 阅读全文
posted @ 2020-11-09 13:33 JeromePowell 阅读(2347) 评论(0) 推荐(0) 编辑
摘要: 只有LuaJIT-2.1.0-beta3.tar.gz版本可以支持aarch64架构CPU wget https://luajit.org/download/LuaJIT-2.1.0-beta3.tar.gz && tar -zxf LuaJIT-2.1.0-beta3.tar.gz && cd L 阅读全文
posted @ 2020-11-08 18:23 JeromePowell 阅读(636) 评论(0) 推荐(0) 编辑
摘要: 常用命令 systemctl daemon-reloadsystemctl enable nginx.servicesystemctl status nginx.servicesystemctl stop nginxsystemctl start nginxsystemctl restart ngi 阅读全文
posted @ 2020-08-23 03:21 JeromePowell 阅读(409) 评论(0) 推荐(0) 编辑
摘要: * * * * * * - - - - - - | | | | | | | | | | | + year [optional] | | | | + day of week (0 - 7) (Sunday=0 or 7) | | | + month (1 - 12) | | + day of mont 阅读全文
posted @ 2020-08-23 03:04 JeromePowell 阅读(70) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 16 下一页