Symlink the CLI tool.
$ ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl
- To edit a file or open an entire directory
PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\W\[\033[00m\]\$ ' | |
export CLICOLOR=1 | |
export LSCOLORS=ExFxBxDxCxegedabagacad | |
alias ls='ls -GFh' |
Add this to your .bash_profile
:
alias showFiles='defaults write com.apple.finder AppleShowAllFiles TRUE;killall Finder'
alias hideFiles='defaults write com.apple.finder AppleShowAllFiles NO;killall Finder'
Then from a terminal just run showFiles
to show hidden files and hideFiles
to hide them again.
Remove Non-Existent Vagrant Boxes
vagrant global-status --prune
git clone https://github.com/tensorflow/tensorflow | |
cd tensorflow | |
git checkout r1.0 | |
sudo apt-get install openjdk-8-jdk | |
echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list | |
curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add - | |
sudo apt-get update && sudo apt-get install bazel |