Category: DevOps


  • Regular expressions are really useful whenever you want to search for or replace text in a file or a string. That means, all the time! They are concise, elegant, powerful and simple. So let’s have a look to some examples. I provide below a simple code example to show the usage of regular expressions in…

  • Configuring the famous Pidgin instant messaging client to support IRC is very easy on Linux Debian: sudo apt-get install pidgin pidgin-otr Open pidgin, add an IRC account with the nickname and password you want. For the server, you probably want to use: irc.freenode.net When that is done, go to contact > add a chatroom. In…

  • English: Python logo Deutsch: Python Logo (Photo credit: Wikipedia) Xterm (Photo credit: SiRGt) Geany is a great Integrated Development Environmnent (IDE) for Python on Linux. I love everything in Geany except the size of the execution windows that opens when running a program: it is far too small. To configure the size of the terminal…

  • How to convert HTML code to Text with Python (solved) There are several tools to convert html to text (html2text) in python. My favorite is beautiful soup. Under linux systems, you install the beautiful soup python module with the following two commands: easy_install beautifulsoup4easy_install html5lib Then, in your source code, you can call beautiful soup…

  • Check Out from Subversion Server (Photo credit: xmodulo) SVN is a great version control sytem. I use it to have all my files synchronized among the many computers I use. SVN arborescence conflicts typically occur when you delete a folder without using the appropriate SVN commands (e.g., “rm -Rf myfolder” instead” of “svn delete myfolder”).…

  • example of Python language (Photo credit: Wikipedia) When working with strings in a Python program, if you face errors such as: TypeError(“descriptor ‘lower’ requires a ‘unicode’ object but received a ‘str'”,) What you are looking for is the instruction below: unicode(mystr, ‘utf-8’) It transcodes your string to the target encoding format. I hope this post…

  • Django logo (Photo credit: Wikipedia) Django is a great web development framework. It provides a lot of features to setup a professional website in minutes. However, sometimes the errors messages that it provides are complex to understand. I am describing below how to solve an error that occurs if you want the user to upload…

  • Debian OpenLogo (Photo credit: Wikipedia) On my Debian squeeze, I had trouble making my WiFi card work on my HP DV5 laptop. Indeed, I could not activate the WiFi card under debian, even if I logged into windows and put it on/off. To debug the problem under Debian, I tried: sudo ifconfig wlan0 up But…