Author Archive

Using WatiN and C# to Automate Internet Explorer

June 9, 2010

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 [...]

Posted in .Net, C#, Code, Hacks 2 Comments »

Feeding Twitter Your Currently Playing Song in C#

June 6, 2010

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 [...]

Posted in .Net, C#, Code, Hacks, VLC, Windows 7 Comments Off

GMail Notifier for Ubuntu 10.04 Notification Applet

April 29, 2010

GM-Notify integrates very well into the new Notification Applet and uses notify-osd for nice messages..
http://bleedingpaper.com/gm-notify/

Posted in Uncategorized Comments Off

Tweetdeck icon smoothness

April 20, 2010

Great looking artwork there Tweetdeck… Ugh.

Posted in Uncategorized Comments Off

Fix the button layout in Ubuntu 10.04

April 20, 2010

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!

Posted in Hacks, Linux, Open Source, Ubuntu Comments Off

Crawling web sites with Perl WWW::Mechanize (and Moose)

March 22, 2010

My bank, while I’m very pleased with them overall, has a not-so-hot online banking system. My biggest (and simplest) gripe is the inability to get a daily email with the balance of my checking account. I’ve tried multiple ways with limited success, until I did it in Perl.
First, I outlined the steps required to log [...]

Posted in Linux, Open Source, Perl Comments Off

Getting current track information from VLC (using Perl!)

February 9, 2010

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 [...]

Tags:
Posted in Hacks, Linux, MySQL, Open Source, Perl Comments Off

Putting a Recently Played Songlist in WordPress Sidebar

January 3, 2010

For no real reason other than saying that I did it, I wanted to have the last 10 songs that I’ve played on my PC listed in the sidebar of my blog. Simple enough..
Here’s what I have: I’m a fan of Last.FM, plus I have about 25Gigs of mp3s that I like to randomize. I [...]

Posted in Linux, MySQL, Perl, Php, Ubuntu, WordPress 1 Comment »

Adobe Air, TweetDeck on Ubuntu 64-bit

January 2, 2010

In order to get Adobe AIR running on a 64-bit version of Ubuntu (may work with other distros – YMMV. I’ve tested this on 9.10 and 10.04), perform the following steps:

cd Downloads
sudo apt-get install -y ia32-libs lib32nss-mdns lib32asound2 lib32gcc1 lib32ncurses5 lib32stdc++6 lib32z1 libc6 libc6-i386 lib32nss-mdns libcanberra-gtk-module
wget http://downloads.gregkurts.com/getlibs-all.deb
sudo dpkg -i getlibs-all.deb
Download Adobe AIR here
sudo getlibs ./AdobeAIRInstaller.bin
sudo [...]

Posted in Linux, Ubuntu 1 Comment »

Fighting with VMWare Clones

January 1, 2010

Why can’t things just be simple? Really, it’s only a few steps… Surely the folks at VMWare could fix this. Ugh!
When cloning a Linux virtual machine (Ubuntu Server, in my case – YMMV based on distro), the clone’s networking fails to start up. Doing an ifconfig only shows the loopback adapter and no amount of [...]

Posted in Linux, VMWare Comments Off