Skip to content

Instantly share code, notes, and snippets.

@luoph
luoph / 0_reuse_code.js
Created November 24, 2015 02:12
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@luoph
luoph / UpdateEnvironmentPlist.sh
Created November 23, 2015 07:27 — forked from SQiShER/UpdateEnvironmentPlist.sh
Two simple commands to resolve problems with Maven installed via Homebrew
defaults write ~/.MacOSX/environment.plist M2_HOME `brew --prefix maven`/libexec
defaults write ~/.MacOSX/environment.plist M2 `brew --prefix maven`/libexec/bin
export M2=`brew --prefix maven`/libexec/bin
export M2_HOME=`brew --prefix maven`/libexec