Skip to content

Instantly share code, notes, and snippets.

@mrdrozdov
Last active November 5, 2016 19:26
Show Gist options
  • Select an option

  • Save mrdrozdov/35443ca33dd93d716255ff14f87779cf to your computer and use it in GitHub Desktop.

Select an option

Save mrdrozdov/35443ca33dd93d716255ff14f87779cf to your computer and use it in GitHub Desktop.
Setting up a Mac
  1. Update your machine!

Install Software

  • Chrome
  • iTerm 2
  • Sublime 3
  • Zotero

Chrome Extensions

  • AdBlock Plus
  • Zotero Connector
  • LastPass

Bonus

Command Line Software

  1. Create a ~/.rcrc file. Then in your ~/.bashrc, ~/.zshrc, etc. put source ~/.rcrc. You should set any environment variables or related items in this ~/.rcrc file.
  2. Run git from command line. This should prompt the installation of XCode, which includes git, C++, and other useful stuff.
  3. Install brew, following instructions here: http://brew.sh/
  4. Install python with brew. Python is already included, but for a handful of reasons you should install the latest directly from python. You can read more here, otherwise just: brew install python
  5. Now that you've installed Python, you should have access to Pip (the Python package manager). Installing things with Pip is more elegant when using virtual environments. A straightforward virtual environment manager is "Virtualenv Wrapper". Install it now: pip install virtualenvwrapper
  6. Let's make our first virtual environment and install iPython:
mkvirtualenv datascience -p python2.7
workon datascience # this activates the virtual environment
pip install ipython

Configuration

  1. Setup you ssh key using instructions from github: https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/
  2. Add your ssh key to any remote accounts (notably the CIMS machines if you attend NYU).

Bonus

brew install tree
brew install wget
brew install tmux
  • assortment of python utilities. I recommend installing these into the virtual environment of your choosing.
workon datascience
pip install bitbucket-cli
pip install awscli
pip install jupyter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment