Follow me
-
Recent Posts
calendar
June 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
Category Archives: Uncategorized
Allocation 2D arrays in C (and freeing memory)
By convention, when dealing with 2D array, the first dimension refer to the rows, and the second to the columns. To create a 2D array (double pointer) in C, you first create a 1D array of pointers (rows), and then, … Continue reading
Books: Snow, Orhan Pamuk
I’ve read Snow last year, a novel from Orhan Pamuk, a Turkish novelist, Nobel prize in Literature 2006. For an overview you can consult wikipedia entries in French (Neige) or English (Snow).
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
Python ressources
Python is a script language that has evolved into a “do whatever you want”. It is now a versatile tools, which is really powerful and contains more and more modules to really do whatever you want. Python documentation provides a … Continue reading
Posted in Uncategorized
Leave a comment
Awk: how to convert PNG files into PDF
Here is a method to convert a bunch of PNG files into another format (here PDF). This method works under linux and uses both awk and convert commands (the conversion is made with the convert command). The following script generates … Continue reading