I can tell from this photo that I should really be writing more code outside of work. So I went back in time to earlier this week and wrote a little bit!
spark-git.rb makes bucketed histograms of how many git commits per week you’ve made in a directory or list of directories. You can choose how many weeks back you want it to look and it’s pretty fast— it runs on every directory in my `~/src` in just under 1s, so I can easily have it show me my commits across everything I’m working on when I open a terminal window and just the commits for a particular git repo when I `cd` into that repo.
The code is on Github, of course. Hopefully this inspires me to write code more often at home!