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 →

jQuery visibility pseudo-selectors

To help me with a project at work, I’ve written two jQuery pseudo-selectors which will help determine if an element is currently in the viewport or if it has been reached during scroll. This can be incredibly powerful if you’re looking to only display certain items (like a “back to top” link) after you’ve reached a certain point on the page, or only while some other element is within the viewport. Read More →