原创 智能指針: double free or corruption (out): 0x00007fffa40

: double free or corruption (out): 0x00007fffa40 使用智能指針和普通指針轉換,有時候會報這個錯誤,所以,如果不是必要,儘量不要相互轉換。 當然,也有可能是我用的不對,哈哈:) https:/

原创 git stash代碼丟失怎麼辦

  不小心git stash時,報錯如下: # git stash warning: LF will be replaced by CRLF in 03-server/gb_server/sip_server/include/strate

原创 用戶態協議棧

用戶態協議棧 fstack https://cloud.tencent.com/developer/information/linux%E4%B8%AD%E7%94%A8%E6%88%B7%E6%80%81%E5%8D%8F%E8%AE%

原创 leetcode題庫中數百道題目的解題過程

https://www.zhihu.com/question/26580300/answer/701280763 GitHub上有個叫lucifer的中國小哥哥,將Leetcode題庫中數百道題目的解題過程全盤分享,解題思路和代碼都有。

原创 srs編譯報錯

參考 https://blog.csdn.net/iw1210/article/details/52086989   ../../objs/openssl/lib/libcrypto.a(threads_pthread.o): In fu

原创 盤點國內免費好用的圖牀

https://zhuanlan.zhihu.com/p/35270383?ivk_sa=1023345p    

原创 pkg-config 使用

`pkg-config --libs grpc++ grpc` https://www.cnblogs.com/rainsoul/p/10567390.html https://blog.csdn.net/makesifriend/art

原创 ffmpeg命令和源碼

ffmpeg 常用命令彙總 https://blog.csdn.net/weiyuefei/article/details/51678582 將一段視頻轉換爲DVD格式 ffmpeg -i test.ps -target pal-dvd

原创 vs2017的PROTOBUF的插件

發現一個VISUAL STUDIO的PROTOBUF的插件,還不錯,可以高亮、摺疊 https://blog.csdn.net/uniqsa/article/details/75646477 下載, https://marketplace

原创 std::_Bind std::function void(std::shared_ptr xxxx ) (xxxx*)

required from ‘void AsyncInvoker::invoke(Callable&&) [with Callable = std::_Bind<std::function<void(std::shared_ptr<xxx

原创 valgrind檢測內存泄漏和性能優化

  內存泄漏檢測 valgrind --leak-check=full --show-reachable=yes --trace-children=yes  --log-file=result  ./ndreverter    其中--l

原创 onvif 視頻28181 1400 區別

GAT1400之視圖庫系統架構 https://blog.csdn.net/dzxs_gb28181/article/details/89970223   DVR以及IPCS6接入GB28181平臺簡易操作指南 https://wenku

原创 gdb p stl內容

gdb中查看stl容器內容 https://blog.csdn.net/nancygreen/article/details/17789677 wget http://www.yolinux.com/TUTORIALS/src/dbini

原创 python,Julia、Go和Rust

  https://mp.weixin.qq.com/s/_xrU4jMa38lrp7dPvjzu5A   這就是爲什麼越來越多的程序員開始採用其他語言的原因,這些語言中最受歡迎的是Julia、Go和Rust。Julia非常適合數學和技術

原创 c++使用redis

hredis https://www.csdn.net/gather_2f/MtTaEgwsMTUwLWJsb2cO0O0O.html   然後,就可以基於hiredis API開發客戶端了。可是hiredis不支持集羣。支持集羣的API