代码改变世界

shell判断文件/目录是否存在

2018-08-15 19:32 by ZealouSnesS, 2416 阅读, 0 推荐, 收藏, 编辑
摘要:https://www.cnblogs.com/37yan/p/6962563.html caution!!! if should be end with fi caution!!! there should be a space between [ and ! , also between 1 a 阅读全文

scp

2018-08-15 19:23 by ZealouSnesS, 206 阅读, 0 推荐, 收藏, 编辑
摘要:https://www.cnblogs.com/likui360/p/6011769.html the command of upload and download is the same scp server to computer computer to server 阅读全文

tmux

2018-08-15 19:18 by ZealouSnesS, 165 阅读, 0 推荐, 收藏, 编辑
摘要:1. open a remote terminal 2. tmux command 3. press ctril+b and release and press other commend: https://www.cnblogs.com/kevingrace/p/6496899.html 全屏某个 阅读全文

python multi process multi thread

2018-08-15 19:13 by ZealouSnesS, 364 阅读, 0 推荐, 收藏, 编辑
摘要:muti thread: python threading: https://docs.python.org/2/library/threading.html#thread-objects https://www.liaoxuefeng.com/wiki/001374738125095c955c1e 阅读全文

gedit

2018-08-15 17:55 by ZealouSnesS, 207 阅读, 0 推荐, 收藏, 编辑
摘要:find and replace: ctrl+h add a tab: tab delete a tab: shift+tab http://bnuzhutao.cn/archives/774 阅读全文

pdb

2018-08-15 17:52 by ZealouSnesS, 263 阅读, 0 推荐, 收藏, 编辑
摘要:core code: 单步执行并进入:s 单步执行并不进入:n 下一断点:c 当前位置:where 从当前函数返回:r 退出:q pdb commands: https://www.ibm.com/developerworks/cn/linux/l-cn-pythondebugger/index.h 阅读全文

OS

2018-08-15 17:50 by ZealouSnesS, 181 阅读, 0 推荐, 收藏, 编辑
摘要:执行shell命令 设置权限为777 os.listdir报windows error: 从命令行读取文件夹的时候文件夹路径里面如果有空格则需要用 ' ' 括起来 否则os.listdir(不存在的文件夹)则会windows error write files: open("xxx","r") re 阅读全文

ubuntu su failure when password was right

2018-08-15 17:43 by ZealouSnesS, 189 阅读, 0 推荐, 收藏, 编辑
摘要:https://blog.csdn.net/u013066244/article/details/52694540 阅读全文

【opencv安裝】ubuntu16 opencv安装+测试

2018-08-15 17:42 by ZealouSnesS, 808 阅读, 0 推荐, 收藏, 编辑
摘要:ubuntu16.04 install opencv2.4 to python2 and c++ 四大主流库比较: 对OpenCV的印象:功能十分的强大,而且支持目前先进的图像处理技术,体系十分完善,操作手册很详细,手册首先给大家补计算机视觉的知识,几乎涵盖了近10年内的主流算法;然后将图像格式和矩 阅读全文

shell脚本读取文件+读取命令行参数+读取标准输入+变量赋值+输出到文件

2018-08-08 19:22 by ZealouSnesS, 15391 阅读, 0 推荐, 收藏, 编辑
摘要:读取url_list文件批量下载网页 url_list download.sh 运行: 1、sh文件格式 http://www.runoob.com/linux/linux-shell.html 2、bash按行读取文件+bash读取命令行参数 测试文件:url_list_zss 正确写法: 不合适 阅读全文
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 36 下一页