摘要: 读的时候用共享锁,写的时候用独占锁 struct otherSettingModel { inline static const char* jsonFileSavePath = "../data/otherSettingModel.json"; inline static std::shared_ 阅读全文
posted @ 2023-03-28 15:29 马肯尼煤牙巴骨 阅读(115) 评论(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 马肯尼煤牙巴骨 阅读(320) 评论(0) 推荐(0)