<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-3395410171912457964</atom:id><lastBuildDate>Tue, 13 Oct 2009 11:01:00 +0000</lastBuildDate><title>Entre teclas y cuerdas</title><description>Tecnología, actualidad y howto's</description><link>http://entretyc.blogspot.com/</link><managingEditor>noreply@blogger.com (B1uesm4n)</managingEditor><generator>Blogger</generator><openSearch:totalResults>12</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/EntreTeclasYCuerdas" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3395410171912457964.post-3655635200773744033</guid><pubDate>Thu, 10 Jul 2008 15:05:00 +0000</pubDate><atom:updated>2008-07-10T17:29:51.024+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Scripts</category><category domain="http://www.blogger.com/atom/ns#">Webmaster</category><category domain="http://www.blogger.com/atom/ns#">Promoción Web</category><category domain="http://www.blogger.com/atom/ns#">Bash</category><title>Script de shell generador de sitemaps para google</title><description>Hola a todos, después de tanto y tanto tiempo... Aquí dejo un script que le puede servir de ayuda a algun@. Genera el archivo sitemap.xml necesario para un buen posicionamiento en motores de búsqueda como google o yahoo.&lt;br /&gt;&lt;br /&gt;Habrá muchos más scripts mejores pululando por la red, pero ahí va mi aportación.&lt;br /&gt;El uso es simple, se coloca el script en el directorio raíz de nuestra dominio y se ejecuta poniendo como parámetros las extensiones de las páginas web que tenemos alojadas.&lt;br /&gt;&lt;br /&gt;Por ejemplo: ./dositemap html php&lt;br /&gt;&lt;br /&gt;NOTA: si tienes páginas con extensión .htm y .html NO hay que incluir ambos, sólo la de .htm, ya que si se ejecutara ./dositemap htm html habría urls repetidas.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(128, 128, 128);"&gt;#!/bin/bash&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(128, 128, 128);"&gt;####################################&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(128, 128, 128);"&gt;# Diego Navarro Mellén             #&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(128, 128, 128);"&gt;# d.navarrom@alumnos.urjc.es       #&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(128, 128, 128);"&gt;####################################&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(128, 128, 128);"&gt;## Función auxiliar para añadir la información necesaria de&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(128, 128, 128);"&gt;## cada página web&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);"&gt;function&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 255);"&gt; addinfo&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);"&gt;if&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(136, 0, 136);"&gt; [&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 128, 0);"&gt;$#&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; -ne 1&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(136, 0, 136);"&gt; ]&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;; &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);"&gt;then&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(136, 0, 136);"&gt;echo&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"ERROR: argumentos insuficientes!"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(136, 0, 136);"&gt;exit&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; 1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);"&gt;fi&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);"&gt;for&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; pagina &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);"&gt;in&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);"&gt;`&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(204, 0, 204);"&gt;find&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; -name &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"*\.&lt;/span&gt;&lt;span style="color: rgb(0, 128, 0);"&gt;$1&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);"&gt;|&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(204, 0, 204);"&gt;sed&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; -e &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'s/^.//g'&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);"&gt;`&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);"&gt;do&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;          &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(136, 0, 136);"&gt;echo&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&amp;lt;url&amp;gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(34, 51, 136);"&gt;&amp;gt;&amp;gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; sitemap.xml&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;          &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(136, 0, 136);"&gt;echo&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"&amp;lt;loc&amp;gt;&lt;/span&gt;&lt;span style="color: rgb(0, 128, 0);"&gt;$ruta$pagina&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;&amp;lt;/loc&amp;gt;"&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(34, 51, 136);"&gt;&amp;gt;&amp;gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; sitemap.xml&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;          &lt;/span&gt;&lt;span style="font-style: italic; color: rgb(128, 128, 128);"&gt;#Sacamos la fecha de última modificacion&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;          &lt;/span&gt;&lt;span style="color: rgb(0, 128, 0);"&gt;lastmod=&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);"&gt;`&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(204, 0, 204);"&gt;ls&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; -Gltc &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;/&lt;/span&gt;&lt;span style="color: rgb(0, 128, 0);"&gt;$pagina&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);"&gt;|&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(204, 0, 204);"&gt;sed&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; -e &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'s/^[^ ]* [^ ]* [^ ]* [^ ]* //g'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);"&gt;|&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(204, 0, 204);"&gt;                   sed&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; -e &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'s/[^ ]* [^ ]*$//g'&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);"&gt;`&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;          &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(136, 0, 136);"&gt;echo&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"&amp;lt;lastmod&amp;gt;&lt;/span&gt;&lt;span style="color: rgb(0, 128, 0);"&gt;$lastmod&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;&amp;lt;/lastmod&amp;gt;"&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(34, 51, 136);"&gt;&amp;gt;&amp;gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; sitemap.xml&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;          &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(136, 0, 136);"&gt;echo&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&amp;lt;/url&amp;gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(34, 51, 136);"&gt;&amp;gt;&amp;gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; sitemap.xml&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);"&gt;done&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(128, 128, 128);"&gt;#### Script Principal #####&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(128, 128, 128);"&gt;# En los argumentos se recibira el tipo de extension que pueden tener las páginas&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);"&gt;if&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(136, 0, 136);"&gt; [&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 128, 0);"&gt;$#&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; -lt 1&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(136, 0, 136);"&gt; ]&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;; &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);"&gt;then&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(136, 0, 136);"&gt;echo&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"Faltan argumentos!"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(136, 0, 136);"&gt;echo&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"Ejemplo de uso:"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(136, 0, 136);"&gt;echo&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"USO: &lt;/span&gt;&lt;span style="color: rgb(0, 128, 0);"&gt;$0&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt; html php asp"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(136, 0, 136);"&gt;echo&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"------------------------&amp;gt;"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(136, 0, 136);"&gt;echo&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"El comando anterior generaría un sitemap de todo el sitio conteniendo&lt;br /&gt;             todas las páginas con extensión .html, .php y .asp que se encuentren"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(136, 0, 136);"&gt;exit&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);"&gt;fi&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(128, 128, 128);"&gt;## Suponemos que estamos en el directorio raíz del dominio&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(128, 128, 128);"&gt;#&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(136, 0, 136);"&gt;echo&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"Introducir raíz del dominio:"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(136, 0, 136);"&gt;echo&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"ej: http://www.google.es"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(136, 0, 136);"&gt;echo&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; -n &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"&amp;gt; "&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(136, 0, 136);"&gt;read&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 128, 0);"&gt;ruta&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(136, 0, 136);"&gt;echo&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"El archivo sitemap.xml se generará en el directorio:"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(136, 0, 136);"&gt;echo&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"&lt;/span&gt;&lt;span style="color: rgb(0, 128, 0);"&gt;$(&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(136, 0, 136);"&gt;pwd&lt;/span&gt;&lt;span style="color: rgb(0, 128, 0);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(136, 0, 136);"&gt;echo&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"¿Seguir con el proceso? [S/N]"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(136, 0, 136);"&gt;echo&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; -n &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"&amp;gt; "&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(136, 0, 136);"&gt;read&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 128, 0);"&gt;resp&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);"&gt;if&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(136, 0, 136);"&gt; [&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 128, 0);"&gt;$resp&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; = &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"N"&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; -o &lt;/span&gt;&lt;span style="color: rgb(0, 128, 0);"&gt;$resp&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; = &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"n"&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(136, 0, 136);"&gt; ]&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;; &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);"&gt;then&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(136, 0, 136);"&gt;echo&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"Proceso abortado"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(136, 0, 136);"&gt;exit&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);"&gt;fi&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(136, 0, 136);"&gt;echo&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; -n &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"Generando sitemap.xml ... "&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(128, 128, 128);"&gt;## Creamos el archivo sitemap.xml&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(136, 0, 136);"&gt;echo&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(34, 51, 136);"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; sitemap.xml&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(136, 0, 136);"&gt;echo&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&amp;lt;urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"&amp;gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(34, 51, 136);"&gt;&amp;gt;&amp;gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; sitemap.xml&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(128, 128, 128);"&gt;## Para cada url en el sitio&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);"&gt;for&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; extension &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);"&gt;in&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 128, 0);"&gt;$@&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);"&gt;do&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; addinfo &lt;/span&gt;&lt;span style="color: rgb(0, 128, 0);"&gt;$extension&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);"&gt;done&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(128, 128, 128);"&gt;## Cerramos urlset&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(136, 0, 136);"&gt;echo&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&amp;lt;/urlset&amp;gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(34, 51, 136);"&gt;&amp;gt;&amp;gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; sitemap.xml&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(136, 0, 136);"&gt;echo&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"OK!"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(136, 0, 136);"&gt;exit&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; 0&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3395410171912457964-3655635200773744033?l=entretyc.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://entretyc.blogspot.com/2008/07/script-de-shell-generador-de-sitemaps.html</link><author>noreply@blogger.com (B1uesm4n)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3395410171912457964.post-3649711374099512615</guid><pubDate>Sat, 13 Oct 2007 16:24:00 +0000</pubDate><atom:updated>2007-10-20T00:11:25.029+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Wifi</category><category domain="http://www.blogger.com/atom/ns#">Linux</category><category domain="http://www.blogger.com/atom/ns#">Sistemas Operativos</category><category domain="http://www.blogger.com/atom/ns#">OpenSUSE</category><title>Cómo hacer funcionar el wifi bcm43xx en OpenSUSE 10.3</title><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://opensuse.us/opensuse.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 200px;" src="http://opensuse.us/opensuse.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;He tenido que googlear mucho hasta encontrar la respuesta pero aquí está. &lt;a href="http://en.opensuse.org/SDB:Broadcom_%28BCM4306%29_WLAN_Installation_under_SUSE"&gt;Este es un tutorial excelente&lt;/a&gt; de cómo solucionar ese pequeño problema que se nos presenta con la tarjeta inalámbrica integrada que trae el &lt;span style="font-weight: bold;"&gt;Inspiron 1501&lt;/span&gt;. Me he basado en él para resumiros lo que hice, ya que el tutorial es muy completo y en realidad a mí sólo me bastó con realizar una parte de todo el ladrillazo que viene ahí (además en inglés, jaja).&lt;br /&gt;&lt;br /&gt;¿Qué necesitamos?&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://es.wikipedia.org/wiki/NdisWrapper"&gt;Ndiswrapper&lt;/a&gt;: un emulador de drivers de windows para linux, es decir, con este programa podemos usar algunos drivers de windows en nuestra distribución favorita de linux. Necesitaremos instalarlo si no lo tenemos ya. La instalación es muy sencilla usando Yast, así que no lo trataré aquí.&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Conexión a internet&lt;/span&gt;: sí, vale, ya sé que eso es precísamente lo que queremos conseguir, pero la manera más rápida de arreglar todo esto es teniendo conexión a internet en el portátil usando la red cableada (ésa sí funciona). Supongo que tendréis otro equipo conectado a internet en casa con cable ethernet. Pues bien, simplemente con conectar el cable de red ethernet a nuestro portátil, openSUSE se encargará de proporcionarnos la conexión a internet sin tener que tocar nada más (es la mágia del &lt;a href="http://es.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol"&gt;DHCP&lt;/a&gt;).&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;bcm43xx-fwcutter&lt;/span&gt;: es un paquete que debemos tener instalado para seguir este tutorial. Creo que normalmente viene instalado pero podemos comprobarlo e instalarlo si hace falta como siempre con Yast.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span class="fullpost"&gt;&lt;span style="font-weight: bold;"&gt;Ahora que tenemos estas dos cosas seguiremos estos pasos desde la consola:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Nos pondremos como root:&lt;br /&gt;&lt;p class="source-code"&gt;su&lt;/p&gt;&lt;br /&gt;(introduciendo seguidamente la contraseña de root y pulsando INTRO)&lt;br /&gt;&lt;br /&gt;Ahora instalamos el firmware "bueno" que nos permitirá que nuestra tarjeta integrada pueda buscar redes wifi y conectarse a ellas:&lt;br /&gt;&lt;p class="source-code"&gt;install_bcm43xx_firmware&lt;/p&gt;&lt;br /&gt;Ahora tenemos que recargar el módulo de la tarjeta wifi (bcm43xx) para que comience a usar el nuevo firmware:&lt;br /&gt;&lt;p class="source-code"&gt;modprobe bcm43xx&lt;/p&gt;&lt;br /&gt;Y aunque parezca mentira cuando reinicies el equipo y arranques de nuevo openSUSE 10.3 deberías ver como se enciende el LED del wifi en tu portátil y cómo en cuestión de pocos segundos estarás conectado a alguna red cercana... A mí me funcionó ;-)&lt;br /&gt;&lt;br /&gt;Suerte!&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3395410171912457964-3649711374099512615?l=entretyc.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://entretyc.blogspot.com/2007/10/cmo-hacer-funcionar-el-wifi-bcm43xx-en.html</link><author>noreply@blogger.com (B1uesm4n)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3395410171912457964.post-8880525834156025745</guid><pubDate>Sat, 13 Oct 2007 09:58:00 +0000</pubDate><atom:updated>2007-10-13T13:43:03.499+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Linux</category><category domain="http://www.blogger.com/atom/ns#">Sistemas Operativos</category><category domain="http://www.blogger.com/atom/ns#">OpenSUSE</category><title>Instalación de OpenSUSE 10.3 en un Dell Inspiron 1501</title><description>Pues aquí vamos, que mal funciona el jodido Windows Vista, a veces ni arranca. Así que ya me lo voy a quitar de encima de una vez.&lt;br /&gt;&lt;br /&gt;Una cosa importante antes de instalar linux: mucha gente suele dejar el ordenador modo hibernación o en modo suspender. Cuando instalemos linux deberemos apagar completamente el equipo desde Windows Vista para que luego podamos redimensionar correctamente su partición.&lt;br /&gt;&lt;br /&gt;Cuando arranquemos el portátil con el DVD de instalación de OpenSUSE nos saldrá la típica pantalla que nos permite instalar o recuperar el sistema. Configuraremos el idioma y una cosa importante, en las opciones de arranque escribiremos &lt;span style="font-weight: bold;"&gt;pci=nomsi&lt;/span&gt;. Después podemos pulsar intro y seguir con la instalación.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_ubpRO8GDBcE/RxCfvaGisiI/AAAAAAAAAB0/7echiJTTLnU/s1600-h/insta1.gif"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp1.blogger.com/_ubpRO8GDBcE/RxCfvaGisiI/AAAAAAAAAB0/7echiJTTLnU/s320/insta1.gif" alt="Selección idioma linux" id="BLOGGER_PHOTO_ID_5120768413129683490" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_ubpRO8GDBcE/RxCgQqGisjI/AAAAAAAAAB8/b8DCQRRr-kE/s1600-h/insta2.gif"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp2.blogger.com/_ubpRO8GDBcE/RxCgQqGisjI/AAAAAAAAAB8/b8DCQRRr-kE/s320/insta2.gif" alt="instalación linux suse" id="BLOGGER_PHOTO_ID_5120768984360333874" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;En la siguiente pantalla de la instalación se nos invita a comprobar la integridad de los datos del DVD de instalación, este paso es opcional. Seguidamente tenemos que aceptar el EULA de SUSE.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_ubpRO8GDBcE/RxCgeqGiskI/AAAAAAAAACE/zF9YNc0uNzE/s1600-h/insta3.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp2.blogger.com/_ubpRO8GDBcE/RxCgeqGiskI/AAAAAAAAACE/zF9YNc0uNzE/s320/insta3.jpg" alt="EULA" id="BLOGGER_PHOTO_ID_5120769224878502466" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Ahora seleccionamos "nueva instalación".&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Configuramos la zona horaria&lt;/li&gt;&lt;li&gt;Seleccionamos el entorno gráfico (A mí me gusta más KDE)&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_ubpRO8GDBcE/RxCg7qGislI/AAAAAAAAACM/2zcj5jHoj20/s1600-h/insta4.gif"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp2.blogger.com/_ubpRO8GDBcE/RxCg7qGislI/AAAAAAAAACM/2zcj5jHoj20/s320/insta4.gif" alt="entornos gráficos linux" id="BLOGGER_PHOTO_ID_5120769723094708818" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Después nos aparece el resumen de la instalación. Aquí podemos cambiar algunas cosas si somos un poco curiosos, pero por defecto suelen venir las cosas bastante bien y si no tenemos mucha experiencia es mejor que lo dejemos como está. El instalador se ocupa automáticamente de cambiar los tamañaos de las particiones de Windows para hacer sitio a Linux sin que pierdas tus antiguos datos.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_ubpRO8GDBcE/RxChPKGismI/AAAAAAAAACU/xFdjxSXC8Rc/s1600-h/insta5.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp0.blogger.com/_ubpRO8GDBcE/RxChPKGismI/AAAAAAAAACU/xFdjxSXC8Rc/s320/insta5.jpg" alt="resumen instalación" id="BLOGGER_PHOTO_ID_5120770058102157922" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;De manera que continuamos la instalación y ahora tenemos que aceptar otras cuantas EULA's...&lt;br /&gt;Y por fin llega el punto de no retorno de la instalación, si pulsamos en Instalar en esta pantalla se efectuarán los cambios en las particiones.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_ubpRO8GDBcE/RxChfKGisnI/AAAAAAAAACc/i3xzAcWmASc/s1600-h/insta6.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp0.blogger.com/_ubpRO8GDBcE/RxChfKGisnI/AAAAAAAAACc/i3xzAcWmASc/s320/insta6.jpg" alt="particionado linux" id="BLOGGER_PHOTO_ID_5120770332980064882" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_ubpRO8GDBcE/RxChtqGisoI/AAAAAAAAACk/AEvO9sXVXbk/s1600-h/insta7.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp2.blogger.com/_ubpRO8GDBcE/RxChtqGisoI/AAAAAAAAACk/AEvO9sXVXbk/s320/insta7.jpg" alt="instalación suse linux" id="BLOGGER_PHOTO_ID_5120770582088168066" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Ahora el instalador se pondrá a preparar las particiones. Normalmente sale bien.. jaja. Yo de todas formas estoy cruzando los dedos porque estoy escribiendo esto a la vez que realizo la instalación. No os asustéis, que tarda un buen rato y además mosquea porque no tienes por qué ver cómo esta el proceso, en la pantalla te dice &lt;span style="font-style: italic;"&gt;progress bar might not move&lt;/span&gt;, y vaya que no se mueve...&lt;br /&gt;&lt;br /&gt;Después de una larga espera para hacer el particionado se comienzan a instalar todos paquetes necesarios desde el DVD.  En todos estos tiempos muertos no os quedéis mirando a la pantalla porque os puede dar algo... haced un poco de ejercicio, comed algo o yo que sé, si tenéis más ordenadores podéis mirar algo en internet. Normalmente las instalaciones no son tan largas, lo que lleva más tiempo es el redimensionado de una partición.&lt;br /&gt;&lt;br /&gt;Ya se han terminado de instalar todos los paquetes y ahora se instalará el gestor de arranque. Se reinicia ahora el equipo y seguimos configurando.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Introducimos la contraseña de root&lt;/li&gt;&lt;li&gt;Introducimos el nombre del equipo&lt;/li&gt;&lt;li&gt;Configuración de la red (aquí podemos configurar nuestra red wifi)&lt;/li&gt;&lt;li&gt;Método de autenticacion (lo más común es elegir Local /etc/passwd)&lt;/li&gt;&lt;li&gt;Creación de un usuario&lt;/li&gt;&lt;li&gt;Configuración de otro hardware&lt;/li&gt;&lt;/ul&gt;Y después de todos estos pasos se finaliza la instalación. No me he metido muy de lleno en estos últimos pasos porque me parecen bastante intuitivos.&lt;br /&gt;&lt;br /&gt;Finalmente nos aparece la pantalla de login de openSUSE. Introducimos nuestros datos y se nos pone a la vista nuestro sistema de escritorio, en mi caso KDE.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Conclusiones:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;La instalación ha sido muy larga&lt;/li&gt;&lt;li&gt;La wifi del inspiron 1501 no funciona a la primera, eso para otro capítulo&lt;/li&gt;&lt;li&gt;Después de la instalación &lt;a href="http://es.wikipedia.org/wiki/Grub"&gt;GRUB&lt;/a&gt; es capaz de arrancar Windows Vista otra vez.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3395410171912457964-8880525834156025745?l=entretyc.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://entretyc.blogspot.com/2007/10/instalacin-de-opensuse-103-en-un-dell.html</link><author>noreply@blogger.com (B1uesm4n)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://bp1.blogger.com/_ubpRO8GDBcE/RxCfvaGisiI/AAAAAAAAAB0/7echiJTTLnU/s72-c/insta1.gif" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3395410171912457964.post-8598161069167402841</guid><pubDate>Fri, 05 Oct 2007 13:34:00 +0000</pubDate><atom:updated>2007-10-09T00:42:08.263+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Pascal</category><category domain="http://www.blogger.com/atom/ns#">Programación</category><title>Calcular producto escalar y ángulo que forman dos vectores en Pascal</title><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.jodler.ch/bstocker/wp-content/uploads/2006/08/turbopascal.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 200px;" src="http://www.jodler.ch/bstocker/wp-content/uploads/2006/08/turbopascal.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Hoy me he currado un ejercicio de EDI (Estructura de datos y de la Información). Se trata de un recordatorio de Pascal. Tenemos que hacer un programa que calcule el producto escalar y el ángulo que forman dos vectores de dimensión N.&lt;br /&gt;&lt;br /&gt;Así parece sencillo, y en realidad no es muy complicado, pero creía que iba a ser un programa bastante cortito y no ha sido tan corto. Al final he tenido que hacer unos cuantos subprogramas: pasar de radianes a grados, producto escalar, módulo, arcCos, y subprogramas para introducir los vectores y mostrarlos por pantalla.&lt;br /&gt;&lt;br /&gt;Pulsa en leer más para ver el código completo.&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;Aquí tenéis el código completo del programa:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;textarea name="code" class="pascal"&gt;&lt;br /&gt;PROGRAM Ejercicio1TP;&lt;br /&gt;&lt;br /&gt;{Autor: Diego Navarro Mellén}&lt;br /&gt;{2º I.T.I. Sistemas}&lt;br /&gt;{Objetivo: Dados dos vectores de igual dimensión, calcula el&lt;br /&gt;producto escalar de ambos y el ángulo que forman}&lt;br /&gt;&lt;br /&gt;CONST&lt;br /&gt;DIMENSION=2; {dimensión del vector}&lt;br /&gt;TYPE&lt;br /&gt;{declaramos el tipo vector}&lt;br /&gt;tVector=array [1..DIMENSION] of integer;&lt;br /&gt;&lt;br /&gt;VAR {Variables del Programa Principal}&lt;br /&gt;vector1,vector2: tVector;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;FUNCTION RadToDeg(angulo:real):real;&lt;br /&gt;{Convierte radianes en grados}&lt;br /&gt;BEGIN&lt;br /&gt;RadToDeg:=(angulo*180)/PI;&lt;br /&gt;END; {RadToDeg}&lt;br /&gt;&lt;br /&gt;PROCEDURE RellenaVector(VAR v:tVector);&lt;br /&gt;VAR&lt;br /&gt;aux,i:integer;&lt;br /&gt;BEGIN&lt;br /&gt;FOR i:=1 TO DIMENSION DO BEGIN&lt;br /&gt;write('Introduce la cordenada ',i,' del vector: ');&lt;br /&gt;readln(v[i]);&lt;br /&gt;END;&lt;br /&gt;writeln('El vector ha sido leído correctamente');&lt;br /&gt;writeln;&lt;br /&gt;END; {RellenaVector}&lt;br /&gt;&lt;br /&gt;PROCEDURE EscribeVector(v:tVector);&lt;br /&gt;VAR&lt;br /&gt;i:integer;&lt;br /&gt;BEGIN&lt;br /&gt;write('[');&lt;br /&gt;FOR i:=1 TO (DIMENSION-1) DO BEGIN&lt;br /&gt;write(v[i],',');&lt;br /&gt;END;&lt;br /&gt;write(v[DIMENSION],']');&lt;br /&gt;END; {EscribeVector}&lt;br /&gt;&lt;br /&gt;FUNCTION Potencia(n:real;exp:integer):real;&lt;br /&gt;VAR&lt;br /&gt;i:integer;&lt;br /&gt;aux:real;&lt;br /&gt;BEGIN&lt;br /&gt;aux:=1;&lt;br /&gt;FOR i:=1 TO exp DO BEGIN&lt;br /&gt;aux:=aux*n;&lt;br /&gt;END;&lt;br /&gt;Potencia:=aux;&lt;br /&gt;END; {Potencia}&lt;br /&gt;&lt;br /&gt;FUNCTION ProductEscalar(u,v:tVector):integer;&lt;br /&gt;VAR&lt;br /&gt;i:integer;&lt;br /&gt;aux: integer;&lt;br /&gt;BEGIN&lt;br /&gt;aux:=0;&lt;br /&gt;FOR i:=1 TO DIMENSION DO BEGIN&lt;br /&gt;aux:=aux+u[i]*v[i];&lt;br /&gt;END; {FOR}&lt;br /&gt;ProductEscalar:=aux;&lt;br /&gt;END; {ProductEscalar}&lt;br /&gt;&lt;br /&gt;FUNCTION Modulo(u:tVector):real;&lt;br /&gt;VAR&lt;br /&gt;i:integer;&lt;br /&gt;aux:real;&lt;br /&gt;BEGIN&lt;br /&gt;aux:=0;&lt;br /&gt;FOR i:=1 TO DIMENSION DO BEGIN&lt;br /&gt;aux:=aux+(Potencia(u[i],2));&lt;br /&gt;END;&lt;br /&gt;Modulo:=sqrt(aux);&lt;br /&gt;&lt;br /&gt;END; {Modulo}&lt;br /&gt;&lt;br /&gt;FUNCTION ArcCos(coseno:real):real;&lt;br /&gt;VAR&lt;br /&gt;seno,tangente:real;&lt;br /&gt;BEGIN&lt;br /&gt;{De la relación sen^2(x)+cos^2(x)=1}&lt;br /&gt;seno:=sqrt(1-Potencia(coseno,2));&lt;br /&gt;{Calculamos la artan(x) a partir de la tan(x);&lt;br /&gt;Al final obtendremos el valor del ángulo}&lt;br /&gt;IF (coseno=0) THEN BEGIN&lt;br /&gt;writeln('Error: División por 0')&lt;br /&gt;END&lt;br /&gt;ELSE BEGIN&lt;br /&gt;tangente:=seno/coseno;&lt;br /&gt;ArcCos:=Arctan(tangente);&lt;br /&gt;END;&lt;br /&gt;&lt;br /&gt;END; {ArcCos}&lt;br /&gt;&lt;br /&gt;FUNCTION SacaAngulo(u,v:tVector):real;&lt;br /&gt;VAR&lt;br /&gt;coseno:real;&lt;br /&gt;pEscalar:integer;&lt;br /&gt;BEGIN&lt;br /&gt;pEscalar:=ProductEscalar(u,v);&lt;br /&gt;IF (pEscalar&lt;&gt;0) THEN BEGIN&lt;br /&gt;coseno:=pEscalar/(Modulo(u)*Modulo(v));&lt;br /&gt;SacaAngulo:=RadToDeg(ArcCos(coseno))&lt;br /&gt;END&lt;br /&gt;ELSE {Si u*v=0}&lt;br /&gt;SacaAngulo:=90; {Forman 90º}&lt;br /&gt;END; {SacaAngulo}&lt;br /&gt;&lt;br /&gt;BEGIN {Programa Principal}&lt;br /&gt;&lt;br /&gt;{Recogemos los datos de los vectores}&lt;br /&gt;RellenaVector(vector1);&lt;br /&gt;RellenaVector(vector2);&lt;br /&gt;&lt;br /&gt;{Mostramos los resultados por pantalla}&lt;br /&gt;write('El producto escalar de ');&lt;br /&gt;EscribeVector(vector1);&lt;br /&gt;write(' y ');&lt;br /&gt;EscribeVector(vector2);&lt;br /&gt;writeln(' es ',ProductEscalar(vector1,vector2));&lt;br /&gt;write('Forman un ángulo de ',SacaAngulo(vector1,vector2):0:2);&lt;br /&gt;writeln('º');&lt;br /&gt;&lt;br /&gt;readln;&lt;br /&gt;END. {Programa Principal}&lt;br /&gt;&lt;/textarea&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 153, 153);"&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Que pena que no me ha respetado la identación del código, espero poder arreglarlo. Si encontráis algún bug o te ha parecido interesante, escríbeme un comentario.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3395410171912457964-8598161069167402841?l=entretyc.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://entretyc.blogspot.com/2007/10/calcular-producto-escalar-y-ngulo-que.html</link><author>noreply@blogger.com (B1uesm4n)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3395410171912457964.post-5303991325587096248</guid><pubDate>Sun, 30 Sep 2007 11:04:00 +0000</pubDate><atom:updated>2007-10-05T15:34:23.558+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Hacks</category><category domain="http://www.blogger.com/atom/ns#">Joomla</category><title>Recuperar la contraseña de administrador de Joomla</title><description>Hace unas semanas instalé &lt;a href="http://www.joomla.org/"&gt;Joomla&lt;/a&gt; en mi Ubuntu para probarlo. Como soy muy descuidado me olvidé cambiar la contraseña que te pone por defecto joomla como administrador, que es muy difícil de recordar y al final no tengo ni idea de cual puede ser. Así que voy a explicar una manera que tenemos de cambiar la contraseña a lo bruto.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Pero antes de nada os digo que esto no sirve para crackear nada, tenéis que tener acceso total al servidor para hacer esto, es decir, ser los dueños del mismo. Este texto es puramente didáctico y no me responsabilizo del uso del mismo si se usa para otros fines.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;El plan es el siguiente:&lt;/span&gt; sustituir el password del administrador directamente en la base de datos (tabla &lt;span style="font-style: italic; font-weight: bold;"&gt;jos_users&lt;/span&gt;). Las contraseñas se guardan encriptadas en la base de datos, encriptación &lt;a href="http://es.wikipedia.org/wiki/MD5"&gt;MD5&lt;/a&gt;, por tanto nos sería muy lento adivinar la contraseña. Hasta aquí ningún problema, generaríamos nuestra contraseña codificada en md5 y la sustituiríamos en el campo password de la tabla &lt;span style="font-weight: bold; font-style: italic;"&gt;jos_users&lt;/span&gt;, pero hay un problema, Joomla guarda los passwords de una manera un poco especial, les añade un "grano de sal" y finalmente las inserta con un formato del tipo "&lt;span style="font-weight: bold; font-style: italic;"&gt;pass+sal encriptado en md5 ':' sal&lt;/span&gt;". Pero no preocuparse, indagando en el fichero &lt;span style="font-style: italic;"&gt;administrator/index.php&lt;/span&gt; encontré un fragmento de código que prepara la contraseña para introducirla en la base de datos.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;/joomla/administrator/index.php línea 88&lt;/span&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;span style="color:red;"&gt;&lt;code&gt;&lt;br /&gt;// Old password hash storage but authentic ... lets convert it&lt;br /&gt;  $salt = mosMakePassword(16);&lt;br /&gt;  $crypt = md5($pass.$salt);&lt;br /&gt;  $my-&gt;password = $crypt.':'.$salt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;No es muy difícil hacer un pequeño script que te prepare tu propia contraseña. Esto es lo que he hecho yo. &lt;a href="http://www.soscomputer.es/diego/recuperapass.zip"&gt;Aquí os dejo el fichero&lt;/a&gt;, sólo tenéis que cambiar el valor de &lt;span style="color: rgb(0, 153, 0);"&gt;$passmio&lt;/span&gt; en la &lt;span style="color: rgb(255, 0, 0);"&gt;línea 53&lt;/span&gt; por la contraseña que queráis. Después guardáis ese fichero en /joomla/administrator/ y lo visitáis. Veréis arriba del todo la contraseña ya preparada.&lt;br /&gt;&lt;br /&gt;Bien, ya tenemos la parte sucia del trabajo. Ahora sólo queda modificar el dato en la base de datos. Para esto tenéis varias opciones, ya que normalmente los que tengáis la web alojada en un servidor virtual podréis tener phpMyAdmin. Yo he modificado mi BD con MySQL Administrator y MySQL Query Browser, dos utilidades que tengo en Ubuntu.&lt;br /&gt;&lt;br /&gt;Conectamos con la BD: Ejecutamos MySQL Administrator&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_ubpRO8GDBcE/Rv-K6KGisbI/AAAAAAAAABA/Lg5UQT7l4fA/s1600-h/recup1.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp3.blogger.com/_ubpRO8GDBcE/Rv-K6KGisbI/AAAAAAAAABA/Lg5UQT7l4fA/s400/recup1.png" alt="" id="BLOGGER_PHOTO_ID_5115960433465012658" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Ahora seleccionamos la tabla &lt;span style="font-weight: bold; font-style: italic;"&gt;jos_users&lt;/span&gt; como se ve en la captura y hacemos clic con el botón derecho del ratón sobre ella, nos saldrá el siguiente menú en el que haremos clic en '&lt;span style="font-weight: bold;"&gt;Edit Table Data&lt;/span&gt;'.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_ubpRO8GDBcE/Rv-LdKGiscI/AAAAAAAAABI/9Pq9Sq2upRo/s1600-h/recup2.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp3.blogger.com/_ubpRO8GDBcE/Rv-LdKGiscI/AAAAAAAAABI/9Pq9Sq2upRo/s320/recup2.png" alt="" id="BLOGGER_PHOTO_ID_5115961034760434114" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Seguidamente se nos abrirá la ventana de MySQL Query Browser donde tendremos que hacer login otra vez para conectarnos a la BD.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_ubpRO8GDBcE/Rv-L96GisdI/AAAAAAAAABQ/v8-VIpm9A7A/s1600-h/recup3.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp2.blogger.com/_ubpRO8GDBcE/Rv-L96GisdI/AAAAAAAAABQ/v8-VIpm9A7A/s320/recup3.png" alt="" id="BLOGGER_PHOTO_ID_5115961597401149906" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Vemos ahora el contenido de la tabla jos_users, con sus contraseñas debidamente encriptadas.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_ubpRO8GDBcE/Rv-Mv6GisfI/AAAAAAAAABg/1SDlm6WsH2Y/s1600-h/recup4.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp2.blogger.com/_ubpRO8GDBcE/Rv-Mv6GisfI/AAAAAAAAABg/1SDlm6WsH2Y/s320/recup4.png" alt="" id="BLOGGER_PHOTO_ID_5115962456394609138" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Finalmente deberemos ejecutar una consulta SQL que cambie el contenido del campo password del usuario admin. Para ello construimos una consulta de este tipo:&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="color: rgb(204, 0, 0); font-weight: bold;"&gt;UPDATE `joomlaDB.`jos_users` SET `password`='elpasswordgenerado' WHERE `username`='admin'&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Vista de la consulta:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_ubpRO8GDBcE/Rv-NyqGishI/AAAAAAAAABs/eHWrlXOD84g/s1600-h/recup5.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp1.blogger.com/_ubpRO8GDBcE/Rv-NyqGishI/AAAAAAAAABs/eHWrlXOD84g/s320/recup5.png" alt="" id="BLOGGER_PHOTO_ID_5115963603150877202" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Por último pulsamos en el botón de &lt;span style="font-weight: bold;"&gt;Execute&lt;/span&gt; y ya podremos entrar a nuestro Joomla con la contraseña que hemos puesto!&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3395410171912457964-5303991325587096248?l=entretyc.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://entretyc.blogspot.com/2007/09/recuperar-la-contrasea-de-administrador.html</link><author>noreply@blogger.com (B1uesm4n)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://bp3.blogger.com/_ubpRO8GDBcE/Rv-K6KGisbI/AAAAAAAAABA/Lg5UQT7l4fA/s72-c/recup1.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">21</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3395410171912457964.post-386332162116385330</guid><pubDate>Tue, 25 Sep 2007 14:24:00 +0000</pubDate><atom:updated>2007-09-25T16:45:17.426+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Promoción Web</category><title>¿Cómo dirigir visitas a tu web o blog?</title><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.destinationfashion.mlccentre.com.au/images/pasta-pantry.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 200px;" src="http://www.destinationfashion.mlccentre.com.au/images/pasta-pantry.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Uno de los temas más buscados en internet (a parte de lo que ya sabemos...). Y es que hay que entender la postura de los webmasters, bueno, eso antes cuando la gente se hacía sus cutre-webs, porque ahora te lo dan todo hecho los &lt;a href="http://es.wikipedia.org/wiki/CMS"&gt;CMS&lt;/a&gt; como &lt;a href="http://www.blogger.com/"&gt;blogger&lt;/a&gt;, &lt;a href="http://es.wordpress.com/"&gt;wordpress&lt;/a&gt;, &lt;a href="http://www.joomla.org/"&gt;joomla&lt;/a&gt;... Todos queremos que nos lean, que nos hagan caso, si es que vaya ego, es lo que tiene este mundo. Te pones un blog y así tienes tus 5 minutos (clicks o lo que quieras) de gloria.&lt;br /&gt;Aunque no sólo de blogs vive el hombre, también puedes estar harto de tu jefe/a y querer montar tu propia empresa o directamente te hiciste freelance. Pues para que tu negocio o tu ego se mantengan necesitas que la gente visite tu web. ¿Que cómo hacemos esto? Pues allá vamos:&lt;br /&gt;&lt;br /&gt;Una de las cosas imprescindibles que tienes que hacer es dar de alta tu web en buscadores, desde el omnipresente &lt;a href="http://www.google.com/"&gt;Google&lt;/a&gt; (&lt;a href="http://www.google.es/addurl/?continue=/addurl"&gt;pincha aquí para darte de alta&lt;/a&gt;) hasta... miles de buscadores que hay por ahí. Si piensas hacerlo a mano tendrás que tener mucha paciencia, en eso se basan mogollón de servicios de pago para incluir webs en buscadores. También existe &lt;a href="http://www.softonic.com/s/alta-buscadores"&gt;software específico para realizar esta tediosa tarea&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Otra de las cosas fundamentales es, si tienes un blog, hacer comentarios en otros blogs. De esta manera te das a conocer a los demás blogueros y a través de tus comentarios puede que visiten tu blog. Pero claro, no se puede hacer esto a lo burro, porque lo único que conseguirías es quedar como un spammer. Los comentarios hay que hacerlos con cabeza, si no tienes nada que decir, es mejor que no lo digas.&lt;br /&gt;&lt;br /&gt;Intercambios de enlaces: Son bastante efectivos y útiles si se hacen entre webs de temática similar y con un buen &lt;a href="http://es.wikipedia.org/wiki/Page_rank"&gt;page rank&lt;/a&gt;. Fíjate en el post que &lt;a href="http://entretyc.blogspot.com/2007/09/intercambio-de-enlaces.html"&gt;puse antes&lt;/a&gt;, si quieres intercambiar enlaces, ya sabes...&lt;br /&gt;&lt;br /&gt;Y por último también puedes escribir una entrada en tu blog sobre &lt;span style="font-weight: bold;"&gt;¿Cómo dirigir visitas a tu web o blog?&lt;/span&gt; (Sí, parece una tontería pero si has entrado buscando esto ha sido efectivo, ¿no?)&lt;br /&gt;&lt;br /&gt;PD: Por supuesto todas estos métodos funcionan mucho mejor si tu web tiene un contenido que interese a la gente. Procura escribir sobre algo que quieran los demás, presta algún servicio (tutoriales, enlaces...) y a ganar visitas!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3395410171912457964-386332162116385330?l=entretyc.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://entretyc.blogspot.com/2007/09/cmo-dirigir-visitas-tu-web-o-blog.html</link><author>noreply@blogger.com (B1uesm4n)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3395410171912457964.post-3896700628170381845</guid><pubDate>Mon, 24 Sep 2007 22:57:00 +0000</pubDate><atom:updated>2007-09-25T01:02:56.173+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Promoción Web</category><title>Intercambio de enlaces</title><description>Hola, si tienes una página web o blog y quieres que tu página aparezca aquí sólo tienes que mandarme un email a b1uesm4n (at) gmail.com con los datos de tu web (url, temática...). Yo muy gustosamente te enlazaré si incluyes un enlace a &lt;a href="http://entretyc.blogspot.com"&gt;http://entretyc.blogspot.com&lt;/a&gt; (título: Entre teclas y cuerdas) en tu web.&lt;br /&gt;&lt;br /&gt;El intercambio de enlaces es una muy buena forma de promoción web y bastante efectiva, puede ser incluso más efectiva que los buscadores si el intercambio se hace entre páginas con temática similar.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3395410171912457964-3896700628170381845?l=entretyc.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://entretyc.blogspot.com/2007/09/intercambio-de-enlaces.html</link><author>noreply@blogger.com (B1uesm4n)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3395410171912457964.post-8505823466993219331</guid><pubDate>Wed, 05 Sep 2007 12:58:00 +0000</pubDate><atom:updated>2007-09-05T15:07:45.924+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Software Libre</category><title>¿Cómo colaborar en un proyecto de software libre?</title><description>Hoy me he aburrido bastante y se me acaba de ocurrir que tal vez cuando tenga un poco más de tiempo podría colaborar programando en algun proyecto de software libre. Como no se ni por donde empezar he buscado un poco en google y me he encontrado con este artículo en &lt;a href="http://bulma.net/"&gt;BULMA&lt;/a&gt;: &lt;a href="http://bulma.net/body.phtml?nIdNoticia=1785"&gt;http://bulma.net/body.phtml?nIdNoticia=1785 &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Aquí os dejo el enlace a &lt;a href="http://sourceforge.net/"&gt;SourceForge&lt;/a&gt;, en el que podéis encontrar miles de proyectos libres.&lt;br /&gt;&lt;br /&gt;En fin, no estoy muy inspirado hoy.&lt;br /&gt;&lt;a href="http://bulma.net/body.phtml?nIdNoticia=1785"&gt;&lt;span class="on down" style="display: block;" id="formatbar_CreateLink" title="Vínculo" onmouseover="ButtonHoverOn(this);" onmouseout="ButtonHoverOff(this);" onmouseup="" onmousedown="CheckFormatting(event);FormatbarButton('richeditorframe', this, 8);ButtonMouseDown(this);"&gt;&lt;/span&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3395410171912457964-8505823466993219331?l=entretyc.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://entretyc.blogspot.com/2007/09/cmo-colaborar-en-un-proyecto-de.html</link><author>noreply@blogger.com (B1uesm4n)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3395410171912457964.post-5309139199733311601</guid><pubDate>Sat, 01 Sep 2007 09:44:00 +0000</pubDate><atom:updated>2007-09-01T12:09:55.128+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Memes</category><title>Siguiendo el meme: ¿cómo eres de geek?</title><description>Pues la verdad es que no he hecho ningún &lt;a href="http://www.zapin.info/memes/"&gt;meme&lt;/a&gt; nunca. Llevo muy poco tiempo con el blog, así que allá vamos. Este meme lo encontré leyendo el &lt;a href="http://www.blogdeminah.com/2007/08/28/meme-desde-fotomurcia-%c2%bfcomo-eres-de-geek/"&gt;blog de minah&lt;/a&gt; (un blog estupendo por cierto, que facilidad para escribir, ya me gustaría a mí). &lt;a href="http://www.fotomurcia.com.es/2007/08/28/meme-%c2%bfcomo-eres-de-geek/"&gt;Enlace al meme original desde Fotomurcia&lt;/a&gt;.&lt;span style="text-decoration: underline;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;El meme consiste en enumerar los distintos gadgets y aparatos geeks que tenemos en casa.&lt;br /&gt;Podemos ver lo geeks que somos con esta escala:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Menor de 3 aparatos: Micro Geek&lt;/li&gt;&lt;li&gt; Entre 3 y 6 aparatos: Geek Potencial&lt;/li&gt;&lt;li&gt; Entre 7 y 10 aparatos: Geek Total&lt;/li&gt;&lt;li&gt; Mayor de 10 aparatos: Tecno-Geek-Friki-Adict&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;Ahí va lo mío:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Ipod Nano 8GB&lt;/span&gt; (el negro, que bonito eh?, jeje)&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;HP iPaq h1930&lt;/span&gt; (mazo de vieja, me la compré de segunda mano y no la uso, está cogiendo polvo por ahora, así que no sé si cuenta esto, jaja)&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Dell Inspiron 1501&lt;/span&gt; (portátil baratito pero eficaz, con mucha batería)&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Kodak EasyShare Z710&lt;/span&gt; (pero aún no está en mis manos, snif :( )&lt;/li&gt;&lt;/ul&gt;Y creo que no tengo nada más que sea muy geek, bueno, tengo 8 ordenadores en casa pero no se si eso...&lt;br /&gt;&lt;br /&gt;Así que soy un geek potencial (porque no tengo dinero) [..] Vale confieso, lo de los 8 ordenadores ya me hace ser un Tecno-geek-friki-adict (pero como mucho uso 3 a la vez).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3395410171912457964-5309139199733311601?l=entretyc.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://entretyc.blogspot.com/2007/09/siguiendo-el-meme-cmo-eres-de-geek.html</link><author>noreply@blogger.com (B1uesm4n)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3395410171912457964.post-1258424223001490223</guid><pubDate>Fri, 31 Aug 2007 13:24:00 +0000</pubDate><atom:updated>2007-08-31T15:41:32.248+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Cabreos</category><title>Vergonzoso servicio de UPS</title><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.waynegoodfellows.org/images/xmay05_ea05_ups_logo.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 200px;" src="http://www.waynegoodfellows.org/images/xmay05_ea05_ups_logo.jpg" alt="" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Como ya sabéis por el anterior post, compré una cámara digital por internet y en qué hora elegí el servicio de entrega express de UPS.&lt;br /&gt;&lt;br /&gt;Un servicio que además de costarme casi 15 euros me está dando muchísimos problemas.&lt;br /&gt;Lo primero es que se supone que la entrega se debe efectuar en 24-48h. La entrega estaba fijada para hoy dia 31 de Agosto de 2007. Voy hoy a mirar el seguimiento del pedido y me doy cuenta de que a las 12:06 se ha intentado entregar el pedido y no se ha podido (como si no hubiera nadie en casa), por supuesto, aquí no se ha pasado nadie. Total, llamo a UPS para ver que pasa y me dicen que van a llamar al conductor para que vuelva a realizar la entrega, que en una hora se pondría el conductor en conctacto conmigo para arreglarlo. Pasa más de una hora y nada. Vuelvo a llamar y me dicen que el conductor ya está fuera de zona y que es muy probable que ya no se pueda entregar el paquete hoy y se entregará el lunes día 3. Yo ya ahi me cago en todo el mundo la verdad, me cabrea un montón pagar por adelantado una cosa y que no llegue a tiempo. Al final la señorita que me atendió al teléfono puso una queja y me dijo que me llamarían en el transcurso del día.&lt;br /&gt;&lt;br /&gt;Así que aquí sigo. Esto me hace reflexionar sobre lo que escribía anoche. Las mensajerías son un gran obstáculo para la venta online en estos casos. Desde luego que hay otras mensajerías que no trabajan tan mal como UPS (en todas las ocasiones que he pedido algo por UPS siempre se han retrasado).&lt;br /&gt;&lt;br /&gt;Por otra parte, pobres teleoperadoras, ellas no tienen nada de culpa pero tienen que aguantar nuestros cabreos, jeje, en este caso se han portado correctamente.&lt;br /&gt;&lt;br /&gt;No lo olvidéis, huíd de UPS!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3395410171912457964-1258424223001490223?l=entretyc.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://entretyc.blogspot.com/2007/08/vergonzoso-servicio-de-ups.html</link><author>noreply@blogger.com (B1uesm4n)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3395410171912457964.post-1473248463908196240</guid><pubDate>Thu, 30 Aug 2007 22:10:00 +0000</pubDate><atom:updated>2007-08-31T11:34:22.825+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Consumismo</category><title>¿Por qué tanta diferencia?</title><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.camarasdigitalesblog.com/wp-content/uploads/2007/03/kodak_z710.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 180px;" src="http://www.camarasdigitalesblog.com/wp-content/uploads/2007/03/kodak_z710.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Estaba buscando una cámara digital con la que pudiese aprender algo de fotografía y me encontré con este modelo de Kodak, el Z710.&lt;br /&gt;Pensé que sería más cara pero estaba por debajo de 200 euros, en &lt;a href="http://www.pixmania.com/"&gt;pixmanía&lt;/a&gt; la encontré por 150 y poco, pero como tenía ya mucho mono me fuí a probar suerte al Carrefour para poder tenerla en el momento.&lt;br /&gt;&lt;br /&gt;Y sí, allí estaba con un cartelito que ponia 299 euros. Pensé que podía estar equivocado el precio o algo, pero no. Yo no entiendo tanta diferencia, de 150 euros a 299 hay bastante. Personalmente creo que los establecimientos físicos se tienen que poner las pilas con este tipo de cosas, porque en cuanto se ponga más de moda el comercio electrónico en España me parece a mí que se van a quedar a dos velas. Yo lo que hice indudablemente fue pedir la cámara a pixmanía y supongo que mañana la tendré en casa por la mitad de lo que costaría comprarla en un establecimiento físico.&lt;br /&gt;&lt;br /&gt;Detalles de &lt;a href="http://www.camarasdigitales.com/detallesCD.php3?PD=3657"&gt;Kodak Z710 en camarasdigitales.com&lt;/a&gt; (ahí estaba un pelín mas cara)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3395410171912457964-1473248463908196240?l=entretyc.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://entretyc.blogspot.com/2007/08/por-qu-tanta-diferencia.html</link><author>noreply@blogger.com (B1uesm4n)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3395410171912457964.post-1218701535912773594</guid><pubDate>Sat, 25 Aug 2007 13:35:00 +0000</pubDate><atom:updated>2007-08-31T11:33:31.612+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Sistemas Operativos</category><title>Probando Solaris 10</title><description>El otro día me animé a instalar Solaris 10, una versión en dvd que me vino por correo (muy amables los de Sun, todo gratis). Como no quería cargarme nada la instalé en una máquina virtual de VMware.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_ubpRO8GDBcE/RtAylPjZWXI/AAAAAAAAAAM/kUrglB82xEE/s1600-h/solaris10.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp3.blogger.com/_ubpRO8GDBcE/RtAylPjZWXI/AAAAAAAAAAM/kUrglB82xEE/s320/solaris10.JPG" alt="" id="BLOGGER_PHOTO_ID_5102633993222314354" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Yo uso Linux normalmente y las diferencias se notan. Sobre todo me parece muy incómodo usar bourne shell, en vez de bash. Eso es lo primero que cambié (bastó con modificar el archivo /etc/passwd y sustituir la ruta de la shell por /bin/bash).&lt;br /&gt;&lt;br /&gt;Otro problema que tuve fue al añadir un nuevo usuario. Parece ser que por defecto no se pueden crear carpetas en /home y me volví loco hasta que encontré la forma de arreglarlo. Googleando un poco leí que había que cambiar el archivo /etc/auto_master y a mí me bastó con comentar la línea referente a /home. Todo esto es tema del "automonter" (ni idea, pero aquí hay &lt;a href="http://www.cuddletech.com/blog/pivot/entry.php?id=562"&gt;mas información&lt;/a&gt;).&lt;br /&gt;&lt;br /&gt;Agradecería alguna web con buenos tutoriales de Solaris, en castellano no he visto muchas.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3395410171912457964-1218701535912773594?l=entretyc.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://entretyc.blogspot.com/2007/08/probando-solaris-10.html</link><author>noreply@blogger.com (B1uesm4n)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://bp3.blogger.com/_ubpRO8GDBcE/RtAylPjZWXI/AAAAAAAAAAM/kUrglB82xEE/s72-c/solaris10.JPG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item></channel></rss>
