Things I tend to forget

Pidgin chat pounce plugin

I wrote the following plugin using the Pidgin Purple Perl_API. It’s pretty simple and to the point without too many bells and whistles.

We use an XMPP (jabber) chat room to communicate at work. That’s mostly for internal communication. Recently we added an external hookup to a campfire chat room via tinder. The campfire chat room is mostly for customers requesting support.

The problem is that when a customer enters the chat room, pidgin will display something like the following:

(02/23/2011 07:35:36 AM) Tinder: James Bond in Customer Service Desk: EnterMessage

There’s no way to make pidgin understand that’s a new user logging in as the ‘Tinder’ user is already logged in. Is there?

Here’s the codeI moved the code to github, including some enhancements from Adrian Deac. put the code in a file named ‘’ in your .purple/plugins/ directory

It’s been fun brushing up on my perl skills. I may write another plugin (to edit timestamps display) later as well…

Similar Posts:

Bypassing stupid security measures

A couple of weeks back, my esteemed bank BCL introduced a new “feature” (read annoyance) to their online banking site. It’s a “virtual keyboard” that sits on the login page and can be used only with a mouse. And it’s utterly stupid

Similar Posts:

Update firefox manually

You can probably get the best information here:

Here’s what I did:
* I installed the new firefox in /opt/firefox
* I made sure that my user has write access to that directory
* I stopped using the Ubuntu packaged firefox.

This way, I get the latest updates automatically 🙂

Similar Posts:

Table ‘mysql.servers’ doesn’t exist

That’s a bit confusing, but mainly all you need to do is:

Or if there’s a password on the admin account:
mysql_upgrade -u admin -p

Similar Posts: