01 2021 档案
摘要:find . \( -name "*.cpp" -o -name "*.hpp" -o -name "*.h" \) -exec wc -l {} +
阅读全文
摘要:1 下载喜欢的图标到工程目录 2 在相同目录新建文本文件 增加以下内容,并修改后缀为 logo.rc IDI_ICON1 ICON DISCARDABLE "car.ico"3 打开vcproj文件增加以下内容 <ItemGroup> <ResourceCompile Include="logo.r
阅读全文
摘要:grpc客户端断线重连使用backoff机制 重连间隔越来越长 可以通过参数指定相关参数 相关参数: https://grpc.github.io/grpc/core/group__grpc__arg__keys.html#gad7d9d143858d8f5e138cf704b0082973 相关代
阅读全文
摘要:1 没有调用start方法 2 SLOT(xxx) 槽函数xxx没带括号 应该是 connect(timer, SIGNAL(timeout()), this, SLOT(xxx())); 3 槽函数未声明为槽函数 4 事件循环没有机会执行事件 无限循环中可以调用QApplication::Proc
阅读全文
摘要:将以下两个禁用掉 完整管理员权限 https://superuser.com/questions/1002262/run-applications-as-administrator-by-default-in-windows-10 参考: https://answers.microsoft.com/
阅读全文
摘要:for file in *.png; do mv "$file" "${file%.png}_3.6.14.png" done for file in `find -name "*.old"` ; do mv ${file} ${file%.old}; done; 使用find -exec find
阅读全文
摘要:for file in `find . -type f -name "*.hpp"`; do mv "$file" "$file.old" && iconv -f GB2312 -t UTF-8 < "$file.old" > "$file" && rm -rf "$file.old" done 参
阅读全文