Setup Developing Environment on macOS
Terminal Emulater
- iTerm2
Homebrew - the missing package manager for macOS
Shell
Byobu
Byobu is a GPLv3 open source text-based window manager and terminal multiplexer.
Git
initial setup
git config --global user.name cheng10
git config --global user.email cheng10@ualberta.ca
git config --global core.editor vim
check your settings
git config -l
generate a new SSH key(optional)
# This creates a new ssh key, using the provided email as a label.
ssh-keygen -t rsa -C "your_email@example.com"
https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/ https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup
Python
basical setup
brew install python
virtualenv wrapper
install
pip3 install virtualenvwrapper
update your shell config file(.bashrc, .profile, .zshrc, etc.)
export WORKON_HOME=$HOME/.venvs
export PROJECT_HOME=$HOME/Projects
export VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python3
source /usr/local/bin/virtualenvwrapper.sh
to use
mkvirtualenv p3
workon p3
https://virtualenvwrapper.readthedocs.io/en/latest/install.html
ShadowsocksX
China Optimization
- python pip mirror
git
proxy your ssh git clone: just setup ssh proxyjump
# ~/.ssh/config
Host github.com
User git
ProxyJump gce-jp