会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
远行
首页
新随笔
订阅
管理
上一页
1
···
5
6
7
8
9
10
11
12
13
···
16
下一页
2021年5月6日
PDF格式详解-ISO 32000-1:2008学习
摘要: 1、简介 PDF(英语:Portable Document Format,缩写:PDF) PDF的历史与规范化 ISO 32000-1:2008 2、文件结构 一般的PDF文件由四部分组成 header部分:单行,标识文件所遵循的PDF规范的版本 body部分:多行,包含了由多个文件对象构成的文件主
阅读全文
posted @ 2021-05-06 20:22 JeromePowell
阅读(8801)
评论(0)
推荐(4)
2021年4月29日
vim 友好地查看二进制文件
摘要: vim -b binfile -b参数,二进制打开命令 :%!xxd -g 1 切换到十六进制模式显示
阅读全文
posted @ 2021-04-29 18:11 JeromePowell
阅读(219)
评论(0)
推荐(0)
Mac vnstat流量统计命令
摘要: 1、安装 ➜ brew install vnstat Updating Homebrew... ^C ==> Downloading https://homebrew.bintray.com/bottles/gd-2.3.0.big_sur.bottle.tar.gz ==> Downloading
阅读全文
posted @ 2021-04-29 15:00 JeromePowell
阅读(565)
评论(0)
推荐(0)
2021年4月28日
tcpdump简记
摘要: 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
阅读(70)
评论(0)
推荐(0)
2020年12月22日
nginx转发处理websocket请求
摘要: 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
阅读(2111)
评论(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
阅读(1568)
评论(0)
推荐(0)
2020年12月10日
docker exec 无法进入容器 OCI runtime exec failed、container_linux.go:348: starting container process caused "process_linux.go:78: starting setns process caused \"fork/exec /proc/self/exe: no such file
摘要: 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
阅读(3010)
评论(0)
推荐(0)
2020年11月19日
gunicorn部署flask项目apscheduler重复执行定时任务解决方案
摘要: 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
阅读(2556)
评论(0)
推荐(0)
MySQL拾遗
摘要: 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
阅读(95)
评论(0)
推荐(0)
2020年11月9日
error: narrowing conversion of '-2' from 'int' to 'const char' inside { } [-Werror=narrowing]
摘要: 跳过编译: 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
阅读(2649)
评论(0)
推荐(0)
上一页
1
···
5
6
7
8
9
10
11
12
13
···
16
下一页
公告