Wordpress - smaftoul.wordpress.com - A random weblog but it's mine
General Information:
Latest News:
A little one-liner: rename to lowercase recursively 9 Jun 2009 | 09:33 pm
Here is my little one-liner, because I used it today and I find it fun:
netcat as a logging tcp proxy 13 May 2009 | 09:18 pm
I felt I needed to write an article about netcat, so here is it ! Netcat is an incredibly usefull tool, that allows you to play with tcp connection easily from the shell. Basically, as it name impli...
ubuntu and bind acting as slave 17 Apr 2009 | 12:22 pm
While installing a slave dns server with bind, I went into trouble. I could not understand why my slave zone would not synchronize. Actually I found these entries in /var/log/daemon.log: named[24309]...
Installing redmine 0.8 on intrepid (ubuntu 8.10) 17 Apr 2009 | 04:05 am
I’ve successfully insalled redmine pretty much easily but I needed to find out what packages to install with apt, which one with gem, which version … Here is my magic receipe to install it all: And ...
HTTP’s 301 and 302 16 Apr 2009 | 01:38 am
Just a little note, 301 is the HTTP code for “temporarly moved”, 302 is “permanently moved”. Seems 302 is genereally more usefull and works better. From what I noticed (I’m not sure about it), 302 h...
Hostname and underscore 15 Apr 2009 | 03:20 am
RFC 952 and RFC 1123 explains the rules for choosing a hostname. I noticed recently that a lot of admins (including me) are using underscores in hostnames, but this doesn’t follow RFCs. This can lead ...
MySQL “pretty printing” 9 Apr 2009 | 01:57 am
I just discovered an apparently wide spread tip for mysql: mysql> select 1, 2, 3, 4 ; +---+---+---+---+ | 1 | 2 | 3 | 4 | +---+---+---+---+ | 1 | 2 | 3 | 4 | +---+---+---+---+ 1 row in set (0.0...
Two usefull MySQL requests 22 Jan 2009 | 02:45 am
To analyse a database content, I used several times theses two requests: Number of columns for all tables in a database: select TABLE_NAME, count(TABLE_NAME) from columns where TABLE_SCHEMA="dbname"...
subversion hooks and “light” continuous integration 20 Jan 2009 | 04:46 am
I recently made something really simple which developpers found really usefull: When a developper commits some code on a subversion repository, he wants to test if it works on an integration platefor...
limits , open files, pam, daemons and scalability 27 Dec 2008 | 12:01 am
Be carefull, some daemons have some extensive activity ! It depends on the daemon (its goal, its activity) but some opens a lot of files, some uses a lot a network connections, some both of them (and...