Category Archives: Programming

Unity3D components and code snippets

Last update: Feb 25, 2016 I've been using Unity3D a lot these days for business and pleasure. I've been posting some of my code to gists on GitHub to serve as examples or as open-source components. I thought that I should collect them in one place to make the good stuff easier to browse. I […]

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

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, Tools | Tagged , , , , | 1 Response


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, Tools | Tagged , , , , | Leave a comment

Processing for Programmers

Processing is a wonderful little language. It's designed to be easy to pick up by artists who want to learn some programming, etc. However, it's a real programming language. If you haven't played with Processing, I'd recommend you go do that right now. They have a great series of tutorials, and of course the entire SDK is […]

Also posted in Game Development | Tagged , , , | 5 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, Tools | Tagged , , , , , | Leave a comment

Tales From The Back Burner: Zero Gravity Movement Game Prototype

I'd like to show off some projects of mine that are currently on the back burner, to avoid them from gathering too much dust. 🙂 Here is a video of a game prototype I was working on in UDK. My idea is to express the feeling of being in zero gravity in a way that […]

Also posted in Game Design, Game Development | Tagged , , , , , | 4 Responses

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, Tools | 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, Tools | Tagged , , , | 1 Response

Better living through automation, pt. 3: Shell Scripting: Becoming a Wizard

Using just the shell and the coreutils, it is possible to write commands which wrangle massive amounts of files, translate data into the format you want, etc. But what if you want to take things to the next level? This is where scripting comes in. You can write scripts which are capable of performing a […]

Also posted in Scripting | Tagged , , , | 5 Responses

Better living through automation, pt. 2: The Shell and Coreutils

From here on out, I'm going to assume that you have access to a Unix environment. If you use Windows, I suggest that you install Cygwin to get a Unix environment on your machine if you want to follow along. The default Windows terminal is also pretty crappy so I recommend installing the rxvt-native terminal from within […]

Also posted in Scripting | Tagged , , | 1 Response