March 30, 2008

Xchat replace.conf

Pidgin has a cool plugin named “Text Replacement”. It has a built in big mapping between wrong spellings and correct spellings. So recently in #xchat IRC channel, someone asked for auto replace plugin. XChat has plugin for auto replacement, but it doesn’t have a map. You have to make the map yourself. XChat doesn’t allow cool options that pidgin gives (like case sensitive/insensitive or exact match or partial), so the mapping I am providing is case sensitive and exact match. I converted that Pidgin map (which is usually stored in “~/.purple/dict”) into XChat format (stored in “~/.xchat2/replace.conf”) . So, you can download the replace.conf file from the below given link, and can replace your current replace.conf with this file.

(more…)

Filed under: xchat — 3:07 pm

March 28, 2008

My first XChat plugin :)

Recently I started using IRC a lot. As I was doing some django, PyQT and KDE/C++ development. Yes, its lot of development. And then whenever I want to ask some question on IRC, I have to use pastebin/dpaste. ( dpaste is developed upon django framework. :) ). Now, to dpaste any code, I have to switch to Firefox, I have to use mouse as well. I have to copy paste the link to xchat. This was tedious task for me. So, I started making a plugin for xchat so that I could easily paste my code. Fortunately XChat has python plugin interface.

(more…)

Filed under: FOSS, Fun, GTK, Python, dpaste, xchat — 1:48 am

March 13, 2008

How to run feedparser behind proxy

So, I had to change the feedparser code to run it behind proxy. Basically the idea is that python by default doesn’t user environment variables http proxy. You have to specify it in the python code.

(more…)

Filed under: FeedParser, Proxy, Python — 12:12 pm
Valid XHTML 1.0 Transitional Valid CSS! Creative Commons License Blog Powered By wordpress Wiki Powered By dokuwiki