Skip to content

Instantly share code, notes, and snippets.

@nareshganesan
Last active July 13, 2017 05:45
Show Gist options
  • Save nareshganesan/b688be7f70bb910c7028 to your computer and use it in GitHub Desktop.
Save nareshganesan/b688be7f70bb910c7028 to your computer and use it in GitHub Desktop.
El Capitan: iterm2 + Zsh + Oh-my-zsh
# EL Capitan
# For Python devs
sudo easy_install pip
sudo pip install virtualenv
pip install virtualenvwrapper # has some good pre-post scripts for mundane tasks.
# Install Home brew
brew install caskroom/cask/brew-cask
brew cask install iterm2
brew install zsh zsh-completions
which zsh # copy the result of this command in to next /etc/shells
sudo vim /etc/shells #Paste the result of previous command in the last line
chsh -s `which zsh`
# Oh-my-zsh
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh
sudo nano ~/.zshrc
# Add the following lines below
ZSH_THEME=robbyrussell # Use any theme you like
plugins=(git colored-man colorize github git-extras virtualenv pip python docker celery brew osx zsh-syntax-highlighting)
soucre ~/.bash_profile
brew install tree # if you have not installed git (brew install git)
brew install archey
brew install httpie # cool cURL replacement
# data science tools
brew install jq # json formatter in command line.
# Blogging / Static Site
brew install hugo
# Syntax highlighter for Pip
pip install Pygments
# Networking tools
brew install nmap
# CV
# inspect the dependency reference path's within the shared library
otool -L PATH/TO/LIBGRARY/dlib.so
# change the reference inside a shared library
install_name_tool -add_rpath @rpath/PATH/TO/LIBRARY/libmkl_rt.dylib /PATH/TO/SHARED/LIBRARY/dlib.so
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment