Skip to content

Instantly share code, notes, and snippets.

@srohde
Last active December 12, 2015 10:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save srohde/4756474 to your computer and use it in GitHub Desktop.
Save srohde/4756474 to your computer and use it in GitHub Desktop.
# show hidden files
defaults write com.apple.finder AppleShowAllFiles TRUE
killall Finder
# clear terminal cache
sudo rm -f /private/var/log/asl/*.asl
# open canary with cross-domain access
open -a /Applications/Google\ Chrome\ Canary.app --args --allow-file-access-from-files --disable-web-security
# Java
export JAVA_HOME=`/usr/libexec/java_home`
export PATH=$JAVA_HOME/bin:$PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment