<?xml version="1.0" encoding="UTF-8" ?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Posteet: jemini_fr</title> 
    <link>http://www.posteet.com/</link> 
    <description>Recent posteets posted to Posteet</description>
    <ttl>60</ttl>

    
    <item>
        <title>Compiler une page JSP sans l'exécuter</title>
        <link>http://www.posteet.com/view/1254</link>
        <description>
        <![CDATA[<pre>Il suffit de faire appel à la jsp en lui passant le paramètre jsp_precompile

http://host:port/page.jsp?jsp_precompile</pre> <a href="http://www.posteet.com/tags/compilation">[compilation]</a>  <a href="http://www.posteet.com/tags/JSP">[JSP]</a> ]]>        </description>
        <dc:creator>jemini_fr</dc:creator>
        <pubDate>Wed, 10 Sep 2008 12:57:13 +0000</pubDate>

            <category>compilation</category>
            <category>JSP</category>
    
    </item>

  
    <item>
        <title>Ré-encodage d'une vidéo TS (issue de la Freebox) en XviD avec désentrelacement</title>
        <link>http://www.posteet.com/view/1205</link>
        <description>
        <![CDATA[<pre>mencoder -vf pp=ci,crop=480:560:0:8,scale=768:576 -oac mp3lame -lameopts cbr:br=128 -ovc xvid -xvidencopts bitrate=900 video_entree.ts -o video_sortie.avi</pre> <a href="http://www.posteet.com/tags/freebox">[freebox]</a>  <a href="http://www.posteet.com/tags/mencoder">[mencoder]</a>  <a href="http://www.posteet.com/tags/ts">[ts]</a>  <a href="http://www.posteet.com/tags/xvid">[xvid]</a> ]]>        </description>
        <dc:creator>jemini_fr</dc:creator>
        <pubDate>Wed, 20 Aug 2008 15:37:36 +0000</pubDate>

            <category>freebox</category>
            <category>mencoder</category>
            <category>ts</category>
            <category>xvid</category>
    
    </item>

  
    <item>
        <title>HOWTO Restore GRUB</title>
        <link>http://www.posteet.com/view/1043</link>
        <description>
        <![CDATA[<pre># Boot on a live CD and open a console. sda1 is supposed to be the partition containing the OS
# 1/ Restore GRUB
mount -t proc none /dev/sda1/proc
mount -o bind /dev /dev/sda1/dev
chroot /dev/sda1/ /bin/bash

/usr/sbin/grub
grub &gt; root(hd0,0)    # 0-&gt;a, 1-&gt;b ...      #1-&gt;0, 2-&gt;1 ...
grub &gt; setup(hd0)
grub &gt; quit

# 2/ Check if partition is bootable
fdsik /dev/sda
fdisk &gt; p      # print the partition table
fdisk &gt; a      # toggle a bootable flag
fdsik &gt; 1
fidsk &gt; w

# 3/ Reboot !! That's done</pre> <a href="http://www.posteet.com/tags/bash">[bash]</a>  <a href="http://www.posteet.com/tags/fdisk">[fdisk]</a>  <a href="http://www.posteet.com/tags/grub">[grub]</a>  <a href="http://www.posteet.com/tags/linux">[linux]</a>  <a href="http://www.posteet.com/tags/restore">[restore]</a> ]]>        </description>
        <dc:creator>jemini_fr</dc:creator>
        <pubDate>Fri, 04 Jul 2008 13:02:00 +0000</pubDate>

            <category>bash</category>
            <category>fdisk</category>
            <category>grub</category>
            <category>linux</category>
            <category>restore</category>
    
    </item>

  
    <item>
        <title>Option sympa pour Grep // de la couleur dans ton grep</title>
        <link>http://www.posteet.com/view/1042</link>
        <description>
        <![CDATA[<pre>grep --color EXPRESSION [FICHIER]</pre> <a href="http://www.posteet.com/tags/bash">[bash]</a>  <a href="http://www.posteet.com/tags/grep">[grep]</a>  <a href="http://www.posteet.com/tags/linux">[linux]</a>  <a href="http://www.posteet.com/tags/regexp">[regexp]</a>  <a href="http://www.posteet.com/tags/shell">[shell]</a> ]]>        </description>
        <dc:creator>jemini_fr</dc:creator>
        <pubDate>Fri, 04 Jul 2008 12:50:23 +0000</pubDate>

            <category>bash</category>
            <category>grep</category>
            <category>linux</category>
            <category>regexp</category>
            <category>shell</category>
    
    </item>

  
    <item>
        <title>Interagir avec le code Javascript d'une page, depuis un script Selenium</title>
        <link>http://www.posteet.com/view/1041</link>
        <description>
        <![CDATA[<pre>Exemple pour afficher la valeur d’une variable qui se nomme &quot;maVariable&quot; :
&lt;tr&gt;
	&lt;td&gt;eval&lt;/td&gt;
	&lt;td&gt;javascript{alert(this.browserbot.getCurrentWindow().maVariable)}&lt;/td&gt;
	&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;</pre> <a href="http://www.posteet.com/tags/affichage">[affichage]</a>  <a href="http://www.posteet.com/tags/javascript">[javascript]</a>  <a href="http://www.posteet.com/tags/selenium">[selenium]</a>  <a href="http://www.posteet.com/tags/variable">[variable]</a> ]]>        </description>
        <dc:creator>jemini_fr</dc:creator>
        <pubDate>Fri, 04 Jul 2008 12:47:02 +0000</pubDate>

            <category>affichage</category>
            <category>javascript</category>
            <category>selenium</category>
            <category>variable</category>
    
    </item>

  
    <item>
        <title>Call a user function given by the first parameter in PHP</title>
        <link>http://www.posteet.com/view/1039</link>
        <description>
        <![CDATA[<pre>// Call a class method outside the class
call_user_func(array($myclass, $mymethod), $args);

// Call a class method inside the class
call_user_func(array($this, $mymethod), $args);
//or
$this-&gt;{$mymethod}($args);</pre> <a href="http://www.posteet.com/tags/call_user_func">[call_user_func]</a>  <a href="http://www.posteet.com/tags/method">[method]</a>  <a href="http://www.posteet.com/tags/php">[php]</a> ]]>        </description>
        <dc:creator>jemini_fr</dc:creator>
        <pubDate>Fri, 04 Jul 2008 12:38:23 +0000</pubDate>

            <category>call_user_func</category>
            <category>method</category>
            <category>php</category>
    
    </item>

  
    <item>
        <title>Remplacer des caractères dans un nom de fichier</title>
        <link>http://www.posteet.com/view/1038</link>
        <description>
        <![CDATA[<pre>echo $fichier | tr '$ancien_char' '$nv_char' | xargs mv $fichier</pre>]]>        </description>
        <dc:creator>jemini_fr</dc:creator>
        <pubDate>Fri, 04 Jul 2008 12:33:22 +0000</pubDate>

    
    </item>

  
    <item>
        <title>Weblogic : lenteur chargement de JSP</title>
        <link>http://www.posteet.com/view/864</link>
        <description>
        <![CDATA[<pre>Weblogic met 2 secondes à vérifier s'il doit recompilé ou non la JSP.

Il faut donc indiquer à Weblogic de ne pas vérifier s'il doit recompiler. Pour ce faire dans weblogic.xml ajouter le paramètre servlet-reload-check-secs .

&lt;container-descriptor&gt;
    	&lt;!-- Ne pas checker s'il faut recompiler les servlets, par defaut weblo check toutes les secondes d'ou les includes de JSP tres long --&gt;
	  	&lt;servlet-reload-check-secs&gt;-1&lt;/servlet-reload-check-secs&gt;
  	&lt;/container-descriptor&gt;</pre> <a href="http://www.posteet.com/tags/JSP">[JSP]</a>  <a href="http://www.posteet.com/tags/Weblogic">[Weblogic]</a> ]]>        </description>
        <dc:creator>jemini_fr</dc:creator>
        <pubDate>Mon, 07 Apr 2008 10:10:52 +0000</pubDate>

            <category>JSP</category>
            <category>Weblogic</category>
    
    </item>

  
    <item>
        <title>Trier un ArrayList</title>
        <link>http://www.posteet.com/view/735</link>
        <description>
        <![CDATA[<pre>ArrayList&lt;Object&gt; list = new ArrayList&lt;Object&gt;();
...
//tri
Collections.sort(list, new Comparator(){
    public int compare(Object o1, Object o2) {
       return o1.compareTo(o2);
    }
});

Ecrire la fonction compareTo() pour l'objet de la liste. Elle doit renvoyer 0 si les 2 objets sont égaux, &lt;0 si o1 &lt; o2 et &gt;0 si o1&gt;o2.</pre> <a href="http://www.posteet.com/tags/java">[java]</a>  <a href="http://www.posteet.com/tags/tri">[tri]</a> ]]>        </description>
        <dc:creator>jemini_fr</dc:creator>
        <pubDate>Thu, 07 Feb 2008 09:40:57 +0000</pubDate>

            <category>java</category>
            <category>tri</category>
    
    </item>

  
    <item>
        <title>Quelle est la différence entre les méthodes doGet() et doPost() ?</title>
        <link>http://www.posteet.com/view/196</link>
        <description>
        <![CDATA[<pre>doGet() est appelée à la suite d'une requête de type HTTP GET. Cela se passe généralement lorsqu'un utilisateur clique sur un lien ou lorsque celui-ci entre une URL dans la barre d'adresse du navigateur.
La méthode doPost() est appelée en réponse d'une requête HTTP POST.
Les 2 méthodes sont appelées à partir de l'implémentation par défaut de la méthode service() se trouvant dans la classe de base HttpServlet
Fondamentalement le navigateur demande toujours des pages par l'intermédiaire de GET et peut envoyer des données sous les 2 formes GET et POST. Les 2 seules différences résident dans le fait que :
    * GET est restreint au niveau de la taille des paramètres envoyés au serveur. Cela veut dire qu'il est, la plupart du temps, préférable d'envoyer des données avec la méthode POST.
    * En envoyant des données par l'intermédiaire de GET évoque également une question concernant la sécurité puisqu'elles sont ajoutées à la suite de l'URL. Pour cette raison il est plus prudent d'utiliser la méthode POST pour envoyer des données au serveur.</pre> <a href="http://www.posteet.com/tags/Programmation">[Programmation]</a> ]]>        </description>
        <dc:creator>jemini_fr</dc:creator>
        <pubDate>Mon, 05 Nov 2007 08:07:18 +0000</pubDate>

            <category>Programmation</category>
    
    </item>


</channel>
</rss>
