原创 CMD 結合rar進行文件打包

CMD 結合rar進行打包 程序備份-自動增加版本號 echo off color 0a title 程序備份-自動增加版本號 @echo off set fdate=%date:~0,4%%date:~5,2%%date:~

原创 qt 使用qrencode 產生二維碼

https://github.com/lwlg/QtDemo.git   開發環境:QT5.5.1 二維碼庫 qrencode-3.4.4 1 文件目錄結構 2 pri文件如下  INCLUDEPATH += $$PWD/qren

原创 qtFtp 上傳下載時文件中文顯示亂碼處理方法

MinGW 編譯器 使用qftp 顯示服務器文件的時候,qtcreateor 界面中文總是顯示亂碼,解決辦法:     QString str = QTextCodec::codecForName("UTF-8")->toUnicod

原创 powershell 分析文件夾內log查找匹配到的內容

  Get-ChildItem -Filter Application_Trace__*.log| ForEach-Object{ cat $_.FullName|where {$_ -match "返回錯誤代碼"}>>result.

原创 ROS運行例子

1.創建工作空間 mkdir -p ~/catkin_ws/src cd ~/catkin_ws/src catkin_make 自動生成build和devel兩個文件夾 source devel/setup.bash echo $ROS

原创 ROS安裝並運行

https://www.ncnynl.com/archives/201801/2273.html https://zhuanlan.zhihu.com/p/43345574 https://blog.csdn.net/qq_2536875

原创 日誌庫

  QT -= gui QT += core QT += widgets TARGET = $$qtLibraryTarget(hhEasyLog) TEMPLATE = lib CONFIG += c+

原创 獲取交換機的OID值

snmpwark工具(https://snmpsoft.com/) https://blog.51cto.com/11579920/2374172 http://www.h3c.com/cn/d_200906/636062_30003_0

原创 SNMP 模擬器 vxsnmpsimulator 使用方法

運行需要java環境 打開simulator批處理文件,顯示如下所示 輸入1啓動模擬器 然後輸入3進入到相關的配置界面 輸入help查看相關的命令行提示 (可以看到有2個ADD,這個兩個作用不同,第一個是添加待模擬的設備文件,地址在d

原创 snmp 協議筆記

抽象語法符號ASN.1(Abstract Syntax Notation One) ASN.1概述及數據類型詳解 網絡協議篇之SNMP協議(一)——SNMP報文協議 網絡協議篇之SNMP協議(三)—— 不同版本(SNMPv1、v2c、v3

原创 離線導python依賴相關的庫

pip list pip freeze >requirements.txt pip download -d packages -r requirements.txt 生成的packages裏面包含各個.whl文件,將requirement

原创 lm_sensors獲取cpu溫度

red hat linux 安裝lm_sensors不成功提示,試了網上好多方法不成功  You could try using --skip-broken to work around the problem ** Found 3 p

原创 qt creator 設計界面UI 轉爲py文件

http://www.luyixian.cn/news_show_337934.aspx pyuic5 -o mainwindow.py  mainwindow.ui   import os import sys from mainw

原创 遇到的python 錯誤

Fatal Python error: initfsencoding: unable to load the file system codec 添加環境變量  

原创 Qt5.5.1編譯OCI驅動教程

qt安裝需要安裝完整版,包括src的 http://www.mamicode.com/info-detail-1942114.html 驗證是否支持 #include <QCoreApplication> #include <QDebu