Home

Original article

Playing with Python, D-Bus and Pidgin

Since last week, I finally can use my own domain name as jabber domain Yay! Thanks to http://jabber.apinc.org public free server, I used some DNS SRV records, and with the agreement of server owners let them handle my domain.

Tags:

MDrush, a Drush python wrapper

Some months ago, I was developing some Drupal modules for my Company, I noticed the time I loose each time I have to run a Drush command (such as clear cache) in order to do basic Drupal developer stuff.

Functional doctest snippet of the day

I was looking for an easy way to get the current browser.contents in my real browser to easy debug what is happening in my doctest.
Here is the snippet:
Updated the 01/13/2009

>>> import tempfile as tmp
>>> def contents():
... fd, fn = tmp.mkstemp(suffix=".html", prefix="testbrowser-")
... file = open(fn, 'w')
... file.write(browser.contents)
... [...]

Tags:
Syndicate content