Hipsterized commit

After adding current listened track into my commit message, now i’m adding the action, i take picture everytime commiting something. here’s how.

  • get ImageSnap brew install imagesnap or port install imagesnap
  • create this hook at your project .git/hooks/

the hook

COMMITID=$(git rev-parse HEAD)
imagesnap -q -w 1 .gitsnap/$COMMITID.jpg`

save as post-commit (so it will run after commit)

Tags: #git, #fun

How to stop procrastination

did you always stuck in the morning reading news, hundred of rss feed, Flipboarding(?), and last but not least, Twitter or Facebook. they can suck all of your productive time.

but there’s a way to satisfy your need to tweets or update you status. you can use the tool that [hipster(?)] developer already knows, GIT.

see, i have a record 7.777 tweets right now, and i hate to break this number. and guess what, yes, i’ve been ranting/tweeting/etc via my commit message. This way i can get both satisfaction, by writing not-all-nonsense so-called tweet and i can get productive by making change on my code, if i want to ‘tweet’, i have to change/write codes!

P.S: i can also wrote a ‘blog’ like this one, besides for my technical stuff i’ve been blogging on coderwall.com

lovely number

Read more →

Git commit and mood

many developers push their code to git repo with funny or sometimes silly comments (i do that sometimes) like this whatthecommit site, but maybe it will be more hips (like hipsters do) if i can fetch last.fm api from current listened music and add them to my commit message.

here’s the idea

$ git commit -m "fixing some bugs $(last_fm)"

the last command is to insert my last.fm current track. so if we browse the log it will be shown "fixing some bugs while listening to U2 - Stay". if i don’t listened any track it will return "with no music" (or any other message).

update 2013-03-05

hispter geek

here’s the gists on github of course

Read more →

Tags: #life, #codes, #scm

It means we are productive


Tag: #git

Mou ♥ scriptogr.am

i know it’s late, but just stumbling that we can post to scriptogr.am via Mou.

scriptogr.am ID from Mou app

if you are Mac users, Mou is the best app for markdown, and it’s free!.

Tags: #apps, #osx