摘要: Blog Theme-博客当前皮肤设置 2023/3/3 21:45:37 博客皮肤 SimpleMemory 博客侧边栏公告 <!-- SimpleMemory 博客皮肤 --> <script type="text/javascript"> window.cnblogsConfig = { in 阅读全文
posted @ 2023-03-03 21:47 Theseus‘Ship 阅读(16) 评论(0) 推荐(0) 编辑
摘要: #开篇·序 June 30, 2020 12:46 PM 2020年2月,申请 2020年6月25日,端午 2020年6月26日,辞友 2020年6月27日,开通博客 阅读全文
posted @ 2020-06-30 12:53 Theseus‘Ship 阅读(80) 评论(0) 推荐(0) 编辑
摘要: OS-Windows11-系统盘安装-DVD[4.7GB] 背景 安装Windows11操作系统。 Download Windows 11 (microsoft.com) 安装方法 MediaCreationTool_Win11_23H2.exe 使用系统U盘或下载ISO镜像 直接下载ISO镜像,然 阅读全文
posted @ 2024-04-23 08:52 Theseus‘Ship 阅读(5) 评论(0) 推荐(0) 编辑
摘要: Tool-Gitlab-重置root账户密码 背景 遗忘或丢失Gitlab的root账户密码时,直接重置其密码 方法 终端 sudo gitlab-rails console 在Gitlab Rails Console中执行 user = User.find_by_username('root') 阅读全文
posted @ 2024-04-23 08:38 Theseus‘Ship 阅读(1) 评论(0) 推荐(0) 编辑
摘要: Tool-Navicat Ubuntu 背景 Navicat Premium16 Navicat 中国 | 支持 MySQL、Redis、MariaDB、MongoDB、SQL Server、SQLite、Oracle 和 PostgreSQL 的数据库管理 [Download](Navicat | 阅读全文
posted @ 2024-04-23 08:31 Theseus‘Ship 阅读(6) 评论(0) 推荐(0) 编辑
摘要: Linux-Ubuntu-mysql-安装&卸载 背景 Ubuntu 18.04.5操作系统,安装与卸载MySQL数据库。 安装MySQL 终端sudo apt install mysql-server 注意:默认安装源上的版本 卸载MySQL 终端sudo apt autoremove --pur 阅读全文
posted @ 2024-04-23 08:12 Theseus‘Ship 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 通用方式实现Map ChatGpt 实现展示地图并在地图上提供操作选项的技术栈可以包括: Web开发技术:HTML、CSS、JavaScript 地图API:如Google Maps API、Mapbox API、Leaflet等 前端框架:如React、Vue.js、Angular等 后端技术:如 阅读全文
posted @ 2024-02-20 10:38 Theseus‘Ship 阅读(6) 评论(0) 推荐(0) 编辑
摘要: Linux-基本硬件情况 了解自己的Linux基本硬件情况 - 二进制咬不到猫的文章 - 知乎 CPU 查看CPU详细信息: $cat /proc/cpuinfo CPU ①物理CPU数(physical id):主板上实际插入的cpu数量,可以数不重复的 physical id 有几个 ②CPU核 阅读全文
posted @ 2023-12-21 23:57 Theseus‘Ship 阅读(7) 评论(0) 推荐(0) 编辑
摘要: Code-C++-字符串分割 转自【C++中string如何实现字符串分割函数split()——4种方法 - CSDN App】http://t.csdnimg.cn/8iWb7 stringstream getline() string find() substr() c char strtok( 阅读全文
posted @ 2023-11-18 17:45 Theseus‘Ship 阅读(6) 评论(0) 推荐(0) 编辑
摘要: OS-Linux-程序安装与依赖 从源下载安装包 sudo apt download mysql 查看安装依赖:apt-cache apt-cache depends xxx 查看已安装程序依赖,如nginx sudo apt-get install --reinstall -d'apt-cache 阅读全文
posted @ 2023-11-18 17:23 Theseus‘Ship 阅读(10) 评论(0) 推荐(0) 编辑
摘要: Tool-Nvidia-查询显卡信息 nvidia-smi -L lscpi |grep -i nvidia 阅读全文
posted @ 2023-10-12 13:01 Theseus‘Ship 阅读(6) 评论(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:55 Theseus‘Ship 阅读(7) 评论(0) 推荐(0) 编辑
摘要: Code-C++-Snowflake #include <iostream> #include <chrono> #include <stdexcept> class Snowflake { private: // 雪花算法的各个参数 static constexpr int64_t workerI 阅读全文
posted @ 2023-10-12 12:50 Theseus‘Ship 阅读(9) 评论(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 阅读(30) 评论(0) 推荐(0) 编辑
摘要: OS-Kylin-银河麒麟操作系统 查询系统版本信息指令 cat /etc/.kyinfo 阅读全文
posted @ 2023-10-12 12:43 Theseus‘Ship 阅读(327) 评论(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 阅读(35) 评论(0) 推荐(0) 编辑