01-pip命令说明

[toc] Table of Contents 1:pip 命令说明 1.1: 安装 pip python -m pip --version: 1.2: 安装 Python 库 pip install requests: 它会自动处理库及其依赖关系 1.3: 升级库 pip list --outdated # 查看待升级库 pip upgrade <package_name> # 升级指定库 1.4: 卸载库 pip

040-Linux安装配置gitlab私有仓库

1: 安装 gitlab 1.1 安装 1.2 配置 1.3 启动 gitlab 1.4 account 管理 2: 内网穿透 natapp 1: 安装 gitlab 1.1 安装 https://packages.gitlab.com/gitlab/gitlab-ce/install 安装工具包: apt install policycoreutils-python-utils 安装 gitlab: curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash sudo apt install gitlab-ce 安装成功成功出现如下图所示: 1.2 配

008-Cpp time操作示例

Cpp time 示例 1: time 介绍 std::chrono::duration std::chrono::time_point std::chrono::system_clock std::chrono::steady_clock std::chrono::high_resolution_clock std::time_t std::tm 2: time code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52

039-Shell设置颜色及一些参数

1: Shell 脚本查错 1.1 set -u 1.2 set -x 1.3 1.4 Bash 的错误处理 1.5 set -e 1.6 其他参数 2: 设置文本颜色 3: 设置 background color 1: Shell 脚本查错 1.1 set -u 执行脚本时,如果遇到不存在的变量,Bash

Linux系统常用命令速查

1: 查看系统信息 2: date 显示系统日期 3: 系统的关机、重启以及登出 4: 文件搜索 5: 挂载一个文件系统 6: 磁盘空间 7: 用户和群组 8: 打包和压缩文件 9: linux 包管理器 9.1 RPM 包

go将html转为image图片

go将html转为image图片 1: 概述 将 html 转为 image 图片 用于从 HTML/CSS 生成高质量图像的 API https://docs.htmlcsstoimage.com/ 2: go 代码 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26

007-Cpp debug 工具dbg-macro

Cpp debug 工具dbg-macro 1: 介绍 https://github.com/sharkdp/dbg-macro 打日志是 C++ 开发中必不可少的一种 debug 方式,dbg-macro 受 Rust 语言中 的 dbg 启发,提供比 printf 和 std::cout 更好的宏函数。主要

006-Cpp webServer示例

Cpp webServer示例 1: 使用 c++11 标准库写一个 httpServer 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47

005-Cpp 动态内存分配函数

Cpp 动态内存分配函数 1: cpp 动态内存分配 2: malloc 3: calloc 4: realloc 5: new 6: demo.cpp 7: 总结与比较 1: cpp 动态内存分配 void* malloc(unsigned int size); void* realloc(void *ptr, unsigned int newsize); void* calloc(size_t numElements, size_t sizeOfElement); 加上一种new关键字,这四个