Archives – janvier, 2009

Sed c’est bien !

janvier 22nd, 2009

Pour vous en convaincre : Handy one-liners for SED

Tags:
Posted in System | 1 Comment »

Toubleshooting MySQL Erreur #144 – .MYD corrompu

janvier 22nd, 2009

Contexte:
on lance une optimisation sur une table (>100M d’enregistrements), puis on « kill » brusquement la requête MySQL en cours.

>SHOW INDEX FROM `table`;

#144 - Table './database/table' is marked as crashed and last (automatic?) repair failed

Solution:
myisamchk -o /var/lib/mysql/database/table.MYI

- recovering (with keycache) MyISAM-table ‘/var/lib/mysql/database/table.MYI’
Data records: 101432249

Tags: ,
Posted in App | No Comments »

Cowsay pour vos wall

janvier 20th, 2009

Installation :

apt-get install cowsay

Utilisation :

echo hello | cowsay

 _______
< hello >
 -------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

echo hello | cowthink

 _______
( hello )
 -------
        o   ^__^
         o  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

echo hello | cowsay -f stegosaurus

 _______
< hello >
 -------
\                             .       .
 \                           / `.   .' "
  \                  .---.  <    > <    >  .---.
   \                 |    \  \ - ~ ~ - /  /    |
         _____          ..-~             ~-..-~
        |     |   \~~~\.'                    `./~~~/
       ---------   \__/                        \__/
      .'  O    \     /               /       \  "
     (_____,    `._.'               |         }  \/~~~/
      `----.          /       }     |        /    \__/
            `-.      |       /      |       /      `. ,~~|
                ~-.__|      /_ - ~ ^|      /- _      `..-'
                     |     /        |     /     ~-.     `-. _  _  _
                     |_____|        |_____|         ~ - . _ _ _ _ _>

Posted in System | No Comments »

6 milliards d’autres

janvier 19th, 2009

Initiative intéressante de Yann Arthus-Bertrand.

Tags:
Posted in Stuff | 1 Comment »

Google Bombing sur Nicolas Sarkozy trisomique

janvier 19th, 2009

Vraissemblablement une attaque de type Google Bombing sur l’image du président.

Cherchez « trisomique » dans Google (2ème photo):

google-bombing-sarkozy-trisomique

La photo pointe sur un blog letelegramme.com

Tags:
Posted in Stuff | 1 Comment »

Page suivante Page précédente