Articles

Dump, backup and restore a PostgreSQL database

Between user rights, permissions, templates and encoding, believe me or not, but I had some troubles finding a consistent procedure to dump, backup and restore a PostgreSQL database. That’s expected as I’m new to this RDBMS. So here is the sequence of commands I use to dump a …
➟ Read more

Stabilizing Cute Baby Goats

Stabilizing WHAT?!? Baby goats. Cute baby goats. Yes, you’re reading it right. Look:  https://www.youtube.com/watch?v=el6VMY8KZHo Yeah, I know, this is a naive video that belongs to /r/aww . But any excuse is good to me when its all about playing with video. These kids …
➟ Read more

How-to monkey-patch OpenERP’s native JavaScript

Here is a classic editable list in OpenERP v6.0  : It’s a custom view I created this month at work for one of our customer to let him select a list of products, then batch-print their labels on stickers. The view above is produced by the following XML:

How-to generate PDF from Markdown

Pandoc The first tool you can use to convert a Markdown file to PDF is Pandoc  . To install Pandoc and all its dependencies on my Ubuntu 11.04, I used the following command: 1$ aptitude install pandoc texlive Then I applied the PDF transformation on the README.md file from …