设置 git config --global http.https://github.com.proxy socks5://127.0.0.1:1086
设置完成后, ~/.gitconfig
文件中会增加以下条目:
[http "https://github.com"]
proxy = socks5://127.0.0.1:1086
#!name=damai-dev | |
#!system=mac | |
[URL Rewrite] | |
^http://waptest\.damai\.test http://127.0.0.1:6001 header |
defaults write com.apple.WindowManager GloballyEnabled -bool [True/False]
Adjusts whether Stage Manager is enabled or not.
defaults write com.apple.WindowManager AutoHide -bool [True/False]
Adjusts auto hide behavior. This option controls the "Show Recent Apps" and "Hide Recent Apps" GUI option.
defaults write com.apple.WindowManager AutoHideOverlapThreshold -int [-2147483647...2147483647]
Unsure what this option does. Should be noted that when AutoHide is set to False and this option is set to -17 or lower Stage Manager behaves as if AutoHide is set to True.
defaults write com.apple.WindowManager LeftStripMaximumRowCount -int [-2147483647...2147483647]
No need for homebrew or anything like that. Works with https://www.git-tower.com and the command line.
gpg --list-secret-keys
and look for sec
, use the key ID for the next stepgit
to use GPG -- replace the key with the one from gpg --list-secret-keys
#!name=Quick Search | |
#!desc=Safari Search Add-ons by Raffe Yang | |
[URL Rewrite] | |
^https:\/\/duckduckgo.com\/\?q=bd\+([^&]+).+ https://www.baidu.com/s?wd=$1 302 | |
^https:\/\/duckduckgo.com\/\?q=db\+([^&]+).+ https://m.douban.com/search/?query=$1 302 | |
^https:\/\/duckduckgo.com\/\?q=gh\+([^&]+).+ https://github.com/search?q=$1 302 | |
^https:\/\/duckduckgo.com\/\?q=tb\+([^&]+).+ https://s.taobao.com/search?q=$1 302 | |
^https:\/\/duckduckgo.com\/\?q=gg\+([^&]+).+ https://www.google.com/search?q=$1 302 | |
^https:\/\/duckduckgo.com\/\?q=zh\+([^&]+).+ https://www.zhihu.com/search?type=content&q=$1 302 |
#!name=Zoho Mail SMTP | |
#!desc=Zoho Mail SMTP for Apple Mail | |
[Rule] | |
DOMAIN,imappro.zoho.com,DIRECT | |
DOMAIN,smtppro.zoho.com,DIRECT | |
IN-PORT,993,DIRECT | |
DEST-PORT,465,DIRECT |