01-zshrc 笔记

zshrc笔记 1:zshrc 文件 2:其他说明 1:zshrc 文件 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

01-C++VScode 配置

C++ VScode 配置 1 C/C++基础 2 Vscode 安装 C/C++插件 3 task.json,launch.json 3.1 task.json 是编译当前文件的指令 3.2 launch.json 3.3 c_cpp_properties.json 4 cmake 1 C/C++基

01-Golang Files and I/O

Golang Files and I/O Table of Contents Table of Contents 一:读文件 1.1 读一个 whole 文件 1.2 读一个文件,close 1.3 read file by line 二:写文件 2.1 Write the whole file 2.2 Open file for writing 2.3 Open file for appending 2.4 Write to a file 2.5 File permissions when creating files

01-微服务限流简单实现

微服务限流简单实现 Table of Contents Table of Contents 一:限流的目的 二:限流实现方式 1:固定窗口 思想 实现 问题 2:滑动窗口 思想 实现 相对于固定窗口的改进 3:漏桶 思想 实现

01-docker registry http api v2

docker registry http api v2 Table of Contents Table of Contents 1: Overview 2: 专有名词解释 3: Push image 过程 3.1 Pushing a Layer(上传层) 3.1.1 Existing Layers(检查层是否存在) 3.1.2 Starting An Upload(启动上传服

01-WSL2中配置docker远程tcp

WSL2中配置docker远程tcp 1: 修改 /lib/systemd/system/docker.service 2: 设置 DOCKER_HOST 环境变量 3: 修改 docker 启动配置文件/etc/default/docker 4: 重启 docker 1: 修改 /lib/systemd/system/docker.service 1 2 3

01-Convert json to csv

Table of Contents Table of Contents 1: Convert json to csv 1.1 json 文件 1.2 convert 1: Convert json to csv 1.1 json 文件 company.json 1 2 3 4 5 6 7 [ { "App": "Instagram", "Company": "Facebook", "Category": "Social Media" }, { "App": "WeChat", "Company": "Tencent", "Category": "Social Media" }, { "App": "Hotstar", "Company": "Disney", "Category": "Entertainment" }, { "App": "CNBC", "Company": "Comcast", "Category": "News" }, {

01-MInikube搭建

[toc] 1: 安装 Docker 环境 1.1: 安装 docker 1.2: 配置 docker docker 加速 /etc/docker/daemon.json 重启 docker,使配置生效 1 2 3 sudo systemctl daemon-reload sudo systemctl restart docker 2: 安装 Minikube https://cloud.tencent.com/developer/article/1817826 2.1 使用普通的 minikube 2.1.1 更新软件源 2.1.2 更新软件包 2.1.3 安装

01-Nginx 常用配置清单.md

Table of Contents 1: Nginx 配置 2: Listen Port 3: Access Log 4: Domain Name 5: Static Asset 6: Redirect 7: Reverse Proxy 8: Nginx 解决跨域 8: Load Balance 8.1 RoundRobin 轮询(default) 8.2 weight (权重) 8.3 ip_hash(IP 绑定 ip_hash ) 8.4 url_hash 8.5