Last active
January 3, 2020 22:07
-
-
Save johndpope/1f8a0f119f94ee1d3f3c98753c744d9a to your computer and use it in GitHub Desktop.
mac setup / machine learning / dev postgress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo 'export ANDROID_HOME=/Users/$USER/Library/Android/sdk' >> ~/.zshrc | |
echo 'export PATH=${PATH}:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools' >> ~/.zshrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# STEP 1 | |
# CREATE 2x SEPARATE SSH FILES!!!!! | |
# ssh-keygen -t rsa -b 4096 -C "[email protected]" | |
# Enter a file in which to save the key (/Users/you/.ssh/id_rsa): johndpope-GitHub | |
# STEP 2 - add to config | |
# code ~/.ssh/config | |
# --- WORK GITHUB USER --- | |
Host github.com | |
HostName github.com | |
User wwe-johndpope | |
PreferredAuthentications publickey | |
IdentityFile /Users/jpope/.ssh/wwe-johndpope-GitHub | |
# ---------------------------- | |
# PERSONAL | |
Host johndpope-GitHub | |
HostName github.com | |
User johndpope | |
PreferredAuthentications publickey | |
IdentityFile /Users/jpope/.ssh/johndpope-GitHub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# download chrome | |
# download iterm | |
# Install homebrew via brew.sh | |
echo "Installing homebrew..." | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null ; | |
brew install caskroom/cask/brew-cask 2> /dev/null | |
brew tap caskroom/cask | |
brew cask install iterm2 | |
brew cask install google-chrome | |
#END Terminal App - open iTerm2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# OPEN iTERM2 NOW | |
defaults write com.googlecode.iterm2 PerformDNSLookups -bool false | |
# Install zshell from ohmyz.sh | |
echo "Installing zshell to replace default bash shell." | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
chsh -s /bin/zsh | |
zsh | |
# this allows l instead ls | |
brew install zsh-completions | |
#RVM - ruby version manager (for gems) | |
curl -sSL https://get.rvm.io | bash | |
rvm install ruby --latest | |
gem install bundler cocoapods | |
# Brew packages | |
echo "Installing useful CLI utilities via homebrew." | |
brew install go | |
go get google.golang.org/grpc | |
brew install protobuf | |
brew install wget | |
brew install git | |
brew cask install transmission | |
brew install Caskroom/cask/java | |
brew install bazel swig coreutils | |
brew cask install asset-catalog-tinkerer | |
brew install maven | |
brew cask install sourcetree | |
brew cask install macdown | |
brew cask install vlc | |
brew cask install skype | |
brew cask install xquartz | |
brew cask install slack | |
brew cask install cyberduck | |
brew cask cleanup | |
brew install python3 | |
brew install python | |
sudo easy_install pip | |
brew install chromedriver | |
brew install chrome-cli | |
brew install youtube-dl | |
brew install ffmpeg | |
brew install heroku | |
brew cask install docker | |
brew cask install kitematic | |
brew install carthage | |
brew cask install visual-studio-code | |
brew install bat | |
brew cask install aerial | |
# install miniconda with python 3 | |
echo "Setting up miniconda python / pip environment manager" | |
wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh | |
chmod +x Miniconda3-latest-MacOSX-x86_64.sh | |
./Miniconda3-latest-MacOSX-x86_64.sh -b -u | |
cd ~/miniconda3/bin | |
conda init zsh | |
# setup nvm - | |
echo "Setting NVM - todo bump version ongoingly..." | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | zsh | |
#TODO install NPM / NVM - above doesn't work so well | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew cask install mysqlworkbench | |
# trading glue code | |
brew install cmake | |
brew install swig | |
brew install ta-lib | |
#brew install postgresql --with-python | |
#brew install mariadb | |
# brew install mongodb | |
# launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist | |
# brew cask install alfred | |
# brew cask install dash | |
# machine learning stuff | |
conda create -n tensorflow python=3.6 | |
source activate tensorflow | |
conda install pandas matplotlib jupyter notebook scipy scikit-learn nb_conda nltk spyder | |
conda install -c conda-forge tensorflow keras | |
pip install gym | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install yarn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Make the host github.com to force your cloning to defer to this ssh account.
code ~/.ssh/config
SANITY CHECK
use a (local system - not same password as github) passcode when generating one of the ssh - this way you're prompted for it . it's clear you're cloning from corresponding ssh account.
Make sure sourcetree is pointing to system git!!!!