原创 Repo&Git常用命令和技巧彙總

一.常用命令關彙總 git diff git commit git commit --amend git checkout git reset HEAD git reset HEAD^ git branch test1 test1 分支下

原创 docker常用命令拾遺

官方教程連接:https://yeasy.gitbooks.io/docker_practice/machine/install.html 一.docker鏡像如何獲取? 1.登陸docker hub搜索:https://hub.dock

原创 python使用雜談筆記

一. import as配合try except try: from greenlet import getcurrent as get_ident except ImportError: try: fr

原创 LINUX操作常用命令彙總

1.linux下的複製和粘貼 複製:  shift + delete 粘貼:shift + insert 如何不用鼠標選擇? : 2.linux下如何搜索指定目錄下的文件裏是否包含所需內容 find . -name *.mk | xarg

原创 C++多線程學習筆記一

一.線程執行體: Lambda表達式的多線程 #include<iostream> #include<thread> #include<vector> #include<algorithm> using namespace std; in

原创 C++使用yaml配置文件的過程記錄

一yaml的環境部署 參考文章:https://www.twblogs.net/a/5baaa2a12b7177781a0e5771/zh-cn 環境安裝到使用,可參考強 yaml-cpp的版本和源碼github:https://gith

原创 驅動與應用端交互最小demo示例

原文出處:https://www.cnblogs.com/cyyljw/p/8477594.html 補充:補充了小白知識,原文中沒有說明要做字符設備的文件創建,,,這個小白一般不知道。未提供ko文件的編譯腳本,,這個小白不一定會,,原文

原创 Ubuntu 16.04 apt-get更換阿里雲源

修改/etc/apt/sources.list 源文件備份(直接改名,後面的重新創建) mv /etc/apt/sources.list /etc/apt/sources.list.bak 源一: cat > /etc/apt/sourc

原创 編譯支持GPU的python3的OpenCV庫

參考資料 https://www.pyimagesearch.com/2016/07/11/compiling-opencv-with-cuda-support/   關鍵步驟記錄 1.ippicv_2019_lnx_intel64_ge

原创 C++多線程學習筆記

一.線程執行體: Lambda表達式的多線程 #include<iostream> #include<thread> #include<vector> #include<algorithm> using namespace std; in

原创 makefile學習筆記

https://seisman.github.io/how-to-write-makefile/invoke.html makefile介紹 1..PHONY 表示 clean 是一個“僞目標 2.rm 命令前面加了一個小減號的 意思就是

原创 如何設置elasticsearch的index字段上限,從默認1000到任意值

1.可以先查詢下settings設置 GET diffpqtuning-2019-04-02/_settings   2.設置下字段新的上限 PUT diffpqtuning-2019-04-02/_settings { "index.m

原创 c++的gtest示例demo搭建過程

https://www.jianshu.com/p/7f553854f9d6   補充說明 1. c++11編輯器需要加-std=c++11 g++ -o TestAll.o -c TestAll.cpp -I./include -std

原创 python的log打印工程化模塊設置

在工程啓動模塊中添加一下代碼 from logging.handlers import RotatingFileHandler logging.getLogger(None).setLevel(logging.INFO) ######

原创 圖像偏色檢測算法-python版實現

原帖  https://blog.csdn.net/fightingforcv/article/details/52724848   python版本代碼 img = cv2.cvtColor(img, cv2.COLOR_BGR2LA