上一页 1 2 3 4 5 6 7 ··· 20 下一页
摘要: Tool-Nvidia-查询显卡信息 nvidia-smi -L lscpi |grep -i nvidia 阅读全文
posted @ 2023-10-12 13:00 Theseus‘Ship 阅读(7) 评论(0) 推荐(0) 编辑
摘要: OS-Linux-zip&unzip zip -rP passwork filename.zip filename 加密 unzip -O GBK XXX.zip 或GBK18030 中文乱码 阅读全文
posted @ 2023-10-12 12:58 Theseus‘Ship 阅读(2) 评论(0) 推荐(0) 编辑
摘要: Code-C++-chrono to tm (format time) std::chrono::system_clock::time_point now = std::chrono::system_clock::now(); std::time_t now_time_t = std::chrono 阅读全文
posted @ 2023-10-12 12:54 Theseus‘Ship 阅读(10) 评论(0) 推荐(0) 编辑
摘要: Code-C++-Snowflake #include <iostream> #include <chrono> #include <stdexcept> class Snowflake { private: // 雪花算法的各个参数 static constexpr int64_t workerI 阅读全文
posted @ 2023-10-12 12:49 Theseus‘Ship 阅读(10) 评论(0) 推荐(0) 编辑
摘要: Tool-CMake-设置SONAME set_target_properties(${PROJECT_NAME} PROPERTIES VERSION 1.0.0 SOVERSION 1) 阅读全文
posted @ 2023-10-12 12:47 Theseus‘Ship 阅读(36) 评论(0) 推荐(0) 编辑
摘要: OS-Kylin-银河麒麟操作系统 查询系统版本信息指令 cat /etc/.kyinfo 阅读全文
posted @ 2023-10-12 12:43 Theseus‘Ship 阅读(458) 评论(0) 推荐(0) 编辑
摘要: # Tool-CMake-添加自定义宏定义 cmake, makefile 中定义的宏变量,其实和C/C++中的#define 是一致的,可以传入到C/C++中。 控制程序的编译 比如:cmake中有宏定义:`add_definitions(-Dhello="hello cmake")` 阅读全文
posted @ 2023-07-24 19:32 Theseus‘Ship 阅读(74) 评论(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:29 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 阅读(33) 评论(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 阅读(124) 评论(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 阅读(126) 评论(0) 推荐(0) 编辑
摘要: Tool-Gitlab-CICD Attention sudo gitlab-runner register Linux executor:shell sudo gitlab-runner verify sudo gitlab-runner start Introduction https://bl 阅读全文
posted @ 2023-06-29 19:59 Theseus‘Ship 阅读(10) 评论(0) 推荐(0) 编辑
摘要: # Book-C++性能优化指南 ## 前言 本书将帮助开发人员识别和利用以下优化机会来改善代码性能。 * 使用更好的编译器,打开编译选项 * 使用最优算法 * 使用更好的库并用好库 * 减少内存分配 * 减少复制 * 移除计算 * 使用最优数据结构 * 提高并发 * 优化内存管理 阅读全文
posted @ 2023-06-29 07:03 Theseus‘Ship 阅读(13) 评论(0) 推荐(0) 编辑
摘要: # C++-生成UML类图 ## 可以用doxygen根据代码生成文档 1. 安装 - `sudo apt install graphviz` # 用于生成代码关系图 - https://graphviz.org/ - `sudo apt install doxygen` - www.doxygen 阅读全文
posted @ 2023-06-29 00:36 Theseus‘Ship 阅读(913) 评论(0) 推荐(0) 编辑
摘要: # Book-Effective C++ 改善程序与设计的55个具体做法 1. 让自己习惯C++ Accustoming Yourself to C++ - 条款 01:视 C++ 为一个语言联邦/View C++ as a federation of languages. - 条款 02:尽量以` 阅读全文
posted @ 2023-06-24 15:24 Theseus‘Ship 阅读(19) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 20 下一页
Live2D