How to manage invoices with the CLI and an editor

Here’s a common thing we often hear: if you’re doing a task more than once, automize it! Following up on a former article I wrote in french four years ago, where I was showing how simple it was to do my invoices in LaTeX, I have since then built a more generic framework around that. Let’s have a look after the break.…

Docopt, the elegant way to build CLI

Recently I have been caught in a troll with a friend who told me he dislikes docopt, and prefers to stick with argparse. Ever since I started using docopt, I love it and see no reason to stop using it. So we’ll see why after the break……

Git-Repo The ultimate utility for managing services

There are many online platforms offering repository hosting, though they all suck at one thing, it’s to integrate nicely in the flow of coding. Some have a GUI tool, others integrate more or less in your editor (or IDE), and that’s rarely the ones you’re using for your work. After the break, let me show you my take on this, with a little tool I wrote called git-repo……

Run the SL030 RFID reader on linux

I need to use the SL030 RFID reader on linux (on a beaglebone with i2c support enabled, of course). But when I tried to communicate with the device using i2cget, the device failed and disappeared from the detected devices… After the break, we’ll see why and how I solved it.…

Python Event Source Library

For a project, I needed to have a simple way to make a central software be able to send commands to several slaves appliances that are on the internets, i.e. they can either be on Internet with a public IP address, or be behind a proxyfied-firewalled private network that can only communicate through port 80. That’s how I came across a W3C working paper about a very simple technology based on HTTP/1.1 long-polling, called EventSource. The full story and real code after the break……