How to Structure a .zshrc

January 16, 2016


“One of these days I’m gonna get organiz-ized!”

I often recommend that people “stick this-or-that in their .zshrc.” But what I really mean is to “put this-or-that into the appropriate subfile that makes up a bit of their grander Zsh configuration.” There are some great benefits to piecing apart a single monolithic .zshrc file into individual files.

At the top level, you still have your ~/.zshrc, but it’s mostly just responsible for `source`ing the meatier files.

Continue reading →

The 14-Digit Timestamp, et al

January 14, 2016


The so-called “14-digit timestamp” is turning up in more and more places. For those unfamiliar, it takes the form of:


I’ve seen it recently in Migratus and Rails/Cap deploys (current symlink), and it’s been used widely by MySQL. They’re pretty handy for setting to-the-second precision for ordering of things, like database migrations. And, they’re fairly human-parsable.

Continue reading →

CentOS 7 Networking Tools

January 5, 2016


“Networking is an essential part of building wealth.” — Armstrong Williams

The networking toolchain is a bit different on every OS. I’ve been spending enough time on CentOS 7 lately that its specifics are worth recording.

I’ll assume you don’t care about OSs that deviate much from RH-derived. I’m also leaving out anything to do with IPv6.

Continue reading →

No More Holding Down Keys

December 22, 2015

Audience:button holders

“The chains of habit are too weak to be felt until they are too strong to be broken.” ― Samuel Johnson

I’m trying an experiment where I’ve turned my keyboard repeat rate way down. This should force me to never hold down a key for repetition, but rather use a prefix like 4w (vim) or Ctrl-Backspace (browsers). I’m learning some interesting things!

This is done easily across X with:

Continue reading →

Clojure Annoyances

December 3, 2015

Audience:Clojure beginners

“You have to be quite heavily invested in someone to do them the honour of telling them you’re annoyed with them.” ― Alain de Botton

Every language has warts. This is not the first wart piece written on Clojure, but it’s my unique take on it. There are some workarounds, but these will bite newbies. Despite these minor annoyances, I still find Clojure to be the best environment to work in for many years to come.

Continue reading →