sublime text
# Build system
{
"cmd": ["/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6", "-u", "$file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python",
"env": {"PYTHONIOENCODING": "utf8"},
}
# User setting
{
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
"expand_tabs_on_save": true,
"font_size": 14,
"ignored_packages":
[
"Vintage"
],
"tab_size": 4,
"translate_tabs_to_spaces": true,
"update_check": false,
"index_files": false,
}
# sublime merge
git add xxx
git commit -m "xxxxx"
Homebrew
# /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`
# https://git.coding.net/homebrew/homebrew.git - Coding
# https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git - 清华
# https://mirrors.ustc.edu.cn/brew.git - 中科大
brew analytics off
cd $(brew --repo)
git remote set-url origin https://mirrors.ustc.edu.cn/brew.git
cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"
git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-core.git
brew update / outdated
brew install
原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。
原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。