There’s a great thread over on Stack Overflow about how to recover a dropped stash in Git. Here’s a handy little bash script for doing exactly that: After you have the SHA hash of the stash in question, you can apply it easily with: git stash apply <SHA>
I recently decided to swap out my trusty modded first-generation Xbox for a second-generation AppleTV. I was, however, more than a little reluctant to give up using Xbox Media Center. Fortunately, I happened across a dead-simple jailbreaking tutorial over at OS X Daily. Once your ATV2 is jailbroken, you can SSH right into it. With [...]
In the past year or so, I’ve become a big fan of git, the distributed version control system. I’ve been accumulating a big pile of handy commands, so I figured I’d consolidate them all in one place. Maybe you’ll find them useful too. Update: If you aren’t able to find anything useful in my notes [...]
Here’s a little script I whipped up from a useful Perl command I found. It makes it super easy to do a find-replace on an arbitrary number of files, whose names can optionally be required to match a given regular expression. Enjoy!
As it turns out, the last post I made was the 100th post I’ve made on this site, which is pretty cool. Why not have a belated celebration with another pile of interesting stuff culled from the internet? The People vs. Goldman Sachs Journalist Matt Taibbi comes out with both guns blazing against the vile [...]
Here’s another pile of interesting stuff I’ve encountered on the internet recently… 21 Common Logic Errors Twenty-one ways that your reasoning might not be as bulletproof as you think it is. Jarek Gawor’s LDAP Browser A fast, simple LDAP browser that just gets the job done. Ideas For Startups I’ll let some quotes do the [...]
