Live data from Hacker News

Programmer excuses

programmerexcuses.com

51–60 of 69 posts

Re: Programmer excuses

#58
post #21
post #2

git commit -m "$(curl -s programmerexcuses.com | sed -n '/ >/{s/ ] >//g;p}')"

I'd like to commit a bugfix: git commit -m "$(curl -s programmerexcuses.com | sed -n '/ /{s/ ]*>//g;p}')"

www.whatthecommit.com alternative to this:

  git commit -m "$(curl -s http://whatthecommit.com | grep -o '

.*' | sed 's|]*>||g')"

Re: Programmer excuses

#59
post #21
post #2

git commit -m "$(curl -s programmerexcuses.com | sed -n '/ >/{s/ ] >//g;p}')"

I'd like to commit a bugfix: git commit -m "$(curl -s programmerexcuses.com | sed -n '/ /{s/ ]*>//g;p}')"

Or you can use it in your post-commit hook:

https://gist.github.com/stevelaz/daecc32e0a8f2758b649

Post reply on HN