Using direnv to set a custom git email for work projects
I like to specify a different git author email for personal projects and work
projects. This can be done per-repo with git config user.name
and git
config user.email
, but it can be easy to forget as you clone repos. Here is
how I used direnv to accomplish this automatically.
Somehow, I Manage: The Ten Slack Commandments
As a fully distributed team, Slack is our main tool for real-time communication with each other. Keeping up with dozens of messages a day can be daunting, and distractions abound. Here are just a few ways I’ve seen remote teams of all sizes use Slack effectively to cut through the noise and keep the communication flowing.
Warn when macOS adds path_helper to zprofile and profile on OS updates
If you like to manually set your $PATH
on macOS, you may have updated
/etc/zprofile
(for ZSH) or /etc/profile
(for Bash) to eliminate calls to
path_helper
. Unfortunately, macOS will update these files when you install
OS updates. I’ve been bitten by this changing my $PATH
, so I came up with
the following snippet to warn when it happens.
Ruby 2.3.2 on macOS 10.15
I needed to install Ruby 2.3.2 on macOS 10.15 and hit some snags with OpenSSL.
Vim cheatsheets
A big list of Vim cheatsheets from reddit.com/r/vim:
Useful git configs and aliases
Here are some of my favorite git configs and aliases.
Using Let’s Encrypt for local servers
I run a few web services on my local network. I trust my network, but I’ve often wanted to use SSL with these services. Using DigitalOcean as a DNS provider and Let’s Encrypt, I finally have this in place. Here’s how I set things up.
Deluge and OpenVPN on a Raspberry Pi 4
I recently got a new Raspberry Pi 4. Since it has gigabit ethernet and USB 3, I thought it would make a perfect Deluge seedbox (you know, for Ubuntu and Rasbian ISOs and the like). Here’s how I setup Deluge and OpenVPN.
I’m Comic Sans, Asshole
Listen up. I know the shit you've been saying behind my back. You think I'm stupid. You think I'm immature. You think I'm a malformed, pathetic excuse for a font. Well think again, nerdhole, because I'm Comic Sans, and I'm the best thing to happen to typography since Johannes fucking Gutenberg.