Author Archives: Thomas Cokelaer

Latex: force limits to appear above and below the sum sign (inline equation)

In LaTeX equations, when using the sum sign in an inline equation, the limits do not appear above and below the sign but on its right side. If you want the limits above and below, place the \limits command after … Continue reading

Posted in Computer Science, Uncategorized | Tagged | 6 Comments

VIM: pasting text from GUI

In VIM, when you copy and paste text from a GUI application (e.g., firefox), VIM may insert a lot of extra white spaces by indenting the code automatically. The rendering is sometimes completely wrong, or you just do not want … Continue reading

Posted in Linux | Tagged | Leave a comment

Python notes: generators

A new Python notes about Generators.

Posted in Python | Tagged | Leave a comment

Python notes: exceptions

Here is the first article in my Python notes about Exceptions.

Posted in Computer Science, Python | Tagged | Leave a comment

Python notes

I’ve started to gather Python notes that I took little by little during my different experiments with the language. Here is the main page Python notes. There is also a tinyurl for the Python tutorial link: http://tinyurl.com/d2k7bqe

Posted in Computer Science, Python | Tagged | Leave a comment

Sphinx themes and configuration file

In this post, I describe the procedure to create a new CSS theme in Sphinx, which is a tool dedicated to software documentation (and documentation in general). For an example of HTML pages generated automatically with Sphinx, you can look … Continue reading

Posted in Computer Science, Python | Tagged , , | 1 Comment

VirtualBox: how to share a folder between Linux and a Windows virtual disk

Let us suppose you have a Linux platform and that you have created a Windows virtual box (let us call it Windows). Now, what you would like is to be able to access to a Linux folder from your VirtualBox … Continue reading

Posted in Computer Science | Tagged | 1 Comment

VirtualBox (installation on Fedora 14)

I was trying to install VirtualBox using the yumex Fedora tool (or yum) but I was getting dependencies errors. Moreover, it was as if it was not installed, whereas the executable was available. This may have been a previous version … Continue reading

Posted in Computer Science | Tagged , | Leave a comment

Mount Android folder under linux (fedora)

If you have an Android and you want to access its folder from Linux, or you simply want to copy some data from your computer to your android, then you will need to find a mechanism to connect them. Under … Continue reading

Posted in Computer Science | Tagged , | 1 Comment

What is a Python descriptor

In Python, if any of the methods __get__, __set__, and __delete__ is defined for an object, then this object is said to be a descriptor. Descriptors are the mechanism behind properties, methods, static methods, class methods, and super(). Note that … Continue reading

Posted in Python | Tagged | Leave a comment