Recent Posts

The social contract of open source

1 minute read

I’m a huge fan of open source software. Much of my work and play involve using it, either directly or indirectly. And so I’m a big proponent of people giving...

Git: Dynamic identity

less than 1 minute read

Sometimes I use my terminal for personal work, like this article. In those cases, I like my git commits to use my personal email address and not my work e...

Git: Sort branches by recency

less than 1 minute read

When you type git branch, your branch list is sorted alphabetically by default. This isn’t super helpful. To sort your branches by their last commit date,...

Bash: Run entire shell script as root

less than 1 minute read

Placing sudo in the shebang line of a shell script runs the entire thing as root. Useful for scripts designed to, e.g. automate system upgrades or package...