Hacks

Using WatiN and C# to Automate Internet Explorer

Posted by gkurts on June 9, 2010 at 10:42 pm

I’ve written about web crawling with Perl, but there are some severe limitations to that. The biggest being that it doesn’t (easily) support AJAX. Enter the WatiN web application testing framework for .Net. Best of all, it’s a *free* framework and supports multiple browsers -currently IE, Firefox. I’ve read rumor somewhere that support for Chrome [...]

Feeding Twitter Your Currently Playing Song in C#

Posted by gkurts on June 6, 2010 at 12:07 am

Well, as much as I like messing around in Linux, it’s just that – messing around. From a software development standpoint, Windows still rules. Visual Studio just can’t be beat. But that is a post for another day (soon). For now, I want to talk about how I used C# and VLC to feed my [...]

Fix the button layout in Ubuntu 10.04

Posted by gkurts on April 20, 2010 at 9:21 pm

Love the new button layout in Ubuntu 10.04? Yeah, me neither. Thankfully, it’s absurdly easy to fix it. You can run this from a terminal window or from the Run dialog (Alt+F2).

gconftool-2 –type string –set /apps/metacity/general/button_layout "menu:minimize,maximize,close"

Bada-bing!

Getting current track information from VLC (using Perl!)

Posted by gkurts on February 9, 2010 at 7:16 pm

So I’ve already done a post on getting track information from Rythmbox, but VLC felt cold and left out, so here it is. The process is pretty much the same, just tweaked a bit for VLC.
First, go into VLC, Tools -> Preferences, click the “All” radio button (near the bottom), Interface, click “Main interfaces” and [...]