Joined April 2012
·
Posted to
Be more productive
over 1 year
ago
sudo -- sh -c 'printf "127.0.0.1\tcoderwall.com\n" >> /etc/hosts'
;-)
Posted to
Open the File Manager GUI from the Command Line
over 1 year
ago
OS X support
case "$OSTYPE" in
cygwin) gui() { explorer "${1:-.}"; } ;;
linux-gnu) gui() { nautilus "${1:-.}"; } ;;
darwin11.0) gui() { open "${1:-.}"; } ;;
*) echo 'Unknown file manager.' >&2 ;;
esac
Posted to
git mergetool -t vimdiff to resolved conflicts in vim mode
over 1 year
ago
Or you can setup it as default (or any else diff tool)
git config --global merge.tool vimdiff
Posted to
Check out GitHub repos with a "github:" URL
over 1 year
ago
https://github.com/defunkt/hub
Simplest solution ;)
Achievements
505 Karma
18,070 Total ProTip Views

24PullRequests Participant
Sent at least one pull request during the first 24 days of December 2014

Forked 50
Have a project with a thriving community of users that's been forked at least 50 times

Epidexipteryx
Have at least one original repo where C++ is the dominant language

Altruist
Increase developer well-being by sharing at least 20 open source projects

T-Rex 3
Have at least three original repos where C is the dominant language

24PullRequests Participant
Sent at least one pull request during the first 24 days of December 2013

Forked 20
Have an established project that's been forked at least 20 times

24PullRequests Participant
Sent at least one pull request during the first 24 days of December 2012

Komodo Dragon
Have at least one original repo where Java is the dominant language

Lemmings 100
Write something great enough to have at least 100 watchers of the project

Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos

Bear 3
Have at least three original repos where Objective-C is the dominant language

Raven
Have at least one original repo where some form of shell script is the dominant language

Mongoose 3
Have at least three original repos where Ruby is the dominant language

Forked
Have a project valued enough to be forked by someone else

Charity
Fork and commit to someone's open source project in need

Mongoose
Have at least one original repo where Ruby is the dominant language

Bear
Have at least one original repo where Objective-C is the dominant language

T-Rex
Have at least one original repo where C is the dominant language
@hauleth, it works for me without
-n
. OS X 10.8