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

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>Lendulado.net - Geekerías</title>
    <link>http://lendulado.net/</link>
    <description>El blog (que era) lento y ondulado</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.6-alpha1 - http://www.s9y.org/</generator>
    <pubDate>Sun, 26 Apr 2009 20:56:03 GMT</pubDate>

    <image>
        <url>http://lendulado.net/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Lendulado.net - Geekerías - El blog (que era) lento y ondulado</title>
        <link>http://lendulado.net/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Mi nuevo calendario 2009</title>
    <link>http://lendulado.net/archives/321-Mi-nuevo-calendario-2009.html</link>
            <category>Geekerías</category>
            <category>Lenduloide</category>
    
    <comments>http://lendulado.net/archives/321-Mi-nuevo-calendario-2009.html#comments</comments>
    <wfw:comment>http://lendulado.net/wfwcomment.php?cid=321</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://lendulado.net/rss.php?version=2.0&amp;type=comments&amp;cid=321</wfw:commentRss>
    

    <author>nospam@example.com (Lendulado)</author>
    <content:encoded>
    &lt;a href=&quot;http://www.flickr.com/photos/lendulado/3476904495/&quot; title=&quot;Calendario 2009 by lendulado, on Flickr&quot;&gt;&lt;img src=&quot;http://farm4.static.flickr.com/3302/3476904495_50af142868.jpg&quot; width=&quot;500&quot; height=&quot;375&quot; alt=&quot;Calendario 2009&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Aunque tengo que mejorar en las manualidades de papel. 
    </content:encoded>

    <pubDate>Sun, 26 Apr 2009 22:56:03 +0200</pubDate>
    <guid isPermaLink="false">http://lendulado.net/archives/321-guid.html</guid>
    
</item>
<item>
    <title>Pi GB libres</title>
    <link>http://lendulado.net/archives/318-Pi-GB-libres.html</link>
            <category>Geekerías</category>
            <category>Lenduloide</category>
    
    <comments>http://lendulado.net/archives/318-Pi-GB-libres.html#comments</comments>
    <wfw:comment>http://lendulado.net/wfwcomment.php?cid=318</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://lendulado.net/rss.php?version=2.0&amp;type=comments&amp;cid=318</wfw:commentRss>
    

    <author>nospam@example.com (Lendulado)</author>
    <content:encoded>
    &lt;div class=&quot;serendipity_imageComment_center&quot; style=&quot;width: 240px&quot;&gt;&lt;div class=&quot;serendipity_imageComment_img&quot;&gt;&lt;!-- s9ymdb:103 --&gt;&lt;img width=&quot;240&quot; height=&quot;33&quot; src=&quot;http://lendulado.net/uploads/screens/trescatorce.png&quot; alt=&quot;&quot;  /&gt;&lt;/div&gt;&lt;div class=&quot;serendipity_imageComment_txt&quot;&gt;&amp;Pi; GB libres en el disco duro&lt;/div&gt;&lt;/div&gt; 
    </content:encoded>

    <pubDate>Sat, 21 Feb 2009 19:33:27 +0100</pubDate>
    <guid isPermaLink="false">http://lendulado.net/archives/318-guid.html</guid>
    
</item>
<item>
    <title>Creando listas de palabras con el portapapeles</title>
    <link>http://lendulado.net/archives/317-Creando-listas-de-palabras-con-el-portapapeles.html</link>
            <category>Geekerías</category>
            <category>Problema-Solución</category>
    
    <comments>http://lendulado.net/archives/317-Creando-listas-de-palabras-con-el-portapapeles.html#comments</comments>
    <wfw:comment>http://lendulado.net/wfwcomment.php?cid=317</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://lendulado.net/rss.php?version=2.0&amp;type=comments&amp;cid=317</wfw:commentRss>
    

    <author>nospam@example.com (Lendulado)</author>
    <content:encoded>
    &lt;style type=&quot;text/css&quot;&gt;
    &lt;!--
       .comment {
        /* font-lock-comment-face */
        color: #b22222;
      }
      .keyword {
        /* font-lock-keyword-face */
        color: #a020f0;
      }
      .string {
        /* font-lock-string-face */
        color: #bc8f8f;
      }
      .variable-name {
        /* font-lock-variable-name-face */
        color: #b8860b;
      }
    --&gt;
&lt;/style&gt;
Desde hace poco estoy siguiendo las &lt;a href=&quot;http://extensions.services.openoffice.org/&quot;&gt;extensiones de OpenOffice.org&lt;/a&gt; y he visto que hay unos cuantos &lt;a href=&quot;http://extensions.services.openoffice.org/dictionary?cid=926385&quot;&gt;diccionarios&lt;/a&gt;. Me llamó la atención &lt;a href=&quot;http://extensions.services.openoffice.org/project/OMS&quot;&gt;OpenMedSpell&lt;/a&gt; que contiene casi 50000 términos (en inglés) relacionados con la medicina. Así que pensé ¿por qué no crear un diccionario con términos relacionados con la ciencia y tecnología de los alimentos? Vaya esto parece una buena idea, por lo que me puse a investigar cómo crear diccionarios para OpenOffice.org.
&lt;br /&gt;&lt;br /&gt;
Así descubrí que la extensión instala una serie de ficheros y entre ellos, uno con la extensión .dic que no es más que una lista de palabras ordenadas alfabéticamente. Por otra parte, OOo te deja definir tus propios diccionarios, pero su manejo deja bastante que desear:&lt;br /&gt;&lt;br /&gt;
&lt;!-- s9ymdb:102 --&gt;&lt;img width=&quot;450&quot; height=&quot;228&quot; style=&quot;border: 0px; padding-left: 5px; padding-right: 5px;&quot; src=&quot;http://lendulado.net/uploads/screens/dicooo.png&quot; alt=&quot;&quot;  /&gt;
&lt;br /&gt;&lt;br /&gt;
Para teclear así prefiero un editor de texto normal y corriente. Dicho y hecho: abrí mi editor de texto, puse las manos en el teclado y... no llegué a las 25 palabras, típica situación en la que no te acuerdas de lo que te tienes que acordar y con la dificultad añadida de que tienes que escribirlas bien, si no, sería un trabajo inútil. Me quedé pensando en cómo automatizar el proceso de obtención de una lista de términos, hasta que caí en la cuenta de que en Linux, al seleccionar una palabra con el ratón ya se ha copiado al portapapeles (para entendernos). Si tuviera una forma de acceder al portapapeles, podría escribir su contenido a un fichero y crear así de forma sencilla y rápida la lista de palabras desde cualquier fuente de texto: la web, correos electrónicos, PDFs, etc.
&lt;br /&gt;&lt;br /&gt;
Hay programas sencillos para acceder al portapapeles como xclip o xsel, pero no hacían lo que yo quería y otros programas permiten una gestión del portapapeles con más características como parcellite y glipper (o klipper). Del primero no saqué nada claro e instalar el segundo requería casi 100 MB de espacio en disco, excesivo para lo que quería. Con ganas de hacer algo en python, me puse a buscar por Google &quot;python clipboard&quot; y encontré varias páginas con ejemplos para acceder al portapapeles, entre ellas ésta que permite el &lt;a href=&quot;http://balajirrao.wordpress.com/2008/07/03/clipboard-fun/&quot;&gt;el paso del contenido del portapapeles&lt;/a&gt; entre dos ordenadores. Entre eso y la documentación de python, he hecho este miniscript.
&lt;br /&gt;&lt;br /&gt;
&lt;pre&gt;
&lt;span class=&quot;comment&quot;&gt;#!/usr/bin/python
&lt;/span&gt;
&lt;span class=&quot;keyword&quot;&gt;from&lt;/span&gt; __future__ &lt;span class=&quot;keyword&quot;&gt;import&lt;/span&gt; with_statement
&lt;span class=&quot;keyword&quot;&gt;import&lt;/span&gt; pygtk
pygtk.require(&lt;span class=&quot;string&quot;&gt;&#039;2.0&#039;&lt;/span&gt;)
&lt;span class=&quot;keyword&quot;&gt;import&lt;/span&gt; gtk
&lt;span class=&quot;keyword&quot;&gt;import&lt;/span&gt; time
&lt;span class=&quot;keyword&quot;&gt;import&lt;/span&gt; sys

&lt;span class=&quot;variable-name&quot;&gt;cbp&lt;/span&gt; = gtk.Clipboard(display=gtk.gdk.display_get_default(), selection=&lt;span class=&quot;string&quot;&gt;&quot;PRIMARY&quot;&lt;/span&gt;)

&lt;span class=&quot;keyword&quot;&gt;with&lt;/span&gt; open(sys.argv[1], &lt;span class=&quot;string&quot;&gt;&#039;a&#039;&lt;/span&gt;) &lt;span class=&quot;keyword&quot;&gt;as&lt;/span&gt; fichero:
    &lt;span class=&quot;keyword&quot;&gt;while&lt;/span&gt; (&lt;span class=&quot;keyword&quot;&gt;True&lt;/span&gt;):
        prev = cbp.wait_for_text()
        &lt;span class=&quot;keyword&quot;&gt;while&lt;/span&gt; (prev == (cbp.wait_for_text())):
            time.sleep(1)
        prev = cbp.wait_for_text()
        fichero.write(prev + &lt;span class=&quot;string&quot;&gt;&#039;\n&#039;&lt;/span&gt;)
&lt;/pre&gt;
&lt;br /&gt;&lt;br /&gt;
La única opción que permite es el nombre del fichero que guardará la lista de palabras y para detenerlo hay que hacerlo «a las bravas» (Ctrl-C), pero cumple lo que quería, capturar las palabras que voy seleccionando con el ratón y guardarlas en el fichero. No me preocupo de que no estén ordenadas o repetidas, para eso ya están los programas «sort» y «uniq». La primera vez que lo he puesto a prueba he llegado a las 122 palabras. 
    </content:encoded>

    <pubDate>Sun, 14 Dec 2008 22:48:00 +0100</pubDate>
    <guid isPermaLink="false">http://lendulado.net/archives/317-guid.html</guid>
    
</item>
<item>
    <title>I tried Emacs</title>
    <link>http://lendulado.net/archives/316-I-tried-Emacs.html</link>
            <category>Geekerías</category>
            <category>Música</category>
    
    <comments>http://lendulado.net/archives/316-I-tried-Emacs.html#comments</comments>
    <wfw:comment>http://lendulado.net/wfwcomment.php?cid=316</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://lendulado.net/rss.php?version=2.0&amp;type=comments&amp;cid=316</wfw:commentRss>
    

    <author>nospam@example.com (Lendulado)</author>
    <content:encoded>
    &lt;!-- xhtml clean youtube --&gt;&lt;object type=&quot;application/x-shockwave-flash&quot; width=&quot;425&quot; height=&quot;264&quot; data=&quot;http://www.youtube.com/v/oWxtBVT9C_s&amp;amp;hl=es&amp;amp;fs=1&amp;amp;color1=0x006699&amp;amp;color2=0x54abd6&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/oWxtBVT9C_s&amp;amp;hl=es&amp;amp;fs=1&amp;amp;color1=0x006699&amp;amp;color2=0x54abd6&quot; /&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/oWxtBVT9C_s&amp;amp;hl=es&amp;amp;fs=1&amp;amp;color1=0x006699&amp;amp;color2=0x54abd6&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowscriptaccess&quot; value=&quot;always&quot;&gt;&lt;/param&gt;&lt;/object&gt;&lt;!-- /xhtml clean youtube --&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;!-- &lt;object width=&quot;425&quot; height=&quot;264&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/oWxtBVT9C_s&amp;amp;hl=es&amp;amp;fs=1&amp;amp;color1=0x006699&amp;amp;color2=0x54abd6&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowscriptaccess&quot; value=&quot;always&quot;&gt;&lt;/param&gt;&lt;embed src=&quot;http://www.youtube.com/v/oWxtBVT9C_s&amp;hl=es&amp;fs=1&amp;color1=0x006699&amp;color2=0x54abd6&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot; width=&quot;425&quot; height=&quot;264&quot;&gt;&lt;/embed&gt;&lt;/object&gt; --&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sí lo confieso, he empezado a usar &lt;a href=&quot;http://es.wikipedia.org/wiki/Emacs&quot;&gt;Emacs&lt;/a&gt; :P&lt;br /&gt;
&lt;br /&gt;
La canción en la que se basan es ésta:&lt;br /&gt;
&lt;br /&gt;
&lt;!-- xhtml clean youtube --&gt;&lt;object type=&quot;application/x-shockwave-flash&quot; width=&quot;425&quot; height=&quot;344&quot; data=&quot;http://www.youtube.com/v/a1Y8utsY6LY&amp;amp;hl=es&amp;amp;fs=1&amp;amp;color1=0x006699&amp;amp;color2=0x54abd6&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/a1Y8utsY6LY&amp;amp;hl=es&amp;amp;fs=1&amp;amp;color1=0x006699&amp;amp;color2=0x54abd6&quot; /&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/a1Y8utsY6LY&amp;amp;hl=es&amp;amp;fs=1&amp;amp;color1=0x006699&amp;amp;color2=0x54abd6&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowscriptaccess&quot; value=&quot;always&quot;&gt;&lt;/param&gt;&lt;/object&gt;&lt;!-- /xhtml clean youtube --&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;!-- &lt;object width=&quot;425&quot; height=&quot;344&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/a1Y8utsY6LY&amp;amp;hl=es&amp;amp;fs=1&amp;amp;color1=0x006699&amp;amp;color2=0x54abd6&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowscriptaccess&quot; value=&quot;always&quot;&gt;&lt;/param&gt;&lt;embed src=&quot;http://www.youtube.com/v/a1Y8utsY6LY&amp;hl=es&amp;fs=1&amp;color1=0x006699&amp;color2=0x54abd6&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot; width=&quot;425&quot; height=&quot;344&quot;&gt;&lt;/embed&gt;&lt;/object&gt; --&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Fri, 05 Dec 2008 23:39:20 +0100</pubDate>
    <guid isPermaLink="false">http://lendulado.net/archives/316-guid.html</guid>
    
</item>
<item>
    <title>Renombrar ficheros en la shell</title>
    <link>http://lendulado.net/archives/314-Renombrar-ficheros-en-la-shell.html</link>
            <category>Geekerías</category>
    
    <comments>http://lendulado.net/archives/314-Renombrar-ficheros-en-la-shell.html#comments</comments>
    <wfw:comment>http://lendulado.net/wfwcomment.php?cid=314</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://lendulado.net/rss.php?version=2.0&amp;type=comments&amp;cid=314</wfw:commentRss>
    

    <author>nospam@example.com (Lendulado)</author>
    <content:encoded>
    &lt;br /&gt;
&lt;p&gt;Esto lo pongo más por honrilla que por otra cosa&lt;/p&gt;&lt;pre&gt;for fichero in $(ls | egrep -v &#039;^08[0-9][0-9][0-9]-&#039;)&lt;/pre&gt;&lt;pre&gt;do&lt;/pre&gt;&lt;pre&gt;        fecha=$(ls -lt --time-style=+%y%0j &amp;quot;${fichero}&amp;quot;| cut -d &amp;quot; &amp;quot; -f 6)&lt;/pre&gt;&lt;pre&gt;        NUEVO=${fecha}-&amp;quot;${fichero}&amp;quot;&lt;/pre&gt;&lt;pre&gt;        if [ ! -f &amp;quot;${NUEVO}&amp;quot; ]&lt;/pre&gt;&lt;pre&gt;        then&lt;/pre&gt;&lt;pre&gt;                mv &amp;quot;${fichero}&amp;quot; &amp;quot;${NUEVO}&amp;quot;&lt;/pre&gt;&lt;pre&gt;        else&lt;/pre&gt;&lt;pre&gt;                EXT=&amp;quot;${NUEVO##*.}&amp;quot;&lt;/pre&gt;&lt;pre&gt;                count=1&lt;/pre&gt;&lt;pre&gt;                rename=0&lt;/pre&gt;&lt;pre&gt;                while [ ${rename} -eq 0 ]&lt;/pre&gt;&lt;pre&gt;                do&lt;/pre&gt;&lt;pre&gt;                        if [ ! -f &amp;quot;${NUEVO%.*}&amp;quot;_$count.${EXT} ]; then&lt;/pre&gt;&lt;pre&gt;                                mv &amp;quot;${fichero}&amp;quot; &amp;quot;${NUEVO%.*}&amp;quot;_&amp;quot;${count}&amp;quot;.&amp;quot;${EXT}&amp;quot;&lt;/pre&gt;&lt;pre&gt;                                rename=1&lt;/pre&gt;&lt;pre&gt;                        else&lt;/pre&gt;&lt;pre&gt;                                count=$((count+1))&lt;/pre&gt;&lt;pre&gt;                        fi&lt;/pre&gt;&lt;pre&gt;                done&lt;/pre&gt;&lt;pre&gt;        fi&lt;/pre&gt;&lt;pre&gt;done&lt;/pre&gt;Tal y como está no creo que funcione en todas las ocasiones, es parte de un script que he hecho para renombrar ficheros, de tal forma que pasen de &lt;i&gt;nombrefichero&lt;/i&gt; a &lt;i&gt;añodiajuliano-nombrefichero&lt;/i&gt; y me costó lo suyo sacar la parte que verifica si hay un fichero con el mismo nombre y si lo hay, añadirle un contador&lt;br /&gt;&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Tue, 02 Dec 2008 23:13:00 +0100</pubDate>
    <guid isPermaLink="false">http://lendulado.net/archives/314-guid.html</guid>
    
</item>
<item>
    <title>Fondos de pantalla de Firefox</title>
    <link>http://lendulado.net/archives/313-Fondos-de-pantalla-de-Firefox.html</link>
            <category>Geekerías</category>
    
    <comments>http://lendulado.net/archives/313-Fondos-de-pantalla-de-Firefox.html#comments</comments>
    <wfw:comment>http://lendulado.net/wfwcomment.php?cid=313</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://lendulado.net/rss.php?version=2.0&amp;type=comments&amp;cid=313</wfw:commentRss>
    

    <author>nospam@example.com (Lendulado)</author>
    <content:encoded>
    &lt;div class=&quot;serendipity_imageComment_center&quot; style=&quot;width: 448px&quot;&gt;&lt;div class=&quot;serendipity_imageComment_img&quot;&gt;&lt;a class=&#039;serendipity_image_link&#039; href=&#039;http://animepodcast.org/d/firefoxwalls/&#039;&gt;&lt;!-- s9ymdb:101 --&gt;&lt;img width=&quot;448&quot; height=&quot;792&quot; src=&quot;http://lendulado.net/uploads/multiwall.jpg&quot; alt=&quot;&quot;  /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;serendipity_imageComment_txt&quot;&gt;De los Fayerfox de toda la vida. Todos están en &lt;a href=&quot;http://animepodcast.org/d/firefoxwalls/&quot;&gt;Anime+Podcast&lt;/a&gt;&lt;/div&gt;&lt;/div&gt; 
    </content:encoded>

    <pubDate>Sat, 15 Nov 2008 18:29:00 +0100</pubDate>
    <guid isPermaLink="false">http://lendulado.net/archives/313-guid.html</guid>
    
</item>
<item>
    <title>Juegos para el cerebro</title>
    <link>http://lendulado.net/archives/312-Juegos-para-el-cerebro.html</link>
            <category>Geekerías</category>
    
    <comments>http://lendulado.net/archives/312-Juegos-para-el-cerebro.html#comments</comments>
    <wfw:comment>http://lendulado.net/wfwcomment.php?cid=312</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://lendulado.net/rss.php?version=2.0&amp;type=comments&amp;cid=312</wfw:commentRss>
    

    <author>nospam@example.com (Lendulado)</author>
    <content:encoded>
    &lt;iframe src=&quot;http://www.gamesforthebrain.com/gadgetized/spanish/numberhunt/&quot; style=&quot;width: 650px; height: 450px; border: 0&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;br /&gt;
Y están bajo una licencia &lt;a href=&quot;http://creativecommons.org/licenses/by-nc-sa/3.0/&quot; title=&quot;Atribución-NoComercial-CompartirIgual&quot;&gt;CC BY-NC-SA&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
[Vía el &lt;a href=&quot;http://creativecommons.org/weblog/entry/10682&quot;&gt;blog de Creative Commons&lt;/a&gt;] 
    </content:encoded>

    <pubDate>Sat, 15 Nov 2008 16:18:54 +0100</pubDate>
    <guid isPermaLink="false">http://lendulado.net/archives/312-guid.html</guid>
    
</item>

</channel>
</rss>