摘要: # Tool-CMake-添加自定义宏定义 cmake, makefile 中定义的宏变量,其实和C/C++中的#define 是一致的,可以传入到C/C++中。 控制程序的编译 比如:cmake中有宏定义:`add_definitions(-Dhello="hello cmake")` 阅读全文
posted @ 2023-07-24 19:32 Theseus‘Ship 阅读(35) 评论(0) 推荐(0) 编辑
摘要: # Code-OpenSource-JSON for Modern C++ v3.10.5 github.com/nlohmann/json https://json.nlohmann.me/home/exceptions/#version-history https://json.nlohmann 阅读全文
posted @ 2023-07-24 19:30 Theseus‘Ship 阅读(5) 评论(0) 推荐(0) 编辑
摘要: # Tool-Gitlab-备份恢复-迁移 ## 备份 sudo gitlab-rake gitlab:backup:create 使用命令会在/var/opt/gitlab/backups目录下创建一个压缩包,这个压缩包就是Gitlab整个的完整部分。 需要在gitlab 运行时操作。 gitla 阅读全文
posted @ 2023-07-24 19:26 Theseus‘Ship 阅读(25) 评论(0) 推荐(0) 编辑
摘要: #安装Gitlab后,登陆报错502,端口占用 ## 卸载 一、卸载GitLab及其依赖 1、首先停止GitLab的运行命令: sudo gitlab-ctl stop 2、卸载GitLab: sudo apt-get remove gitlab-ce 3、卸载GitLab依赖: sudo apt- 阅读全文
posted @ 2023-07-24 19:22 Theseus‘Ship 阅读(89) 评论(0) 推荐(0) 编辑
摘要: # Tool-Intel VTune Profiler 转自 [使用Intel VTune Profiler进行性能分析及优化](https://blog.csdn.net/yaojingqingcheng/article/details/120335335) ## 初识Intel® VTune™ 阅读全文
posted @ 2023-07-24 18:51 Theseus‘Ship 阅读(84) 评论(0) 推荐(0) 编辑