Follow me
-
Recent Posts
calendar
April 2025 M T W T F S S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 Recent Comments
- Stan on python argparse issues with the help argument (TypeError: %o format: a number is required, not dict)
- Cormac on Pandas : how to compare dataframe with None
- LP on AWK: the substr command to select a substring
- jrab on python argparse issues with the help argument (TypeError: %o format: a number is required, not dict)
- How to disable SSL verification for urlretrieve? – Peter's blog on python: certificate verified failed
Archives
Categories
Meta
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
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
Python notes: generators
A new Python notes about Generators.
Python notes: exceptions
Here is the first article in my Python notes about Exceptions.
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
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
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
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
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
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