Skip to content

Instantly share code, notes, and snippets.

View gist:261aff7578de9e3ddb07597a93b24005
git clone
cd tensorflow
git checkout r1.0
sudo apt-get install openjdk-8-jdk
echo "deb [arch=amd64] stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list
curl | sudo apt-key add -
sudo apt-get update && sudo apt-get install bazel
marando /
Created Jun 18, 2016
Remove Non-Existent Vagrant Boxes

Remove Non-Existent Vagrant Boxes

vagrant global-status --prune

Easy Show/Hide of Hidden Files in OS X

Add this to your .bash_profile:

alias showFiles='defaults write AppleShowAllFiles TRUE;killall Finder'
alias hideFiles='defaults write AppleShowAllFiles NO;killall Finder'

Then from a terminal just run showFiles to show hidden files and hideFiles to hide them again.

marando /
Last active Jun 13, 2016
Enable Sublime Text 3 CLI

Enable Sublime Text 3 CLI


Symlink the CLI tool.

$ ln -s "/Applications/Sublime" /usr/local/bin/subl


  • To edit a file or open an entire directory
marando /
Last active Jun 15, 2016
Enable Git Autocompletion

Enable Autocompletion for Git

  1. Download the git completions script.
$ curl -o ~/.git-completion.bash
  1. Add the script to your ~/.bash_profile.
if [ -f ~/.git-completion.bash ]; then
marando / .bash_profile
Created Jun 12, 2016
Make OS X Terminal like Ubuntu
View .bash_profile
PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\W\[\033[00m\]\$ '
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
alias ls='ls -GFh'