Friday, 31 July 2015

Node.js-powered Ping Pong League Within Slack.com

A node.js application which you host (somewhere like Heroku) and then hookup to your slack.com account in order to issue ping pong match challenges and track their results.

I don't know if it's totally genius or totally insane, either way we're using it: https://github.com/andrewvy/slack-pongbot

The amount of tech involved to set-up ping pong matches is brilliant. I haven't dug around in the code too much but I assume it works in the following way:

hosted node.js web server listening and responding to HTTP POST requests being made slack.com when keywords are used. e.g. pongbot challenge johnsmith.


Thursday, 30 July 2015

Visualising and Understanding Git Reset

Really good explanation of how the HEAD, Index/Staging Area and the Working Directory relate to each and how git reset acts upon them: https://git-scm.com/blog/2011/07/11/reset.html

Learning Git From First Principles

I've been tasked with bringing the developers at work up-to-speed on Git. Creating a training package really highlights the areas of a topic you don't know, so I decided to relearn Git from first principles. Below are some resources I found to be invaluable when attacking Git from the ground up. They're in the order I think you'll find them most useful.

Think like a git:
http://think-like-a-git.net

Git for Ages 4 and Up:
https://www.youtube.com/watch?v=3m7BgIvC-uQ

Getting Git:
https://vimeo.com/14629850

Understanding Git Conceptually
http://www.sbf5.com/~cduan/technical/git/ 

Visualisation Tool:
http://onlywei.github.io/explain-git-with-d3