王殊勋的个人博客

只要开始,虽远不迟!

该脚本可以实时监控目录增删改操作。 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 #coding:utf8 from watchdog.observers import Observer from watchdog.events import * import time class FileEventHandler(FileSystemEventHandler):
阅读全文 »

dpkg -l 命令可以浏览所有安装的包,其中 rc 状态的包即卸载了包却保留了配置文件。如果想要完整删除所有 rc 状态的包一个一个删还是很麻烦的,所以可以使用以下命令进行清理。 1 dpkg -l | grep ^rc | cut -d' ' -f3 | sudo xargs dpkg --purge 使用实例 1 2 3 4 5 6 7 8 9 niu@niu:~/download/wordpress$ dpkg -l | grep ^rc | cut -d' ' -f3 | sudo xargs dpkg --purge (Reading database ... 17
阅读全文 »

错误信息: 1 2 3 27625 WARNING: lib not found: api-ms-win-crt-stdio-l1-1-0.dll dependency of c:\users\zwk\appdata\local\programs\python\python37\DLLs_ssl.pyd 28438 WARNING: lib not found: api-ms-win-crt-string-l1-1-0.dll dependency of c:\users\zwk\appdata\local\programs\python\python37\DLLs_ssl.pyd 29
阅读全文 »

信创电脑编译inotify的时候报错: 1 configure: error: cannot guess build type; you must specify one. 解决办法: 1 ./configure --build=arm-linux (指定arm,系统是arm的) 说明: 1 2 3 --build=编译该软件所使用的平台 --host=该软件将运行的平台 --target=该软件所处理的目标平台
阅读全文 »
0%