原创 bash: scp: No such file or directory

bash: scp: No such file or directory lost connection 遇到這個問題,查了半天,原來目錄機器上把PATH置爲空了orz.

原创 MAC下工具及快捷鍵總結

放大網頁快捷鍵 Shift+Command+等號鍵 mac下安裝破解Secure-CRT 參考:https://blog.51cto.com/fulin0532/2090439 Secure-CRT打開vim鼠標滾動不起作

原创 mac和Linux服務器之間使用 rz/sz來傳文件

在此之前, 一直使用的scp來上傳和下載文件,每次加上-P port需要輸入很長的命令。剛剛突然發現,原來可以直接使用sz/rz來上傳文件,哇咔咔太方便了。 1. 服務器端安裝 lrzsz 服務器端: yum install yu

原创 vscode中pylint不能顯示錯誤

檢查是否爲 User中的配置覆蓋了 remote中的配置 https://www.thinbug.com/q/49795638 不知道是不是這個起作用了,shell中直接運行 pylint --generate-rcfil

原创 protobuf descriptor

cpp中如何使用pb.h :protobuf入門教程(六):導入定義(import) protoc編譯找不到library或者 linker failed, 直接binary重新編一把 https://blog.csdn.net

原创 zsh配置

每次找半天,收藏一下zsh配置 zsh+on-my-zsh配置教程指南(程序員必備)【已備份】

原创 運維命令總結

free:查看內存佔用 單位是kb,第一行爲title,第二行是內存數據 total: 物理內存總量

原创 vscode中Pylint報錯

pylint No name 'Iterable' in module 'collections'p https://stackoverflow.com/questions/23478266/no-name-in-module-

原创 Python2到python3的轉換

subprocess返回的output中有\n bytes到str的轉換 參考: https://blog.csdn.net/weixin_40283816/article/details/83591582 b = b"exa

原创 Nodejs將兩個object相加

參考: https://segmentfault.com/q/1010000005018933 如果報錯Cannot assign to read only property 'has' of object '#<Object>'

原创 typescript 正則表達式

有兩種寫法 (1) let reg5:RegExp = /(\S)*.proto/i; (2) let reg5:RegExp = new RegExp('.*\.proto','i'); 注意兩種方式表達任意一個字符的方式不

原创 ccls運行報錯,clang assert錯誤

When i use ccls as code complete server and complete an item with pointer, this crash happends. I’ve seen the si

原创 secureCRT登錄`No compatible key-exchange method. The server supports these methods: diffie-hellman`

SecureCrt登錄遇到這個問題No compatible key-exchange method. The server supports these methods: diffie-hellman。 解決方法: Optio

原创 Python Pool阻塞的問題

https://ahuigo.github.io/b/py/py-debug-futex#/ 點贊 收藏 分享 文章舉報 sanra123 發佈了64 篇原創文章

原创 rapidjson和python畫圖

rapidjson : https://blog.csdn.net/qq_27385759/article/details/79277434 python 模擬曲線: https://www.jb51.net/article/1