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

<channel>
	<title>The Zilus</title>
	<atom:link href="http://www.thezilus.com/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://www.thezilus.com/blog</link>
	<description>Geek, Web Dev, Sysadmin and Rockstar</description>
	<lastBuildDate>Tue, 02 Mar 2010 16:21:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Buscar en un campo separado por comas en MySQL</title>
		<link>http://www.thezilus.com/blog/buscar-en-un-campo-separado-por-comas-en-mysql</link>
		<comments>http://www.thezilus.com/blog/buscar-en-un-campo-separado-por-comas-en-mysql#comments</comments>
		<pubDate>Tue, 02 Mar 2010 16:21:01 +0000</pubDate>
		<dc:creator>Zilus</dc:creator>
				<category><![CDATA[PHP / MySQL]]></category>
		<category><![CDATA[php y mysql]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.thezilus.com/blog/?p=497</guid>
		<description><![CDATA[Debido a un desarrollo en el que actualmente trabajo, me tope con esto que resulto ser muy sencillo de hacer, pero no esta tan documentado como se espera. Que pasa si tienes un campo con cadenas de texto o enteros separados por coma, como categorías, nombres etc.
Un ejemplo practico seria,  el campo &#8220;cats&#8221; tiene un [...]]]></description>
			<content:encoded><![CDATA[<p>Debido a un desarrollo en el que actualmente trabajo, me tope con esto que resulto ser muy sencillo de hacer, pero no esta tan documentado como se espera. Que pasa si tienes un campo con cadenas de texto o enteros separados por coma, como categorías, nombres etc.</p>
<p>Un ejemplo practico seria,  el campo &#8220;cats&#8221; tiene un contenido como &#8216;2,11,10,1,16&#8242;, si usamos el tradicional LIKE:</p>
<pre class="coded">SELECT * FROM tabla WHERE cats LIKE '1';</pre>
<p>Se podría pensar que esta solución es adecuada pero no es así, ya que nos devolvera:</p>
<p><strong>cats:</strong></p>
<ul>
<li> 11</li>
<li> 10</li>
<li> 1</li>
<li> 16</li>
</ul>
<p>Para lograr obtener solo el &#8216;1&#8242; y no todos los números que contengan el &#8216;1&#8242; se debe utilizar esta sintaxis:</p>
<pre class="coded">SELECT * FROM tabla WHERE FIND_IN_SET('1', cats)</pre>
<p>En el ejemplo práctico &#8216;tabla&#8217; es el nombre de la tabla en la que  queremos buscar y &#8216;cats&#8217; el nombre del campo.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.thezilus.com%2Fblog%2Fbuscar-en-un-campo-separado-por-comas-en-mysql&amp;linkname=Buscar%20en%20un%20campo%20separado%20por%20comas%20en%20MySQL"><img src="http://www.thezilus.com/blog/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Bookmark"/></a><h3>Tambien te puede interesar:</h3><ul class="related_post"><li><a href="http://www.thezilus.com/blog/reparar-tabla-corrupta-en-mysql" title="Reparar tabla corrupta en MySQL">Reparar tabla corrupta en MySQL</a></li><li><a href="http://www.thezilus.com/blog/error-apt-e-unable-to-lock-the-download-directory" title="Error APT: E: Unable to lock the download directory">Error APT: E: Unable to lock the download directory</a></li><li><a href="http://www.thezilus.com/blog/problema-con-ie-aclayers-en-windows-xp" title="Problema con IE, ACLayers.dll en Windows XP">Problema con IE, ACLayers.dll en Windows XP</a></li><li><a href="http://www.thezilus.com/blog/perl-para-reemplazar-cadenas-de-texto-en-archivos" title="Perl para reemplazar cadenas de texto en archivos">Perl para reemplazar cadenas de texto en archivos</a></li><li><a href="http://www.thezilus.com/blog/dividir-resultado-de-query-mysql-por-bloques-con-php" title="Dividir resultado de query MySQL por bloques con PHP">Dividir resultado de query MySQL por bloques con PHP</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.thezilus.com/blog/buscar-en-un-campo-separado-por-comas-en-mysql/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Problemas de color en Firefox 3.5.x</title>
		<link>http://www.thezilus.com/blog/problemas-de-color-en-firefox-3-5-x</link>
		<comments>http://www.thezilus.com/blog/problemas-de-color-en-firefox-3-5-x#comments</comments>
		<pubDate>Sat, 20 Feb 2010 17:11:30 +0000</pubDate>
		<dc:creator>Zilus</dc:creator>
				<category><![CDATA[Firefox]]></category>

		<guid isPermaLink="false">http://www.thezilus.com/blog/?p=495</guid>
		<description><![CDATA[En estas versiones de Mozilla firefox, se implemento una nuevo manejo de perfiles de color, lo cual si no usas colores  sRGB estrictamente puede llegar a mostrar las imágenes de los sitios en donde navegamos con un color muy extraño, eléctrico y mal rendereado. Afortunadamente la solución es muy sencilla. Lo único que tenemos que [...]]]></description>
			<content:encoded><![CDATA[<p>En estas versiones de Mozilla firefox, se implemento una nuevo manejo de perfiles de color, lo cual si no usas colores  sRGB estrictamente puede llegar a mostrar las imágenes de los sitios en donde navegamos con un color muy extraño, eléctrico y mal rendereado. Afortunadamente la solución es muy sencilla. Lo único que tenemos que hacer, es en un tab o ventana nueva, entramos a la configuración de nuestro zorro de fuego y cambiaremos el valor de un registro.</p>
<ul>
<li>En la barra de direcciones, escribimos <strong>about:Config</strong></li>
<li>Busca una entrada que dice: <strong>gfx.color_management.mode</strong></li>
<li>Cambiar el valor del registro a <strong>0</strong></li>
</ul>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.thezilus.com%2Fblog%2Fproblemas-de-color-en-firefox-3-5-x&amp;linkname=Problemas%20de%20color%20en%20Firefox%203.5.x"><img src="http://www.thezilus.com/blog/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Bookmark"/></a><h3>Tambien te puede interesar:</h3><ul class="related_post"><li><a href="http://www.thezilus.com/blog/tip-firefox-2-con-plugin-mplayer-mozilla-en-ubuntu" title="Tip: Firefox 2 con plugin Mplayer-mozilla en Ubuntu">Tip: Firefox 2 con plugin Mplayer-mozilla en Ubuntu</a></li><li><a href="http://www.thezilus.com/blog/tip-instalar-flash-player-10-en-ubuntu" title="Tip: Instalar Flash Player 10 en Ubuntu">Tip: Instalar Flash Player 10 en Ubuntu</a></li><li><a href="http://www.thezilus.com/blog/tip-problemas-con-videos-flash-en-firefox-bajo-ubuntu" title="Tip: Problemas con videos Flash en Firefox bajo Ubuntu">Tip: Problemas con videos Flash en Firefox bajo Ubuntu</a></li><li><a href="http://www.thezilus.com/blog/tip-firefox-en-espanol-para-ubuntu" title="Tip: Firefox en español para Ubuntu">Tip: Firefox en español para Ubuntu</a></li><li><a href="http://www.thezilus.com/blog/recomendacion-flock-109-un-navegador-social" title="Recomendación: Flock 1.09 un navegador social">Recomendación: Flock 1.09 un navegador social</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.thezilus.com/blog/problemas-de-color-en-firefox-3-5-x/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Estrenando Bateria RMV Custom de 6 Pzas</title>
		<link>http://www.thezilus.com/blog/estrenando-bateria-rmv-custom-de-6-pzas</link>
		<comments>http://www.thezilus.com/blog/estrenando-bateria-rmv-custom-de-6-pzas#comments</comments>
		<pubDate>Mon, 15 Feb 2010 15:54:38 +0000</pubDate>
		<dc:creator>Zilus</dc:creator>
				<category><![CDATA[Musica]]></category>
		<category><![CDATA[Drums]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[nameless]]></category>
		<category><![CDATA[RMV]]></category>
		<category><![CDATA[Zilus]]></category>

		<guid isPermaLink="false">http://www.thezilus.com/blog/?p=482</guid>
		<description><![CDATA[Este fin de semana, por fin llego mi Batería RMV, desde casa de Jorge Corella, lo primero fue acondicionar el cuarto de servicio para aislar lo mas posible el sonido y después a armarla, me ayudaron mi bebe @SkyG y el buen @iiMerolii
Debo adminir que hacia mucho que no estaba tan contento  
Aquí las [...]]]></description>
			<content:encoded><![CDATA[<p>Este fin de semana, por fin llego mi Batería RMV, desde casa de Jorge Corella, lo primero fue acondicionar el cuarto de servicio para aislar lo mas posible el sonido y después a armarla, me ayudaron mi bebe @SkyG y el buen @iiMerolii</p>
<p>Debo adminir que hacia mucho que no estaba tan contento <img src='http://www.thezilus.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Aquí las fotos:</p>
<p style="text-align: center;"><img class="aligncenter size-large wp-image-483" title="SNC00060" src="http://www.thezilus.com/blog/wp-content/uploads/2010/02/SNC00060-500x375.jpg" alt="" width="500" height="375" /></p>
<p style="text-align: center;"><img class="aligncenter size-large wp-image-484" title="SNC00061" src="http://www.thezilus.com/blog/wp-content/uploads/2010/02/SNC00061-500x375.jpg" alt="" width="500" height="375" /></p>
<p style="text-align: center;"><img class="aligncenter size-large wp-image-485" title="SNC00062" src="http://www.thezilus.com/blog/wp-content/uploads/2010/02/SNC00062-500x375.jpg" alt="" width="500" height="375" /></p>
<p style="text-align: center;"><img class="aligncenter size-large wp-image-486" title="SNC00063" src="http://www.thezilus.com/blog/wp-content/uploads/2010/02/SNC00063-500x375.jpg" alt="" width="500" height="375" /></p>
<p style="text-align: center;"><img class="aligncenter size-large wp-image-487" title="SNC00064" src="http://www.thezilus.com/blog/wp-content/uploads/2010/02/SNC00064-e1266248863785-375x500.jpg" alt="" width="375" height="500" /></p>
<p style="text-align: center;"><img class="aligncenter size-large wp-image-488" title="SNC00066" src="http://www.thezilus.com/blog/wp-content/uploads/2010/02/SNC00066-500x375.jpg" alt="" width="500" height="375" /></p>
<p style="text-align: center;"><img class="aligncenter size-large wp-image-489" title="SNC00067" src="http://www.thezilus.com/blog/wp-content/uploads/2010/02/SNC00067-e1266249020607-375x500.jpg" alt="" width="375" height="500" /></p>
<p style="text-align: center;"><img class="aligncenter size-large wp-image-490" title="SNC00069" src="http://www.thezilus.com/blog/wp-content/uploads/2010/02/SNC00069-500x375.jpg" alt="" width="500" height="375" /></p>
<p style="text-align: center;"><img class="aligncenter size-large wp-image-491" title="SNC00072" src="http://www.thezilus.com/blog/wp-content/uploads/2010/02/SNC00072-e1266249103358-375x500.jpg" alt="" width="375" height="500" /></p>
<p style="text-align: center;"><img class="aligncenter size-large wp-image-492" title="SNC00073" src="http://www.thezilus.com/blog/wp-content/uploads/2010/02/SNC00073-500x375.jpg" alt="" width="500" height="375" /></p>
<p style="text-align: center;"><img class="aligncenter size-large wp-image-493" title="SNC00074" src="http://www.thezilus.com/blog/wp-content/uploads/2010/02/SNC00074-e1266249210256-375x500.jpg" alt="" width="375" height="500" /></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.thezilus.com%2Fblog%2Festrenando-bateria-rmv-custom-de-6-pzas&amp;linkname=Estrenando%20Bateria%20RMV%20Custom%20de%206%20Pzas"><img src="http://www.thezilus.com/blog/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Bookmark"/></a><h3>Tambien te puede interesar:</h3><ul class="related_post"><li><a href="http://www.thezilus.com/blog/mi-wishlist-2009" title="Mi Wishlist 2009">Mi Wishlist 2009</a></li><li><a href="http://www.thezilus.com/blog/feliz-cumpleanos-al-merolii" title="Feliz Cumpleaños al @iiMerolii">Feliz Cumpleaños al @iiMerolii</a></li><li><a href="http://www.thezilus.com/blog/mi-nueva-macbook" title="Mi nueva MacBook">Mi nueva MacBook</a></li><li><a href="http://www.thezilus.com/blog/sobre-este-blog" title="Sobre este Blog">Sobre este Blog</a></li><li><a href="http://www.thezilus.com/blog/antros-hello-nasty" title="Hello Nasty">Hello Nasty</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.thezilus.com/blog/estrenando-bateria-rmv-custom-de-6-pzas/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Error APT: E: Unable to lock the download directory</title>
		<link>http://www.thezilus.com/blog/error-apt-e-unable-to-lock-the-download-directory</link>
		<comments>http://www.thezilus.com/blog/error-apt-e-unable-to-lock-the-download-directory#comments</comments>
		<pubDate>Fri, 12 Feb 2010 01:31:02 +0000</pubDate>
		<dc:creator>Zilus</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.thezilus.com/blog/?p=480</guid>
		<description><![CDATA[Aquí otro tip rápido para nuestras cajas con Linux, si al hacer un:
$ apt-get upgrade
Nos devuelve un error algo así:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  bind9 bind9-host dnsutils libbind9-30 libdns35 libisc35 libisccc30
  libisccfg30 liblwres30 linux-generic linux-headers-generic
  linux-image-generic linux-restricted-modules-generic netatalk
The following packages will be [...]]]></description>
			<content:encoded><![CDATA[<p>Aquí otro tip rápido para nuestras cajas con Linux, si al hacer un:</p>
<pre class="coded">$ apt-get upgrade</pre>
<p>Nos devuelve un error algo así:</p>
<pre class="coded">Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  bind9 bind9-host dnsutils libbind9-30 libdns35 libisc35 libisccc30
  libisccfg30 liblwres30 linux-generic linux-headers-generic
  linux-image-generic linux-restricted-modules-generic netatalk
The following packages will be upgraded:
  libmysqlclient15-dev libmysqlclient15off mysql-client mysql-client-5.0
  mysql-common mysql-server mysql-server-5.0 php5-imap
8 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
3 not fully installed or removed.
E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the download directory
</pre>
<p>Lo único que debémos hacer como <strong>root</strong> es:</p>
<pre class="coded">$ pkill apt</pre>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.thezilus.com%2Fblog%2Ferror-apt-e-unable-to-lock-the-download-directory&amp;linkname=Error%20APT%3A%20E%3A%20Unable%20to%20lock%20the%20download%20directory"><img src="http://www.thezilus.com/blog/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Bookmark"/></a><h3>Tambien te puede interesar:</h3><ul class="related_post"><li><a href="http://www.thezilus.com/blog/cambiar-el-directorio-home-en-linux" title="Cambiar el directorio $HOME en Linux">Cambiar el directorio $HOME en Linux</a></li><li><a href="http://www.thezilus.com/blog/resplados-locales-con-rsync" title="Resplados locales con RSync">Resplados locales con RSync</a></li><li><a href="http://www.thezilus.com/blog/perl-para-reemplazar-cadenas-de-texto-en-archivos" title="Perl para reemplazar cadenas de texto en archivos">Perl para reemplazar cadenas de texto en archivos</a></li><li><a href="http://www.thezilus.com/blog/configurar-un-servidor-ftp-en-ubuntu-proftpd" title="Configurar un Servidor FTP en Ubuntu (ProFTPd)">Configurar un Servidor FTP en Ubuntu (ProFTPd)</a></li><li><a href="http://www.thezilus.com/blog/buscar-archivos-de-6-meses-de-antiguedad" title="Buscar archivos de 6 meses de antiguedad">Buscar archivos de 6 meses de antiguedad</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.thezilus.com/blog/error-apt-e-unable-to-lock-the-download-directory/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reparar tabla corrupta en MySQL</title>
		<link>http://www.thezilus.com/blog/reparar-tabla-corrupta-en-mysql</link>
		<comments>http://www.thezilus.com/blog/reparar-tabla-corrupta-en-mysql#comments</comments>
		<pubDate>Thu, 04 Feb 2010 18:24:36 +0000</pubDate>
		<dc:creator>Zilus</dc:creator>
				<category><![CDATA[PHP / MySQL]]></category>
		<category><![CDATA[php y mysql]]></category>
		<category><![CDATA[programacion]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.thezilus.com/blog/?p=478</guid>
		<description><![CDATA[Lo único que hay que hacer, es un query mediante PHP, en  la consola interactiva o vía PhpMyAdmin conteniendo lo siguiente:
REPAIR TABLE mytablacorrupta;
Con esto, MySQL reparara los problemas que tengamos.
Tambien te puede interesar:Buscar en un campo separado por comas en MySQLDividir resultado de query MySQL por bloques con PHPTutorial sobre dhtmlScheduler, un calendario en AjaxComo [...]]]></description>
			<content:encoded><![CDATA[<p>Lo único que hay que hacer, es un <strong>query</strong> mediante <strong>PHP</strong>, en  la consola interactiva o vía <strong>PhpMyAdmin</strong> conteniendo lo siguiente:</p>
<pre class="coded">REPAIR TABLE mytablacorrupta;</pre>
<p>Con esto, MySQL reparara los problemas que tengamos.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.thezilus.com%2Fblog%2Freparar-tabla-corrupta-en-mysql&amp;linkname=Reparar%20tabla%20corrupta%20en%20MySQL"><img src="http://www.thezilus.com/blog/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Bookmark"/></a><h3>Tambien te puede interesar:</h3><ul class="related_post"><li><a href="http://www.thezilus.com/blog/buscar-en-un-campo-separado-por-comas-en-mysql" title="Buscar en un campo separado por comas en MySQL">Buscar en un campo separado por comas en MySQL</a></li><li><a href="http://www.thezilus.com/blog/dividir-resultado-de-query-mysql-por-bloques-con-php" title="Dividir resultado de query MySQL por bloques con PHP">Dividir resultado de query MySQL por bloques con PHP</a></li><li><a href="http://www.thezilus.com/blog/tutorial-sobre-dhtmlscheduler-un-calendario-en-ajax" title="Tutorial sobre dhtmlScheduler, un calendario en Ajax">Tutorial sobre dhtmlScheduler, un calendario en Ajax</a></li><li><a href="http://www.thezilus.com/blog/como-remplazar-texto-en-mysql" title="Como remplazar texto en MySQL">Como remplazar texto en MySQL</a></li><li><a href="http://www.thezilus.com/blog/error-apt-e-unable-to-lock-the-download-directory" title="Error APT: E: Unable to lock the download directory">Error APT: E: Unable to lock the download directory</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.thezilus.com/blog/reparar-tabla-corrupta-en-mysql/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Problema con IE, ACLayers.dll en Windows XP</title>
		<link>http://www.thezilus.com/blog/problema-con-ie-aclayers-en-windows-xp</link>
		<comments>http://www.thezilus.com/blog/problema-con-ie-aclayers-en-windows-xp#comments</comments>
		<pubDate>Mon, 18 Jan 2010 16:42:15 +0000</pubDate>
		<dc:creator>Zilus</dc:creator>
				<category><![CDATA[windows]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.thezilus.com/blog/?p=474</guid>
		<description><![CDATA[Varios equipos de la agencia comenzaron a presentar este problema, al abrir el Internet Explorer y en algunos casos, el Windows Media Player, se botaba un error donde se lee algo como esto:
AppName: iexplore.exe AppVer: 8.0.6001.18702 ModName: aclayers.dll
ModVer: 5.1.2600.5906 Offset: 0003d7fb
El arreglo es simple, pero me tomo un buen rato encontrarlo, ya que es un [...]]]></description>
			<content:encoded><![CDATA[<p>Varios equipos de la agencia comenzaron a presentar este problema, al abrir el <strong>Internet Explorer</strong> y en algunos casos, el <strong>Windows Media Player,</strong> se botaba un error donde se lee algo como esto:</p>
<blockquote><p>AppName: iexplore.exe AppVer: 8.0.6001.18702 ModName: aclayers.dll<br />
ModVer: 5.1.2600.5906 Offset: 0003d7fb</p></blockquote>
<p>El arreglo es simple, pero me tomo un buen rato encontrarlo, ya que es un problema con una actualización del sistema publicada en Enero, así que era tan reciente que no existe mucha documentación al respecto, lo único que deben hacer es desinstalar la <strong>actualización:</strong></p>
<p><strong>KB955759</strong></p>
<p>Espero les sea útil.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.thezilus.com%2Fblog%2Fproblema-con-ie-aclayers-en-windows-xp&amp;linkname=Problema%20con%20IE%2C%20ACLayers.dll%20en%20Windows%20XP"><img src="http://www.thezilus.com/blog/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Bookmark"/></a><h3>Tambien te puede interesar:</h3><ul class="related_post"><li><a href="http://www.thezilus.com/blog/buscar-en-un-campo-separado-por-comas-en-mysql" title="Buscar en un campo separado por comas en MySQL">Buscar en un campo separado por comas en MySQL</a></li><li><a href="http://www.thezilus.com/blog/error-apt-e-unable-to-lock-the-download-directory" title="Error APT: E: Unable to lock the download directory">Error APT: E: Unable to lock the download directory</a></li><li><a href="http://www.thezilus.com/blog/reparar-tabla-corrupta-en-mysql" title="Reparar tabla corrupta en MySQL">Reparar tabla corrupta en MySQL</a></li><li><a href="http://www.thezilus.com/blog/perl-para-reemplazar-cadenas-de-texto-en-archivos" title="Perl para reemplazar cadenas de texto en archivos">Perl para reemplazar cadenas de texto en archivos</a></li><li><a href="http://www.thezilus.com/blog/montar-imagen-iso-en-mac-os-x-10-6-snow-leopard" title="Montar imagen iso en Mac OS X 10.6 Snow Leopard">Montar imagen iso en Mac OS X 10.6 Snow Leopard</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.thezilus.com/blog/problema-con-ie-aclayers-en-windows-xp/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mi Wishlist 2009</title>
		<link>http://www.thezilus.com/blog/mi-wishlist-2009</link>
		<comments>http://www.thezilus.com/blog/mi-wishlist-2009#comments</comments>
		<pubDate>Wed, 23 Dec 2009 16:50:24 +0000</pubDate>
		<dc:creator>Zilus</dc:creator>
				<category><![CDATA[Opinion]]></category>
		<category><![CDATA[wishlist]]></category>
		<category><![CDATA[Zilus]]></category>

		<guid isPermaLink="false">http://www.thezilus.com/blog/?p=467</guid>
		<description><![CDATA[Gadgets:

iPhone 3Gs 32 GB
Tableta Arduino
MacBook 13.3&#8243; -&#62; Yo me la regale.

eBooks

Essential ActionScript 3.0
Regular Expressions Cookbook
Twitter API
PHP Hacks

DVD y Música

Ayreon: The Human Equation
Deftones: Shool of brilliant things
Relative Ash: Our time with you&#8230;

Gear

Ibanez SR-4000E
Boss GEV-7
Boss LMB-3
Boss ODB-3
Ampeg SVT-3 PRO
Ampeg SVT-810AV

Extras

Jersey 2009 de Cruz Azul Gracias al @iiMerolii  


Dreamlist:
Ahora les pongo mi dreamlist&#8230; espero en unos 3 [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Gadgets:</strong></p>
<ul>
<li><a href="http://telcel.com/iphone/" target="_blank">iPhone 3Gs 32 GB</a></li>
<li><a href="http://www.arduino.cc/" target="_blank">Tableta Arduino</a></li>
<li><span style="text-decoration: line-through;">MacBook 13.3&#8243;</span> -&gt; Yo me la regale.</li>
</ul>
<p><strong>eBooks</strong></p>
<ul>
<li><a href="http://oreilly.com/catalog/9780596526948/" target="_blank">Essential ActionScript 3.0</a></li>
<li><a href="http://oreilly.com/catalog/9780596520687/" target="_blank">Regular Expressions Cookbook</a></li>
<li><a href="http://oreilly.com/catalog/9780596154615/" target="_blank">Twitter API</a></li>
<li><a href="http://oreilly.com/catalog/9780596101398/" target="_blank">PHP Hacks</a></li>
</ul>
<p><strong>DVD y Música</strong></p>
<ul>
<li><a href="http://www.amazon.com/Human-Equation-Regular-Ayreon/dp/B0001YNK70/ref=sr_1_3?ie=UTF8&amp;s=music&amp;qid=1261586281&amp;sr=8-3-catcorr" target="_blank">Ayreon: The Human Equation</a></li>
<li><a href="http://www.amazon.com/School-Brilliant-Things-Deftones/dp/B000FI8ME8/ref=sr_1_20?ie=UTF8&amp;s=music&amp;qid=1261586382&amp;sr=8-20" target="_blank">Deftones: Shool of brilliant things</a></li>
<li><a href="http://www.amazon.com/Our-Time-With-You-Explicit/dp/B000VZYT4C/ref=sr_1_1?ie=UTF8&amp;s=dmusic&amp;qid=1261586417&amp;sr=8-1" target="_blank">Relative Ash: Our time with you&#8230;</a></li>
</ul>
<p><strong>Gear</strong></p>
<ul>
<li><a href="http://www.ibanez.com/BassGuitars/model-SR4000E" target="_blank">Ibanez SR-4000E</a></li>
<li><a href="http://www.bossus.com/gear/productdetails.php?ProductId=153&amp;ParentId=261" target="_blank">Boss GEV-7</a></li>
<li><a href="http://www.bossus.com/gear/productdetails.php?ProductId=154&amp;ParentId=261" target="_blank">Boss LMB-3</a></li>
<li><a href="http://www.bossus.com/gear/productdetails.php?ProductId=155&amp;ParentId=261" target="_blank">Boss ODB-3</a></li>
<li><a href="http://www.ampeg.com/products/pro/svt3pro/index.html" target="_blank">Ampeg SVT-3 PRO</a></li>
<li><a href="http://www.ampeg.com/products/classic/svt810av/index.html" target="_blank">Ampeg <strong>SVT-810AV</strong></a></li>
</ul>
<p><strong>Extras</strong></p>
<ul>
<li><span style="text-decoration: line-through;">Jersey 2009 de Cruz Azul </span><strong>Gracias al @iiMerolii <img src='http://www.thezilus.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </strong><span style="text-decoration: line-through;"><br />
</span></li>
</ul>
<p><strong>Dreamlist:</strong></p>
<p>Ahora les pongo mi dreamlist&#8230; espero en unos 3 meses poder cumplir con alguno de estos caprichos:</p>
<ul>
<li><strong>MazdaSpeed 3</strong></li>
<li><strong>Focus ST</strong></li>
<li><strong>Jetta GLI</strong></li>
<li><strong>Mini S</strong></li>
</ul>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.thezilus.com%2Fblog%2Fmi-wishlist-2009&amp;linkname=Mi%20Wishlist%202009"><img src="http://www.thezilus.com/blog/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Bookmark"/></a><h3>Tambien te puede interesar:</h3><ul class="related_post"><li><a href="http://www.thezilus.com/blog/estrenando-bateria-rmv-custom-de-6-pzas" title="Estrenando Bateria RMV Custom de 6 Pzas">Estrenando Bateria RMV Custom de 6 Pzas</a></li><li><a href="http://www.thezilus.com/blog/feliz-cumpleanos-al-merolii" title="Feliz Cumpleaños al @iiMerolii">Feliz Cumpleaños al @iiMerolii</a></li><li><a href="http://www.thezilus.com/blog/mi-nueva-macbook" title="Mi nueva MacBook">Mi nueva MacBook</a></li><li><a href="http://www.thezilus.com/blog/sobre-este-blog" title="Sobre este Blog">Sobre este Blog</a></li><li><a href="http://www.thezilus.com/blog/antros-hello-nasty" title="Hello Nasty">Hello Nasty</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.thezilus.com/blog/mi-wishlist-2009/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Perl para reemplazar cadenas de texto en archivos</title>
		<link>http://www.thezilus.com/blog/perl-para-reemplazar-cadenas-de-texto-en-archivos</link>
		<comments>http://www.thezilus.com/blog/perl-para-reemplazar-cadenas-de-texto-en-archivos#comments</comments>
		<pubDate>Wed, 23 Dec 2009 16:26:19 +0000</pubDate>
		<dc:creator>Zilus</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.thezilus.com/blog/?p=465</guid>
		<description><![CDATA[Aquí un tip rápido para buscar cadenas de texto dentro de un patrón de ficheros o también para uno solo. Por ejemplo, si tenemos 100 ficheros que en algún lugar en su interior contienen una cadena que queremos reemplazar, nos hará el trabajo pesado en un par de segundos.
Esta es la sintaxis:
perl -pi -e &#8217;s/cadena [...]]]></description>
			<content:encoded><![CDATA[<p>Aquí un tip rápido para buscar cadenas de texto dentro de un patrón de ficheros o también para uno solo. Por ejemplo, si tenemos 100 ficheros que en algún lugar en su interior contienen una cadena que queremos reemplazar, nos hará el trabajo pesado en un par de segundos.</p>
<p>Esta es la sintaxis:</p>
<p class="coded">perl -pi -e &#8217;s/cadena vieja/cadena nueva/g&#8217; patron</p>
<p>Un ejemplo practico seria:</p>
<p class="coded">perl -pi -e &#8217;s/index.html/index.php/g&#8217; *.html</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.thezilus.com%2Fblog%2Fperl-para-reemplazar-cadenas-de-texto-en-archivos&amp;linkname=Perl%20para%20reemplazar%20cadenas%20de%20texto%20en%20archivos"><img src="http://www.thezilus.com/blog/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Bookmark"/></a><h3>Tambien te puede interesar:</h3><ul class="related_post"><li><a href="http://www.thezilus.com/blog/error-apt-e-unable-to-lock-the-download-directory" title="Error APT: E: Unable to lock the download directory">Error APT: E: Unable to lock the download directory</a></li><li><a href="http://www.thezilus.com/blog/cambiar-el-directorio-home-en-linux" title="Cambiar el directorio $HOME en Linux">Cambiar el directorio $HOME en Linux</a></li><li><a href="http://www.thezilus.com/blog/resplados-locales-con-rsync" title="Resplados locales con RSync">Resplados locales con RSync</a></li><li><a href="http://www.thezilus.com/blog/buscar-archivos-de-6-meses-de-antiguedad" title="Buscar archivos de 6 meses de antiguedad">Buscar archivos de 6 meses de antiguedad</a></li><li><a href="http://www.thezilus.com/blog/buscar-en-un-campo-separado-por-comas-en-mysql" title="Buscar en un campo separado por comas en MySQL">Buscar en un campo separado por comas en MySQL</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.thezilus.com/blog/perl-para-reemplazar-cadenas-de-texto-en-archivos/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dividir resultado de query MySQL por bloques con PHP</title>
		<link>http://www.thezilus.com/blog/dividir-resultado-de-query-mysql-por-bloques-con-php</link>
		<comments>http://www.thezilus.com/blog/dividir-resultado-de-query-mysql-por-bloques-con-php#comments</comments>
		<pubDate>Tue, 22 Dec 2009 17:22:22 +0000</pubDate>
		<dc:creator>Zilus</dc:creator>
				<category><![CDATA[PHP / MySQL]]></category>
		<category><![CDATA[Jquery]]></category>
		<category><![CDATA[php y mysql]]></category>
		<category><![CDATA[programacion]]></category>
		<category><![CDATA[tutoriales]]></category>

		<guid isPermaLink="false">http://www.thezilus.com/blog/?p=455</guid>
		<description><![CDATA[Qué pasa si tienes un query que te arrojara cierta cantidad de filas, y necesitas dividirlas en bloques de &#8220;X&#8221; cantidad. Esto, en mi caso lo utilice para hacer un slider con JQuery, para se precisos con el plugin de Cycle.
Se asume que ya tienen establecida una conexión con la base de datos, así que [...]]]></description>
			<content:encoded><![CDATA[<p>Qué pasa si tienes un <strong>query </strong>que te arrojara cierta cantidad de filas, y necesitas dividirlas en bloques de <strong>&#8220;X&#8221;</strong> cantidad. Esto, en mi caso lo utilice para hacer un slider con <a href="http://http://jquery.com/" target="_blank">JQuery</a>, para se precisos con el plugin de <a href="http://malsup.com/jquery/cycle/" target="_blank">Cycle</a>.</p>
<p>Se asume que ya tienen establecida una conexión con la base de datos, así que solo pondré el código desde el query. Una vez que lean lo siguiente, será muy fácil entenderlo, si tienen dudas por favor comenten.</p>
<pre class="coded">$query = "SELECT * FROM tabla";
$result = mysql_query($query, $con) or die(mysql_error());
// aqui decidimos el tamaño de los bloques
$divider = 4;

if($result){
	$i=0;
	while ($row = mysql_fetch_assoc($result)) {
		if($i%$divider==0){
//aquí escribimos el principio de el bloque
			echo('&lt;div&gt;'."\n");
			echo('&lt;ul&gt;'."\n");
		}
		$i++;
//aquí escribimos el codigo que queremos repetir por la cantidad de elementos dentro del bloque, en este caso 4
		echo("&lt;li&gt;".strtoupper($row['name'])."&lt;/li&gt;\n");

		if($i%$divider==0){
//aquí escribimos el cierre de el bloque
			echo('&lt;/ul&gt;'."\n");
			echo('&lt;/div&gt;'."\n");
		}
	}
}</pre>
<p>Como se puede leer, el ejemplo es muy sencillo, pero nos puede servir para infinidad de cosas.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.thezilus.com%2Fblog%2Fdividir-resultado-de-query-mysql-por-bloques-con-php&amp;linkname=Dividir%20resultado%20de%20query%20MySQL%20por%20bloques%20con%20PHP"><img src="http://www.thezilus.com/blog/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Bookmark"/></a><h3>Tambien te puede interesar:</h3><ul class="related_post"><li><a href="http://www.thezilus.com/blog/tutorial-sobre-dhtmlscheduler-un-calendario-en-ajax" title="Tutorial sobre dhtmlScheduler, un calendario en Ajax">Tutorial sobre dhtmlScheduler, un calendario en Ajax</a></li><li><a href="http://www.thezilus.com/blog/reparar-tabla-corrupta-en-mysql" title="Reparar tabla corrupta en MySQL">Reparar tabla corrupta en MySQL</a></li><li><a href="http://www.thezilus.com/blog/buscar-en-un-campo-separado-por-comas-en-mysql" title="Buscar en un campo separado por comas en MySQL">Buscar en un campo separado por comas en MySQL</a></li><li><a href="http://www.thezilus.com/blog/configurar-un-servidor-ftp-en-ubuntu-proftpd" title="Configurar un Servidor FTP en Ubuntu (ProFTPd)">Configurar un Servidor FTP en Ubuntu (ProFTPd)</a></li><li><a href="http://www.thezilus.com/blog/como-remplazar-texto-en-mysql" title="Como remplazar texto en MySQL">Como remplazar texto en MySQL</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.thezilus.com/blog/dividir-resultado-de-query-mysql-por-bloques-con-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Navidad 2009</title>
		<link>http://www.thezilus.com/blog/navidad-2009</link>
		<comments>http://www.thezilus.com/blog/navidad-2009#comments</comments>
		<pubDate>Sun, 20 Dec 2009 06:19:50 +0000</pubDate>
		<dc:creator>Zilus</dc:creator>
				<category><![CDATA[Social]]></category>

		<guid isPermaLink="false">http://www.thezilus.com/blog/?p=450</guid>
		<description><![CDATA[Aquí un par de imagenes de la cena de Navidad del CBN en casa de mi padres. Por ahora son solo dos, pero les dejare los enlaces a Flickr y Facebook cuando tenga tiempo de subirlas.



Random PostsInkscape 0.46 Recomendación: QtTube, baja videos de Youtube fácil!Reposts&#8230; mas molesto de lo que parece.Script para limpiar archivos de [...]]]></description>
			<content:encoded><![CDATA[<p>Aquí un par de imagenes de la cena de <strong>Navidad</strong> del <strong>CBN </strong>en casa de mi padres. Por ahora son solo dos, pero les dejare los enlaces a <strong>Flickr</strong> y <strong>Facebook</strong> cuando tenga tiempo de subirlas.</p>
<p style="text-align: center;"><a href="http://www.thezilus.com/blog/wp-content/uploads/2009/12/11.jpg" rel="lightbox[450]"><img class="aligncenter size-large wp-image-451" title="1" src="http://www.thezilus.com/blog/wp-content/uploads/2009/12/11-500x333.jpg" alt="1" width="500" height="333" /></a></p>
<p style="text-align: center;"><a href="http://www.thezilus.com/blog/wp-content/uploads/2009/12/21.jpg" rel="lightbox[450]"><img class="aligncenter size-large wp-image-452" title="2" src="http://www.thezilus.com/blog/wp-content/uploads/2009/12/21-500x333.jpg" alt="2" width="500" height="333" /></a></p>
<p style="text-align: center;"><a href="http://www.thezilus.com/blog/wp-content/uploads/2009/12/31.jpg" rel="lightbox[450]"><img class="aligncenter size-large wp-image-453" title="3" src="http://www.thezilus.com/blog/wp-content/uploads/2009/12/31-500x333.jpg" alt="3" width="500" height="333" /></a></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.thezilus.com%2Fblog%2Fnavidad-2009&amp;linkname=Navidad%202009"><img src="http://www.thezilus.com/blog/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Bookmark"/></a><h3>Random Posts</h3><ul class="related_post"><li><a href="http://www.thezilus.com/blog/facundo-y-su-definicion-de-naco" title="Facundo y su definicion de naco">Facundo y su definicion de naco</a></li><li><a href="http://www.thezilus.com/blog/publicidad-de-ibm" title="Publicidad de IBM">Publicidad de IBM</a></li><li><a href="http://www.thezilus.com/blog/gratos-recuerdos-del-ayer" title="Gratos recuerdos del ayer&#8230;">Gratos recuerdos del ayer&#8230;</a></li><li><a href="http://www.thezilus.com/blog/concurso-para-el-wallpaper-de-gnome-224" title="Concurso para el Wallpaper de Gnome 2.24">Concurso para el Wallpaper de Gnome 2.24</a></li><li><a href="http://www.thezilus.com/blog/algunas-frases-celebres-del-mundo-informatico" title="Algunas frases celebres del mundo informatico">Algunas frases celebres del mundo informatico</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.thezilus.com/blog/navidad-2009/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>
