Apache2 and buffered transaction

If you must have an Apache2 webserver which is not buffering (realtime printf) transaction, you must remove ‘deflate’ :

root@plop~# a2dismod deflate
Module deflate disabled.
Run '/etc/init.d/apache2 restart' to activate new configuration!
root@plop~# /etc/init.d/apache2 restart
Restarting web server: apache2 ... waiting .
root@plop~#

Ping tool : How to learn some new stuff

We always can learn some useful new thing in reading manual. This is what I have done and lear an interesting features by means of ping -R. What we can read in ping(8) on a Linux System : -R Record route. Includes the RECORD_ROUTE option in the ECHO_REQUEST packet and displays the route buffer on returned packets. Note that the IP header is only large enough for nine such routes. Many hosts ignore or discard this option.

It can be really useful such as :

A snowy sunday

In normandy, we are not accustomed to much snow (20cm). But to be honest, it is really beautiful to see snowing. I think I will not saying this, when tomorrow I’m going to have to go to work. But for now : a good coffee near the fireplace is a confortable place.

It finally arrived.

It finally arrived in my mailbox during this week. Beginning from CCENT, I was really happy to open this mail and discover my CCNP paper certification. Come on working on CCIP to see another paper in my mailbox…

Float and divide into bash

It is a funny and simply tip under bash.
How to deals with float and division under bash. ‘bc’ is your friend such as :

clucas@jupiter:~$ i=$( echo "scale=3; 1/3" | bc)
clucas@jupiter:~$ echo $i
.333
clucas@jupiter:~$

It must found on the net (where I found), but searchable for me on this stuff for future.

NdR :

clucas@pluton:~$ i=$((1/3))
clucas@pluton:~$ echo $i
0
clucas@pluton:~$