ASP.NET/C# image resizer for responsive layouts

I will probably elaborate on this a bit further when I find some more time, but for now, this post is going to be mostly code. What I have here is a relatively simple way to generate images that are resized server-side based on the screen dimensions (note: not window dimensions) of the web browser requesting them. This way, you’re not sending huge images to phones. Pair this with some CSS to scale your images to fit their containers, and you’re cooking with gas! Read More →

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 →