Category Archives: Tools

wp-upgrade: (nearly) automatic wordpress updating via git

For several years now, I have been using git as a means to manage migration of my website from one version of wordpress to the next. I initially was maintaining documentation for myself on how to do this manually, but later I migrated the documentation into an automatic script. I've decided to clean this up […]

Also posted in Scripting | Tagged , , , , | 1 Response

Unispawn

I've been working a lot with Unity3D recently, and sometimes it can come in handy to have multiple instances of the editor open at once. On Mac, this works fine, but due to how the dock works, it's awkward to launch more than one instance, requiring you to root around in the app bundle and […]

Also posted in Game Development, Scripting | Tagged , , , , | Leave a comment

Searching for the perfect editor

Text editors. Yawn. Who cares? It's just text! For many people, it really doesn't make a difference. But I'm a programmer. I edit code for a living. My editor is the tool of my trade and I want to use the most efficient tool available. I'd be preaching to the choir if I was telling […]

Posted in Tools | Tagged , , | 4 Responses

Tool tips: Find

The find utility is so useful for automation that it deserves a special mention on its own. I will not attempt to cover all of its features, only the ones that I use on a daily basis. I typically use find for two purposes: To create a list of files matching some search terms. To […]

Also posted in Scripting | Tagged , , , , , | Leave a comment

Tool tips: Tee (and standard streams)

Tee is a wonderful but often-overlooked core utility. It's purpose is to intercept a pipeline, write the output to a file, and pass the output along the pipe. It can be used to easily add output logging to any command pipeline or script. To get the most out of tee, it pays to read up […]

Also posted in Scripting | Tagged , , , | Leave a comment

Tool tips: File

Today, I would like to highlight the usefulness of the file utility. It is a command-line utility that is common on Unix systems. File will take one or more files and try to determine what type of file they are by examining their contents. It's the most accurate general-purpose tool of its type that I […]

Also posted in Scripting | Tagged , , , | 1 Response