Skip to content

Instantly share code, notes, and snippets.

Adam Ming mojitoming

  • Jinan City, Shandong Province, China
Block or report user

Report or block mojitoming

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
mojitoming / idea
Created Nov 26, 2016 — forked from chrisdarroch/idea
Open a project in IntelliJ IDEA from your command line!
View idea
# check for where the latest version of IDEA is installed
IDEA=`ls -1d /Applications/IntelliJ\ * | tail -n1`
# were we given a directory?
if [ -d "$1" ]; then
# echo "checking for things in the working dir given"
wd=`ls -1d "$1" | head -n1`
You can’t perform that action at this time.