设置 git config --global http.https://git.521000.best.proxy socks5://127.0.0.1:1086
设置完成后, ~/.gitconfig 文件中会增加以下条目:
[http "https://github.com"]
proxy = socks5://127.0.0.1:1086
| { | |
| "all": [ | |
| { "z z": "#hotkey-settings" }, | |
| { "z y": "{repo}/branches/yours" }, | |
| { "z c": "{repo}/" }, | |
| { "z r": "{repo}/releases" }, | |
| { "z t": "{repo}/tags" }, | |
| { "z q": "{repo}/pulls" }, | |
| { "z b": "{repo}/branches" }, | |
| { "r r": "{repo}/releases/new" } |
| { | |
| "all": [ | |
| { "f1": "#hotkey-settings" } | |
| ], | |
| "{repo}": [ | |
| { "z b y": "{repo}/branches/yours" }, | |
| { "z b a": "{repo}/branches" }, | |
| { "z r": "{repo}/releases" }, | |
| { "z c": "{repo}" }, | |
| { "z p": "{repo}/pulls" } |
| browser.tabs.insertAfterCurrent = true | |
| browser.tabs.insertRelatedAfterCurrent = true | |
| browser.tabs.loadBookmarksInTabs = true | |
| browser.urlbar.openintab = true |
| <key>Custom</key> | |
| <dict> | |
| <key>Delete Current Line</key> | |
| <string>selectLine:, deleteBackward:</string> | |
| <key>Duplicate Current Line</key> | |
| <string>selectLine:, copy:, moveToEndOfLine:, insertNewline:, paste:, deleteBackward:</string> | |
| </dict> |
| #!/usr/local/bin/python3 | |
| # | |
| # -d : no '-' in pwd | |
| # | |
| import random | |
| import sys | |
| pwdStrPool = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
| poolSize = len(pwdStrPool) |
| Atom Settings |
| # Path to your oh-my-zsh installation. | |
| export ZSH=~/.oh-my-zsh | |
| # Set name of the theme to load. | |
| # Look in ~/.oh-my-zsh/themes/ | |
| # Optionally, if you set this to "random", it'll load a random theme each | |
| # time that oh-my-zsh is loaded. | |
| ZSH_THEME="robbyrussell" | |
| # Uncomment the following line to use case-sensitive completion. |
| for i in `gem list --no-versions`; do sudo gem uninstall -aIx $i; done |
| //不延迟 | |
| defaults write com.apple.Dock autohide-delay -float 0 && killall Dock | |
| //恢复默认 | |
| defaults delete com.apple.Dock autohide-delay && killall Dock |