原创 Qt QGraphicsView 背景透明設置
編輯樣式 background: transparent;border:0px 參考:
原创 Qt 正則表達式取值
精確匹配: void testQRegex(){ QRegExp reg("aaa=(\\d+)"); QString in = "aaa=11"; bool result = reg.exactMatch(in
原创 dnf、yum,apt根據文件查找所需要的安裝包
yum yum provides vim dnf dnf provides vim apt apt-file search vim
原创 解決 github項目clone報錯 Failed connect to github.com:443; Connection
系統環境:CentOS Linux release 7.6.1810 (Core) 起因:npm構建時報錯 npm ERR! Error while executing: npm ERR! /usr/bin/git ls-remote
原创 Fedora31源碼編譯openjdk-jdk 14-23
openjdk github項目地址 https://github.com/unofficial-openjdk/openjdk 安裝編譯器、基礎庫 sudo yum install gcc autoconf libXtst-dev
原创 解決CentOS7 aarch64 python2.7報錯NameError: name 'platform_system' is not defined
Traceback (most recent call last): File "/usr/bin/fab", line 5, in <module> from pkg_resources import load_entry
原创 代碼評審平臺 phabricator-docker/phabricator docker 服務搭建及配置
項目地址 https://github.com/phabricator-docker/phabricator 下載docker相關源碼 [yeqiang@localhost src]$ git clone https://github.
原创 csdn熱門關鍵詞
https://www.csdn.net/gather/A https://www.csdn.net/gather/edu-A/1
原创 使用 免費可商用的中文字體 解決CentOS Linux下Java生成圖片水印中文亂碼問題
安裝開源可商用的google-noto字體 [root@dev ~]# yum install google-noto-cjk-fonts Loaded plugins: fastestmirror Loading mirror spe
原创 127.0.0.1和localhost和本機IP三者的區別!
1, 先來說下回送地址(Loopback Address): 回送地址是主機用於向自身發送通信的一個特殊地址(也就是一個特殊的目的地址)。 可以這麼說:同一臺主機上的兩項服務若使用回送地址而非分配的主機地址,就可以繞開TCP/IP協議棧的
原创 logback.xml配置,顯示類名、方法名、行號,支持超鏈接直達到行、內容着色
<?xml version="1.0" encoding="UTF-8"?> <configuration scan="true" scanPeriod="60 seconds" debug="false"> <!--
原创 Python fabric 1.4 解決run() received nonzero return code 2 while executing出錯後腳本不能繼續執行故障
默認情況下fabric配置參數warn_only=False,即run指令得到的程序結束返回值不爲0則引發異常,退出後續的部署。 參考一下代碼,有兩種方式設置warn_only=True,可實現出錯後能繼續向下執行 def deploy
原创 Fedora31 grub2 how to hide or display boot menu
fu.k the pinyin input!!! 1. how to hide swith to super user [yeqiang@localhost ~]$ sudo su [sudo] password for yeqiang
原创 [phabircator]使用docker鏡像redpointgames/phabricator搭建phabricator服務器 設置郵箱、創建用戶、審批用戶
docker hub鏡像地址 https://hub.docker.com/r/hachque/phabricator github項目地址 https://github.com/RedpointGames/phabricator p
原创 Fedora31 Linux 調整ext4分區大小,解決Error unmounting filesystem
按Win鍵激活Activities, 輸入disk,效果如下 打開Disks, 選中要調整的分區 點擊兩個齒輪圖標 選擇Resize 接下來調整分區大小,騰出1000G 空間 點擊紅色按鈕Resize 輸入密碼 報錯,原因