windows设置代理
@echo off
set http_proxy=http://127.0.0.1:10811
set http_proxy=https://127.0.0.1:10811 netsh winhttp set proxy localhost:10811
echo proxy
https://developer.microsoft.com/en-us/windows/downloads/
REG ADD HKEY_CLASSES_ROOT\*\shell\Vscode /d "open with code"
REG ADD HKEY_CLASSES_ROOT\*\shell\Vscode /v Icon /t REG_SZ /d "C:\Users\aleiw\AppData\Local\Programs\Microsoft VS Code\Code.exe"
REG ADD HKEY_CLASSES_ROOT\*\shell\Vscode\Command /d "C:\Users\aleiw\AppData\Local\Programs\Microsoft VS Code\Code.exe \"%V\""
REG ADD HKEY_CLASSES_ROOT\Directory\shell\Vscode /d "open in code"
REG ADD HKEY_CLASSES_ROOT\Directory\shell\Vscode /v Icon /t REG_SZ /d "C:\Users\aleiw\AppData\Local\Programs\Microsoft VS Code\Code.exe"
REG ADD HKEY_CLASSES_ROOT\Directory\shell\Vscode\Command /d "C:\Users\aleiw\AppData\Local\Programs\Microsoft VS Code\Code.exe \"%V\""
gn gen --ide=vs2019 --args="is_debug=true" out\x64_vs
ninja -C .\out\x64_vs
gn gen --ide=vs2022 --winsdk="10.0.20348.1" out/x64.vs2022 --args="is_debug = true is_component_build = true target_cpu = \"x64\" proprietary_codecs = true"
keyborad shortcuts | command |
---|---|
command + D | 水平分屏 |
command + shift + D | 垂直分屏 |
command + shift + i | 同时输入 |
command + w | 关闭 |
command + shift + w | 全部关闭 |
command + option + 方向键 | 调整焦点 |
command + control + 方向键 | 调整大小 |
lsof -i:3306 # 查看端口占用
lsof -i:3306 | awk 'NR==1 {next} {print $2}'
kill -9 $(lsof -t -i :3306) # 杀死端口
curl -X GET -w "\nl: %{time_namelookup}\nc: %{time_connect}\ns: %{time_starttransfer}\nt: %{time_total}\n" -o a.txt "baidu.com"
-Djava.awt.headless=true
https://blog.csdn.net/lonelymanontheway/article/details/120203097
https://zhuanlan.zhihu.com/p/82649746
`-setsecurewebproxy` `-setwebproxy` `-setsocksfirewallproxy`
alias s='export https_proxy=http://127.0.0.1:7890 http_proxy=http://127.0.0.1:7890 all_proxy=socks5://127.0.0.1:7890 & networksetup -setsocksfirewallproxy "Wi-Fi" 127.0.0.1 7890'
alias u='unset https_proxy http_proxy all_proxy & networksetup -setsocksfirewallproxystate "Wi-Fi" off'
alias s="export http_proxy=http://192.168.31.177:10809; export https_proxy=$http_proxy; echo 'HTTP Proxy on';"
alias u="unset http_proxy; unset https_proxy; echo 'HTTP Proxy off';"
alias c=clear
https://apiv1.v27qae.com/flydsubal/updgg33edt0gmbtn?sub=2&extend=1
https://react.iamkasong.com/#%E7%AB%A0%E8%8A%82%E5%88%97%E8%A1%A8
./configure --enable-debug --enable-cassert --prefix=/usr/local/pgsql CFLAGS=-O0
pg_ctl -D pgdata -l ./pg.log start
psql -U leiwenyong -d postgres