03 2023 档案

摘要:读的时候用共享锁,写的时候用独占锁 struct otherSettingModel { inline static const char* jsonFileSavePath = "../data/otherSettingModel.json"; inline static std::shared_ 阅读全文
posted @ 2023-03-28 15:29 马肯尼煤牙巴骨 阅读(101) 评论(0) 推荐(0) 编辑
摘要:parse_git_branch() { git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' } if [ "$color_prompt" = yes ]; then PS1='${debian_chroot:+($de 阅读全文
posted @ 2023-03-28 15:16 马肯尼煤牙巴骨 阅读(258) 评论(0) 推荐(0) 编辑
摘要:linuxdeployqt executeable.exe -qmldir=xxx -qmake=xxx QML2_IMPORT_PATH QT_PLUGIN_PATH LD_LIBRARY_PATH 阅读全文
posted @ 2023-03-20 15:23 马肯尼煤牙巴骨 阅读(90) 评论(0) 推荐(0) 编辑
摘要:win32:msvc:QMAKE_CXXFLAGS += /utf-8 win32:msvc:QMAKE_CXXFLAGS += /FS 在qt qmake中这两个配置相当于 CONFIGS += utf8_source 如果不使用qmake的跨平台项目,可能会使用到,记录留痕 阅读全文
posted @ 2023-03-15 10:45 马肯尼煤牙巴骨 阅读(168) 评论(0) 推荐(1) 编辑
摘要:sudo add-apt-repository ppa:jonathonf/vim sudo apt update sudo apt install vim 阅读全文
posted @ 2023-03-14 11:23 马肯尼煤牙巴骨 阅读(29) 评论(0) 推荐(0) 编辑
摘要:原文:https://stackoverflow.com/questions/1550378/is-it-possible-to-push-a-git-stash-to-a-remote-repository 推 1. git push origin $(for sha in $(git rev-l 阅读全文
posted @ 2023-03-10 21:06 马肯尼煤牙巴骨 阅读(155) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示