windows代理软件需要开启允许LAN连接
sudo apt install polipo
vim /etc/polipo/config
在文件中写入如下内容:
socksParentProxy = "localhost:1080"
socksProxyType = socks5
Mac
{
"cmd": ["/usr/local/bin/node", "$file"],
"selector": "source.js"
}
``` | |
PROXIES = { | |
"http": "socks5h://127.0.0.1:1080", | |
"https": "socks5h://127.0.0.1:1080" | |
} | |
``` |
{
"cmd": ["scheme", "--script", "$file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
}
(display "hello")
Preference - Keybindings - User 中添加下面的代码,就能使用alt+方向键,将光标移动到行首,行尾.
{ "keys": ["alt+left"], "command": "move_to", "args": {"to": "bol", "extend": false} },
{ "keys": ["alt+right"], "command": "move_to", "args": {"to": "eol", "extend": false} }
设置用户名和邮箱
git config --global user.name "John Doe"
git config --global user.email [email protected]
添加 socks5 代理
git config --global http.proxy "http://127.0.0.1:1080"
git config --global https.proxy "https://127.0.0.1:1080"