View Extraire le texte entre les balises depuis une page html $foo = strip_tags($source, ‘<body>, <a>, <br>, <strong>, <b>, <i>, <em>, <font>’); ereg (“<body(+)>(.+)</body>”, $foo, $regs); echo $regs;Read More
View How to make a dry-run with svn update Note What is svn going to do to my files when I update? svn merge –dry-run -r BASE:HEAD . alias svnupdry=‘svn merge –dry-run -r...Read More
View Enable SSL in apache2 on Debian Etch Note quick tutorial # Enable ssl a2enmod ssl # Edit /etc/apache2/ports.conf and add “Listen 443” # Generate certs: use your domain as Common Name...Read More
View Créer un fichier tar.gz à partir d’un fichier listant un certains nombres de fichiers while read line; do tar -P -c -T – -f archive.tar.gz done < liste_diff.txt Le fichier fourni en paramètre contient une liste de...Read More