随笔分类 -  工具

Python3 脚本 解压缩文件夹中的所有gz文件
摘要:import gzip import shutil def gunzip_shutil(source_filepath, dest_filepath, block_size=65536): with gzip.open(source_filepath, 'rb') as s_file, \ open 阅读全文

posted @ 2020-12-03 09:35 liujx2019 阅读(1274) 评论(0) 推荐(0)

windows 下查看运行进程的命令行参数
摘要:出处:https://blog.csdn.net/wwq921220/article/details/106661245/ tasklist 使用 tasklist :tasklist /v 很多进程还是没显示命令行参数 wmic wmic process get caption,commandli 阅读全文

posted @ 2020-11-19 16:16 liujx2019 阅读(1362) 评论(0) 推荐(0)

Easylogging
摘要:https://blog.csdn.net/woshichenweixian/article/details/77018452 一.Easylogging简介: Easyloggingpp是一个C++开源log库,其在github的地址:https://github.com/muflihun/eas 阅读全文

posted @ 2020-10-22 17:31 liujx2019 阅读(618) 评论(0) 推荐(0)

Seagate 硬盘产地查询
摘要:工場コード シンガポール:Seagate ・Site Code : AMK タイランド:Seagate ・Site Code : TK ・Site Code : KRATSG 中国:Seagate ・Site Code : WU (Wuxi=江蘇省無錫市) ・Site Code : SU 中国:SA 阅读全文

posted @ 2020-08-07 17:26 liujx2019 阅读(716) 评论(0) 推荐(0)

Milestone 不能卸载,修复 Counter 即可
摘要:XProtect installer may fail with the error "Category does not exist" or "Cannot load Counter Name data because an invalid index" When running the XPro 阅读全文

posted @ 2020-07-17 18:13 liujx2019 阅读(393) 评论(0) 推荐(0)

H264 视频码率(概念小白)
摘要:为什么同样的分辨率帧率视频 ,码率还不一样? 编码器压缩的度不一样,所以影响存储空间和网络上传输带宽占用。码率,也叫做比特率:视频比特率是指要播放该视频,所需要每秒读取的该视频文件的比特(bit)数。单位为bps(Bit Per Second),比特率越高,每秒读取数据就越多,同等条件下画质就越好。 阅读全文

posted @ 2020-06-19 14:26 liujx2019 阅读(3227) 评论(0) 推荐(0)

kernel reported iSCSI connection 1:0 error (1022-Invalid or unknown error code) state (3)
摘要:简而言之,内存不够了。 https://serverfault.com/questions/828839/kernel-reported-iscsi-connection-10-error-1022-invalid-or-unknown-error-code I got a couple of re 阅读全文

posted @ 2020-06-15 11:26 liujx2019 阅读(1991) 评论(0) 推荐(0)

What is the Makefile Target `.c.o` for?
摘要:10.7 Old-Fashioned Suffix Rules Suffix rules are the old-fashioned way of defining implicit rules for make. Suffix rules are obsolete because pattern 阅读全文

posted @ 2020-06-05 13:12 liujx2019 阅读(181) 评论(0) 推荐(0)

CFLAGS [Makefile]
摘要:CFLAGS -Wall:选项可以打印出编译时所有的错误或者警告信息。这个选项很容易被遗忘,编译的时候,没有错误或者警告提示,以为自己的程序很完美,其实,里面有可能隐藏着许多陷阱。变量没有初始化,类型不匹配,或者类型转换错误等警告提示需要重点注意,错误就隐藏在这些代码里面。没有使用的变量也需要注意, 阅读全文

posted @ 2020-06-01 09:36 liujx2019 阅读(1083) 评论(0) 推荐(0)

OID View 的日期显示问题
摘要:例如,2016年6月27日会被显示成 7-224-6-27 2016d = 7E0h 7E0h 被 OID View 拆开了,7h = 7d, E0h = 224d. 所以显示成了7-224. 阅读全文

posted @ 2020-05-11 14:11 liujx2019 阅读(113) 评论(0) 推荐(0)

VMware 虚拟机开机黑屏 Unable to connect to the MKS
摘要:到“计算机管理” > “服务” 里面启动 “VMware Authorization Service” 服务。 阅读全文

posted @ 2020-05-08 17:17 liujx2019 阅读(1771) 评论(0) 推荐(0)

微软的 Sysinternals 系统管理工具包,例如可找出自动启动的流氓软件
摘要:作者:Kenny链接:https://www.zhihu.com/question/52157612/answer/153886419来源:知乎著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 里面有几十个小工具,用来检测和管理Windows。免费可下载。我最常用的有两个: au 阅读全文

posted @ 2020-04-09 15:24 liujx2019 阅读(384) 评论(0) 推荐(0)

Data Flow Diagram with Examples - Customer Service System
摘要:Data Flow Diagram with Examples - Customer Service System Data Flow Diagram (DFD) provides a visual representation of the flow of information (i.e. da 阅读全文

posted @ 2020-03-31 15:28 liujx2019 阅读(474) 评论(0) 推荐(0)

notepad正则删除关键词所在行
摘要:转自:http://www.gangzi.net/article/615.htm 查找:^.*大师兄.*$替换为:(空)如果不留空行:查找:^.*大师兄.*\r?\n替换为:(空)注意:Notepad++的[全部替换]受[方向]约束,所以如果想“向下”全部替换,要把光标放到文首。 阅读全文

posted @ 2020-03-26 15:17 liujx2019 阅读(537) 评论(0) 推荐(0)

apt 安装 版本
摘要:1. 通过apt-get安装指定版本软件apt-get install package=version2. 查询指定软件有多少个版本 2.1 通过网站搜索https://packages.ubuntu.com/ 2.2 使用apt-cache madison列出软件的所有来源apt-cache ma 阅读全文

posted @ 2020-01-15 11:08 liujx2019 阅读(1894) 评论(0) 推荐(0)

Windows 自动登录
摘要:https://serverfault.com/questions/840557/auto-login-a-user-at-boot-on-windows-server-2016 Use Sysinternals Autologon. It stores the credentials in the 阅读全文

posted @ 2020-01-15 10:16 liujx2019 阅读(563) 评论(0) 推荐(0)

RedHat FTP Server, 无法从Windows上传文件,下载可以
摘要:setsebool allow_ftpd_full_access 1 阅读全文

posted @ 2020-01-08 16:11 liujx2019 阅读(139) 评论(0) 推荐(0)

RedHat 的 crontab
摘要:Chapter 39. Automated Tasks In Linux, tasks can be configured to run automatically within a specified period of time, on a specified date, or when the 阅读全文

posted @ 2019-12-27 10:30 liujx2019 阅读(369) 评论(0) 推荐(0)

VIM 批量缩进4个空格
摘要:vim /etc/vimrc 或 vim ~/.vimrc set smartindent set shiftwidth=4 按v选中多行,回车 然后shifit + 》 阅读全文

posted @ 2019-12-27 09:57 liujx2019 阅读(2318) 评论(0) 推荐(0)

Ubuntu parted 命令 写在脚本里时要带 -s 参数
摘要:否则会要求用户输入,造成脚本卡住。 阅读全文

posted @ 2019-10-30 16:42 liujx2019 阅读(254) 评论(0) 推荐(0)

导航