原创 C 語言資源大全中文版

C 語言資源大全中文版 我想很多程序員應該記得 GitHub 上有一個 Awesome:XXX 系列的資源整理。awesome-c 是 koz.ross 發起維護的 C 語言資源列表,內容包括了:構建系統、編譯器、數據庫、加密、

原创 win10 64位+qwt 6.1.4+qt 5.8.0 msvc2015 x64安裝方法

主要是參考了: 1.win10 64位+qwt 6.1.2 64位+qt 5.6.0 msvc2015 x64安裝方法 2.msvc交叉編譯:使用vcvarsall.bat設置命令行編譯環境

原创 無鎖數據結構

C++ 的無鎖數據結構在工業界有真正的應用嗎?來自 <https://www.zhihu.com/question/52629893> Boost無鎖隊列分析與實現來自 <https://www.lanin

原创 grep 匹配行中的一部分 分析 字符串中 -l 之類的flag標誌

-o 匹配行中的一部分  grep -Eoi '\-l[[:blank:]]*[[:graph:]]*\b' | grep '\-l'

原创 go 獲取函數調用者caller的函數名 打印堆棧runtime.Stack debug.Stack()

跨越goroution(獲取其調用者堆棧): https://stackoverflow.com/questions/10742749/get-name-of-function-using-reflection-in-golang 當前

原创 組合導航

function [att_open, err, att_res] = fun_filter(X,P,Q,R,q_,gyro_b,acc_b,mag_b,N,acc_n,mag_n)function [at

原创 go gc 問題

cgo gc calloc問題:runtime: crash in hybrid barrier initializing C memory來自 <https://github.com/golang/go/

原创 cache & NEO/SIMD

7個示例科普CPU CACHE來自 <https://coolshell.cn/articles/10249.html> 【併發編程】CPU cache結構和緩存一致性(MESI協議)來自 <https://blog.csdn.net/r

原创 linux 常用匯總

命令行的藝術來自 <https://github.com/jlevy/the-art-of-command-line/blob/master/README-zh.md> 鳥哥的 Linux 私房菜來自 <h

原创 numa 與 cpu 親和性 linux NUMA技術 NUMA技術相關筆記 NUMA、SMP架構下的CPU性能調優:姻親關係、進程綁定與中斷

Improving performance on NUMA systemshttps://tel.archives-ouvertes.fr/tel-01549294/documentRed Hat Linux NUMA Supportfo

原创 gogo protobuf

gogoprotobuf使用(上)來自 <https://my.oschina.net/alexstocks/blog/387031> gogoprotobuf使用(下)來自 <https://studygolang.com/articl

原创 c/c++ 編譯

GNU make https://www.gnu.org/software/make/manual/html_node/index.html#SEC_Contents再談 GCC庫的搜索路徑問題來自 <http://blog.csdn.n

原创 sed 支持擴展正則表達式及忽略大小寫

其中 -r參數爲支持擴展正則表達式,尾部的/i爲忽略大小寫 sed -ri "s/\"Level\".* \"(debug|info|warn)\"/\"Level\": \"Info\"/i" json cat json sed -r

原创 windows下的批量重命名

@Echo Off   for /R %c in (.) do ( cd %c ren *.c *.cpp)  pause 

原创 32位 win10 安裝 TensorFlow

參考如下 http://blog.csdn.net/include1224/article/details/53452824 下載anaconda 參考如下鏈接 http://blog.csdn.net/yimingt/article/