03 2023 档案
摘要:读的时候用共享锁,写的时候用独占锁 struct otherSettingModel { inline static const char* jsonFileSavePath = "../data/otherSettingModel.json"; inline static std::shared_
阅读全文
摘要:parse_git_branch() { git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' } if [ "$color_prompt" = yes ]; then PS1='${debian_chroot:+($de
阅读全文
摘要:linuxdeployqt executeable.exe -qmldir=xxx -qmake=xxx QML2_IMPORT_PATH QT_PLUGIN_PATH LD_LIBRARY_PATH
阅读全文
摘要:win32:msvc:QMAKE_CXXFLAGS += /utf-8 win32:msvc:QMAKE_CXXFLAGS += /FS 在qt qmake中这两个配置相当于 CONFIGS += utf8_source 如果不使用qmake的跨平台项目,可能会使用到,记录留痕
阅读全文
摘要:sudo add-apt-repository ppa:jonathonf/vim sudo apt update sudo apt install vim
阅读全文
摘要:原文: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
阅读全文