<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>6502.fr &#187; Outils</title>
	<atom:link href="http://www.6502.fr/category/outils/feed" rel="self" type="application/rss+xml" />
	<link>http://www.6502.fr</link>
	<description>L&#039;Avant-dernier cri de la technologie</description>
	<lastBuildDate>Thu, 27 Jan 2011 14:23:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Installer mcrypt pour PHP sur Mac OS X Snow Leopard</title>
		<link>http://www.6502.fr/installer-mcrypt-pour-php-sur-mac-os-x-snow-leopard/335</link>
		<comments>http://www.6502.fr/installer-mcrypt-pour-php-sur-mac-os-x-snow-leopard/335#comments</comments>
		<pubDate>Sat, 18 Dec 2010 13:10:52 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Outils]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[mcrypt]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Snow Leopard]]></category>

		<guid isPermaLink="false">http://www.6502.fr/?p=335</guid>
		<description><![CDATA[Mcrypt est une librairie qui remplace crypt. Voici comment l&#8217;installer sur Mac OS X Snow Leopard. Vous aurez besoin de : Xcode (disponible sur le DVD d&#8217;installation de Snow Leopard) Libmcrypt version 2.5.8, téléchargeable ici Le code source de votre version de PHP, par exemple 5.3.3, téléchargeable ici Décomprimez libmcrypt et passez les commandes suivantes [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://mcrypt.sourceforge.net/" title="MCrypt [en anglais]">Mcrypt</a> est une librairie qui remplace <em>crypt</em>. Voici comment l&#8217;installer sur <strong>Mac OS X Snow Leopard</strong>.</p>

<p>Vous aurez besoin de :</p>

<ul>
<li>Xcode (disponible sur le DVD d&#8217;installation de <strong>Snow Leopard</strong>)</li>
<li>Libmcrypt version 2.5.8, téléchargeable <a href="http://sourceforge.net/projects/mcrypt/files/Libmcrypt/2.5.8/" title="/Libmcrypt/2.5.8 at SourceForge.net">ici</a></li>
<li>Le code source de votre version de PHP, par exemple 5.3.3, téléchargeable <a href="http://fr.php.net/get/php-5.3.3.tar.bz2/from/a/mirror" title="PHP 5.3.3 sur php.net">ici</a></li>
</ul>

<p>Décomprimez libmcrypt et passez les commandes suivantes :</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #7a0874; font-weight: bold;">cd</span> libmcrypt-2.5.8
$ <span style="color: #007800;">MACOSX_DEPLOYMENT_TARGET</span>=<span style="color: #000000;">10.6</span> <span style="color: #007800;">CFLAGS</span>=<span style="color: #ff0000;">'-O3 -fno-common -arch i386 -arch x86_64'</span> <span style="color: #007800;">LDFLAGS</span>=<span style="color: #ff0000;">'-O3 -arch i386 -arch x86_64'</span> <span style="color: #007800;">CXXFLAGS</span>=<span style="color: #ff0000;">'-O3 -fno-common -arch i386 -arch x86_64'</span> .<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--disable-dependency-tracking</span>
$ <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #660033;">-j6</span>
$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>


<p>Terminé pour mcrypt, passons à PHP.</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #7a0874; font-weight: bold;">cd</span> php-5.3.3
$ <span style="color: #7a0874; font-weight: bold;">cd</span> ext<span style="color: #000000; font-weight: bold;">/</span>mcrypt
$ phpize
$ <span style="color: #007800;">MACOSX_DEPLOYMENT_TARGET</span>=<span style="color: #000000;">10.6</span> <span style="color: #007800;">CFLAGS</span>=<span style="color: #ff0000;">'-O3 -fno-common -arch i386 -arch x86_64'</span> <span style="color: #007800;">LDFLAGS</span>=<span style="color: #ff0000;">'-O3 -arch i386 -arch x86_64'</span> <span style="color: #007800;">CXXFLAGS</span>=<span style="color: #ff0000;">'-O3 -fno-common -arch i386 -arch x86_64'</span> .<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--with-php-config</span>=<span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>SDKs<span style="color: #000000; font-weight: bold;">/</span>MacOSX10.6.sdk<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>php-config
$ <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #660033;">-j6</span>
$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>


<p>Vérifiez dans <em>php.ini</em> que <code>enable_dl = On</code>. Déclarez <em>mcrypt</em>  dans la section <strong>Dynamic Extensions</strong> en ajoutant <code>extension=mcrypt.so</code>.</p>

<p>Relancez Apache, vous pouvez maintenant vérifier avec <code>phpinfo()</code> que <em>mcrypt</em> est bien disponible.</p>

<p><img src="/wp-content/uploads/2010/12/phpinfo_mcrypt-480x260.jpg" alt="mcrypt sous phpinfo" /></p>

<p>Application exemple : installation de Prestashop, avant :</p>

<p><img src="/wp-content/uploads/2010/12/prestashop_mcrypt_off.gif" alt="Installation de Prestashop sans mcrypt" /></p>

<p>Après :</p>

<p><img src="/wp-content/uploads/2010/12/prestashop_mcrypt_on.gif" alt="Installation de Prestashop avec mcrypt" /></p>

<p>Et hop !</p>

<p>Merci à <a href="http://michaelgracie.com/2009/09/23/plugging-mcrypt-into-php-on-mac-os-x-snow-leopard-10.6.1/" title="Plugging mcrypt into PHP, on Mac OS X Snow Leopard 10.6.1 [en anglais]">Michael Gracie</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.6502.fr/installer-mcrypt-pour-php-sur-mac-os-x-snow-leopard/335/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Éditer les gems avec gemedit</title>
		<link>http://www.6502.fr/editer-les-gems-avec-gemedit/289</link>
		<comments>http://www.6502.fr/editer-les-gems-avec-gemedit/289#comments</comments>
		<pubDate>Sun, 17 Oct 2010 13:03:59 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Outils]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Editor]]></category>
		<category><![CDATA[Gem]]></category>

		<guid isPermaLink="false">http://www.6502.fr/?p=289</guid>
		<description><![CDATA[La gem que vous utilisez a un comportement inattendu ? Allez lire le code ! Mais il est parfois fastidieux de trouver où est la gem, et gemedit facilite la vie en ajoutant une commande edit à gem. $ sudo gem install gemedit $ gem edit gemedit Vous pouvez indiquer l&#8217;éditeur que vous voulez lancer [...]]]></description>
			<content:encoded><![CDATA[<p>La <em>gem</em> que vous utilisez a un comportement inattendu ? <strong>Allez lire le code !</strong></p>

<p>Mais il est parfois fastidieux de trouver où est la <em>gem</em>, et <a href="http://gemedit.rubyforge.org/" title="[en anglais] Warning, colour attack!">gemedit</a> facilite la vie en ajoutant une commande <em>edit</em> à <em>gem</em>.</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> gem <span style="color: #c20cb9; font-weight: bold;">install</span> gemedit
$ gem edit gemedit</pre></div></div>


<p>Vous pouvez indiquer l&#8217;éditeur que vous voulez lancer grâce aux variables d&#8217;environnement $GEMEDITOR, $VISUAL ou $EDITOR. Pour utiliser TextMate, ajoutez cette ligne dans votre <em>.profile</em> :</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">GEMEDITOR</span>=mate</pre></div></div>


<p><img src="/wp-content/uploads/2010/10/TextMate.gif" alt="Gem gemedit opened in TextMate" /></p>

<p>Ou pour Xcode :</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">GEMEDITOR</span>=xed</pre></div></div>


<p>C&#8217;est tout de même plus rapide de taper <code>gem edit gemedit</code> que
<code>mate /usr/local/lib/ruby/gems/1.8/gems/gemedit-0.9.0</code> !</p>

<p><a href="http://gemedit.rubyforge.org/" title="[en anglais] Warning, colour attack!"><em>GEM Editor</em></a> via <a href="http://railstips.org/blog/archives/2010/10/14/stop-googling/" title="[en anglais]"><em>Stop Googling</em> (John Nunemaker)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.6502.fr/editer-les-gems-avec-gemedit/289/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Déploiement Capistrano : Création d&#8217;un repository git distant</title>
		<link>http://www.6502.fr/deploiement-capistrano-creation-remote-git-repository/261</link>
		<comments>http://www.6502.fr/deploiement-capistrano-creation-remote-git-repository/261#comments</comments>
		<pubDate>Sat, 31 Jul 2010 15:25:58 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Capistrano]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[Outils]]></category>

		<guid isPermaLink="false">http://www.6502.fr/?p=261</guid>
		<description><![CDATA[Vous utilisez git pour gérer votre source dans un dépôt local (local repository). Après quelques jours de développement, vous êtes prêt à déployer la première version du logiciel sur votre serveur. Capistrano est l&#8217;outil idéal, mais il nécessite un dépôt accessible à partir de votre serveur (remote repository). Il est peu probable que votre dépôt [...]]]></description>
			<content:encoded><![CDATA[<p>Vous utilisez <a title="Git is a free &amp; open source, distributed version control system [en anglais]" href="http://git-scm.com/"><i>git</i></a> pour gérer votre source dans un dépôt local (<i>local repository</i>). Après quelques jours de développement, vous êtes prêt à déployer la première version du logiciel sur votre serveur. <a title="Capistrano [en anglais]" href="http://www.capify.org/">Capistrano</a> est l&#8217;outil idéal, mais il nécessite un dépôt  accessible à partir de votre serveur (<i>remote repository</i>). Il est peu probable que votre dépôt local le soit.</p>

<p>Si vous avez un accès <i>ssh</i>, il est très simple de créer ce dépôt.</p>

<p>Si ce n&#8217;est déjà fait, copiez votre clef SSH sur le serveur. Ensuite, clonez votre dépôt et téléchargez-le sur votre serveur.</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">git</span> clone <span style="color: #660033;">--bare</span> application<span style="color: #000000; font-weight: bold;">/</span>.git <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>application.git
$ <span style="color: #c20cb9; font-weight: bold;">scp</span> <span style="color: #660033;">-r</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>application.git monlogin<span style="color: #000000; font-weight: bold;">@</span>monserveur.com:<span style="color: #c20cb9; font-weight: bold;">git</span></pre></div></div>


<p>Vous avez maintenant un dépôt distant.</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">git</span> clone <span style="color: #c20cb9; font-weight: bold;">ssh</span>:<span style="color: #000000; font-weight: bold;">//</span>monlogin<span style="color: #000000; font-weight: bold;">@</span>monserveur.com<span style="color: #000000; font-weight: bold;">/</span>~monlogin<span style="color: #000000; font-weight: bold;">/</span>git<span style="color: #000000; font-weight: bold;">/</span>application.git</pre></div></div>


<p>Pour le mettre à jour :</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">git</span> push <span style="color: #c20cb9; font-weight: bold;">ssh</span>:<span style="color: #000000; font-weight: bold;">//</span>monlogin<span style="color: #000000; font-weight: bold;">@</span>monserveur.com<span style="color: #000000; font-weight: bold;">/</span>~monlogin<span style="color: #000000; font-weight: bold;">/</span>git<span style="color: #000000; font-weight: bold;">/</span>application.git master</pre></div></div>


<p>Ou pour éviter de taper tout ça :</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">git</span> remote add production <span style="color: #c20cb9; font-weight: bold;">ssh</span>:<span style="color: #000000; font-weight: bold;">//</span>limproviste<span style="color: #000000; font-weight: bold;">@</span>limproviste.com<span style="color: #000000; font-weight: bold;">/</span>~limproviste<span style="color: #000000; font-weight: bold;">/</span>private<span style="color: #000000; font-weight: bold;">/</span>git<span style="color: #000000; font-weight: bold;">/</span>limproviste.git
$ <span style="color: #c20cb9; font-weight: bold;">git</span> push production</pre></div></div>


<p>Et hop !</p>
]]></content:encoded>
			<wfw:commentRss>http://www.6502.fr/deploiement-capistrano-creation-remote-git-repository/261/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gérer plusieurs versions de Ruby sur Leopard</title>
		<link>http://www.6502.fr/plusieurs-versions-de-ruby-sur-leopard-avec-rvm/246</link>
		<comments>http://www.6502.fr/plusieurs-versions-de-ruby-sur-leopard-avec-rvm/246#comments</comments>
		<pubDate>Mon, 12 Jul 2010 14:15:34 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Outils]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://www.6502.fr/?p=246</guid>
		<description><![CDATA[Un jour ou l&#8217;autre vous allez avoir besoin d&#8217;une gem qui exige une version plus récente de Ruby. Par exemple sqlite3. $ sudo gem install sqlite3 Password: ERROR: Error installing sqlite3: sqlite3 requires Ruby version &#62;= 1.9.1. Mais vous utilisez des gems qui ne sont pas compatibles avec Ruby&#160;1.9 et vous devez donc faire cohabiter [...]]]></description>
			<content:encoded><![CDATA[<p>Un jour ou l&#8217;autre vous allez avoir besoin d&#8217;une <i>gem</i> qui exige une version plus récente de Ruby. Par exemple <i>sqlite3</i>.</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> gem <span style="color: #c20cb9; font-weight: bold;">install</span> sqlite3
Password:
ERROR:  Error installing sqlite3:
	sqlite3 requires Ruby version <span style="color: #000000; font-weight: bold;">&gt;</span>= 1.9.1.</pre></div></div>


<p>Mais vous utilisez des <i>gems</i> qui ne sont pas compatibles avec Ruby&nbsp;1.9 et vous devez donc faire cohabiter plusieurs versions de Ruby. C&#8217;est là que <a title="RVM: Ruby Version Manager [en anglais]" href="http://rvm.beginrescueend.com/rvm/install/">RVM</a> intervient.</p>

<h3>Installer RVM sur Leopard</h3>

<p>Passez la commande suivante dans une fenêtre de Terminal&nbsp;:</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">bash</span> <span style="color: #000000; font-weight: bold;">&lt;</span> <span style="color: #000000; font-weight: bold;">&lt;</span><span style="color: #7a0874; font-weight: bold;">&#40;</span> curl http:<span style="color: #000000; font-weight: bold;">//</span>rvm.beginrescueend.com<span style="color: #000000; font-weight: bold;">/</span>releases<span style="color: #000000; font-weight: bold;">/</span>rvm-install-head <span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>


<p>Puis ajoutez cette ligne à la fin de votre fichier <i>~/.profile</i>&nbsp;:</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-s</span> <span style="color: #007800;">$HOME</span><span style="color: #000000; font-weight: bold;">/</span>.rvm<span style="color: #000000; font-weight: bold;">/</span>scripts<span style="color: #000000; font-weight: bold;">/</span>rvm <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #7a0874; font-weight: bold;">source</span> <span style="color: #007800;">$HOME</span><span style="color: #000000; font-weight: bold;">/</span>.rvm<span style="color: #000000; font-weight: bold;">/</span>scripts<span style="color: #000000; font-weight: bold;">/</span>rvm</pre></div></div>


<p>Pour tous les détails additionnels, allez <a title="RVM: Ruby Version Manager - Installing RVM [en anglais]" href="http://rvm.beginrescueend.com/rvm/install/">à la source</a>.</p>

<h3>Utiliser RVM</h3>

<p>Vous pouvez maintenant utiliser rvm, par exemple pour installer Ruby&nbsp;1.9.1.</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ rvm <span style="color: #c20cb9; font-weight: bold;">install</span> 1.9.1 ; rvm 1.9.1
$ ruby <span style="color: #660033;">-v</span>
ruby 1.9.1p378 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">2010</span>-01-<span style="color: #000000;">10</span> revision <span style="color: #000000;">26273</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>i386-darwin9.8.0<span style="color: #7a0874; font-weight: bold;">&#93;</span>
$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> gem <span style="color: #c20cb9; font-weight: bold;">install</span> sqlite3
Building native extensions.  This could take a while...
...
Successfully installed sqlite3-0.1.1</pre></div></div>


<p>Pour revenir à la version d&#8217;origine&nbsp;:</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ rvm system
$ ruby <span style="color: #660033;">-v</span>
ruby 1.8.7 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">2009</span>-06-<span style="color: #000000;">12</span> patchlevel <span style="color: #000000;">174</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>i686-darwin9.8.0<span style="color: #7a0874; font-weight: bold;">&#93;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.6502.fr/plusieurs-versions-de-ruby-sur-leopard-avec-rvm/246/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox 3.1 — compatibilité des add-ons</title>
		<link>http://www.6502.fr/firefox-31-compatibilite-des-add-ons/214</link>
		<comments>http://www.6502.fr/firefox-31-compatibilite-des-add-ons/214#comments</comments>
		<pubDate>Wed, 19 Nov 2008 22:34:08 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Outils]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Firefox]]></category>

		<guid isPermaLink="false">http://www.6502.fr/?p=214</guid>
		<description><![CDATA[Firefox 3.1 offre bien des nouveautés intéressantes, en particulier un nouvel interpréteur de Javascript d&#8217;une extrême rapidité. La liste des évolutions entre les versions 3.0 et 3.1 est impressionnante; bien des éditeurs de logiciel en auraient fait une changement de version majeure. Mais nous utilisons aussi des modules complémentaires dont certains sont indispensables. En ce [...]]]></description>
			<content:encoded><![CDATA[<p>Firefox 3.1 offre bien des nouveautés intéressantes, en particulier un nouvel interpréteur de Javascript d&#8217;une extrême rapidité. La liste des évolutions entre les versions 3.0 et 3.1 est impressionnante; bien des éditeurs de logiciel en auraient fait une changement de version majeure.</p>

<p>Mais nous utilisons aussi des modules complémentaires dont certains sont indispensables. En ce qui me concerne, je ne pourrais développer sans <a title="Add-on" href="https://addons.mozilla.org/fr/firefox/addon/1843"><em>Firebug</em></a> ou <a title="Add-on" href="https://addons.mozilla.org/fr/firefox/addon/60"><em>Web Developer</em></a>. <a title="Add-on" href="https://addons.mozilla.org/fr/firefox/addon/8487"><em>Pencil</em></a> me sert pour les maquettes. L&#8217;absence de <a title="Add-on" href="https://addons.mozilla.org/fr/firefox/addon/12"><em>All-in-one Gestures</em></a> m&#8217;handicape grandement.</p>

<p>Heureusement, l&#8217;équipe Firefox publie l&#8217;<a title="Compatibilité des add-ons avec Firefox 3.1 [en anglais]" href="https://addons.mozilla.org/fr/firefox/compatibility/report">état de compatibilité des modules les plus utilisés</a>. La page regroupe les modules représentant 95% des usages recensés&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.6502.fr/firefox-31-compatibilite-des-add-ons/214/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Déploiement Capistrano à partir de Windows</title>
		<link>http://www.6502.fr/deploiement-capistrano-a-partir-de-windows/205</link>
		<comments>http://www.6502.fr/deploiement-capistrano-a-partir-de-windows/205#comments</comments>
		<pubDate>Tue, 11 Nov 2008 00:27:52 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Capistrano]]></category>
		<category><![CDATA[Outils]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://www.6502.fr/?p=205</guid>
		<description><![CDATA[Capistrano est un outil de déploiement puissant et facile d&#8217;emploi, dont j&#8217;ai déjà parlé. Il tourne sous Windows, Mac OS et Linux (entre autres) et est d&#8217;une mise en service aisée si l&#8217;on connait ssh et subversion. C&#8217;est pourquoi j&#8217;ai été fort (désagréablement) surpris quand mon récent cap deploy a échoué avec le message d&#8217;erreur [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Capistrano [en anglais]" href="http://www.capify.org/">Capistrano</a> est un outil de déploiement puissant et facile d&#8217;emploi, dont j&#8217;ai <a title="Capistrano – symboles :scm_user et :scm_username" href="/capistrano-scm_user-et-scm_username/196">déjà</a> <a title="Afficher une page de maintenance pendant le déploiement" href="/afficher-une-page-de-maintenance-pendant-le-deploiement/88">parlé</a>. Il tourne sous Windows, Mac OS et Linux (entre autres) et est d&#8217;une mise en service aisée si l&#8217;on connait ssh et <a title="Subversion [en anglais]" href="http://subversion.tigris.org/">subversion</a>.</p>

<p>C&#8217;est pourquoi j&#8217;ai été fort (désagréablement) surpris quand mon récent <code>cap deploy</code> a échoué avec le message d&#8217;erreur suivant :
<pre>c:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.1/lib/capistrano/recipes/deploy.rb:97:in ``': No such file or directory - svn info http://svn.example.com/</pre>
On comprend bien qu&#8217;il s&#8217;agit de ma machine mobile et portable qui tourne sous Windows Vista. Le client SVN de choix sous Windows reste sans conteste <a title="TortoiseSVN [en anglais]" href="http://tortoisesvn.tigris.org/">TortoiseSVN</a>. Malheureusement (d&#8217;une certaine manière), TortoiseSVN est un vrai client Subversion et non un <em>wrapper </em>graphique s&#8217;appuyant sur l&#8217;exécutable svn (en ligne de commande donc).</p>

<p>Or Capistrano invoque l&#8217;exécutable sus-cité, et ne le trouve pas. Solution simple et rapide : installer le client officiel SVN, que l&#8217;on peut trouver <a href="http://subversion.tigris.org/getting.html#binary-packages">ici</a>.</p>

<p>Et hop !</p>
]]></content:encoded>
			<wfw:commentRss>http://www.6502.fr/deploiement-capistrano-a-partir-de-windows/205/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installer SQLite Manager pour XULRunner</title>
		<link>http://www.6502.fr/installer-sqlite-manager-pour-xulrunner/180</link>
		<comments>http://www.6502.fr/installer-sqlite-manager-pour-xulrunner/180#comments</comments>
		<pubDate>Sat, 20 Sep 2008 14:07:42 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Outils]]></category>
		<category><![CDATA[SQLite]]></category>

		<guid isPermaLink="false">http://www.6502.fr/?p=180</guid>
		<description><![CDATA[SQLite Manager est un client graphique pour SQLite. SQLite Manager est disponible comme extension Firefox (et autre Thunderbird, Seamonky, etc.) et tourne aussi sur XULRunner. L&#8217;installer sur XULRunner permet de le lancer de manière indépendante de Firefox. Installation sur Mac OS X Télécharger XULRunner : xulrunner-1.9.en-US.mac-pkg.dmg Installer XULRunner Télécharger SQLite Manager pour XULRunner : SQLiteManager_XR_0.3.10.zip [...]]]></description>
			<content:encoded><![CDATA[<p><a title="SQLite Manager sur Google Code [anglais]" href="http://code.google.com/p/sqlite-manager/">SQLite Manager</a> est un client graphique pour SQLite. SQLite Manager est disponible comme extension Firefox (et autre Thunderbird, Seamonky, etc.) et tourne aussi sur <a title="XULRunner sur mozilla.org [anglais]" href="http://developer.mozilla.org/en/XULRunner">XULRunner</a>. L&#8217;installer sur XULRunner permet de le lancer de manière indépendante de Firefox.</p>

<h3>Installation sur Mac OS X</h3>

<ol>
    <li>Télécharger XULRunner : <a href="http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/1.9.0.0/runtimes/xulrunner-1.9.en-US.mac-pkg.dmg">xulrunner-1.9.en-US.mac-pkg.dmg</a></li>
    <li>Installer XULRunner</li>
    <li>Télécharger SQLite Manager pour XULRunner : <a href="http://sqlite-manager.googlecode.com/files/SQLiteManager_XR_0.3.10.zip">SQLiteManager_XR_0.3.10.zip</a></li>
    <li>Installer SQLite Manager en ligne de commande (lancer Terminal)</li>
</ol>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>Frameworks<span style="color: #000000; font-weight: bold;">/</span>XUL.framework<span style="color: #000000; font-weight: bold;">/</span>xulrunner-bin <span style="color: #660033;">--install-app</span> Downloads<span style="color: #000000; font-weight: bold;">/</span>SQLiteManager_XR_0.3.10.zip</pre></div></div>


<h3>Lancement de SQLite Manager</h3>

<p>L&#8217;application est disponible dans <em>Applications/Mrinal Kant/SQLite Manager.app</em>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.6502.fr/installer-sqlite-manager-pour-xulrunner/180/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Une commande Ubiquity pour accéder directement à l&#8217;API Ruby</title>
		<link>http://www.6502.fr/commande-ubiquity-acces-direct-api-ruby/166</link>
		<comments>http://www.6502.fr/commande-ubiquity-acces-direct-api-ruby/166#comments</comments>
		<pubDate>Fri, 12 Sep 2008 10:02:33 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Outils]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ubiquity]]></category>

		<guid isPermaLink="false">http://www.6502.fr/?p=166</guid>
		<description><![CDATA[Jack Dempsey a créé une commande Ubiquity pour accéder directement à l&#8217;API Ruby sur APIdock. Vous pouvez l&#8217;installer en collant le code dans l&#8217;éditeur de commandes Ubiquity. ou en vous abonnant (le bouton apparaît en haut à droite du bandeau). L&#8217;utilisation est simple : invoquer Ubiquity (alt-espace sur mon Mac), taper ruby &#60;nom-de-fonction&#62; puis &#60;Enter&#62; [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Profil de Jack Dempsey sur Github [anglais]" href="http://github.com/jackdempsey">Jack Dempsey</a> a créé une <a title="ruby-search.ubiquity-command.js [javascript]" href="http://gist.github.com/8132">commande Ubiquity</a> pour accéder directement à l&#8217;API Ruby sur <a title="APIdock [anglais]" href="http://apidock.com/">APIdock</a>. Vous pouvez l&#8217;installer en collant le code dans l&#8217;<a title="Éditeur de commande Ubiquity [Firefox local]" href="chrome://ubiquity/content/editor.html">éditeur de commandes Ubiquity</a>. ou en vous abonnant (le bouton apparaît en haut à droite du bandeau).</p>

<p>L&#8217;utilisation est simple : invoquer Ubiquity (alt-espace sur mon Mac), taper <code>ruby &lt;nom-de-fonction&gt;</code> puis &lt;Enter&gt; et la page s&#8217;ouvre dans un nouvel onglet.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.6502.fr/commande-ubiquity-acces-direct-api-ruby/166/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Un nouvelle manière de surfer : Ubiquity</title>
		<link>http://www.6502.fr/un-nouvelle-maniere-de-surfer-ubiquity/147</link>
		<comments>http://www.6502.fr/un-nouvelle-maniere-de-surfer-ubiquity/147#comments</comments>
		<pubDate>Sun, 31 Aug 2008 13:30:21 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Outils]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[User Interface]]></category>

		<guid isPermaLink="false">http://www.6502.fr/?p=147</guid>
		<description><![CDATA[Mozilla Labs a lancé mardi dernier son projet Ubiquity. Il s&#8217;agit d&#8217;une nouvelle façon d&#8217;interagir avec internet, en particulier via le web et le mail. Ubiquity prend la forme d&#8217;un plugin Firefox, disponible sur toutes les plateformes (il y a quelques limitations d&#8217;emploi sur Linux). Comme Quicksilver, Ubiquity est difficile à décrire tant il versatile. [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Mozilla Labs [en anglais]" href="http://labs.mozilla.com/">Mozilla Labs</a> a lancé mardi dernier son projet <a title="Introducing Ubiquity [en anglais]" href="http://labs.mozilla.com/2008/08/introducing-ubiquity/"><em>Ubiquity</em></a>. Il s&#8217;agit d&#8217;une nouvelle façon d&#8217;interagir avec internet, en particulier via le web et le mail.</p>

<p><em>Ubiquity</em> prend la forme d&#8217;un <a title="Installer le plugin Firefox" href="https://people.mozilla.com/~avarma/ubiquity-0.1.xpi">plugin Firefox</a>, disponible sur toutes les plateformes (il y a quelques limitations d&#8217;emploi sur Linux).</p>

<p>Comme <a title="Quicksilver homepage [en anglais]" href="http://www.blacktree.com/">Quicksilver</a>, <em>Ubiquity</em> est difficile à décrire tant il versatile. Essayez-le.</p>

<p><a title="Introducing Ubiquity [en anglais]" href="http://labs.mozilla.com/2008/08/introducing-ubiquity/"><em>Ubiquity</em></a> [via <a href="http://www.43folders.com/2008/08/27/ubiquity">43folders</a>]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.6502.fr/un-nouvelle-maniere-de-surfer-ubiquity/147/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Capistrano 2.5 est sorti</title>
		<link>http://www.6502.fr/capistrano-25-est-sorti/144</link>
		<comments>http://www.6502.fr/capistrano-25-est-sorti/144#comments</comments>
		<pubDate>Sat, 30 Aug 2008 11:25:59 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Capistrano]]></category>
		<category><![CDATA[Outils]]></category>

		<guid isPermaLink="false">http://www.6502.fr/?p=144</guid>
		<description><![CDATA[Jamis Buck annonce la sortie de la version 2.5 de Capistrano. L&#8217;annonce décrit les évolutions, dont&#160;: parallel() helper (mise à jour de plusieurs serveurs en parallèle en fonction de leurs états respectifs) Chained gateways (autorise l&#8217;accès à travers plusieurs passerelles) “-s” and “-S” infer the types of their arguments (généralise l&#8217;option de ligne de commande) [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Blog de Jamis Buck [en anglais]" href="http://weblog.jamisbuck.org/">Jamis Buck</a> annonce la sortie de la version 2.5 de Capistrano. <a title="Capistrano 2.5.0 changes [en anglais]" href="http://capify.org/2008/8/29/capistrano-2-5-0">L&#8217;annonce</a> décrit les évolutions, dont&nbsp;:</p>

<ul>
    <li><em>parallel() helper</em> (mise à jour de plusieurs serveurs en parallèle en fonction de leurs états respectifs)</li>
    <li><em>Chained gateways</em> (autorise l&#8217;accès à travers plusieurs passerelles)</li>
    <li><em>“-s” and “-S”</em> infer the types of their arguments (généralise l&#8217;option de ligne de commande)</li>
    <li><em>deploy:rollback and mongrel</em> (résoud le crash de mongrel au redémarrage)</li>
    <li><em>Dry-run mode</em> (exécution à blanc)</li>
</ul>

<p>La mise à jour est classique&nbsp;:
<pre>xtian$ sudo gem update capistrano
Password:
Updating installed gems...
Bulk updating Gem source index for: http://gems.rubyforge.org
Attempting remote update of capistrano
Successfully installed capistrano-2.5.0
1 gem installed
Installing ri documentation for capistrano-2.5.0...
Installing RDoc documentation for capistrano-2.5.0...
Gems updated: capistrano</pre></p>
]]></content:encoded>
			<wfw:commentRss>http://www.6502.fr/capistrano-25-est-sorti/144/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

