<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://www.digitalspirit.org/blog/index.php/feed/rss2/xslt" ?><rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
  <title>DigitalSpirit</title>
  <link>http://www.digitalspirit.org/blog/index.php/</link>
  <atom:link href="http://www.digitalspirit.org/blog/index.php/feed/rss2" rel="self" type="application/rss+xml"/>
  <description>Blog personnel de Charles Rincheval contenant des descriptions de projets réalisés dans les domaines du logiciels libres en encore dans des développements de systèmes embarqués</description>
  <language>fr</language>
  <pubDate>Mon, 08 Mar 2010 12:28:24 +0100</pubDate>
  <copyright>© 2008 Charles Rincheval. Ce billet a été originellement publié sur le site www.DigitalSpirit.org</copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>Extension Openplanet pour Dotclear</title>
    <link>http://www.digitalspirit.org/blog/index.php/post/2010/02/18/Extension-Openplanet-pour-Dotclear</link>
    <guid isPermaLink="false">urn:md5:5022edd30c0765c951458dfbe05ae991</guid>
    <pubDate>Wed, 24 Feb 2010 13:05:00 +0100</pubDate>
    <dc:creator>hugo</dc:creator>
        <category>Php</category>
        <category>dotclear</category><category>extension</category><category>openplanet</category><category>php</category><category>planet</category><category>Planet-Libre</category><category>plugin</category>    
    <description>    &lt;p&gt;L'extension &lt;a href=&quot;http://disvroian.le-regent.org/index.php?category/OpenPlanet&quot; hreflang=&quot;fr&quot;&gt;Openplanet&lt;/a&gt; pour &lt;a href=&quot;http://fr.dotclear.org/&quot; hreflang=&quot;fr&quot;&gt;Dotclear&lt;/a&gt; permet de créer un planet sur votre blog, un regroupement de blogs par le biais des fils de syndication (rss, atom...).&lt;/p&gt;


&lt;p&gt;&lt;a href=&quot;http://www.digitalspirit.org/blog/public/rss.png&quot; title=&quot;Logo rss&quot;&gt;&lt;img src=&quot;http://www.digitalspirit.org/blog/public/.rss_t.jpg&quot; alt=&quot;Logo rss&quot; title=&quot;Logo rss, fév. 2010&quot; /&gt;&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;J'ai eu à l'installer pour le site &lt;a href=&quot;http://planet.madeinfr.org/&quot; hreflang=&quot;fr&quot;&gt;http://planet.madeinfr.org/&lt;/a&gt; mais quelques problèmes rencontrés m'ont obligé à le modifier quelque peu.&lt;/p&gt;


&lt;p&gt;Je publie donc la version modifiée et le patch basé sur la &lt;strong&gt;version 1.2 bêta 2&lt;/strong&gt;.&lt;/p&gt;


&lt;p&gt;&lt;ins&gt;Voici la liste des corrections / ajouts :&lt;/ins&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;On ne modifie pas le status d'un billet que l'on met à jour, ainsi, si il est marqué hors ligne, il le reste...&lt;/li&gt;
&lt;li&gt;Pas d'insertion si le contenu est vide ou sans titre&lt;/li&gt;
&lt;li&gt;Autorisation dans &lt;a href=&quot;http://simplepie.org/&quot; hreflang=&quot;en&quot;&gt;SimplePie&lt;/a&gt; (la librairie de gestion de flux de syndication) des balises Object, Param et Embed afin de permettre les vidéos au format Flash (Oui, c'est mal)&lt;/li&gt;
&lt;li&gt;On ne modifie pas la categorie d'un billet dont on fait la mise à jour&lt;/li&gt;
&lt;li&gt;Résolution de problemes avec les tags importés comportant des accents&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Les sources sont en pièce jointe à ce billet.&lt;/p&gt;</description>
    
          <enclosure url="http://www.digitalspirit.org/blog/public/src/openplanet-patch-1.2-to-1.2hugo.diff"
      length="17598" type="text/plain" />
          <enclosure url="http://www.digitalspirit.org/blog/public/src/openplanet-1.2-patch-hugo.zip"
      length="451566" type="application/zip" />
    
    
          <comments>http://www.digitalspirit.org/blog/index.php/post/2010/02/18/Extension-Openplanet-pour-Dotclear#comment-form</comments>
      <wfw:comment>http://www.digitalspirit.org/blog/index.php/post/2010/02/18/Extension-Openplanet-pour-Dotclear#comment-form</wfw:comment>
      <wfw:commentRss>http://www.digitalspirit.org/blog/index.php/feed/atom/comments/988</wfw:commentRss>
      </item>
    
  <item>
    <title>Astuce Nokia N900 : Ajouter des raccourcis au menu principal</title>
    <link>http://www.digitalspirit.org/blog/index.php/post/2010/02/15/Astuce-Nokia-N900-%3A-Ajouter-des-raccourcis-au-menu-principal</link>
    <guid isPermaLink="false">urn:md5:e2c4296e8f28128d5683256a9938a93c</guid>
    <pubDate>Mon, 22 Feb 2010 09:52:00 +0100</pubDate>
    <dc:creator>hugo</dc:creator>
        <category>Gnu/Linux</category>
        <category>maemo</category><category>menu</category><category>n900</category><category>nokia</category><category>Planet-Libre</category><category>raccourci</category><category>reboot</category>    
    <description>    &lt;p&gt;
Il est assez simple d'ajouter des éléments dans le menu principal et notamment des raccourcis vers des applications utiles, pour cela, il suffit d'éditer le fichier xml &lt;em&gt;/etc/systemui/systemui.xml&lt;/em&gt; et d'y ajouter quelques lignes.
&lt;/p&gt;
&lt;p&gt;
Par exemple, pour ajouter dans le menu, un raccourci vers htop et deux entrées permettant de rédémarrer la machine, il suffit d'ajouter dans le fichier xml le texte en vert suivant :
&lt;/p&gt;
&lt;pre&gt; [...]&lt;br /&gt;&lt;span style=&quot;color: green;&quot;&gt;&lt;br /&gt;&amp;lt;menuitem priority=&quot;20&quot; name=&quot;Reboot&quot;&amp;gt;&lt;br /&gt;  &amp;lt;return&amp;gt;6&amp;lt;/return&amp;gt;&lt;br /&gt;  &amp;lt;po&amp;gt;osso-powerup-shutdown&amp;lt;/po&amp;gt;&lt;br /&gt; &amp;lt;/menuitem&amp;gt;&lt;br /&gt; &amp;lt;menuitem priority=&quot;10&quot; name=&quot;Soft poweroff&quot;&amp;gt;&lt;br /&gt;  &amp;lt;return&amp;gt;7&amp;lt;/return&amp;gt;&lt;br /&gt;  &amp;lt;po&amp;gt;osso-powerup-shutdown&amp;lt;/po&amp;gt;&lt;br /&gt; &amp;lt;/menuitem&amp;gt;&lt;br /&gt; &amp;lt;menuitem priority=&quot;5&quot; name=&quot;Htop in XTerm&quot;&amp;gt;&lt;br /&gt;  &amp;lt;callback service=&quot;com.nokia.xterm&quot; path=&quot;/com/nokia/xterm&quot; interface=&quot;com.nokia.xterm&quot;&lt;br /&gt;    method=&quot;run_command&quot; bus=&quot;session&quot; autostart=&quot;true&quot;&amp;gt;&lt;br /&gt;   &amp;lt;argument type=&quot;string&quot;&amp;gt;/usr/bin/htop&amp;lt;/argument&amp;gt;&lt;br /&gt;  &amp;lt;/callback&amp;gt;&lt;br /&gt; &amp;lt;/menuitem&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/powerkeymenu&amp;gt;&lt;/pre&gt;
&lt;p&gt;Et voilà le résultat :&lt;/p&gt;
&lt;a href=&quot;http://www.digitalspirit.org/blog/public/n900_menu.png&quot;&gt;&lt;img src=&quot;http://www.digitalspirit.org/blog/public/.n900_menu_m.jpg&quot; alt=&quot;Ajouter des item au menu principel&quot; title=&quot;Ajouter des item au menu principel, fév. 2010&quot; /&gt;&lt;/a&gt;</description>
    
          <enclosure url="http://www.digitalspirit.org/blog/public/src/systemui.xml"
      length="2635" type="application/xml" />
    
    
          <comments>http://www.digitalspirit.org/blog/index.php/post/2010/02/15/Astuce-Nokia-N900-%3A-Ajouter-des-raccourcis-au-menu-principal#comment-form</comments>
      <wfw:comment>http://www.digitalspirit.org/blog/index.php/post/2010/02/15/Astuce-Nokia-N900-%3A-Ajouter-des-raccourcis-au-menu-principal#comment-form</wfw:comment>
      <wfw:commentRss>http://www.digitalspirit.org/blog/index.php/feed/atom/comments/983</wfw:commentRss>
      </item>
    
  <item>
    <title>Tuner son hélico ou comment relier 2 batteries LiPo en parallèle</title>
    <link>http://www.digitalspirit.org/blog/index.php/post/2010/02/19/Tuner-son-h%C3%A9lico-ou-comment-relier-2-batteries-LiPo-en-parall%C3%A8le</link>
    <guid isPermaLink="false">urn:md5:7a9ccf6eca926b895249f875ef2f4bef</guid>
    <pubDate>Fri, 19 Feb 2010 08:30:00 +0100</pubDate>
    <dc:creator>hugo</dc:creator>
        <category>Electronique</category>
        <category>accu</category><category>autonomie</category><category>batterie</category><category>co-axial</category><category>Copter V-MAX Hypersonic</category><category>diy</category><category>hélico</category><category>hélicoptère</category><category>lipo</category><category>rotor</category><category>Sanhuan</category>    
    <description>    &lt;p&gt;Le SanHuan Copter 6020-1 MAX-Z aussi nommé le Copter V-MAX Hypersonic est un &lt;a href=&quot;http://en.wikipedia.org/wiki/Coaxial_rotors&quot; hreflang=&quot;en&quot;&gt;hélicoptère co-axial&lt;/a&gt; ridiculement petit disposant de 2 rotors de 17cm de diamètre stabilisé par balancier.&lt;/p&gt;


&lt;p&gt;&lt;a href=&quot;http://www.digitalspirit.org/blog/public/heli_sanhuan.jpg&quot; title=&quot;Hélicoptère SanHuan Copter&quot;&gt;&lt;img src=&quot;http://www.digitalspirit.org/blog/public/.heli_sanhuan_m.jpg&quot; alt=&quot;Hélicoptère SanHuan Copter&quot; title=&quot;Hélicoptère SanHuan Copter, fév. 2010&quot; /&gt;&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;Il ne dispose pas de plateau cyclique mais un rotor vertical à l'arrière lui permet d'avancer ou de reculer en le faisant basculer, imitant alors un cyclique longitudinal, bien évidemment, aucun moyen de faire le moindre mouvement cyclique latéral sauf en pivotant de 90° sur l'axe vertical, suis-je clair&amp;nbsp;? ;) Non ?, pour faire court, pas de déplacements latérals avec cet engin.&lt;/p&gt;


&lt;p&gt;Ce modèle réuni maniabilité et stabilité et on se prend réellement au jeu.
Sa principale faiblesse est son autonomie de 5 minutes, plutôt limite, d'autant plus que d'origine la batterie ne se change pas facilement...&lt;/p&gt;


&lt;p&gt;Nous allons donc modifier cet objet volant afin de le doter d'une autonomie un peu meilleure, pour cela, nous allons procéder en 3 étapes et ce sera l'occasion de faire un peu d'électronique&amp;nbsp;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Suppression des circuits de protection&lt;/li&gt;
&lt;li&gt;Mise en parallèle des éléments&lt;/li&gt;
&lt;li&gt;Ajout d'un seul circuit de protection&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;L'article est consultable sur le wiki à la page &lt;a href=&quot;http://www.digitalspirit.org/wiki/projets/sanhuancoptermaxz&quot; hreflang=&quot;fr&quot;&gt;Sanhuan Copter Max-Z&lt;/a&gt;.&lt;/p&gt;


&lt;p&gt;Voici une très courte vidéo de la bête (non, pas le félin...)&lt;/p&gt;

&lt;div class=&quot;external-media&quot;&gt;
&lt;object width=&quot;400&quot; height=&quot;225&quot;&gt;&lt;param name=&quot;allowfullscreen&quot; value=&quot;true&quot; /&gt;&lt;param name=&quot;allowscriptaccess&quot; value=&quot;always&quot; /&gt;&lt;param name=&quot;movie&quot; value=&quot;http://vimeo.com/moogaloop.swf?clip_id=9538841&amp;amp;server=vimeo.com&amp;amp;show_title=1&amp;amp;show_byline=1&amp;amp;show_portrait=1&amp;amp;color=00ADEF&amp;amp;fullscreen=1&quot; /&gt;&lt;embed src=&quot;http://vimeo.com/moogaloop.swf?clip_id=9538841&amp;amp;server=vimeo.com&amp;amp;show_title=1&amp;amp;show_byline=1&amp;amp;show_portrait=1&amp;amp;color=00ADEF&amp;amp;fullscreen=1&quot; type=&quot;application/x-shockwave-flash&quot; allowfullscreen=&quot;true&quot; allowscriptaccess=&quot;always&quot; width=&quot;400&quot; height=&quot;225&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;p&gt;&lt;a href=&quot;http://vimeo.com/9538841&quot;&gt;Test du SanHuan 6020-1 MAX-Z modifié&lt;/a&gt; from &lt;a href=&quot;http://vimeo.com/user552031&quot;&gt;hugo&lt;/a&gt; on &lt;a href=&quot;http://vimeo.com&quot;&gt;Vimeo&lt;/a&gt;.&lt;/p&gt;
&lt;/div&gt;
</description>
    
    
    
          <comments>http://www.digitalspirit.org/blog/index.php/post/2010/02/19/Tuner-son-h%C3%A9lico-ou-comment-relier-2-batteries-LiPo-en-parall%C3%A8le#comment-form</comments>
      <wfw:comment>http://www.digitalspirit.org/blog/index.php/post/2010/02/19/Tuner-son-h%C3%A9lico-ou-comment-relier-2-batteries-LiPo-en-parall%C3%A8le#comment-form</wfw:comment>
      <wfw:commentRss>http://www.digitalspirit.org/blog/index.php/feed/atom/comments/966</wfw:commentRss>
      </item>
    
  <item>
    <title>Surveiller ses serveurs avec Ruby et Jabber</title>
    <link>http://www.digitalspirit.org/blog/index.php/post/2010/02/17/Surveillez-ses-serveurs-avec-Ruby-et-Jabber</link>
    <guid isPermaLink="false">urn:md5:c6b26fe2120cec3725859c01a6a40385</guid>
    <pubDate>Wed, 17 Feb 2010 10:36:00 +0100</pubDate>
    <dc:creator>hugo</dc:creator>
        <category>Ruby</category>
        <category>jabber</category><category>monitoring</category><category>pidgin</category><category>Planet-Libre</category><category>ruby</category>    
    <description>    &lt;p&gt;Voici un tout petit programme de moins de 20 lignes permettant très simplement de surveiller un serveur grâce aux protocoles &lt;a href=&quot;http://fr.wikipedia.org/wiki/Jabber&quot; hreflang=&quot;fr&quot;&gt;Jabber&lt;/a&gt;.&lt;/p&gt;


&lt;p&gt;Il suffit de créer un compte Jabber spécifique pour le serveur à surveiller, et de l'ajouter dans votre liste de contacts, celui-ci apparaitra avec pour status la charge du système, pratique&amp;nbsp;! non&amp;nbsp;?&lt;/p&gt;


&lt;p&gt;En prérequi, il vous faut juste le gem xmpp4r-simple, installez le comme ceci&amp;nbsp;:&lt;/p&gt;
&lt;pre class=&quot;shell&quot;&gt;sudo gem install xmpp4r-simple&lt;/pre&gt;



&lt;p&gt;Le code est très facilement étendable selon vos besoins, je vous laisse faire...&lt;/p&gt;

&lt;pre class=&quot;ruby ruby&quot; style=&quot;font-family:inherit&quot;&gt;&lt;span style=&quot;color:#CC0066; font-weight:bold;&quot;&gt;require&lt;/span&gt; &lt;span style=&quot;color:#996600;&quot;&gt;'rubygems'&lt;/span&gt;
&lt;span style=&quot;color:#CC0066; font-weight:bold;&quot;&gt;require&lt;/span&gt; &lt;span style=&quot;color:#996600;&quot;&gt;'xmpp4r-simple'&lt;/span&gt;
&amp;nbsp;
LOGIN=&lt;span style=&quot;color:#996600;&quot;&gt;'le_compte_du_serveur@im.apinc.org'&lt;/span&gt;
PASS=&lt;span style=&quot;color:#996600;&quot;&gt;'lepass'&lt;/span&gt;
DEST=&lt;span style=&quot;color:#996600;&quot;&gt;'votre_compte_perso@im.apinc.org'&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color:#9966CC; font-weight:bold;&quot;&gt;begin&lt;/span&gt;
  &lt;span style=&quot;color:#ff6633; font-weight:bold;&quot;&gt;$im&lt;/span&gt; = &lt;span style=&quot;color:#6666ff; font-weight:bold;&quot;&gt;Jabber::Simple&lt;/span&gt;.&lt;span style=&quot;color:#9900CC;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;color:#006600; font-weight:bold;&quot;&gt;&amp;#40;&lt;/span&gt;LOGIN, PASS&lt;span style=&quot;color:#006600; font-weight:bold;&quot;&gt;&amp;#41;&lt;/span&gt;
  &lt;span style=&quot;color:#ff6633; font-weight:bold;&quot;&gt;$im&lt;/span&gt;.&lt;span style=&quot;color:#9900CC;&quot;&gt;deliver&lt;/span&gt;&lt;span style=&quot;color:#006600; font-weight:bold;&quot;&gt;&amp;#40;&lt;/span&gt;DEST, &lt;span style=&quot;color:#996600;&quot;&gt;&amp;quot;Hello !&amp;quot;&lt;/span&gt;&lt;span style=&quot;color:#006600; font-weight:bold;&quot;&gt;&amp;#41;&lt;/span&gt;
  &lt;span style=&quot;color:#CC0066; font-weight:bold;&quot;&gt;loop&lt;/span&gt; &lt;span style=&quot;color:#9966CC; font-weight:bold;&quot;&gt;do&lt;/span&gt;
    &lt;span style=&quot;color:#ff6633; font-weight:bold;&quot;&gt;$im&lt;/span&gt;.&lt;span style=&quot;color:#9900CC;&quot;&gt;status&lt;/span&gt;&lt;span style=&quot;color:#006600; font-weight:bold;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color:#0000FF; font-weight:bold;&quot;&gt;nil&lt;/span&gt;, &lt;span style=&quot;color:#996600;&quot;&gt;`hostname`&lt;/span&gt;.&lt;span style=&quot;color:#9900CC;&quot;&gt;strip&lt;/span&gt; &lt;span style=&quot;color:#006600; font-weight:bold;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;color:#996600;&quot;&gt;' : '&lt;/span&gt; &lt;span style=&quot;color:#006600; font-weight:bold;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;color:#996600;&quot;&gt;`cat /proc/loadavg`&lt;/span&gt;.&lt;span style=&quot;color:#CC0066; font-weight:bold;&quot;&gt;split&lt;/span&gt;.&lt;span style=&quot;color:#9900CC;&quot;&gt;first&lt;/span&gt;&lt;span style=&quot;color:#006600; font-weight:bold;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color:#006666;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;color:#006600; font-weight:bold;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color:#9900CC;&quot;&gt;join&lt;/span&gt;&lt;span style=&quot;color:#006600; font-weight:bold;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color:#996600;&quot;&gt;' '&lt;/span&gt;&lt;span style=&quot;color:#006600; font-weight:bold;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color:#006600; font-weight:bold;&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span style=&quot;color:#CC0066; font-weight:bold;&quot;&gt;sleep&lt;/span&gt; &lt;span style=&quot;color:#006666;&quot;&gt;30&lt;/span&gt;
  &lt;span style=&quot;color:#9966CC; font-weight:bold;&quot;&gt;end&lt;/span&gt;
&lt;span style=&quot;color:#9966CC; font-weight:bold;&quot;&gt;rescue&lt;/span&gt; &lt;span style=&quot;color:#006600; font-weight:bold;&quot;&gt;=&amp;gt;&lt;/span&gt; e
  &lt;span style=&quot;color:#CC0066; font-weight:bold;&quot;&gt;p&lt;/span&gt; e; &lt;span style=&quot;color:#CC0066; font-weight:bold;&quot;&gt;sleep&lt;/span&gt; &lt;span style=&quot;color:#006666;&quot;&gt;10&lt;/span&gt;
  &lt;span style=&quot;color:#9966CC; font-weight:bold;&quot;&gt;retry&lt;/span&gt;
&lt;span style=&quot;color:#9966CC; font-weight:bold;&quot;&gt;end&lt;/span&gt;&lt;/pre&gt;


&lt;p&gt;Lancez maintenant le script&amp;nbsp;:&lt;/p&gt;

&lt;pre class=&quot;shell&quot;&gt;ruby jabber.rb&lt;/pre&gt;



&lt;p&gt;Voilà un petit aperçu du résultat dans Pidgin&amp;nbsp;:&lt;/p&gt;


&lt;p&gt;&lt;a href=&quot;http://www.digitalspirit.org/blog/public/ruby-jabber_status.png&quot; title=&quot;Status Jabber Ruby&quot;&gt;&lt;img src=&quot;http://www.digitalspirit.org/blog/public/ruby-jabber_status.png&quot; alt=&quot;Status Jabber Ruby&quot; title=&quot;Status Jabber Ruby, fév. 2010&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description>
    
          <enclosure url="http://www.digitalspirit.org/blog/public/src/jabber.rb"
      length="362" type="text/plain" />
    
    
          <comments>http://www.digitalspirit.org/blog/index.php/post/2010/02/17/Surveillez-ses-serveurs-avec-Ruby-et-Jabber#comment-form</comments>
      <wfw:comment>http://www.digitalspirit.org/blog/index.php/post/2010/02/17/Surveillez-ses-serveurs-avec-Ruby-et-Jabber#comment-form</wfw:comment>
      <wfw:commentRss>http://www.digitalspirit.org/blog/index.php/feed/atom/comments/985</wfw:commentRss>
      </item>
    
  <item>
    <title>Astuce Nokia N900 : Enlever les ombres des icones sur le bureau</title>
    <link>http://www.digitalspirit.org/blog/index.php/post/2010/02/15/Astuce-Nokia-N900-%3A-Enlever-les-ombres-des-icones-sur-le-bureau</link>
    <guid isPermaLink="false">urn:md5:47dd43dfe4594a4843d6e775d77296eb</guid>
    <pubDate>Mon, 15 Feb 2010 09:37:00 +0100</pubDate>
    <dc:creator>hugo</dc:creator>
        <category>Gnu/Linux</category>
        <category>astuces</category><category>bureau</category><category>icone</category><category>maemo</category><category>menu</category><category>n900</category><category>nokia</category><category>Planet-Libre</category><category>reboot</category>    
    <description>    &lt;p&gt;
Il est possible de retirer les ombres des icones du bureau simplement en supprimant les 2 fichiers suivants :
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;/usr/share/themes/&lt;em&gt;NOM_DU_THEME&lt;/em&gt;/images/ApplicationShortcutAppletPressed.png&lt;/li&gt;
&lt;li&gt;/usr/share/themes/&lt;em&gt;NOM_DU_THEME&lt;/em&gt;/images/ApplicationShortcutApplet.png&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
Afin de pouvoir restaurer les ombres, je vous conseille de simplement modifier l'extension de ces fichiers en &lt;strong&gt;png.old&lt;/strong&gt;, c'est assez simple, ouvrez un terminal et saisissez les commandes suivantes :&lt;/p&gt;
&lt;pre class=&quot;shell&quot;&gt;$ sudo gainroot&lt;br /&gt;$ cd /usr/share/themes/&lt;em&gt;NOM_DU_THEME&lt;/em&gt;/images/&lt;br /&gt;$ mv ApplicationShortcutAppletPressed.png ApplicationShortcutAppletPressed.png.old&lt;br /&gt;$ mv ApplicationShortcutApplet.png ApplicationShortcutApplet.png.old&lt;/pre&gt;
&lt;p&gt;
Pour que le changement soit pris en compte, redémarrez la machine.
&lt;/p&gt;
&lt;p&gt;
Voici le résultat, avant, après :
&lt;/p&gt;
&lt;p&gt;
&lt;a href=&quot;http://www.digitalspirit.org/blog/public/n900_icone_ombre.png&quot;&gt;&lt;img title=&quot;Bureau du N900 sans les ombres des icones, fév. 2010&quot; alt=&quot;&quot; src=&quot;http://www.digitalspirit.org/blog/public/.n900_icone_ombre_m.jpg&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;http://www.digitalspirit.org/blog/public/n900_icone.png&quot;&gt;&lt;img title=&quot;Bureau du N900 sans les ombres des icones, fév. 2010&quot; alt=&quot;&quot; src=&quot;http://www.digitalspirit.org/blog/public/.n900_icone_m.jpg&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;em&gt;Bon, et pour ceux qui oseraient se demander comment on revient comme avant, on fait l'inverse : on renomme les .png.old en png.&lt;/em&gt;
&lt;/p&gt;</description>
    
    
    
          <comments>http://www.digitalspirit.org/blog/index.php/post/2010/02/15/Astuce-Nokia-N900-%3A-Enlever-les-ombres-des-icones-sur-le-bureau#comment-form</comments>
      <wfw:comment>http://www.digitalspirit.org/blog/index.php/post/2010/02/15/Astuce-Nokia-N900-%3A-Enlever-les-ombres-des-icones-sur-le-bureau#comment-form</wfw:comment>
      <wfw:commentRss>http://www.digitalspirit.org/blog/index.php/feed/atom/comments/981</wfw:commentRss>
      </item>
    
  <item>
    <title>New York en noir et blanc...</title>
    <link>http://www.digitalspirit.org/blog/index.php/post/2010/01/28/New-York-en-noir-et-blanc...</link>
    <guid isPermaLink="false">urn:md5:23a0d9676f61d5dcfddf6325c6da033d</guid>
    <pubDate>Thu, 28 Jan 2010 13:01:00 +0100</pubDate>
    <dc:creator>hugo</dc:creator>
        <category>Photo</category>
        <category>building</category><category>Central Park</category><category>New York</category><category>photos</category>    
    <description>    &lt;p&gt;
Voici une petite série de photos de New York en noir et blanc...ou presque...
&lt;/p&gt;
&lt;p&gt;
La nuit, tous les building sont gris :
&lt;br /&gt;
&lt;a href=&quot;http://www.digitalspirit.org/blog/public/pixel/2010/Ny/building.jpg&quot;&gt;&lt;img src=&quot;http://www.digitalspirit.org/blog/public/pixel/2010/Ny/.building_m.jpg&quot; alt=&quot;La nuit, tous les building sont gris...&quot; title=&quot;La nuit, tous les building sont gris..., janv. 2010&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Central Park sous la neige...
&lt;br /&gt;
&lt;a href=&quot;http://www.digitalspirit.org/blog/public/pixel/2010/Ny/central-park.jpg&quot;&gt;&lt;img src=&quot;http://www.digitalspirit.org/blog/public/pixel/2010/Ny/.central-park_m.jpg&quot; alt=&quot;Central Park sous la neige&quot; title=&quot;Central Park sous la neige, janv. 2010&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
À l'intérieur de l'église Saint-Patrick :
&lt;br /&gt;
&lt;a href=&quot;http://www.digitalspirit.org/blog/public/pixel/2010/Ny/bougies.jpg&quot;&gt;&lt;img src=&quot;http://www.digitalspirit.org/blog/public/pixel/2010/Ny/.bougies_m.jpg&quot; alt=&quot;Bougies&quot; title=&quot;Bougies, janv. 2010&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Une fontaine, la nuit :&lt;br /&gt;&lt;a href=&quot;http://www.digitalspirit.org/blog/public/pixel/2010/Ny/fontaine.jpg&quot;&gt;&lt;img title=&quot;Fontaine, janv. 2010&quot; alt=&quot;&quot; src=&quot;http://www.digitalspirit.org/blog/public/pixel/2010/Ny/.fontaine_m.jpg&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://www.digitalspirit.org/blog/index.php/post/2010/01/28/New-York-en-noir-et-blanc...#comment-form</comments>
      <wfw:comment>http://www.digitalspirit.org/blog/index.php/post/2010/01/28/New-York-en-noir-et-blanc...#comment-form</wfw:comment>
      <wfw:commentRss>http://www.digitalspirit.org/blog/index.php/feed/atom/comments/963</wfw:commentRss>
      </item>
    
  <item>
    <title>Un exemple d'utilisation de la bibliothèque Oled4d pour Arduino</title>
    <link>http://www.digitalspirit.org/blog/index.php/post/2010/01/12/Un-exemple-d-utilisation-de-la-biblioth%C3%A8que-Oled4d-pour-Arduino</link>
    <guid isPermaLink="false">urn:md5:80e296fb8ab178ac6bda1c3ae7276798</guid>
    <pubDate>Tue, 12 Jan 2010 15:01:00 +0100</pubDate>
    <dc:creator>hugo</dc:creator>
        <category>Electronique</category>
        <category>4d system</category><category>arduino</category><category>oled</category><category>Planet-Libre</category>    
    <description>&lt;p&gt;Voici un exemple très simple expliquant l'utilisation de la bibliothèque libre &lt;a href=&quot;http://github.com/hugokernel/Oled4D&quot; hreflang=&quot;en&quot;&gt;Oled4D&lt;/a&gt; dont j'ai parlé dans un &lt;a href=&quot;http://www.digitalspirit.org/blog/index.php/post/2009/12/14/Librairie-pour-afficheur-Oled4d-Arduino&quot;&gt;précédent billet&lt;/a&gt;.&lt;/p&gt;


&lt;p&gt;Ce programme va afficher l'image ci-dessous&amp;nbsp;:&lt;/p&gt;


&lt;p&gt;&lt;a href=&quot;http://www.digitalspirit.org/blog/public/oled4d.jpg&quot; title=&quot;Oled 4D démo pour Arduino&quot;&gt;&lt;img src=&quot;http://www.digitalspirit.org/blog/public/.oled4d_m.jpg&quot; alt=&quot;Oled 4D démo pour Arduino&quot; title=&quot;Oled 4D démo pour Arduino, janv. 2010&quot; /&gt;&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;Le code source commenté est affiché en seconde partie de ce billet.&lt;/p&gt;


&lt;p&gt;Plus d'informations&amp;nbsp;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://github.com/hugokernel/Oled4D&quot; hreflang=&quot;en&quot;&gt;github.com/hugokernel/Oled4D&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.digitalspirit.org/wiki/projets/oled4d&quot; hreflang=&quot;fr&quot;&gt;Le wiki de DigitalSpirit&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.digitalspirit.org/forums/viewforum.php?id=14&quot; hreflang=&quot;fr&quot;&gt;Le forum d'aide&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;    &lt;p&gt;Voici les étapes à suivre pour tester cette bibliothèque&amp;nbsp;:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Décompresser l'archive dans le dossier libraries&lt;/li&gt;
&lt;li&gt;Ouvrez l'environnement de développement Arduino&lt;/li&gt;
&lt;li&gt;Dans le menu Fichier &amp;gt; Exemples, il doit y avoir un menu Oled4D &amp;gt; Example &amp;gt; Demo, cliquez dessus pour l'ouvrir&lt;/li&gt;
&lt;li&gt;Compilez et chargez la cible&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Voici une partie du code source (la déclaration de data_image à été tronquée volontairement), l'exemple va afficher un écran bleu, affiche un cercle jaune, 1 tux, réalise 4 copier / coller de l'image du tux, affiche du texte «&amp;nbsp;Hello world&amp;nbsp;! » puis créé un polygone.&lt;/p&gt;

&lt;pre class=&quot;c&quot;&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;/*  Oled4d
    Programme d'exemple pour interface Arduino / Écran Oled de 4DSystems
 */&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #339933;&quot;&gt;#define RED     RGB(255, 0, 0)&lt;/span&gt;
&lt;span style=&quot;color: #339933;&quot;&gt;#define GREEN   RGB(0, 255, 0)&lt;/span&gt;
&lt;span style=&quot;color: #339933;&quot;&gt;#define BLUE    RGB(0, 0, 255)&lt;/span&gt;
&lt;span style=&quot;color: #339933;&quot;&gt;#define YELLOW  RGB(255, 255, 0)&lt;/span&gt;
&lt;span style=&quot;color: #339933;&quot;&gt;#define WHITE   RGB(255, 255, 255)&lt;/span&gt;
&lt;span style=&quot;color: #339933;&quot;&gt;#define BLACK   RGB(0, 0, 0)&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #339933;&quot;&gt;#define SMALL   FONT_5X7&lt;/span&gt;
&lt;span style=&quot;color: #339933;&quot;&gt;#define MEDIUM  FONT_8X8&lt;/span&gt;
&lt;span style=&quot;color: #339933;&quot;&gt;#define BIG     FONT_8X12&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #339933;&quot;&gt;#include &amp;lt;NewSoftSerial.h&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #339933;&quot;&gt;#include &amp;lt;HardwareSerial.h&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;extern&lt;/span&gt; HardwareSerial Serial;
&lt;span style=&quot;color: #339933;&quot;&gt;#include &amp;lt;Oled4d.h&amp;gt;&lt;/span&gt;
&amp;nbsp;
NewSoftSerial serial&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;2&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;// count : 1152&lt;/span&gt;
&lt;span style=&quot;color: #339933;&quot;&gt;#define  DATA_IMG_WIDTH   24&lt;/span&gt;
&lt;span style=&quot;color: #339933;&quot;&gt;#define  DATA_IMG_HEIGHT  24&lt;/span&gt;
&lt;span style=&quot;color: #993333;&quot;&gt;char&lt;/span&gt; data_image&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;
    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
    0xc6, 0xc6, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xbe, 0xbe, 
    &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;...&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt;
    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;;
&amp;nbsp;
&lt;span style=&quot;color: #993333;&quot;&gt;void&lt;/span&gt; setup&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;  
    Serial.&lt;span style=&quot;color: #202020;&quot;&gt;begin&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;9600&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
    &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;// Mode série&lt;/span&gt;
    pinMode&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;2&lt;/span&gt;, INPUT&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;
    pinMode&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;3&lt;/span&gt;, OUTPUT&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
    &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;// Configuration de l'interface série logicielle&lt;/span&gt;
    serial.&lt;span style=&quot;color: #202020;&quot;&gt;begin&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;9600&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;
&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #993333;&quot;&gt;void&lt;/span&gt; loop&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;                     
&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;// Créer l'objet en interface série logiciel&lt;/span&gt;
    Oled4dSoft oled &lt;span style=&quot;color: #66cc66;&quot;&gt;=&lt;/span&gt; Oled4dSoft&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;serial, &lt;span style=&quot;color: #cc66cc;&quot;&gt;8&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
    &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;// Pour utiliser l'uart « hardware », procéder ainsi :&lt;/span&gt;
    &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;//Oled4dHard oled = Oled4dHard(Serial, OLED_RESET_PIN);&lt;/span&gt;
&amp;nbsp;
    &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;// Initialise l'écran&lt;/span&gt;
    oled.&lt;span style=&quot;color: #202020;&quot;&gt;init&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
    &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;// Efface l'écran&lt;/span&gt;
    oled.&lt;span style=&quot;color: #202020;&quot;&gt;clear&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
    &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;// Fond d'écran bleu&lt;/span&gt;
    oled.&lt;span style=&quot;color: #202020;&quot;&gt;setBG&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;RGB&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;128&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
    &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;// Dessine un cercle&lt;/span&gt;
    oled.&lt;span style=&quot;color: #202020;&quot;&gt;drawCircle&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;64&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;64&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;20&lt;/span&gt;, RGB&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;255&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;255&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
    &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;// Affiche l'image&lt;/span&gt;
    oled.&lt;span style=&quot;color: #202020;&quot;&gt;displayImage&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;, DATA_IMG_WIDTH, DATA_IMG_HEIGHT, COLORMODE_65K, data_image&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
    &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;// Copier / coller de l'image 5 fois&lt;/span&gt;
    &lt;span style=&quot;color: #b1b100;&quot;&gt;for&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #993333;&quot;&gt;int&lt;/span&gt; i &lt;span style=&quot;color: #66cc66;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #cc66cc;&quot;&gt;1&lt;/span&gt;; i &amp;lt; &lt;span style=&quot;color: #cc66cc;&quot;&gt;5&lt;/span&gt;; i&lt;span style=&quot;color: #66cc66;&quot;&gt;++&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;
        oled.&lt;span style=&quot;color: #202020;&quot;&gt;screenCopyPaste&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;, i &lt;span style=&quot;color: #66cc66;&quot;&gt;*&lt;/span&gt; DATA_IMG_WIDTH, &lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;, DATA_IMG_WIDTH, DATA_IMG_HEIGHT&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;
    &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
    &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;// Affiche du texte&lt;/span&gt;
    oled.&lt;span style=&quot;color: #202020;&quot;&gt;drawText&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;1&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;3&lt;/span&gt;, SMALL, GREEN, &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;Hello world !&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
    &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;// Dessine un polygone&lt;/span&gt;
    &lt;span style=&quot;color: #993333;&quot;&gt;char&lt;/span&gt; array&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt; &lt;span style=&quot;color: #cc66cc;&quot;&gt;10&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;32&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;20&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;64&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;76&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;120&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;127&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;64&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;;
    oled.&lt;span style=&quot;color: #202020;&quot;&gt;drawPolygon&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #993333;&quot;&gt;sizeof&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;array&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;/&lt;/span&gt; &lt;span style=&quot;color: #cc66cc;&quot;&gt;2&lt;/span&gt;, array, RGB&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;255&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;128&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
    &lt;span style=&quot;color: #b1b100;&quot;&gt;while&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;
&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;


&lt;p&gt;Voilà, je pense que le code est assez explicite, en cas de souci, n'oubliez pas le &lt;a href=&quot;http://www.digitalspirit.org/forums/viewforum.php?id=14&quot; hreflang=&quot;fr&quot;&gt;forum d'aide&lt;/a&gt;.&lt;/p&gt;</description>
    
          <enclosure url="http://www.digitalspirit.org/blog/public/src/Oled4d_Demo.zip"
      length="140790" type="application/zip" />
    
    
          <comments>http://www.digitalspirit.org/blog/index.php/post/2010/01/12/Un-exemple-d-utilisation-de-la-biblioth%C3%A8que-Oled4d-pour-Arduino#comment-form</comments>
      <wfw:comment>http://www.digitalspirit.org/blog/index.php/post/2010/01/12/Un-exemple-d-utilisation-de-la-biblioth%C3%A8que-Oled4d-pour-Arduino#comment-form</wfw:comment>
      <wfw:commentRss>http://www.digitalspirit.org/blog/index.php/feed/atom/comments/949</wfw:commentRss>
      </item>
    
  <item>
    <title>Liste des articles du magazine Elektor depuis 1978</title>
    <link>http://www.digitalspirit.org/blog/index.php/post/2009/12/28/Liste-des-articles-d-Elektor-depuis-1978</link>
    <guid isPermaLink="false">urn:md5:fa793ac47fea0dcfd7e6acce6878be37</guid>
    <pubDate>Mon, 28 Dec 2009 20:12:00 +0100</pubDate>
    <dc:creator>hugo</dc:creator>
        <category>Electronique</category>
        <category>article</category><category>elektor</category><category>liste</category><category>mag</category><category>magazines</category><category>revue</category>    
    <description>    &lt;p&gt;
Voici une &lt;a hreflang=&quot;fr&quot; href=&quot;http://www.digitalspirit.org/lab/elec/elektor/&quot;&gt;petite application web&lt;/a&gt; regroupant dans un tableau toute la liste des articles du magazine Elektor depuis sa première édition en 1978...
&lt;/p&gt;
&lt;p&gt;
Bien sûr, loin de moi l'idée de vouloir diffuser le contenu des articles de cette très bonne revue, mais simplement le titre et pour les derniers magazines, leurs couvertures...
&lt;br /&gt;L'idée de la réalisation de cet outils est simplement venu du faite que le site web officiel d'Elektor est franchement pas très bien foutu et il est très difficile de trouver quoique ce soit dedans...J'espère donc que cela en aidera plus d'un...
&lt;/p&gt;
&lt;p&gt;
Voici à quoi cela ressemble (cliquez pour agrandir) :
&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.digitalspirit.org/blog/public/elektor-list_screenshot.png&quot;&gt;&lt;img title=&quot;Elektor liste, déc. 2009&quot; alt=&quot;&quot; src=&quot;http://www.digitalspirit.org/blog/public/.elektor-list_screenshot_m.jpg&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;
Merci à &lt;a href=&quot;http://www.giacomazzi.fr/&quot;&gt;Michel Giacomazzi&lt;/a&gt;, qui, dans le group &lt;a hreflang=&quot;fr&quot; href=&quot;http://groups.google.com/group/fr.sci.electronique/topics?hl=fr&quot;&gt;fr.sci.electronique&lt;/a&gt; à diffuser les données collectées.&lt;br /&gt;Sur le site, il est possible de récupérer le fichier de données original au format &lt;a href=&quot;http://fr.wikipedia.org/wiki/Format_TSV&quot; hreflang=&quot;fr&quot;&gt;TSV&lt;/a&gt; ainsi que la base de données au format &lt;a href=&quot;http://fr.wikipedia.org/wiki/SQLite&quot; hreflang=&quot;fr&quot;&gt;Sqlite&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
&lt;a href=&quot;http://www.digitalspirit.org/lab/elec/elektor/&quot; hreflang=&quot;fr&quot;&gt;Accéder au site&lt;/a&gt;.
&lt;/p&gt;</description>
    
    
    
          <comments>http://www.digitalspirit.org/blog/index.php/post/2009/12/28/Liste-des-articles-d-Elektor-depuis-1978#comment-form</comments>
      <wfw:comment>http://www.digitalspirit.org/blog/index.php/post/2009/12/28/Liste-des-articles-d-Elektor-depuis-1978#comment-form</wfw:comment>
      <wfw:commentRss>http://www.digitalspirit.org/blog/index.php/feed/atom/comments/921</wfw:commentRss>
      </item>
    
  <item>
    <title>Librairie Arduino pour afficheur Oled : Oled4d</title>
    <link>http://www.digitalspirit.org/blog/index.php/post/2009/12/14/Librairie-pour-afficheur-Oled4d-Arduino</link>
    <guid isPermaLink="false">urn:md5:c1bdee6d17f20c6370a11b09e3ebece9</guid>
    <pubDate>Mon, 21 Dec 2009 11:09:00 +0100</pubDate>
    <dc:creator>hugo</dc:creator>
        <category>Electronique</category>
        <category>4d system</category><category>arduino</category><category>diy</category><category>gpl</category><category>libre</category><category>logiciel libre</category><category>oled</category><category>Oled 4d</category><category>Planet-Libre</category><category>rs232</category><category>série</category>    
    <description>    &lt;p&gt;
&lt;a href=&quot;http://www.digitalspirit.org/blog/public/oled_4d.png&quot;&gt;&lt;img title=&quot;Oled 4D, déc. 2009&quot; alt=&quot;&quot; src=&quot;http://www.digitalspirit.org/blog/public/oled_4d.png&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;http://www.digitalspirit.org/blog/public/oled_4d_verso.jpg&quot;&gt;&lt;img title=&quot;Oled 4D, déc. 2009&quot; alt=&quot;&quot; src=&quot;http://www.digitalspirit.org/blog/public/oled_4d_verso.jpg&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Voici une librairie libre de gestion d'afficheur &lt;acronym title=&quot;Organic light-emitting diode&quot;&gt;&lt;a href=&quot;http://fr.wikipedia.org/wiki/Diode_%C3%A9lectroluminescente_organique&quot; hreflang=&quot;fr&quot;&gt;OLED&lt;/a&gt;&lt;/acronym&gt; de la société &lt;a href=&quot;http://www.4dsystems.com.au/&quot; hreflang=&quot;en&quot;&gt;4D Systems&lt;/a&gt; pour &lt;a href=&quot;http://arduino.cc/&quot; hreflang=&quot;en&quot;&gt;Arduino&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;
Comme leur nom l'indique très bien, ils utilisent la technologie &lt;a hreflang=&quot;fr&quot; href=&quot;http://fr.wikipedia.org/wiki/Diode_%C3%A9lectroluminescente_organique&quot;&gt;OLED&lt;/a&gt; avec tous les avantages de cette technologie : pas besoin d'un rétroéclairage, ils ont un angle de vue de 180°, bonne consommation, très bon contraste, vous pouvez les trouver entre autres chez &lt;a href=&quot;http://www.lextronic.fr/P4470-afficheur-oled-couleur-uoled128-g1.html&quot; hreflang=&quot;fr&quot;&gt;Lextronic&lt;/a&gt; ou encore chez &lt;a href=&quot;http://www.sparkfun.com/commerce/product_info.php?products_id=8537&quot; hreflang=&quot;en&quot;&gt;Sparkfun&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
Le jeux d'instructions n'est pas toujours très logique mais est assez complet, le principal défaut de ces afficheurs sont leur prix, à 65€ l'unité, j'imagine mal comment espérer faire de la petite série à un tel prix...
&lt;/p&gt;
&lt;p&gt;Ces afficheurs sont pilotables directement par le biais d'une connection série dans lequel on envoie directement des commandes assez hauts niveaux :
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Set Background Color&lt;/li&gt;
&lt;li&gt;Put Pixel&lt;/li&gt;
&lt;li&gt;Erase Screen&lt;/li&gt;
&lt;li&gt;Draw Rectangle&lt;/li&gt;
&lt;li&gt;Place String of ASCII Text&lt;/li&gt;
&lt;li&gt;...&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
Ils disposent également d'un port microsd permettant ainsi de charger des images ou encore des bouts de programmes, attention, cependant car n'espérez pas mettre des images jpg dans la microsd ou autre et les afficher comme ça, d'un coup, ça ne fonctionnera pas, tout d'abord, car le chip de 4D ne gère pas les images compressées mais uniquement des champs de bits et surtout car il n'y a aucune gestion de FAT gérée par le controleur, ainsi, il est possible d'accéder au contenu de la microsd depuis votre programme mais en brut : à vous de gérer la couche du système de fichiers... &lt;/p&gt;
&lt;h2&gt;Tester la libraire&lt;/h2&gt;
&lt;p&gt;Voici la marche à suivre pour tester cette librairie avec Arduino (&lt;ins&gt;la librairie peut parfaitement fonctionner hors du projet Arduino...&lt;/ins&gt;) :&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;
Créer un dossier Oled4d dans le dossier Libraries de votre installation Arduino et copiez dedans le fichier Oled4d.h.&lt;/li&gt;
&lt;li&gt;Créez un nouveau projet Arduino et copiez le contenu du fichier oled4d.pde dedans.&lt;/li&gt;
&lt;li&gt;Compilez le source, envoyez dans la cible et voilà, vous devriez avoir quelque chose de ce genre s'afficher :&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;a href=&quot;http://www.digitalspirit.org/blog/public/arduino_oled4d.jpg&quot;&gt;&lt;img title=&quot;Arduino avec afficheur Oled de 4DSystems, déc. 2009&quot; alt=&quot;&quot; src=&quot;http://www.digitalspirit.org/blog/public/.arduino_oled4d_m.jpg&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Oui, il s'agit bien de Tux ! ;)&lt;/p&gt;
&lt;h2&gt;Comment ça fonctionne ?&lt;/h2&gt;
&lt;p&gt;
Voici un petit bout de code :
&lt;/p&gt;
&lt;pre&gt;// Créer l'objet en interface série logiciel&lt;br /&gt;Oled4dSoft oled = Oled4dSoft(serial, 8);&lt;br /&gt;&lt;br /&gt;// Pour utiliser l'uart « hardware », procéder ainsi :&lt;br /&gt;//Oled4dHard oled = Oled4dHard(Serial, OLED_RESET_PIN);&lt;br /&gt;&lt;br /&gt;// Initialise l'écran&lt;br /&gt;oled.init();&lt;br /&gt;&lt;br /&gt;// Efface l'écran&lt;br /&gt;oled.clear();&lt;br /&gt;&lt;br /&gt;// Dessine un cercle&lt;br /&gt;oled.drawCircle(64, 64, 20, RGB(255, 255, 0));&lt;br /&gt;&lt;br /&gt;// Affiche du texte&lt;br /&gt;oled.drawText(1, 3, SMALL, GREEN, &quot;Hello world !&quot;);&lt;/pre&gt;
&lt;p&gt;
Voilà, je pense que l'exemple est assez explicite et logique...
&lt;/p&gt;
&lt;p&gt;
Vour remarquerez qu'il est possible de passer par l'uart intégré à l'Atmel ou de passer par l'uart logiciel avec la libraire &lt;a href=&quot;http://arduiniana.org/libraries/NewSoftSerial/&quot; hreflang=&quot;en&quot;&gt;NewSoftSerial&lt;/a&gt; (cette librairie dispose de fonctions avancées et est bien supérieure à la librairie d'uart fourni par défaut dans le projet Arduino).
&lt;/p&gt;
&lt;h2&gt;Démo&lt;/h2&gt;
&lt;p&gt;
Voici une petite démo affichant en vrac des lignes, des triangles, des cercles, des polygones, des rectangles...
&lt;br /&gt;
La vidéo reflète assez mal les couleurs de l'écran qui sont bien vives en réel.
&lt;/p&gt;
&lt;div class=&quot;external-media&quot; style=&quot;margin: 1em auto; text-align: center;&quot;&gt;
&lt;object type=&quot;application/x-shockwave-flash&quot; data=&quot;http://www.vimeo.com/moogaloop.swf?clip_id=8001458&amp;amp;server=www.vimeo.com&amp;amp;show_title=1&amp;amp;show_byline=1&amp;amp;color=00ADEF&amp;amp;fullscreen=1&quot; height=&quot;302&quot; width=&quot;400&quot;&gt;	&lt;param name=&quot;quality&quot; value=&quot;best&quot; /&gt;
&lt;param name=&quot;allowfullscreen&quot; value=&quot;true&quot; /&gt;
&lt;param name=&quot;scale&quot; value=&quot;showAll&quot; /&gt;
&lt;param name=&quot;movie&quot; value=&quot;http://www.vimeo.com/moogaloop.swf?clip_id=8001458&amp;amp;server=www.vimeo.com&amp;amp;show_title=1&amp;amp;show_byline=1&amp;amp;color=00ADEF&amp;amp;fullscreen=1&quot; /&gt;
&lt;p&gt;Écran Oled de 4D System piloté par Arduino&lt;/p&gt;
&lt;/object&gt;
&lt;/div&gt;
&lt;h2&gt;Futures évolutions&lt;/h2&gt;
&lt;p&gt;
Actuellement, cette librairie supporte uniquement les instructions standards (General Command Set), les autres (Extended Command Set), qui permettent entre autre un accès au contenu de la microsd, ne sont pas encore gérées mais le plus gros du travail est fait...
&lt;/p&gt;
&lt;h2&gt;Téléchargement&lt;/h2&gt;
&lt;p&gt;
Cette librairie est mise à disposition sous license GPL.&lt;br /&gt;
Vous pouvez télécharger la toute dernière version de cette librairie depuis mon compte &lt;a href=&quot;http://github.com/&quot;&gt;GitHub&lt;/a&gt; à l'adresse suivante : &lt;a hreflang=&quot;en&quot; href=&quot;http://github.com/hugokernel/Oled4D&quot;&gt;http://github.com/hugokernel/Oled4D&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Je mettrai à jour également la page sur le wiki : &lt;a href=&quot;http://www.digitalspirit.org/wiki/projets/oled4d&quot; hreflang=&quot;fr&quot;&gt;http://www.digitalspirit.org/wiki/projets/oled4d&lt;/a&gt;.
&lt;/p&gt;</description>
    
    
    
          <comments>http://www.digitalspirit.org/blog/index.php/post/2009/12/14/Librairie-pour-afficheur-Oled4d-Arduino#comment-form</comments>
      <wfw:comment>http://www.digitalspirit.org/blog/index.php/post/2009/12/14/Librairie-pour-afficheur-Oled4d-Arduino#comment-form</wfw:comment>
      <wfw:commentRss>http://www.digitalspirit.org/blog/index.php/feed/atom/comments/900</wfw:commentRss>
      </item>
    
  <item>
    <title>Planet Madeinfr : Regroupement d'articles francophones sur le « fait soit même »</title>
    <link>http://www.digitalspirit.org/blog/index.php/post/2009/12/04/Planet-Madeinfr-%3A-Regroupement-d-articles-francophone-sur-le-%C2%AB-fait-soit-m%C3%AAme-%C2%BB</link>
    <guid isPermaLink="false">urn:md5:969ae832648385ba728d2e27fb4c3124</guid>
    <pubDate>Fri, 04 Dec 2009 15:17:00 +0100</pubDate>
    <dc:creator>hugo</dc:creator>
        <category>Electronique</category>
        <category>diy</category><category>do it yourself</category><category>hardware</category><category>libre</category><category>made in fr</category><category>made in france</category><category>madeinfr</category><category>open</category><category>openhardware</category><category>planet</category><category>Planet-Libre</category><category>électronique</category>    
    <description>    &lt;p&gt;&lt;a href=&quot;http://planet.madeinfr.org/&quot;&gt;&lt;img title=&quot;Logo Made in fr, déc. 2009&quot; alt=&quot;&quot; src=&quot;http://www.digitalspirit.org/blog/public/logo_madeinfr.png&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Ouverture ce jour &lt;a hreflang=&quot;fr&quot; href=&quot;http://planet.madeinfr.org/&quot;&gt;d'un planet&lt;/a&gt; (un regroupement d'article issus de différents blogs au sein d'un même blog), consacré au « fait soit même » (autrement appelé « Do It Yourself » outre atlantique) avec une forte attirance pour l'électronique, sa petite particularité est que tous les articles diffusés sont en français.&lt;br /&gt;&lt;br /&gt;La publication sur le planet est ouverte à tout le monde, il suffit de posséder un blog et des articles en français sur le sujet, et de nous le signaler par le biais du&lt;a hreflang=&quot;fr&quot; href=&quot;http://planet.madeinfr.org/contact&quot;&gt; formulaire approprié&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;
L'adresse de ce planet est : &lt;a href=&quot;http://planet.madeinfr.org/&quot;&gt;http://planet.madeinfr.org/&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Il est aussi possible de suivre les articles et l'actualité de Made in Fr sur &lt;a href=&quot;http://twitter.com/madeinfr/&quot;&gt;Twitter&lt;/a&gt; et &lt;a href=&quot;http://identi.ca/madeinfr/&quot;&gt;Identi.ca&lt;/a&gt; :
&lt;/p&gt;
&lt;p&gt;
&lt;a href=&quot;http://twitter.com/madeinfr/&quot;&gt;&lt;img title=&quot;Logo de Twitter, déc. 2009&quot; alt=&quot;&quot; src=&quot;http://www.digitalspirit.org/blog/public/logo_twitter.png&quot; /&gt;&lt;/a&gt;
&amp;nbsp;
&lt;a href=&quot;http://identi.ca/madeinfr/&quot;&gt;&lt;img title=&quot;Logo d'Identica, déc. 2009&quot; alt=&quot;&quot; src=&quot;http://www.digitalspirit.org/blog/public/logo_identica.png&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;</description>
    
    
    
          <comments>http://www.digitalspirit.org/blog/index.php/post/2009/12/04/Planet-Madeinfr-%3A-Regroupement-d-articles-francophone-sur-le-%C2%AB-fait-soit-m%C3%AAme-%C2%BB#comment-form</comments>
      <wfw:comment>http://www.digitalspirit.org/blog/index.php/post/2009/12/04/Planet-Madeinfr-%3A-Regroupement-d-articles-francophone-sur-le-%C2%AB-fait-soit-m%C3%AAme-%C2%BB#comment-form</wfw:comment>
      <wfw:commentRss>http://www.digitalspirit.org/blog/index.php/feed/atom/comments/884</wfw:commentRss>
      </item>
    
  <item>
    <title>Hyla_Tpl : Un nouveau moteur de template / gabarit / modèle léger et rapide</title>
    <link>http://www.digitalspirit.org/blog/index.php/post/2009/10/23/Hyla_Tpl-%3A-Un-nouveau-moteur-de-template-/-gabarit-/-mod%C3%A8le-l%C3%A9ger-et-rapide</link>
    <guid isPermaLink="false">urn:md5:58cffbbc734ada32cfbb0521ef3f9846</guid>
    <pubDate>Wed, 28 Oct 2009 09:36:00 +0100</pubDate>
    <dc:creator>hugo</dc:creator>
        <category>Hyla</category>
        <category>gabarit</category><category>hyla</category><category>modèle</category><category>php</category><category>phplib</category><category>Planet-Libre</category><category>template</category><category>tpl</category>    
    <description>    &lt;p&gt;
Pour les besoins de la nouvelle version du gestionnaire de fichiers en ligne Hyla (&lt;a href=&quot;http://www.hyla-project.org/&quot;&gt;http://www.hyla-project.org/&lt;/a&gt;) qui utilisait jusqu'à lors le moteur de gabarits de la &lt;a hreflang=&quot;en&quot; href=&quot;http://sourceforge.net/projects/phplib/&quot;&gt;PhpLib&lt;/a&gt;, un nouveau moteur bien plus performant à été réécrit respectant la logique des &lt;a hreflang=&quot;fr&quot; href=&quot;http://fr.wikipedia.org/wiki/Template&quot;&gt;templates&lt;/a&gt; de ce dernier.
&lt;/p&gt;
&lt;p&gt;
Il améliore les performances en terme de vitesse d'un facteur 10 et ajoute un certain nombre de fonctionnalités très pratiques :
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Tableaux et objets dans les variables : &lt;em style=&quot;color: green;&quot;&gt;{$user.name}&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Les fonctions appliquées aux variables : &lt;em style=&quot;color: green;&quot;&gt;{$user.name|upper}&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Les fonctions simples : &lt;em style=&quot;color: green;&quot;&gt;{!include:test.tpl}&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;La traduction : &lt;em style=&quot;color: green;&quot;&gt;{_Hello World !}&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Les commentaires : &lt;em style=&quot;color: green;&quot;&gt;{# Petit commentaire}&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Les blocs ELSE associés aux habituels BEGIN / END&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
Ce moteur est disponible en mode autonome (standalone) totalement indépendant de Hyla.
&lt;/p&gt;
&lt;p&gt;
Les habitués des templates de la Phplib y trouveront leurs comptes rapidement, les autres seront séduits par la facilité et la légereté de cette librairie.
&lt;/p&gt;
&lt;p&gt;
Je vous invite à consulter le site pour plus de détails et des exemples d'utilisation sur &lt;a hreflang=&quot;fr&quot; href=&quot;http://blog.hyla-project.org/index.php/post/2009/10/23/Un-nouveau-moteur-de-template%2C-successeur-de-celui-de-la-phpLib-pour-Hyla&quot;&gt;le blog de développement de Hyla&lt;/a&gt;.
&lt;/p&gt;</description>
    
    
    
          <comments>http://www.digitalspirit.org/blog/index.php/post/2009/10/23/Hyla_Tpl-%3A-Un-nouveau-moteur-de-template-/-gabarit-/-mod%C3%A8le-l%C3%A9ger-et-rapide#comment-form</comments>
      <wfw:comment>http://www.digitalspirit.org/blog/index.php/post/2009/10/23/Hyla_Tpl-%3A-Un-nouveau-moteur-de-template-/-gabarit-/-mod%C3%A8le-l%C3%A9ger-et-rapide#comment-form</wfw:comment>
      <wfw:commentRss>http://www.digitalspirit.org/blog/index.php/feed/atom/comments/833</wfw:commentRss>
      </item>
    
  <item>
    <title>Monter une partition Linux ext2 / ext3 / ext4 sur Mac Os X</title>
    <link>http://www.digitalspirit.org/blog/index.php/post/2009/10/12/Monter-une-partition-ext2%2C-ext3-ou-ext4-sur-MacOs</link>
    <guid isPermaLink="false">urn:md5:e1deb691ee9e6d2c466b0e220230824d</guid>
    <pubDate>Sun, 25 Oct 2009 14:00:00 +0100</pubDate>
    <dc:creator>hugo</dc:creator>
        <category>MacOs</category>
        <category>Apple</category><category>ext2</category><category>ext3</category><category>ext4</category><category>Gnu-Linux</category><category>Mac Os X</category><category>macos</category><category>mass storage</category><category>mount</category><category>partition</category><category>usb</category>    
    <description>&lt;p&gt;
Mac Os X est un puissant système d'exploitation, malheuresement, ce système souffre de grosses lacunes pour un linuxien et notamment concernant le support des systèmes de fichiers, en effet, cet OS ne reconnait que ses propres formats HFS, HFS+, HFSX, les formats de Microsoft FAT32 et NTFS ainsi que UFS (source &lt;a href=&quot;http://fr.wikipedia.org/wiki/Mac_OS_X#Syst.C3.A8me_de_fichiers_local.2C_r.C3.A9seau_et_protocole_support.C3.A9&quot; hreflang=&quot;fr&quot;&gt;Wikipédia&lt;/a&gt;), oubliez donc l'ext3 d'origine sous Mac Os...sauf...&lt;/p&gt;
&lt;p&gt;
2 projets m'ont sauvés la vie (oui, rien que ça) en rendant mes disques extX visibles et lisibles sous MacOs :
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a hreflang=&quot;en&quot; href=&quot;http://code.google.com/p/macfuse/&quot;&gt;MacFuse&lt;/a&gt;, les linuxiens auront reconnus à son nom son utilité, pour les autres, c'est un outils qui vous permet de monter un système de fichiers en espace utilisateur&lt;/li&gt;
&lt;li&gt;Et &lt;a hreflang=&quot;en&quot; href=&quot;http://alperakcan.org/?open=projects&amp;amp;project=fuse-ext2&quot;&gt;fuse-ext2&lt;/a&gt; qui est un « pilote » extX générique fonctionnant entre autres sur MacOs&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
Rien à dire concernant l'installation de ces 2 programmes, des images disques au format dmg sont disponibles.
&lt;br /&gt;
Une fois ces 2 programmes installés, c'est magique, vos disques extX seront montés automatiquement sans le moindre effort de votre part comme vous pouvez le voir sur la capture d'écran ci-dessous :
&lt;/p&gt;
&lt;p&gt;
&lt;a href=&quot;http://www.digitalspirit.org/blog/public/macos-finder-ext3.png&quot;&gt;&lt;img src=&quot;http://www.digitalspirit.org/blog/public/.macos-finder-ext3_m.jpg&quot; alt=&quot;MacOs finder avec ext3&quot; title=&quot;MacOs finder avec ext3, oct. 2009&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Concernant le montage des disques externes, le montage n'est pas automatisé et requiert donc quelques actions de votre part.&lt;/p&gt;    &lt;p&gt;Pour commencer, il faut d'abord connaitre le nom du device externe (/dev/diskXsX), s'il n'apparait pas dans le finder (entouré de rouge dans la capture ci-dessus), branchez votre disque externe formaté en extX puis ouvrez l'utilitaire de disques, vous devriez voir votre disque apparaitre sous cette forme :&lt;/p&gt;
&lt;p&gt;
&lt;a href=&quot;http://www.digitalspirit.org/blog/public/macos-disk-utility.png&quot;&gt;&lt;img title=&quot;MacOs Utilitaire de disques, oct. 2009&quot; alt=&quot;&quot; src=&quot;http://www.digitalspirit.org/blog/public/.macos-disk-utility_m.jpg&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;Sur l'exemple ci-dessus, le nom du device est « disk2s1 », maintenant que nous savons oû se trouve le device, nous pouvons le monter tranquillement de la manière suivante, ouvrez un terminal (j'ai coloré les informations renvoyées par fuse-ext2 en jaune) :&lt;/p&gt;
&lt;pre class=&quot;shell&quot;&gt;mac:~ hugo$ cd /tmp&lt;br /&gt;mac:tmp hugo$ mkdir DD&lt;br /&gt;mac:tmp hugo$ fuse-ext2 /dev/disk2s1 DD&lt;br /&gt;&lt;span style=&quot;color: yellow;&quot;&gt;fuse-ext2: enter [do_probe (../../fuse-ext2/do_probe.c:30)]&lt;br /&gt;fuse-ext2: leave [do_probe (../../fuse-ext2/do_probe.c:53)]&lt;br /&gt;Mounting /dev/disk2s1 Read-Only.&lt;br /&gt;Use 'force' or 'rw+' options to enable Read-Write mode&lt;br /&gt;fuse-ext2: opts.device: /dev/disk2s1 [main (../../fuse-ext2/fuse-ext2.c:348)]&lt;br /&gt;fuse-ext2: opts.mnt_point: DD [main (../../fuse-ext2/fuse-ext2.c:349)]&lt;br /&gt;fuse-ext2: opts.volname:  [main (../../fuse-ext2/fuse-ext2.c:350)]&lt;br /&gt;fuse-ext2: opts.options: (null) [main (../../fuse-ext2/fuse-ext2.c:351)]&lt;br /&gt;fuse-ext2: parsed_options: allow_other,local,ro,fsname=/dev/disk2s1,[...]&lt;br /&gt;fuse-ext2: mounting read-only [main (../../fuse-ext2/fuse-ext2.c:368)]&lt;/span&gt;&lt;br /&gt;mac:tmp hugo$ &lt;/pre&gt;
&lt;p&gt;
Inutile d'être en root pour lancer cette commande, c'est justement l'intérêt de fuse...
&lt;/p&gt;
&lt;p&gt;
Et voilà le travail, un disque usb externe &lt;strong&gt;ext4&lt;/strong&gt; :
&lt;/p&gt;
&lt;p&gt;
&lt;a href=&quot;http://www.digitalspirit.org/blog/public/macos-finder-external-disk.png&quot;&gt;&lt;img src=&quot;http://www.digitalspirit.org/blog/public/macos-finder-external-disk.png&quot; alt=&quot;MacOs finder disque ext4 monté&quot; title=&quot;MacOs finder disque ext4 monté, oct. 2009&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
J'ai écrit un petit script qui automatise un tout petit peu plus le processus de montage du périphérique, pour le montage :
&lt;/p&gt;
&lt;pre class=&quot;shell&quot;&gt;mac:~ hugo$ ./mountext -d disk2s1&lt;br /&gt;Mounting « /dev/disk2s1 » device in « /tmp/disk2s1 »&lt;br /&gt;Device « /dev/disk2s1 » mounted in « /tmp/disk2s1 »&lt;br /&gt;mac:~ hugo$ &lt;/pre&gt;
&lt;p&gt;
Pour le démontage :
&lt;/p&gt;
&lt;pre class=&quot;shell&quot;&gt;mac:~ hugo$ ./mountext -u disk2s1&lt;br /&gt;Umounting « /tmp/disk2s1 »&lt;br /&gt;Ok&lt;br /&gt;mac:~ hugo$ &lt;/pre&gt;
&lt;p&gt;
Voilà, le script se trouve en annexe de ce billet.
&lt;/p&gt;</description>
    
          <enclosure url="http://www.digitalspirit.org/blog/public/src/mountext"
      length="1785" type="text/plain" />
    
    
          <comments>http://www.digitalspirit.org/blog/index.php/post/2009/10/12/Monter-une-partition-ext2%2C-ext3-ou-ext4-sur-MacOs#comment-form</comments>
      <wfw:comment>http://www.digitalspirit.org/blog/index.php/post/2009/10/12/Monter-une-partition-ext2%2C-ext3-ou-ext4-sur-MacOs#comment-form</wfw:comment>
      <wfw:commentRss>http://www.digitalspirit.org/blog/index.php/feed/atom/comments/821</wfw:commentRss>
      </item>
    
</channel>
</rss>