Skip to content

Instantly share code, notes, and snippets.

@ouyangzhiping
Last active December 20, 2015 04:39
Show Gist options
  • Save ouyangzhiping/6072783 to your computer and use it in GitHub Desktop.
Save ouyangzhiping/6072783 to your computer and use it in GitHub Desktop.
setup your mac
# install xcode
app store => xcode => command line tool
# install brew
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
# install brew cask
brew tap phinze/homebrew-cask
brew install brew-cask
# brew install
brew install wget
brew install curl
brew install openssl
brew install imagemagick #未来Rails图片处理需要
brew install gfortran #未来R语言等编译需要
brew install node #未来安装Ruby web服务器pow需要
brew install zsh
brew install git-flow
brew install python
## postgresql
brew install postgresql
postgres -D /usr/local/var/postgres
## install R
https://xquartz.macosforge.org/landing/
download setup xquartz
and
brew install r
# brew cask
brew cask install google-chrome
brew cask install iterm2
brew cask install textmate
brew cask install sublime-text
brew cask install textexpander
brew cask isntall jumpcut
brew cask install the-unarchiver #解压软件,类似于Windows下的winrar
brew cask install evernote #与windows下一样,笔记软件
brew cask install dropbox #与windows下一样,文件同步软件,你的Windows数据在这里
brew cask install zotero #网页收藏与文献管理软件
brew cask install anki #记忆软件
brew cask install google-chrome #与windows下一样,已同步Windows上的书签
brew cask install mou #Mac独有的写作软件,基于Markdown格式,可导出PDF
brew cask install virtualbox #用来跑Windows的虚拟机
brew cask install vagrant #用来在后台跑Windows的虚拟机
brew cask install alfred #Mac独特软件,用来帮你快速调用程序与算账
brew cask install skype
brew cask install RStudio
## github
git config --global color.ui true
git config --global user.name "ouyangzhiping"
git config --global user.email "[email protected]"
ssh-keygen -t rsa -C "[email protected]"
The next step is to take the newly generated SSH key and add it to your Github account. You want to copy and paste the output of the following command and paste it here.
cat ~/.ssh/id_rsa.pub
Once you've done this, you can check and see if it worked:
ssh -T [email protected]
You should get a message like this:
Hi ouyangzhiping! You've successfully authenticated, but GitHub does not provide shell access.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment