Saturday, 24 August 2013

lolcommits

Every now and again I look at the lolcommits gem, this allows a git user to take a snapshot each time that they commit code to their repository.

The only bit it took me a while to work out was the correct way to get the twitter option to post.

After some playing around I discovered the following sequence usually works:

lolcommits -p twitter --config

and type true when you get the prompt

enabled:

Once you have committed to your repo, then type

lolcommits -c

this will take a fresh screenshot from your latest commit and give you a url to authorise the tweet activity. Enter the url into a browser, then paste the code into the command prompt and all your future commits will be sent to annoy your followers.

Examples of this hideous idea are here (how many of these places do you recognise?):