Tags: linux

A quick shell script for wine prefixes

Wine, the Windows emulator-that’s-not-an-emulator for Linux distributions, has a way of maintaining separate Windows systems using the WINEPREFIX and WINEARCH environment variables. While it’s a powerful mechanism, it’s not so handy to type it all in on the command line over and over. To that end, I have whipped up a simple shell script that handles most of that nasty business for you. Read More →

Resilient Ubuntu boot-to-RAM USB stick (Ubun2RAM) – Updated for 13.10

I love my little-engine-that-could media server machine. It runs incredibly well on hardware from at least two generations ago; it is completely headless; the entire system loads itself into RAM in the form of a compressed file system; it all fits onto a bootable USB stick; and I can back it up and rebuild it with ease, thanks to the virtualization capability of Oracle’s VirtualBox software. This is my recipe (of sorts) for building your very own. Read More →

WordPress plugin minify Makefile

While working on my first commercial WordPress plugin, the need for build automation finally struck me. The environments in which I do my most development are all driven by Linux, and so I wanted to use a tried, true, and ubiquitous build automation mechanism to fulfill my need. As such, I wound up going with a Makefile, to be parsed and executed by the GNU make application. The result is an incredibly convenient automated build that minifies my Javascript/CSS (thanks to reducisaurus), and creates a version-appropriate archive of my plugin. Read More →