Hilabs - hilabs.net
General Information:
Latest News:
Fixing Xen "RTNETLINK answers: File exists" issue with ifup on Debian when using network-bridge and static IP address 2 Aug 2012 | 03:02 pm
I recently spent a while trying to make my Xen bridged setup work on Debian with a static IP address so I thought I would share the solution to my problem. I had the following /etc/network/interfaces...
Nagios plugin to check SSL certificates 27 Sep 2011 | 09:15 pm
Here a Nagios plugin I wrote for checking SSL certificates for expiry. You can set it up for emitting a WARNING or a CRITICAL state N days before expiry. /root/bin/nagios-check-crt.sh : Here's the c...
Low-level Python debugging with GDB 12 Aug 2011 | 08:08 am
Introduction Your Python program is crashing or unresponsive and you can't figure it out with traditional tools (printing, PDB) ? Then this tutorial might help you ! GDB is a very powerful debugging...
Sleep sort performance test 25 Jul 2011 | 11:38 am
Introduction Sleep sort is a very curious and original algorithm. It brings several interesting questions. Such as, how to measure its complexity or in what cases does it perform the best. Principle...
Blog migré ! 22 Jul 2011 | 09:20 pm
Plusieurs internautes reconnus ont retwitté mon dernier billet. Merci Stéphane Bortzmeyer et Korben ! Mon blog était devenu affreusement lent à consulter, la ligne ADSL ne tenant plus la charge avec s...
Bouygues Télécom modifie en douce ses CGS peu après mon premier billet 22 Jul 2011 | 05:20 pm
Avant-propos Tout d'abord je voudrais remercier tous ceux qui ont promu mon billet précédent sur Twitter ou dans leurs blogs : en deux jours, je suis passé de 50 à 1000 visiteurs journaliers, avec un...
Bouygues Télécom filtre malhonnêtement son réseau 3G et inspecte vos données 19 Apr 2011 | 09:10 pm
Une jolie leçon en matière de neutralité de réseau de la part de Bouygues Télécom. Voici "l'accès Internet illimité 2Go" que obtenez pour 45 euros par mois. Introduction Mon PC sous Debian SID est c...
Hexadecimal dump in C 13 Jan 2011 | 01:38 pm
It can be very handy, in your C programs, to be able to print raw data in a UNIX xxd fashion. Here is a short function to do that : hexdump.c : hexdump.h It can be tested as a standalone program (w...
A script for splitting videos using ffmpeg 2 Jan 2011 | 10:07 am
Here is a small bash script for automatically cutting a video file into smaller chunks of fixed length. ffmpeg cannot output multiple files, but it has start offset and duration parameters which my sc...
Lightweight HTTP server in BASH with PHP support 15 Sep 2010 | 10:06 am
No kidding, I wrote this HTTP server in Bourne Shell. It supports most of HTTP 1.0 headers, Keep-alive requests, directory listing and PHP scripts. By its nature, this piece of software is not secure ...