Reverting a range of git commits safely (without losing your mind)

There are a number of documented ways to roll back a long range of commits with varying levels of effort, those include: Reverting a range via the command line (if the range has no merge commits) Reverting one by one on the range of commits, deconflicting as you go Ruin the history and reset head to your selected version I, kind of by accident, discovered a way to handle rolling back a range of commits that I was surprised worked quite as well as it did, and will be my recommendation for rolling repos back without losing history or reverting one by one.
Read more →

Tracking page exits with Mixpanel-js

Oh mixpanel. After looking for far too long for a way in the Mixpanel docs to find a way to track session-end events with the Mixpanel JS library, I tried all the usual tricks to get the tracking event to fire correctly, beforeunload, unload and similar. Nothing was firing correctly. Having heard fairly recently about the beacon API, I thought “Yeah, there's no way there's support for that in recent stuff yet”.
Read more →

Added a uses post for submission on uses.tech

I've added a uses page to this site so it could be submitted to the totally excellent (and super fascinating) uses.tech. I'm fascinated with the tools that people use to do their job, and it was pretty interesting to collect a list of all the crazy stuff I use to get my job done. I spend a lot of time at my desk, and seeing how other people set up their spaces and what they use has been cool
Read more →

Metro for Alfred 4

Every once in a while I build a new theme for Alfred because I use it so much, and I do enjoy having nice looking UI around. This one is different than the last few I've done, and this one I think will last a bit longer because it's using such simple typesetting, I think it's likely to age well. Anyway, I hope you use it and enjoy it, if you do, please do share it around.
Read more →

JetBrains editors popping apropos terminal when invoking actions

You may have noticed a new obnoxious behavior in the JetBrains/IntelliJ series of editors when invoking the actions menu ⌘+shift+A. Instead of the normal actions menu rendered by the editor, you get this menu explaining something unrelated. Being someone who hits this menu many times per day, this really jammed up my shit. To disable this, and save your sanity, go into System Preferences > Shortcuts > Services > Developer and uncheck the Search man Page index in Terminal shortcut.
Read more →