<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
    <title>Posteet</title> 
    <link>http://www.posteet.com/</link> 
    <description>Recent posteets posted to Posteet</description>
    <ttl>60</ttl>

    
    <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/posteet" type="application/rss+xml" /><item>
        <title>(?:ABC)</title>
        <link>http://feedproxy.google.com/~r/posteet/~3/qqqf-MNcRk0/1747</link>
        <description>
        <![CDATA[<pre>Groups multiple tokens together without creating a capturing group. This allows you to apply quantifiers to the full group.</pre> <a href="http://www.posteet.com/tags/capturing group">[capturing group]</a>  <a href="http://www.posteet.com/tags/ignore">[ignore]</a>  <a href="http://www.posteet.com/tags/regexp">[regexp]</a> ]]>        </description>
        <dc:creator>iegorka</dc:creator>
        <pubDate>Fri, 10 Jul 2009 10:48:35 +0200</pubDate>

            <category>capturing group</category>
            <category>ignore</category>
            <category>regexp</category>
    
    <feedburner:origLink>http://www.posteet.com/view/1747</feedburner:origLink></item>

  
    <item>
        <title>Mettre les chiffres avec des points</title>
        <link>http://feedproxy.google.com/~r/posteet/~3/H4A3VpEmw_c/1710</link>
        <description>
        <![CDATA[<pre>function Kill($n,$floor=true){
	if($floor){$n = floor($n);}
	return number_format($n,0,&quot;,&quot;,&quot;.&quot;);	
}

EXEMPLE:
    &lt;tr&gt;
        &lt;td width=394 height=3&gt;
            &lt;p&gt;&lt;font color=#FFFFFF&gt;&quot;.Kill(123456789).&quot;&lt;/font&gt;&lt;/p&gt;
        &lt;/td&gt;
    &lt;/tr&gt;

FIN:
123.456.789</pre>]]>        </description>
        <dc:creator>inbox</dc:creator>
        <pubDate>Fri, 05 Jun 2009 09:25:18 +0200</pubDate>

    
    <feedburner:origLink>http://www.posteet.com/view/1710</feedburner:origLink></item>

  
    <item>
        <title>BBcode pour un T'chat sur un site (En php)</title>
        <link>http://feedproxy.google.com/~r/posteet/~3/TTU3ILzj5w0/1709</link>
        <description>
        <![CDATA[<pre>function bbcode($text) {
    $text = preg_replace(&quot;#\[img\]((ht|f)tp://)([^\r\n\t&lt;\&quot;]*?)\[/img\]#sie&quot;, &quot;'&lt;img src=\\1' . str_replace(' ', '%20', '\\3') . '&gt;'&quot;,
$text);
    $text = preg_replace(&quot;#\[url\]((ht|f)tp://)([^\r\n\t&lt;\&quot;]*?)\[/url\]#sie&quot;, &quot;'&lt;a href=\&quot;\\1' . str_replace(' ', '%20', '\\3') . '\&quot; target=blank&gt;\\1\\3&lt;/a&gt;'&quot;, $text);
    $text = preg_replace(&quot;/\[url=(.+?)\](.+?)\[\/url\]/&quot;, &quot;&lt;a href=$1 target=_blank&gt;$2&lt;/a&gt;&quot;, $text);
    $text = preg_replace(&quot;/\[b\](.+?)\[\/b\]/&quot;, &quot;&lt;b&gt;$1&lt;/b&gt;&quot;, $text);
    $text = preg_replace(&quot;/\[i\](.+?)\[\/i\]/&quot;, &quot;&lt;i&gt;$1&lt;/i&gt;&quot;, $text);
    $text = preg_replace(&quot;/\[u\](.+?)\[\/u\]/&quot;, &quot;&lt;u&gt;$1&lt;/u&gt;&quot;, $text);
    $text = preg_replace(&quot;/\[code\](.+?)\[\/code\]/&quot;, &quot;&lt;table width=100%&gt;&lt;tr&gt;&lt;th align=left&gt;Code :&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td align=left&gt;&lt;code&gt;$1&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&quot;, $text);
    $text = preg_replace(&quot;/\[quote=(.+?)\]/&quot;, &quot;&lt;center&gt;&lt;table width=80%&gt;&lt;tr&gt;&lt;th align=left&gt;Message de $1 :&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td align=left class=milieu_messages&gt;&quot;, $text);
    $text = preg_replace(&quot;/\[\/quote\]/&quot;, &quot;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/center&gt;&quot;, $text);
    $text = preg_replace(&quot;/\[color=(.+?)\](.+?)\[\/color\]/&quot;, &quot;&lt;font color=$1&gt;$2&lt;/font&gt;&quot;, $text);
    return $text;
    }

EXEMPLE:
    &lt;tr&gt;
        &lt;td width=394 height=3&gt;
            &lt;p&gt;&lt;font color=#FFFFFF&gt;&quot;.bbcode(nl2br($mess)).&quot;&lt;/font&gt;&lt;/p&gt;
        &lt;/td&gt;
    &lt;/tr&gt;</pre>]]>        </description>
        <dc:creator>inbox</dc:creator>
        <pubDate>Fri, 05 Jun 2009 09:21:29 +0200</pubDate>

    
    <feedburner:origLink>http://www.posteet.com/view/1709</feedburner:origLink></item>

  
    <item>
        <title>HTML/CSS: aligner verticalement une image et un texte sur une même ligne</title>
        <link>http://feedproxy.google.com/~r/posteet/~3/roS0ZNVdsxs/1707</link>
        <description>
        <![CDATA[<pre>En HTML:
&lt;img src=&quot;...&quot; align=&quot;absmiddle&quot; /&gt; Texte

En CSS :
&lt;img src=&quot;...&quot; style=&quot;vertical-align:middle&quot; /&gt; Texte</pre> <a href="http://www.posteet.com/tags/absmiddle">[absmiddle]</a>  <a href="http://www.posteet.com/tags/align">[align]</a>  <a href="http://www.posteet.com/tags/css">[css]</a>  <a href="http://www.posteet.com/tags/html">[html]</a>  <a href="http://www.posteet.com/tags/images">[images]</a>  <a href="http://www.posteet.com/tags/img">[img]</a>  <a href="http://www.posteet.com/tags/textes">[textes]</a>  <a href="http://www.posteet.com/tags/vertical">[vertical]</a> ]]>        </description>
        <dc:creator>spirit</dc:creator>
        <pubDate>Sat, 30 May 2009 13:28:42 +0200</pubDate>

            <category>absmiddle</category>
            <category>align</category>
            <category>css</category>
            <category>html</category>
            <category>images</category>
            <category>img</category>
            <category>textes</category>
            <category>vertical</category>
    
    <feedburner:origLink>http://www.posteet.com/view/1707</feedburner:origLink></item>

  
    <item>
        <title>If IE 6, go kill ***** yoruself (or download a decent browser)</title>
        <link>http://feedproxy.google.com/~r/posteet/~3/ic0iSg2hQAs/1706</link>
        <description>
        <![CDATA[<pre>&lt;?php
	$useragent = $_SERVER['HTTP_USER_AGENT'];

    
if( eregi(&quot;(msie) ([6]{1})&quot;,$useragent) )
{print &quot;IE 8.0 -&gt; do something&quot;;}

else
{ }  
?&gt;</pre> <a href="http://www.posteet.com/tags/browser detection">[browser detection]</a>  <a href="http://www.posteet.com/tags/ie">[ie]</a>  <a href="http://www.posteet.com/tags/ie 6">[ie 6]</a>  <a href="http://www.posteet.com/tags/ie6">[ie6]</a> ]]>        </description>
        <dc:creator>sm0k1nggnu</dc:creator>
        <pubDate>Fri, 29 May 2009 13:54:51 +0200</pubDate>

            <category>browser detection</category>
            <category>ie</category>
            <category>ie 6</category>
            <category>ie6</category>
    
    <feedburner:origLink>http://www.posteet.com/view/1706</feedburner:origLink></item>

  
    <item>
        <title>StringFormat WPF 3.5 SP1</title>
        <link>http://feedproxy.google.com/~r/posteet/~3/PUXGZkEcrso/1705</link>
        <description>
        <![CDATA[<pre>XAML:
  &lt;Grid&gt;
      &lt;textBox Name=&quot;myTextBox&quot; Text=&quot;{Binding StringFormat='HH:MM dd/M/yyy'}&quot; /&gt;
  &lt;/Grid&gt;

CS:
  var dt = DateTime.Now;
  myTextBox.DataContext = dt;</pre> <a href="http://www.posteet.com/tags/WPF">[WPF]</a>  <a href="http://www.posteet.com/tags/XAML">[XAML]</a> ]]>        </description>
        <dc:creator>sx</dc:creator>
        <pubDate>Thu, 28 May 2009 20:05:37 +0200</pubDate>

            <category>WPF</category>
            <category>XAML</category>
    
    <feedburner:origLink>http://www.posteet.com/view/1705</feedburner:origLink></item>

  
    <item>
        <title>Excel: fusion de cellules avec fusion du texte</title>
        <link>http://feedproxy.google.com/~r/posteet/~3/ZyFaqUVVqH0/1704</link>
        <description>
        <![CDATA[<pre>Sub fusion()
    Set vzone = Selection
    vtxt = vzone.Range(&quot;a1&quot;).Value
    For i = 2 To vzone.Rows.Count
        vtxt = vtxt &amp; Chr(10) &amp; vzone.Cells(i, 1).Value
        vzone.Cells(i, 1).ClearContents
    Next
    vzone.Range(&quot;a1&quot;).Value = vtxt
    With vzone
        .HorizontalAlignment = xlCenter
        .VerticalAlignment = xlCenter
        .WrapText = False
        .Orientation = 0
        .AddIndent = False
        .IndentLevel = 0
        .ShrinkToFit = False
        .ReadingOrder = xlContext
        .MergeCells = True
    End With
    vzone.Range(&quot;a1&quot;).Value = vzone.Range(&quot;a1&quot;).Value
End Sub</pre> <a href="http://www.posteet.com/tags/concat">[concat]</a>  <a href="http://www.posteet.com/tags/excel">[excel]</a>  <a href="http://www.posteet.com/tags/fusion">[fusion]</a> ]]>        </description>
        <dc:creator>spirit</dc:creator>
        <pubDate>Wed, 27 May 2009 17:03:04 +0200</pubDate>

            <category>concat</category>
            <category>excel</category>
            <category>fusion</category>
    
    <feedburner:origLink>http://www.posteet.com/view/1704</feedburner:origLink></item>

  
    <item>
        <title>How to Turn Off Form Autocompletion</title>
        <link>http://feedproxy.google.com/~r/posteet/~3/JeZlFb7K2wo/1697</link>
        <description>
        <![CDATA[<pre>&lt;!-- Add autocomplete = &quot;off&quot; in the form tag --&gt;

&lt;!-- Example --&gt;
&lt;form name=&quot;form1&quot; id=&quot;form1&quot; method=&quot;post&quot; autocomplete=&quot;off&quot;
  action=&quot;http://www.example.com/form.cgi&quot;&gt;
[...]
&lt;/form&gt;</pre> <a href="http://www.posteet.com/tags/autocompletion">[autocompletion]</a>  <a href="http://www.posteet.com/tags/firefox">[firefox]</a>  <a href="http://www.posteet.com/tags/forms">[forms]</a>  <a href="http://www.posteet.com/tags/html">[html]</a> ]]>        </description>
        <dc:creator>spirit</dc:creator>
        <pubDate>Sun, 10 May 2009 00:09:24 +0200</pubDate>

            <category>autocompletion</category>
            <category>firefox</category>
            <category>forms</category>
            <category>html</category>
    
    <feedburner:origLink>http://www.posteet.com/view/1697</feedburner:origLink></item>

  
    <item>
        <title>No enviar formulario con enter. Metodo 2</title>
        <link>http://feedproxy.google.com/~r/posteet/~3/aDHgiB2ojJs/1695</link>
        <description>
        <![CDATA[<pre>&lt;script type=&quot;text/javascript&quot;&gt;
function pulsar(e) {
  tecla = (document.all) ? e.keyCode : e.which;
  return (tecla != 13);
}
&lt;/script&gt;
&lt;!-- --&gt;
&lt;form action=&quot;loquesea.asp&quot; onkeypress = &quot;return pulsar(event)&quot;&gt;
&lt;input type=&quot;text&quot; /&gt;
&lt;input type=&quot;submit&quot; /&gt;
&lt;/form&gt;</pre> <a href="http://www.posteet.com/tags/formularios">[formularios]</a>  <a href="http://www.posteet.com/tags/javascript">[javascript]</a> ]]>        </description>
        <dc:creator>jacinmontava</dc:creator>
        <pubDate>Thu, 07 May 2009 12:41:56 +0200</pubDate>

            <category>formularios</category>
            <category>javascript</category>
    
    <feedburner:origLink>http://www.posteet.com/view/1695</feedburner:origLink></item>

  
    <item>
        <title>No enviar formulario con enter. Metodo 1</title>
        <link>http://feedproxy.google.com/~r/posteet/~3/1cGjLepg9hc/1694</link>
        <description>
        <![CDATA[<pre>function stopRKey(evt) {
var evt = (evt) ? evt : ((event) ? event : null);
var node = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null);
if ((evt.keyCode == 13) &amp;&amp; (node.type==&quot;text&quot;)) {return false;}
}
document.onkeypress = stopRKey;</pre> <a href="http://www.posteet.com/tags/formularios">[formularios]</a>  <a href="http://www.posteet.com/tags/javascript">[javascript]</a> ]]>        </description>
        <dc:creator>jacinmontava</dc:creator>
        <pubDate>Thu, 07 May 2009 12:39:52 +0200</pubDate>

            <category>formularios</category>
            <category>javascript</category>
    
    <feedburner:origLink>http://www.posteet.com/view/1694</feedburner:origLink></item>

  
    <item>
        <title>Pour lister les bases de données sur un serveur</title>
        <link>http://feedproxy.google.com/~r/posteet/~3/LChD-f3uR6s/1693</link>
        <description>
        <![CDATA[<pre>mysql -u root -p
mysql&gt; show databases;</pre> <a href="http://www.posteet.com/tags/liste">[liste]</a>  <a href="http://www.posteet.com/tags/mysql">[mysql]</a> ]]>        </description>
        <dc:creator>cyo</dc:creator>
        <pubDate>Wed, 06 May 2009 11:58:01 +0200</pubDate>

            <category>liste</category>
            <category>mysql</category>
    
    <feedburner:origLink>http://www.posteet.com/view/1693</feedburner:origLink></item>

  
    <item>
        <title>Pour optenir des infos sur une base de données en ligne de commande (notamment l'encodage utilisé)</title>
        <link>http://feedproxy.google.com/~r/posteet/~3/xKhvL_Y5x-U/1692</link>
        <description>
        <![CDATA[<pre>mysql -u root -p -D nom_de_la_base
mysql&gt; status;</pre> <a href="http://www.posteet.com/tags/encodage">[encodage]</a>  <a href="http://www.posteet.com/tags/mysql">[mysql]</a> ]]>        </description>
        <dc:creator>cyo</dc:creator>
        <pubDate>Wed, 06 May 2009 11:56:23 +0200</pubDate>

            <category>encodage</category>
            <category>mysql</category>
    
    <feedburner:origLink>http://www.posteet.com/view/1692</feedburner:origLink></item>

  
    <item>
        <title>raquo as list-style</title>
        <link>http://feedproxy.google.com/~r/posteet/~3/j7IquVwKu9w/1691</link>
        <description>
        <![CDATA[<pre>#menu ul li:before{
 content: &quot;\00BB \0020&quot;;
 list-style-type: none;
 list-style-image: none;
}</pre> <a href="http://www.posteet.com/tags/list">[list]</a> ]]>        </description>
        <dc:creator>sm0k1nggnu</dc:creator>
        <pubDate>Sat, 02 May 2009 22:31:17 +0200</pubDate>

            <category>list</category>
    
    <feedburner:origLink>http://www.posteet.com/view/1691</feedburner:origLink></item>

  
    <item>
        <title>Obteniendo nombre de campos de base de datos mysql</title>
        <link>http://feedproxy.google.com/~r/posteet/~3/Vlych-mA5As/1688</link>
        <description>
        <![CDATA[<pre>//Ejecutando la consulta en el servidor de base de datos...
					$Id_extra = @mysql_query($extra);
						//Validando la consulta en el servidor de base de datos...
						if($Id_extra){
							//Obteniendo el numero de campos de la tabla...
							$ncampos = @mysql_num_fields($Id_extra);
							
								$tabla = &quot;&lt;table&gt; \n &lt;tr&gt; \n&quot;;
									for($x = 0; $x &lt; $ncampos ; $x++){
										//Obteniendo el nombre del campo...
										$namecamp = @mysql_field_name($Id_extra, $x);
											//Concatenando los nombres de los campos...
											$tabla .= &quot;&lt;th&gt;&quot;.$namecamp.&quot;&lt;/th&gt; \n&quot;;
									}//Fin de for para obtener los nombres de campos...
												//Cerramos la fila...
												$tabla .= &quot;&lt;/tr&gt; \n&quot;;</pre>]]>        </description>
        <dc:creator>gmurillo</dc:creator>
        <pubDate>Mon, 27 Apr 2009 01:28:28 +0200</pubDate>

    
    <feedburner:origLink>http://www.posteet.com/view/1688</feedburner:origLink></item>

  
    <item>
        <title>Créer une vidéo PAL DV à partir d'une séquence d'images BMP</title>
        <link>http://feedproxy.google.com/~r/posteet/~3/77gkyYVRb-0/1686</link>
        <description>
        <![CDATA[<pre>mencoder &quot;mf://./Desktop/AnimationClip12/*.bmp&quot; -ovc libdv -o test.avi</pre> <a href="http://www.posteet.com/tags/bmp">[bmp]</a>  <a href="http://www.posteet.com/tags/dv">[dv]</a>  <a href="http://www.posteet.com/tags/mencoder">[mencoder]</a> ]]>        </description>
        <dc:creator>benoitbalon</dc:creator>
        <pubDate>Tue, 21 Apr 2009 23:12:03 +0200</pubDate>

            <category>bmp</category>
            <category>dv</category>
            <category>mencoder</category>
    
    <feedburner:origLink>http://www.posteet.com/view/1686</feedburner:origLink></item>


</channel>
</rss>
