安装
wireguard 一键安装脚本 https://github.com/angristan/wireguard-install
curl -O https://raw.githubusercontent.com/angristan/wireguard-install/master/wireguard-install.sh
chmod +x wireguard-install.sh
./wireguard-install.sh
wireguard 一键安装脚本 https://github.com/angristan/wireguard-install
curl -O https://raw.githubusercontent.com/angristan/wireguard-install/master/wireguard-install.sh
chmod +x wireguard-install.sh
./wireguard-install.sh
拥有公网IP的情况下,可以使用frp来实现内网机器的端口映射和访问。
linux
wget https://github.com/fatedier/frp/releases/download/v0.57.0/frp_0.57.0_linux_amd64.tar.gz
tar -zxvf frp_0.57.0_linux_amd64.tar.gz
nc (netcat) 是 Linux/Unix 下的一个网络工具,它可以用来测试和调试网络连接和端口。
ubuntu:
sudo apt-get install netcat
mac:
brew install nc
ssh -R 80:localhost:3000 serveo.net
ngrok http 3000
快速开始
npx localtunnel --subdomain cizai --port 3000
全局安装
npm install -g localtunnel
lt --port 3000
自定义个性前缀
lt --subdomain <个性前缀> --port <要映射的端口>
# 获取访问密码
wget -q -O - https://loca.lt/mytunnelpassword
docker配置 ~/.config/docker-compose.yml
version: '3'
services:
clash:
image: ghcr.io/dreamacro/clash
restart: always
volumes:
- ~/.config/clash/config.yaml:/root/.config/clash/config.yaml:ro
ports:
- "7890:7890"
- "7891:7891"
- "9090:9090" # The External Controller (RESTful API)
network_mode: "bridge"
restart: always
clash-ui:
image: haishanh/yacd
container_name: clash-ui
ports:
- 1234:80
network_mode: "bridge"
restart: always
{
"registry-mirrors": [
"http://hub-mirror.c.163.com",
"https://docker.mirrors.ustc.edu.cn",
"https://registry.docker-cn.com",
"https://registry.hub.docker.com"
]
}
在第三列中输入以下函数,拉到最底下。
=VLOOKUP(A1,B:B,1,FALSE)
提交说明的结构如下所示:
原文:
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
https://jimmysong.io/book/kubernetes-handbook/
https://jimmysong.io/book/kubernetes-handbook/cli/kubectl-cheatsheet/
https://www.runoob.com/markdown/md-tutorial.html
https://theme-hope.vuejs.press/zh/cookbook/markdown/
https://theme-hope.vuejs.press/zh/guide/markdown/intro.html
https://theme-hope.vuejs.press/zh/guide/markdown/mermaid.html#流程图
这里是内容。
这里是内容。
这里是内容。
这里是内容。
打开vode的设置界面搜索:
typeHints 和 parameterHints ,并设置为 diable
或者直接打开 vscode 的配置文件 /C:/Users/your_user_name/AppData/Roaming/Code/User/settings.json:
并添加:
"rust-analyzer.inlayHints.typeHints.enable": false,
"rust-analyzer.inlayHints.parameterHints.enable": false
下载地址
https://github.com/keepassxreboot/keepassxc
使用rust和flutter开发,性能非常好,安装包体积小,缺点是存储格式非md,功能有限,对某些md文件支持有问题。
功能强大,插件丰富,使用electron开发的,和Vscode 太像,所以目前使用vscode-office
能实现所见即所得,简单干净
参考https://zuolan.me/2023-terminal
windows, linux,mac下用alacritty终端,
mac下:brew install zsh
ubuntu下:apt install zsh
zsh --version
chsh -s /bin/zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"