<?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>Neleste 2.0</title>
	<atom:link href="http://www.neleste.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.neleste.com</link>
	<description>Información sobre Desarrollo Web</description>
	<lastBuildDate>Thu, 03 May 2012 07:16:30 +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>Finalizar querys molestas</title>
		<link>http://www.neleste.com/finalizar-querys-molestas/</link>
		<comments>http://www.neleste.com/finalizar-querys-molestas/#comments</comments>
		<pubDate>Fri, 30 Mar 2012 17:36:30 +0000</pubDate>
		<dc:creator>juanra</dc:creator>
				<category><![CDATA[Sin categoría]]></category>

		<guid isPermaLink="false">http://www.neleste.com/?p=221</guid>
		<description><![CDATA[Uno de los mejores placeres llegados en PostgreSQL 8.4 es la función pg_terminate_backend.
En el pasado, cuando queríamos matar consultas fuera del control de postgres, llamabamos a pg_cancel_backend. El problema de esto, es que muchas veces postgres reejecutaba la query cuando la llamabamos, y no lograbamos acabar con ella.
Desde PostgreSQL 8.4 hay una nueva función llamada [...]]]></description>
			<content:encoded><![CDATA[<p>Uno de los mejores placeres llegados en <strong><em>PostgreSQL 8.4</em></strong> es la función <strong>pg_terminate_backend</strong>.<br />
En el pasado, cuando queríamos matar consultas fuera del control de postgres, llamabamos a pg_cancel_backend. El problema de esto, es que muchas veces postgres reejecutaba la query cuando la llamabamos, y no lograbamos acabar con ella.</p>
<p>Desde <em>PostgreSQL 8.4</em> hay una nueva función llamada pg_terminate_backend. Esta función no reemplaza a pg_cancel_backend, pero basicamente hace lo que tu quieres cuando entras en el administrador de tareas de windows y haces un kill a determinado proceso. Tampoco corres el riesgo de cargarte el proceso root de postgres y tirar abajo todas las queris cuando te cargas el PID (que era la opción definitiva que teníamos antes para matar una query).</p>
<p>Ejemplos:</p>
<p><strong> pg_cancel_backend</strong> vendría a ser un golpe en la muñeca</p>
<pre>SELECT pg_cancel_backend(procpid);</pre>
<p><strong> pg_terminate_backend</strong> sería como darle con un palo en la cabeza.</p>
<pre>SELECT pg_terminate_backend(procpid);</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.neleste.com/finalizar-querys-molestas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Buscar diferencias entre dos ficheros</title>
		<link>http://www.neleste.com/buscar-diferencias-entre-dos-ficheros/</link>
		<comments>http://www.neleste.com/buscar-diferencias-entre-dos-ficheros/#comments</comments>
		<pubDate>Mon, 02 May 2011 16:54:50 +0000</pubDate>
		<dc:creator>juanra</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.neleste.com/?p=213</guid>
		<description><![CDATA[A la hora de comparar dos ficheros que en un principio eran iguales y en los cuales se han hecho algunas modificaciones, estos comandos nos serán de total utilidad:
diff encuentra las diferencias entre los dos ficheros y las muestra por pantalla, no importa que las frases que se repitan estén en distintas lineas.
diff fichero1 fichero2
join hace lo [...]]]></description>
			<content:encoded><![CDATA[<p>A la hora de comparar dos ficheros que en un principio eran iguales y en los cuales se han hecho algunas modificaciones, estos comandos nos serán de total utilidad:</p>
<p>diff encuentra las diferencias entre los dos ficheros y las muestra por pantalla, no importa que las frases que se repitan estén en distintas lineas.</p>
<pre>diff fichero1 fichero2</pre>
<p>join hace lo contrario, muestra lo que tienen en común los dos ficheros.</p>
<pre>join fichero1 fichero2</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.neleste.com/buscar-diferencias-entre-dos-ficheros/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FATAL: Ident authentication failed for user XXXXX</title>
		<link>http://www.neleste.com/fatal-ident-authentication-failed-for-user/</link>
		<comments>http://www.neleste.com/fatal-ident-authentication-failed-for-user/#comments</comments>
		<pubDate>Sat, 29 Jan 2011 14:54:04 +0000</pubDate>
		<dc:creator>juanra</dc:creator>
				<category><![CDATA[Tutos]]></category>
		<category><![CDATA[postgreSQL]]></category>

		<guid isPermaLink="false">http://www.neleste.com/?p=207</guid>
		<description><![CDATA[He instalado postgres en un servidor CentOS, luego he creado el usuario, contraseña y bbbdd. Pero si me intento conectar por PHP, shell o navicat usando la siguiente sintaxis:
psql -d mibbdd -U usuario -W 
Me devuelve el siguinte error:
psql: FATAL: Ident authentication failed for user "username"
¿Como corregir este error?
Abrimos el fichero de configuración de postgres: [...]]]></description>
			<content:encoded><![CDATA[<p>He instalado postgres en un servidor CentOS, luego he creado el usuario, contraseña y bbbdd. Pero si me intento conectar por PHP, shell o navicat usando la siguiente sintaxis:</p>
<pre>psql -d mibbdd -U usuario -W </pre>
<p>Me devuelve el siguinte error:</p>
<pre>psql: FATAL: Ident authentication failed for user "username"</pre>
<p>¿Como corregir este error?<br />
Abrimos el fichero de configuración de postgres: /var/lib/pgsql/data/pg_hba.conf :</p>
<pre># vi /var/lib/pgsql/data/pg_hba.conf</pre>
<p>El fichero controla</p>
<ol>
<li>Desde que host se permite conectar.</li>
<li>Que clientes están autentificados.</li>
<li>Que usuario the postgres pueden usar.</li>
<li>A qué BBDD pueden acceder</li>
</ol>
<p>Por defecto, PostgreSQL usa autentificación basada en IDENT. Todo lo que debes hacer es permitir al usuario y contraseña que utilizas para tu conexión. IDENT nunca permitirá que entres a través de las opciones -U y -W. Concatena el permiso al fichero para que puedan entrar todos los usuarios del localhost.</p>
<pre>local	all	all	trust
host	all	127.0.0.1/32	trust</pre>
<p>Guarda y cierra el fichero, luego restaura el servicio postgreSQL:</p>
<pre># service postgresql restart</pre>
<p>Ahora, deberías ser capaz de entrar usando el comando:</p>
<pre># psql -d myDb -U username -W</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.neleste.com/fatal-ident-authentication-failed-for-user/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Frases celebres del desarrollo</title>
		<link>http://www.neleste.com/frases-celebres-del-desarrollo/</link>
		<comments>http://www.neleste.com/frases-celebres-del-desarrollo/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 20:07:49 +0000</pubDate>
		<dc:creator>juanra</dc:creator>
				<category><![CDATA[Artículos]]></category>
		<category><![CDATA[frases celebres]]></category>

		<guid isPermaLink="false">http://www.neleste.com/?p=185</guid>
		<description><![CDATA[Las 3 grandes mentiras del programador
1. El programa está completamente probado y libre de errores
2. Estamos trabajando en la documentación
3. Por supuesto que podemos modificarlo
– Anónimo
&#8220;Debugging es dos veces más difícil que escribir el código en primer lugar. Entonces si escribes el código tan astutamente como sea posible,  no eres -por definición- tan listo [...]]]></description>
			<content:encoded><![CDATA[<p>Las 3 grandes mentiras del programador<br />
1. El programa está completamente probado y libre de errores<br />
2. Estamos trabajando en la documentación<br />
3. Por supuesto que podemos modificarlo<br />
– Anónimo</p>
<p>&#8220;Debugging es dos veces más difícil que escribir el código en primer lugar. Entonces si escribes el código tan astutamente como sea posible,  no eres -por definición- tan listo como para debugearlo.&#8221;</p>
<p>– Brian Kernighan</p>
<p>&#8220;Sólo hay dos tipos de lenguajes: aquellos de los que la gente se queja y aquellos que nadie usa.&#8221;</p>
<p>– Bjarne Stroustrup</p>
<p>&#8220;Cualquier  tonto puede escribir código que un ordenador entiende. Los buenos  programadores escriben código que los humanos pueden entender.&#8221;</p>
<p>– Martin Fowler</p>
<p>&#8220;Hay  dos formas de diseñar software: la primera es hacerlo tan simple que  obviamente no hay deficiencias y la segunda es hacerlo tan complicado  que no hay deficiencias obvias. La primera forma es mucho más difícil.&#8221;.</p>
<p>– C.A.R. Hoare</p>
<p>&#8220;Mucho  del software hoy en día se parece a una pirámide egipcia: con millones  de ladrillos apilados uno encima del otro, sin integridad estructural y  hecho por pura fuerza bruta y miles de esclavos.&#8221;</p>
<p>– Alan Kay</p>
<p>&#8220;Medir el progreso de la programación por líneas de código es como medir el progreso en la construcción de aviones por el peso.&#8221;</p>
<p>– Bill Gates</p>
<p>&#8220;Si  deseas empezar y desarrollar algo grandioso, no necesitas millones de  dólares de capitalización. Necesitas suficiente pizza y Diet Coke en la  nevera, una PC barata y trabajo y dedicación para realizar tu idea.&#8221;</p>
<p>– John Carmack</p>
<p>&#8220;Los programas deben ser escritos para que la gente los lea y sólo incidentalmente, para que las máquinas los ejecuten.&#8221;</p>
<p>– Abelson / Sussman</p>
<p>&#8220;Pregunta: ¿Cómo se atrasa un año un proyecto grande de software? Respuesta: Un día a la vez.&#8221;</p>
<p>– Fred Brooks</p>
<p>&#8220;Nadie  debe empezar un proyecto grande. Empiezas con uno pequeño y trivial y  nunca debes esperar que crezca; si lo haces solamente sobre-diseñarás y  generalmente pensarás que es más importante de lo que lo es en esta  etapa. O peor, puedes asustarte por el tamaño de lo que tu esperas que  crezca. Así que empieza pequeño y piensa en los detalles. No pienses  acerca de la foto grande y el diseño elegante. Si no resuelve una  necesidad inmediata, seguramente está sobre-diseñado. Y no esperes que  la gente salte a ayudarte, no es así como estas cosas funcionan. Primero  debes tener algo medianamente usable y otros dirán &#8220;hey, esto casi  funciona para mí&#8221; y se involucrarán en el proyecto.&#8221;</p>
<p>– Linus Torvalds</p>
<p>Añadidos:<br />
&#8220;Programa siempre tu código como si el tipo que va a tener que mantenerlo en el futuro fuera un violento psicópata que sabe donde vives.&#8221;</p>
<p>– Martin Goldin</p>
<p>&#8220;La mayoría de expertos coinciden en que la forma más probable de que se destruya el mundo es por accidente. Ahí es donde entramos los informáticos. Nosotros causamos accidentes.&#8221;</p>
<p>– Nathaniel S. Borenstein (Programming as If People Mattered)</p>
<p>El problema de las soluciones &#8220;provisionales&#8221; es que pueden convertirse en &#8220;definitivas&#8221;, porque aplicar la solución &#8220;definitiva&#8221; viola el principio de &#8220;si funciona, no lo toques&#8221;</p>
<p>–Miguel Armas (Kuko)</p>
<p>&#8220;Si pagas cacahuetes, obtienes monos&#8221;</p>
<p>– James Goldsmith</p>
<p>&#8220;Si la depuración es el proceso de eliminar errores, entonces la programación debe ser el proceso de introducirlos&#8221;</p>
<p>– Edsger Dijkstra</p>
<p>Cuando evaluamos un producto, las personas solemos dar una importancia ridículamente alta a la belleza y a la estética. Esta es una de las razones por las que los iPods, y ya que estamos, Keanu Reeves, son tan enormemente populares.</p>
<p>– Joel Spolsky</p>
]]></content:encoded>
			<wfw:commentRss>http://www.neleste.com/frases-celebres-del-desarrollo/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Módelo Vista Controlador y algunas variantes</title>
		<link>http://www.neleste.com/modelo-vista-controlador-y-algunas-variantes/</link>
		<comments>http://www.neleste.com/modelo-vista-controlador-y-algunas-variantes/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 19:20:39 +0000</pubDate>
		<dc:creator>juanra</dc:creator>
				<category><![CDATA[Artículos]]></category>
		<category><![CDATA[Tutos]]></category>
		<category><![CDATA[frameworks]]></category>
		<category><![CDATA[modelo vista controlador]]></category>

		<guid isPermaLink="false">http://www.neleste.com/?p=194</guid>
		<description><![CDATA[Flex es un framework creado para poder llegar a usar otros frameworks. Nos centraremos en este artículo en la base de otros frameworks, como PureMVC o Cairngorm, esta característica es el patrón Módelo Vista Controlador (MVC). Analizaremos este patrón que tanto nos gusta y entonces veremos algunas otras aproximaciones para compararlas y adjuntaré proyectos de [...]]]></description>
			<content:encoded><![CDATA[<p>Flex es un framework creado para poder llegar a usar otros frameworks. Nos centraremos en este artículo en la base de otros frameworks, como PureMVC o Cairngorm, esta característica es el patrón Módelo Vista Controlador (MVC). Analizaremos este patrón que tanto nos gusta y entonces veremos algunas otras aproximaciones para compararlas y adjuntaré proyectos de ejemplo para entender el concepto que representa cada uno.</p>
<p><strong>Módelo Vista Controlador (MVC)</strong></p>
<p>El Módelo Vista Controlador es el patrón arquitectural más usado en la ingeniería del software. Este patrón nos separa el modelos de datos, el modelo de la capa de presentación (vista) y de la parte de control.</p>
<p><img title="Modelo Vista Controlador" src="http://www.neleste.com/wp-content/uploads/2010/07/MVC-300x199.png" alt="" width="300" height="199" /></p>
<p>De este modelo podemos decir, que gestiona la información y advierte a las otras capas de cambios en sus datos. Representa el dominio de datos. La vista representa gráficamente el modelo para que el usuario pueda interactuar él, es la interfaz de datos. El controlador recibe las peticiones de la vista y le responde actualizando el modelo de datos. Debido a que la vista observa los cambios en el modelo de datos, esta actualiza sus componentes en función de éstos.</p>
<p>La finalidad de este patrón será la de conseguir un bajo acoplamiento en sus aplicaciones. Este lo logra desacoplando los modelos de las vistas, reduce la complejidad en el diseño arquitectural e incrementando la flexbilidad y mantenimiento del código.</p>
<p>La aplicación para el ejemplo será esta:<br />
<img title="Aplicacion" src="http://www.neleste.com/wp-content/uploads/2010/07/app-300x170.png" alt="" width="300" height="170" /></p>
<p><strong>Módelo Vista Presentación (MVP)</strong></p>
<p><img class="alignnone size-full wp-image-197" title="MVP-300x200" src="http://www.neleste.com/wp-content/uploads/2010/07/MVP-300x200.png" alt="Módelo Vista Presentación" width="300" height="200" /></p>
<p>Este patrón es un derivado del anterior. Está centrado en la interfaz de usuario y también pensado para facilitar el la unidad de testeo y mejorar la separación conceptos en la presentación de la lógica del programa. Genera una implementación limipia del patrón Observer entre el modelo y la vista.</p>
<p>El modelo funciona como una interface que define los datos que serán mostrados luego en la vista. La vista es una interface que nos muestra los datos del modelo y lanza llamadas a la capa presentacion para que luego actúe con los datos. La presentacion recupera los datos del modelo y los modera y hacia la vista.</p>
<p>Normalmente, la vista instancia su objecto presentacion con el que se relacionará y luego le proporciona una referencia suya.<br />
El grado de lógica permitida en las vistas variara en función de la implementación que usemos: podremos hacer que la vista sea totalmente pasiva, alegando todas las operaciones a la presentacion. Otras versiones del MVP nos permiten más autonomía a la vista.</p>
<p>Si nos centramos en un punto de vista de capas, la presentacion se consideraría la capa de aplicación entre el modelo y la vista.</p>
<p>El creador del patrón MVP, Martin Fowler, decidió separarlo en dos patrones de presentación que ya hemos tratado en madeinflex, son el supervising presenter y el passive view.</p>
<p><strong>MVC vs MVP</strong></p>
<p>Los une la idea de que el modelo alberga los datos y la vista los representa. Tanto el controller como el presenter se encargan de coordinar la aplicación y es en estas clases donde está la diferencia: el Presenter tiene más responsabilidades, maneja los datos del modelo y trata las propiedades de la vista que recibirá como parámetro.</p>
<p><strong>Modelo Vista Adaptación (MVA)</strong></p>
<p>Como en los dos patrones anteriores, se pretende separar el modelo de datos de la vista para poder realizar cambios en la vista y que estos no afecten al modelo de datos.</p>
<p>MVA y MVC intentan solucionar este problema con dos aproximaciones diferentes:</p>
<ul>
<li>MVC mantiene un estructura triangular entre el modelo, la vista y el controller, en la cual las tres entidades serían los vértices del triángulo y las aristas las vías de comunicación entre éstas.</li>
<li>MVA lo soluciona de otra forma, lo hace mediante una estructura lineal en la cual en una punta estará la vista, en la otra el modelo y en el centro el adapter o mediating controller, pero se evita la comunicación directa entre la vista y el modelo.</li>
</ul>
<p>Así pués, en este modelo, la vista está totalmente separada del modelo de datos y estas entidades sólo se pueden comunicar a través el adapter, dicho de otro modo, sólo el adapter tiene conocimiento del modelo y de la vista.</p>
<p>Con esta separación de comportamientos, conseguiremos que una amplia variedad de vistas puedan acceder indirectamente al modelo de datos mediante el mismo adapter. Las vistas también se olvidan del modelo de datos, ya que es el adapter quien las comunica con éste.</p>
<p>Esto también nos permite poder usar diferentes adapters para cada par vista / modelo. Un ejemplo podría ser la aplicación de una entidad bancaria, para cada una de sus delegaciones, puede ser que con los mismos datos y la misma vista se tengan que manipular los datos de maneras diferentes, para eso podremos tener diferentes adapters sin tener que modificar ni la vista ni el modelo de los datos.</p>
<p>MVA también es conocido como &#8220;mediating-controller&#8221;. Hay quien cree que como base sigue la misma idea que MVP, aunque hay gurús del software que se matan y defienden diferencias entre ellos.</p>
<p>Aquí os dejo un <a rel="nofollow" href="http://rogue-development.com/uploads/model_adapter/ModelAdapterExample.html">enlace de un proyecto</a> de ejemplo para que podais analizarlo vosotros mismos.</p>
<p>Autor: Sergi Dote Teixidor </p>
]]></content:encoded>
			<wfw:commentRss>http://www.neleste.com/modelo-vista-controlador-y-algunas-variantes/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Optimizando nuestro código PHP</title>
		<link>http://www.neleste.com/optimizando-nuestro-codigo-php/</link>
		<comments>http://www.neleste.com/optimizando-nuestro-codigo-php/#comments</comments>
		<pubDate>Sat, 10 Apr 2010 08:56:50 +0000</pubDate>
		<dc:creator>juanra</dc:creator>
				<category><![CDATA[Tutos]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.neleste.com/?p=178</guid>
		<description><![CDATA[1 – Inicializa las variables antes de utilizarlas. Estás, se inicializan solas, pero con un coste de tiempo.
2 – Debes estar en constante aprendizaje, cada vez el lenguage PHP se hace más fuerte, y salen nuevas características interesantes sobre este..
3 – Incrementar una variable en el método de una clase es lo mas rápido, que [...]]]></description>
			<content:encoded><![CDATA[<p>1 – Inicializa las variables antes de utilizarlas. Estás, se inicializan solas, pero con un coste de tiempo.</p>
<p>2 – Debes estar en constante aprendizaje, cada vez el lenguage PHP se hace más fuerte, y salen nuevas características interesantes sobre este..</p>
<p>3 – Incrementar una variable en el método de una clase es lo mas rápido, que incrementar una variable global.</p>
<p>4 – Incrementar una variable global a un fichero puede llegar a ser hasta dos veces más lento que en un entorno local.</p>
<p>5 – Incrementar una variable local en un método es lo más rápido. Casi lo mismo que llamar a una variable local en una función.</p>
<p>6 – Incrementar una variable indefinida puede ser hasta 9 ó 10 veces más lento que una ya declarada.</p>
<p>7 – Declarar una variable global, a pesar de que no la llegues a utilizar en ninguna función hace más lento tu script, PHP tiene que chequear si la variable existe.</p>
<p>8 – Llamar a una función a una función con un parametro puede tomar aproximadamente el mismo tiempo que de 7 a 8 operaciones con variables locales, y esa misma llamada a un método supondrían unas 15 operaciones. Aún así, es más rapido que usar variables globales.</p>
<p>9 – Si necesitas saber el timestamp (tiempo de ejecución) de acceso a un script, considera utilizar la variable $_SERVER['REQUEST_TIME'] en lugar de time(), es mucho más rapido.</p>
<p>10 – $row['id'] es hasta 7 veces más rápido que el mecanismo $row[id].</p>
<p>11 – $localvar++ es hasta 15 veces más rápido que function inc(){ $localvar++; }, debido a que debe acceder a la función.</p>
<p>12 – Los scripts PHP se compilan/interpretan cada vez que son ejecutados, a no ser se guarde el código objeto en un cache. Las herramientas de compilación de PHP pueden incrementan el rendimiento hasta un 100%.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.neleste.com/optimizando-nuestro-codigo-php/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Validar ccc con PHP</title>
		<link>http://www.neleste.com/validar-ccc-con-php/</link>
		<comments>http://www.neleste.com/validar-ccc-con-php/#comments</comments>
		<pubDate>Sat, 20 Feb 2010 09:46:18 +0000</pubDate>
		<dc:creator>juanra</dc:creator>
				<category><![CDATA[Tutos]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[ccc]]></category>

		<guid isPermaLink="false">http://www.neleste.com/?p=177</guid>
		<description><![CDATA[Identificación de una cuenta corriente o libreta de ahorros
En España las cuentas corrientes y las libretas de ahorros tienen una identidad única que se compone de 20 dígitos, el denominado Código Cuenta Cliente. Este código identifica a la entidad bancaria, sucursal y cuenta de forma única de tal modo que actúa como dirección de la [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Identificación de una cuenta corriente o libreta de ahorros</strong><br />
En España las cuentas corrientes y las libretas de ahorros tienen una identidad única que se compone de 20 dígitos, el denominado Código Cuenta Cliente. Este código identifica a la entidad bancaria, sucursal y cuenta de forma única de tal modo que actúa como dirección de la cuenta para la realización de cualquier operación financiera.</p>
<p><strong>Esquema del código de identificación de una cuenta bancaria</strong></p>
<p style="text-align: center;"><img class="aligncenter" style="text-align: center;" title="esquema ccc" src="http://www.neleste.com/wp-content/uploads/2010/01/esquema_codigo_cuenta_cliente.gif" alt="esquema ccc" /></p>
<p><strong>Proceso de cálculo de los dígitos de control</strong><br />
a) Dígito de control de la entidad y sucursal</p>
<table border="1">
<tbody>
<tr>
<td><strong>Posicion</strong></td>
<td><strong>Factor</strong></td>
<td><strong>Datos</strong></td>
<td><strong>Operación</strong></td>
<td><strong>Resultado</strong></td>
</tr>
<tr>
<td>Unidad:</td>
<td>6</td>
<td>8</td>
<td>6x8</td>
<td>48</td>
</tr>
<tr>
<td>Decena:</td>
<td>3</td>
<td>3</td>
<td>3x3</td>
<td>9</td>
</tr>
<tr>
<td>Centena:</td>
<td>7</td>
<td>3</td>
<td>7x3</td>
<td>21</td>
</tr>
<tr>
<td>Unidad de millar:</td>
<td>9</td>
<td>0</td>
<td>9x0</td>
<td>0</td>
</tr>
<tr>
<td>Decena de millar:</td>
<td>10</td>
<td>7</td>
<td>10x7</td>
<td>70</td>
</tr>
<tr>
<td>Centena de millar:</td>
<td>5</td>
<td>7</td>
<td>5x7</td>
<td>35</td>
</tr>
<tr>
<td>Unidad de millón:</td>
<td>8</td>
<td>0</td>
<td>8x0</td>
<td>0</td>
</tr>
<tr>
<td>Decena de millón:</td>
<td>4</td>
<td>2</td>
<td>4x2</td>
<td>8</td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td><strong>Suma</strong></td>
<td>191</td>
</tr>
</tbody>
</table>
<p>Cálculos:</p>
<p>191/11 = 17; Resto = 191-(17x11) = 4; Dígito = 11-4 = 7</p>
<p>- Si el resultado es 11, el dígito buscado es 0</p>
<p>- Si el resultado es 10, el dígito buscado es 1</p>
<p>b) Dígito de control de la cuenta</p>
<table border="1">
<tbody>
<tr>
<td><strong>Posicion</strong></td>
<td><strong>Factor</strong></td>
<td><strong>Datos</strong></td>
<td><strong>Operación</strong></td>
<td><strong>Resultado</strong></td>
</tr>
<tr>
<td>Unidad:</td>
<td>6</td>
<td>1</td>
<td>6x1</td>
<td>6</td>
</tr>
<tr>
<td>Decena:</td>
<td>3</td>
<td>2</td>
<td>3x2</td>
<td>6</td>
</tr>
<tr>
<td>Centena:</td>
<td>7</td>
<td>3</td>
<td>7x3</td>
<td>21</td>
</tr>
<tr>
<td>Unidad de millar:</td>
<td>9</td>
<td>4</td>
<td>9x4</td>
<td>36</td>
</tr>
<tr>
<td>Decena de millar:</td>
<td>10</td>
<td>5</td>
<td>10x5</td>
<td>50</td>
</tr>
<tr>
<td>Centena de millar:</td>
<td>5</td>
<td>2</td>
<td>5x2</td>
<td>10</td>
</tr>
<tr>
<td>Unidad de millón:</td>
<td>8</td>
<td>0</td>
<td>8x0</td>
<td>0</td>
</tr>
<tr>
<td>Decena de millón:</td>
<td>4</td>
<td>0</td>
<td>4x0</td>
<td>0</td>
</tr>
<tr>
<td>Centena de millón:</td>
<td>2</td>
<td>1</td>
<td>2x1</td>
<td>2</td>
</tr>
<tr>
<td>Unidad de millar de millón:</td>
<td>1</td>
<td>3</td>
<td>1x3</td>
<td>3</td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td><strong>Suma</strong></td>
<td>134</td>
</tr>
</tbody>
</table>
<p>Cálculos:</p>
<p>134/11 = 12; Resto = 191-(12x11) = 2; Dígito = 11-2 = 9</p>
<p>- Si el resultado es 11, el dígito buscado es 0</p>
<p>- Si el resultado es 10, el dígito buscado es 1<br />
<strong>A continuación, implementaremos el algoritmo en php</strong></p>
<div class="igBar"><span id="lphp-2"><a href="#" onclick="javascript:showPlainTxt('php-2'); return false;">C&oacute;digo</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-2">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">function</span> ccc_valido<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$ccc</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">//$ccc sería el 20770338793100254321</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$valido</span> = <span style="color:#000000; font-weight:bold;">true</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">///////////////////////////////////////////////////</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">//&nbsp; &nbsp; Dígito de control de la entidad y sucursal:</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">//Se multiplica cada dígito por su factor de peso</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">///////////////////////////////////////////////////</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$suma</span> = <span style="color:#CC66CC;color:#800000;">0</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$suma</span> += <span style="color:#0000FF;">$ccc</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#CC66CC;color:#800000;">0</span><span style="color:#006600; font-weight:bold;">&#93;</span> * <span style="color:#CC66CC;color:#800000;">4</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$suma</span> += <span style="color:#0000FF;">$ccc</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#CC66CC;color:#800000;">1</span><span style="color:#006600; font-weight:bold;">&#93;</span> * <span style="color:#CC66CC;color:#800000;">8</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$suma</span> += <span style="color:#0000FF;">$ccc</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#CC66CC;color:#800000;">2</span><span style="color:#006600; font-weight:bold;">&#93;</span> * <span style="color:#CC66CC;color:#800000;">5</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$suma</span> += <span style="color:#0000FF;">$ccc</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#CC66CC;color:#800000;">3</span><span style="color:#006600; font-weight:bold;">&#93;</span> * <span style="color:#CC66CC;color:#800000;">10</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$suma</span> += <span style="color:#0000FF;">$ccc</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#CC66CC;color:#800000;">4</span><span style="color:#006600; font-weight:bold;">&#93;</span> * <span style="color:#CC66CC;color:#800000;">9</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$suma</span> += <span style="color:#0000FF;">$ccc</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#CC66CC;color:#800000;">5</span><span style="color:#006600; font-weight:bold;">&#93;</span> * <span style="color:#CC66CC;color:#800000;">7</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$suma</span> += <span style="color:#0000FF;">$ccc</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#CC66CC;color:#800000;">6</span><span style="color:#006600; font-weight:bold;">&#93;</span> * <span style="color:#CC66CC;color:#800000;">3</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$suma</span> += <span style="color:#0000FF;">$ccc</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#CC66CC;color:#800000;">7</span><span style="color:#006600; font-weight:bold;">&#93;</span> * <span style="color:#CC66CC;color:#800000;">6</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$division</span> = <a href="http://www.php.net/floor"><span style="color:#000066;">floor</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$suma</span>/<span style="color:#CC66CC;color:#800000;">11</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$resto</span>&nbsp; &nbsp; = <span style="color:#0000FF;">$suma</span> - <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$division</span>&nbsp; * <span style="color:#CC66CC;color:#800000;">11</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$primer_digito_control</span> = <span style="color:#CC66CC;color:#800000;">11</span> - <span style="color:#0000FF;">$resto</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#616100;">if</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$primer_digito_control</span> == <span style="color:#CC66CC;color:#800000;">11</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$primer_digito_control</span> = <span style="color:#CC66CC;color:#800000;">0</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#616100;">if</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$primer_digito_control</span> == <span style="color:#CC66CC;color:#800000;">10</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$primer_digito_control</span> = <span style="color:#CC66CC;color:#800000;">1</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#616100;">if</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$primer_digito_control</span> != <span style="color:#0000FF;">$ccc</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#CC66CC;color:#800000;">8</span><span style="color:#006600; font-weight:bold;">&#93;</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$valido</span> = <span style="color:#000000; font-weight:bold;">false</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">///////////////////////////////////////////////////</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">//&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dígito de control de la cuenta:</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">///////////////////////////////////////////////////</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$suma</span> = <span style="color:#CC66CC;color:#800000;">0</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$suma</span> += <span style="color:#0000FF;">$ccc</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#CC66CC;color:#800000;">10</span><span style="color:#006600; font-weight:bold;">&#93;</span> * <span style="color:#CC66CC;color:#800000;">1</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$suma</span> += <span style="color:#0000FF;">$ccc</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#CC66CC;color:#800000;">11</span><span style="color:#006600; font-weight:bold;">&#93;</span> * <span style="color:#CC66CC;color:#800000;">2</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$suma</span> += <span style="color:#0000FF;">$ccc</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#CC66CC;color:#800000;">12</span><span style="color:#006600; font-weight:bold;">&#93;</span> * <span style="color:#CC66CC;color:#800000;">4</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$suma</span> += <span style="color:#0000FF;">$ccc</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#CC66CC;color:#800000;">13</span><span style="color:#006600; font-weight:bold;">&#93;</span> * <span style="color:#CC66CC;color:#800000;">8</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$suma</span> += <span style="color:#0000FF;">$ccc</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#CC66CC;color:#800000;">14</span><span style="color:#006600; font-weight:bold;">&#93;</span> * <span style="color:#CC66CC;color:#800000;">5</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$suma</span> += <span style="color:#0000FF;">$ccc</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#CC66CC;color:#800000;">15</span><span style="color:#006600; font-weight:bold;">&#93;</span> * <span style="color:#CC66CC;color:#800000;">10</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$suma</span> += <span style="color:#0000FF;">$ccc</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#CC66CC;color:#800000;">16</span><span style="color:#006600; font-weight:bold;">&#93;</span> * <span style="color:#CC66CC;color:#800000;">9</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$suma</span> += <span style="color:#0000FF;">$ccc</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#CC66CC;color:#800000;">17</span><span style="color:#006600; font-weight:bold;">&#93;</span> * <span style="color:#CC66CC;color:#800000;">7</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$suma</span> += <span style="color:#0000FF;">$ccc</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#CC66CC;color:#800000;">18</span><span style="color:#006600; font-weight:bold;">&#93;</span> * <span style="color:#CC66CC;color:#800000;">3</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$suma</span> += <span style="color:#0000FF;">$ccc</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#CC66CC;color:#800000;">19</span><span style="color:#006600; font-weight:bold;">&#93;</span> * <span style="color:#CC66CC;color:#800000;">6</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$division</span> = <a href="http://www.php.net/floor"><span style="color:#000066;">floor</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$suma</span>/<span style="color:#CC66CC;color:#800000;">11</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$resto</span> = <span style="color:#0000FF;">$suma</span>-<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$division</span>&nbsp; * <span style="color:#CC66CC;color:#800000;">11</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$segundo_digito_control</span> = <span style="color:#CC66CC;color:#800000;">11</span>- <span style="color:#0000FF;">$resto</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#616100;">if</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$segundo_digito_control</span> == <span style="color:#CC66CC;color:#800000;">11</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$segundo_digito_control</span> = <span style="color:#CC66CC;color:#800000;">0</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#616100;">if</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$segundo_digito_control</span> == <span style="color:#CC66CC;color:#800000;">10</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$segundo_digito_control</span> = <span style="color:#CC66CC;color:#800000;">1</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#616100;">if</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$segundo_digito_control</span> != <span style="color:#0000FF;">$ccc</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#CC66CC;color:#800000;">9</span><span style="color:#006600; font-weight:bold;">&#93;</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$valido</span> = <span style="color:#000000; font-weight:bold;">false</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#616100;">return</span> <span style="color:#0000FF;">$valido</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.neleste.com/validar-ccc-con-php/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Homer Simpson en Css</title>
		<link>http://www.neleste.com/homer-simpson-en-css/</link>
		<comments>http://www.neleste.com/homer-simpson-en-css/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 13:11:00 +0000</pubDate>
		<dc:creator>juanra</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Sin categoría]]></category>
		<category><![CDATA[homer]]></category>

		<guid isPermaLink="false">http://www.neleste.com/?p=176</guid>
		<description><![CDATA[



o


o


o


o





(



O


O


O


\


L


(


O


O




O


O


O


\


L


(


O


















&#124;


&#124;


\


\


&#124;


&#124;


\


\


\


\


(


(


8


o


o


o




(


(


8


o


o


o







o


)


)


b


o


O


o


o


o


o


o




o


)


b


o


O


o


o


o


o


o


o


o


o


o


/


/


/



•


•


•


•


•







_


_


_


•


•


•


C


C







O


(


-





Visto en Roman Cortes
]]></description>
			<content:encoded><![CDATA[<div style=" float: left; line-height: normal; background-color: rgb(255, 255, 255);">
<div style="overflow: hidden; width: 6.23em; height: 7.7em; font-family: Verdana; font-size: 60px;">
<div style="margin-top: -0.7em;">
<div style="position: absolute; padding-left: 1.56em; padding-top: 0.37em;">
<div style="font-size: 2.57em; font-weight: bold; color: rgb(0, 0, 0);">o</div>
</div>
<div style="position: absolute; padding-left: 1.62em; padding-top: 0.53em;">
<div style="font-size: 2.38em; font-weight: bold; color: rgb(255, 255, 255);">o</div>
</div>
<div style="position: absolute; padding-left: 1.2em; padding-top: 0.67em;">
<div style="font-size: 2.48em; color: rgb(0, 0, 0);">o</div>
</div>
<div style="position: absolute; padding-left: 1.29em; padding-top: 0.85em;">
<div style="font-size: 2.23em; color: rgb(255, 255, 255);">o</div>
</div>
<div style="position: absolute; padding-left: 1.57em; padding-top: 2.03em;">
<div style="width: 0.32em; height: 0.52em; background-color: rgb(255, 255, 255);"></div>
</div>
<div style="position: absolute; padding-left: 1.52em; padding-top: 1.56em;">
<div style="font-size: 0.8em; font-style: italic; color: rgb(0, 0, 0);">(</div>
</div>
<div style="color: rgb(0, 0, 0);">
<div style="position: absolute; padding-left: 1.07em; padding-top: 0.62em;">
<div style="font-size: 4.57em;">O</div>
</div>
<div style="position: absolute; padding-left: 1.05em; padding-top: 1.15em;">
<div style="font-size: 3.53em;">O</div>
</div>
<div style="position: absolute; padding-left: 1.12em; padding-top: 0.74em;">
<div style="font-size: 4.63em;">O</div>
</div>
<div style="position: absolute; padding-left: 1.08em; padding-top: 3.64em;">
<div style="font-size: 1.77em; font-weight: bold; font-style: italic;">\</div>
</div>
<div style="position: absolute; padding-left: 1.17em; padding-top: 4.8em;">
<div style="font-size: 3.29em; font-weight: bold; font-style: italic;">L</div>
</div>
<div style="position: absolute; padding-left: 3.14em; padding-top: 5.21em;">
<div style="overflow: hidden; font-size: 3.01em; font-weight: bold; font-style: italic; height: 0.96em;">(</div>
</div>
<div style="position: absolute; padding-left: 4.13em; padding-top: 3.23em;">
<div style="font-size: 0.7em; font-weight: bold;">O</div>
</div>
<div style="position: absolute; padding-left: 1.37em; padding-top: 5.08em;">
<div style="font-size: 0.97em; font-weight: bold;">O</div>
</div>
</div>
<div style="color: rgb(254, 217, 14);">
<div style="position: absolute; padding-left: 1.15em; padding-top: 0.76em;">
<div style="font-size: 4.37em;">O</div>
</div>
<div style="position: absolute; padding-left: 1.14em; padding-top: 1.26em;">
<div style="font-size: 3.37em;">O</div>
</div>
<div style="position: absolute; padding-left: 1.2em; padding-top: 0.87em;">
<div style="font-size: 4.42em;">O</div>
</div>
<div style="position: absolute; padding-left: 1.15em; padding-top: 3.61em;">
<div style="font-size: 1.7em; font-weight: bold; font-style: italic;">\</div>
</div>
<div style="position: absolute; padding-left: 1.24em; padding-top: 4.93em;">
<div style="font-size: 3.18em; font-weight: bold; font-style: italic;">L</div>
</div>
<div style="position: absolute; padding-left: 3.03em; padding-top: 5.05em;">
<div style="overflow: hidden; font-size: 3.2em; font-weight: bold; font-style: italic; height: 0.96em;">(</div>
</div>
<div style="position: absolute; padding-left: 4.18em; padding-top: 3.34em;">
<div style="font-size: 0.55em; font-weight: bold;">O</div>
</div>
</div>
<div style="position: absolute; padding-left: 1.84em; padding-top: 2.37em;">
<div style="width: 1.92em; height: 5.76em; background-color: rgb(254, 217, 14);"></div>
</div>
<div style="position: absolute; padding-left: 3.7em; padding-top: 2.73em;">
<div style="width: 0.3em; height: 1.56em; background-color: rgb(254, 217, 14);"></div>
</div>
<div style="position: absolute; padding-left: 4.36em; padding-top: 3.51em;">
<div style="width: 0.16em; height: 0.34em; background-color: rgb(254, 217, 14);"></div>
</div>
<div style="position: absolute; padding-left: 1.62em; padding-top: 5.47em;">
<div style="font-size: 10px;">
<div style="width: 2.6em; height: 3em; background-color: rgb(254, 217, 14);"></div>
</div>
</div>
<div style="color: rgb(0, 0, 0);">
<div style="position: absolute; padding-left: 1.23em; padding-top: 4.57em;">
<div style="font-size: 0.67em;">|</div>
</div>
<div style="position: absolute; padding-left: 1.23em; padding-top: 4.37em;">
<div style="font-size: 0.67em;">|</div>
</div>
<div style="position: absolute; padding-left: 1.34em; padding-top: 4.37em;">
<div style="font-size: 0.67em;">\</div>
</div>
<div style="position: absolute; padding-left: 1.4em; padding-top: 4.53em;">
<div style="font-size: 0.67em;">\</div>
</div>
<div style="position: absolute; padding-left: 1.55em; padding-top: 4.49em;">
<div style="font-size: 0.67em;">|</div>
</div>
<div style="position: absolute; padding-left: 1.55em; padding-top: 4.19em;">
<div style="font-size: 0.67em;">|</div>
</div>
<div style="position: absolute; padding-left: 1.66em; padding-top: 4.19em;">
<div style="font-size: 0.67em;">\</div>
</div>
<div style="position: absolute; padding-left: 1.76em; padding-top: 4.45em;">
<div style="font-size: 0.67em;">\</div>
</div>
<div style="position: absolute; padding-left: 1.27em; padding-top: 2.54em;">
<div style="font-size: 0.42em; font-weight: bold; font-style: italic;">\</div>
</div>
<div style="position: absolute; padding-left: 1.51em; padding-top: 2.18em;">
<div style="font-size: 0.42em; font-weight: bold; font-style: italic;">\</div>
</div>
<div style="position: absolute; padding-left: 2.31em; padding-top: 5.32em;">
<div style="font-size: 1.47em; font-weight: bold; font-style: italic;">(</div>
</div>
<div style="position: absolute; padding-left: 2.29em; padding-top: 5.69em;">
<div style="font-size: 1.11em; font-weight: bold;">(</div>
</div>
<div style="position: absolute; padding-left: 2.92em; padding-top: 4.72em;">
<div style="font-size: 2.4em; font-weight: bold;">8</div>
</div>
<div style="position: absolute; padding-left: 2.43em; padding-top: 3.96em;">
<div style="font-size: 3.13em; font-weight: bold; font-style: italic;">o</div>
</div>
<div style="position: absolute; padding-left: 2.31em; padding-top: 4.05em;">
<div style="font-size: 3.13em; font-weight: bold; font-style: italic;">o</div>
</div>
<div style="position: absolute; padding-left: 2.33em; padding-top: 4.37em;">
<div style="font-size: 3.06em; font-weight: bold;">o</div>
</div>
</div>
<div style="color: rgb(205, 178, 111);">
<div style="position: absolute; padding-left: 2.39em; padding-top: 5.36em;">
<div style="font-size: 1.38em; font-weight: bold; font-style: italic;">(</div>
</div>
<div style="position: absolute; padding-left: 2.37em; padding-top: 5.75em;">
<div style="font-size: 1.04em; font-weight: bold;">(</div>
</div>
<div style="position: absolute; padding-left: 2.95em; padding-top: 4.82em;">
<div style="font-size: 2.25em; font-weight: bold;">8</div>
</div>
<div style="position: absolute; padding-left: 2.49em; padding-top: 4.15em;">
<div style="font-size: 2.93em; font-weight: bold; font-style: italic;">o</div>
</div>
<div style="position: absolute; padding-left: 2.39em; padding-top: 4.22em;">
<div style="font-size: 2.93em; font-weight: bold; font-style: italic;">o</div>
</div>
<div style="position: absolute; padding-left: 2.4em; padding-top: 4.5em;">
<div style="font-size: 2.87em; font-weight: bold;">o</div>
</div>
</div>
<div style="position: absolute; padding-left: 2.98em; padding-top: 6.09em;">
<div style="width: 0.76em; height: 1em; background-color: rgb(205, 178, 111);"></div>
</div>
<div style="color: rgb(0, 0, 0);">
<div style="position: absolute; padding-left: 3.69em; padding-top: 4.28em;">
<div style="font-size: 2.2em;">o</div>
</div>
<div style="position: absolute; padding-left: 4.62em; padding-top: 5.42em;">
<div style="font-size: 1.01em;">)</div>
</div>
<div style="position: absolute; padding-left: 4.78em; padding-top: 5.72em;">
<div style="font-size: 0.72em;">)</div>
</div>
<div style="position: absolute; padding-left: 4.53em; padding-top: 5.65em;">
<div style="font-size: 0.94em;">b</div>
</div>
<div style="position: absolute; padding-left: 4em; padding-top: 5.09em;">
<div style="font-size: 1.59em; font-weight: bold;">o</div>
</div>
<div style="position: absolute; padding-left: 3.33em; padding-top: 4.79em;">
<div style="font-size: 1.95em; font-weight: bold;">O</div>
</div>
<div style="position: absolute; padding-left: 3.15em; padding-top: 4.3em;">
<div style="font-size: 2.42em; font-weight: bold;">o</div>
</div>
<div style="position: absolute; padding-left: 3.01em; padding-top: 4.46em;">
<div style="font-size: 2.23em; font-weight: bold;">o</div>
</div>
<div style="position: absolute; padding-left: 2.88em; padding-top: 4.43em;">
<div style="font-size: 2.23em; font-weight: bold;">o</div>
</div>
<div style="position: absolute; padding-left: 2.81em; padding-top: 4.71em;">
<div style="font-size: 1.9em; font-weight: bold;">o</div>
</div>
<div style="position: absolute; padding-left: 3.69em; padding-top: 4.74em;">
<div style="font-size: 1.97em; font-weight: bold;">o</div>
</div>
</div>
<div style="color: rgb(205, 178, 111);">
<div style="position: absolute; padding-left: 3.7em; padding-top: 4.4em;">
<div style="font-size: 2.06em;">o</div>
</div>
<div style="position: absolute; padding-left: 4.57em; padding-top: 5.44em;">
<div style="font-size: 0.95em;">)</div>
</div>
<div style="position: absolute; padding-left: 4.49em; padding-top: 5.66em;">
<div style="font-size: 0.88em;">b</div>
</div>
<div style="position: absolute; padding-left: 4.01em; padding-top: 5.14em;">
<div style="font-size: 1.48em; font-weight: bold;">o</div>
</div>
<div style="position: absolute; padding-left: 3.37em; padding-top: 4.84em;">
<div style="font-size: 1.83em; font-weight: bold;">O</div>
</div>
<div style="position: absolute; padding-left: 3.21em; padding-top: 4.38em;">
<div style="font-size: 2.27em; font-weight: bold;">o</div>
</div>
<div style="position: absolute; padding-left: 3.07em; padding-top: 4.54em;">
<div style="font-size: 2.09em; font-weight: bold;">o</div>
</div>
<div style="position: absolute; padding-left: 2.95em; padding-top: 4.53em;">
<div style="font-size: 2.08em; font-weight: bold;">o</div>
</div>
<div style="position: absolute; padding-left: 2.88em; padding-top: 4.78em;">
<div style="font-size: 1.78em; font-weight: bold;">o</div>
</div>
<div style="position: absolute; padding-left: 3.71em; padding-top: 4.79em;">
<div style="font-size: 1.85em; font-weight: bold;">o</div>
</div>
<div style="position: absolute; padding-left: 2.87em; padding-top: 4.59em;">
<div style="font-size: 1.93em; font-weight: bold;">o</div>
</div>
<div style="position: absolute; padding-left: 3.09em; padding-top: 4.55em;">
<div style="font-size: 1.93em; font-weight: bold;">o</div>
</div>
<div style="position: absolute; padding-left: 2.73em; padding-top: 5.03em;">
<div style="font-size: 1.44em; font-weight: bold;">o</div>
</div>
<div style="position: absolute; padding-left: 2.59em; padding-top: 5.77em;">
<div style="font-size: 0.82em; font-weight: bold;">o</div>
</div>
<div style="position: absolute; padding-left: 3.04em; padding-top: 6.4em;">
<div style="font-size: 0.16em; font-weight: bold; font-style: italic; color: rgb(0, 0, 0);">/</div>
</div>
<div style="position: absolute; padding-left: 3.03em; padding-top: 6.4em;">
<div style="font-size: 0.16em; font-weight: bold; font-style: italic; color: rgb(0, 0, 0);">/</div>
</div>
<div style="position: absolute; padding-left: 3.02em; padding-top: 6.4em;">
<div style="font-size: 0.16em; font-weight: bold; font-style: italic; color: rgb(0, 0, 0);">/</div>
</div>
</div>
<div style="position: absolute; padding-left: 3.24em; padding-top: 2.49em;">
<div style="font-size: 2.76em; font-weight: bold; color: rgb(0, 0, 0);">•</div>
</div>
<div style="position: absolute; padding-left: 3.34em; padding-top: 2.68em;">
<div style="font-size: 2.49em; font-weight: bold; color: rgb(255, 255, 255);">•</div>
</div>
<div style="position: absolute; padding-left: 4.2em; padding-top: 4.26em;">
<div style="font-size: 0.28em; font-weight: bold; color: rgb(0, 0, 0);">•</div>
</div>
<div style="position: absolute; padding-left: 3.9em; padding-top: 4.05em;">
<div style="font-size: 1.47em; font-weight: bold; color: rgb(0, 0, 0);">•</div>
</div>
<div style="position: absolute; padding-left: 3.99em; padding-top: 4.23em;">
<div style="font-size: 1.2em; font-weight: bold; color: rgb(254, 217, 14);">•</div>
</div>
<div style="position: absolute; padding-left: 3.66em; padding-top: 4.7em;">
<div style="font-size: 10px;">
<div style="width: 4.6em; height: 3.88em; background-color: rgb(254, 217, 14);"></div>
</div>
</div>
<div style="position: absolute; padding-left: 3.68em; padding-top: 3.36em;">
<div style="font-size: 1.2em; color: rgb(0, 0, 0);">_</div>
</div>
<div style="position: absolute; padding-left: 3.68em; padding-top: 4.03em;">
<div style="font-size: 1.2em; color: rgb(0, 0, 0);">_</div>
</div>
<div style="position: absolute; padding-left: 3.64em; padding-top: 4.03em;">
<div style="font-size: 1.2em; color: rgb(0, 0, 0);">_</div>
</div>
<div style="position: absolute; padding-left: 1.96em; padding-top: 2.33em;">
<div style="font-size: 3.04em; font-weight: bold; color: rgb(0, 0, 0);">•</div>
</div>
<div style="position: absolute; padding-left: 2.06em; padding-top: 2.5em;">
<div style="font-size: 2.77em; font-weight: bold; color: rgb(255, 255, 255);">•</div>
</div>
<div style="position: absolute; padding-left: 2.67em; padding-top: 4.23em;">
<div style="font-size: 0.28em; font-weight: bold; color: rgb(0, 0, 0);">•</div>
</div>
<div style="position: absolute; padding-left: 1.46em; padding-top: 5.18em;">
<div style="font-size: 0.66em; color: rgb(0, 0, 0);">C</div>
</div>
<div style="position: absolute; padding-left: 1.47em; padding-top: 5.4em;">
<div style="font-size: 0.66em; color: rgb(0, 0, 0);">C</div>
</div>
<div style="position: absolute; padding-left: 1.62em; padding-top: 5.53em;">
<div style="font-size: 10px;">
<div style="width: 2.2em; height: 2.2em; background-color: rgb(254, 217, 14);"></div>
</div>
</div>
<div style="position: absolute; padding-left: 1.45em; padding-top: 5.19em;">
<div style="font-size: 0.8em; font-weight: bold; color: rgb(254, 217, 14);">O</div>
</div>
<div style="position: absolute; padding-left: 1.58em; padding-top: 5.47em;">
<div style="font-size: 0.25em; font-weight: bold; font-style: italic; color: rgb(0, 0, 0);">(</div>
</div>
<div style="position: absolute; padding-left: 1.62em; padding-top: 5.46em;">
<div style="font-size: 0.25em; font-weight: bold; font-style: italic; color: rgb(0, 0, 0);">-</div>
</div>
</div>
</div>
</div>
<div style="clear:both"></div>
<p>Visto en <a href="http://www.romancortes.com/blog/homer-css/" rel="nofollow">Roman Cortes</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.neleste.com/homer-simpson-en-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Como matar un proceso si conocemos el nombre</title>
		<link>http://www.neleste.com/como-matar-un-proceso-si-conocemos-el-nombre/</link>
		<comments>http://www.neleste.com/como-matar-un-proceso-si-conocemos-el-nombre/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 13:03:10 +0000</pubDate>
		<dc:creator>juanra</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Sin categoría]]></category>
		<category><![CDATA[kill]]></category>
		<category><![CDATA[proceso]]></category>

		<guid isPermaLink="false">http://www.neleste.com/?p=175</guid>
		<description><![CDATA[¿Como podríamos matar un proceso, si conocemos el nombre de este?, si suponemos que nuestro proceso es bash.
kill $(pgrep bash)
killall -v bash
pkill bash
kill 'ps -ef &#124; grep bash &#124; grep -v grep &#124; awk '{print $2}''
ps -ef &#124; grep bash &#124; grep -v grep &#124; xargs kill
killall bash
Esto es útil cuando no se conoce el [...]]]></description>
			<content:encoded><![CDATA[<p>¿Como podríamos matar un proceso, si conocemos el nombre de este?, si suponemos que nuestro proceso es bash.</p>
<p><code>kill $(pgrep bash)</code><br />
<code>killall -v bash</code><br />
<code>pkill bash</code><br />
<code>kill 'ps -ef | grep bash | grep -v grep | awk '{print $2}''</code><br />
<code>ps -ef | grep bash | grep -v grep | xargs kill</code><br />
<code>killall bash</code></p>
<p>Esto es útil cuando no se conoce el nombre del proceso</p>
]]></content:encoded>
			<wfw:commentRss>http://www.neleste.com/como-matar-un-proceso-si-conocemos-el-nombre/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reproducir un video sin descomprimir</title>
		<link>http://www.neleste.com/reproducir-un-video-sin-descomprimir/</link>
		<comments>http://www.neleste.com/reproducir-un-video-sin-descomprimir/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 12:58:02 +0000</pubDate>
		<dc:creator>juanra</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[vlc]]></category>

		<guid isPermaLink="false">http://www.neleste.com/?p=174</guid>
		<description><![CDATA[Con este simple codigo ejecutado desde nuestra consola, podremos reproducir en linux un video que se encuentra dentro de un archivo comprimido:
unrar p -inul /path/to/movie_folder/movie.name.r00 &#124; vlc -
]]></description>
			<content:encoded><![CDATA[<p>Con este simple codigo ejecutado desde nuestra consola, podremos reproducir en linux un video que se encuentra dentro de un archivo comprimido:<br />
<code>unrar p -inul /path/to/movie_folder/movie.name.r00 | vlc -</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.neleste.com/reproducir-un-video-sin-descomprimir/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

