pip
1 2 3
| pip config set global.index-url 'https://pypi.tuna.tsinghua.edu.cn/simple'
pip config list
|
git
1 2 3 4 5 6 7 8 9
| git config --global user.name 'shenbo' git config --global user.email 'shenbo@hotmail.com'
git config --global http.proxy 'http://127.0.0.1:9981'
git config -l
git config --global core.editor code git config --global -e
|
scoop
1 2 3 4 5
| scoop config aria2-enabled true scoop config aria2-retry-wait 8 scoop config aria2-split 8 scoop config aria2-max-connection-per-server 8 scoop config aria2-min-split-size] 2M
|
1 2 3
| scoop config proxy 127.0.0.1:9981
scoop config
|
npm
1 2 3 4 5
| npm config set registry https://registry.npmmirror.com/
npm install nrm -g nrm use taobao
|
1 2 3
| npm config set proxy http://127.0.0.1:9981
npm config list
|
ssh
在 C:\Users\XXXX\.ssh\config
,内容为:
youtube-dl
- 设置默认下载目录
linux 系统: 修改/新建文件 /etc/youtube-dl.conf
,
或 ~/.config/youtube-dl/config
,内容为:
1
| -o ~/Sync/ytb/%(title)s.%(ext)s
|