<?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"
	>

<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>
	<pubDate>Sat, 20 Feb 2010 09:56:47 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<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>
		</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>
		</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>
		</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>
		</item>
		<item>
		<title>Tabla de caracteres ANSI</title>
		<link>http://www.neleste.com/tabla-de-caracteres-ansi/</link>
		<comments>http://www.neleste.com/tabla-de-caracteres-ansi/#comments</comments>
		<pubDate>Sun, 18 Oct 2009 11:39:48 +0000</pubDate>
		<dc:creator>juanra</dc:creator>
		
		<category><![CDATA[Artículos]]></category>

		<category><![CDATA[Sin categoría]]></category>

		<category><![CDATA[ansi]]></category>

		<category><![CDATA[caracteres]]></category>

		<guid isPermaLink="false">http://www.neleste.com/?p=170</guid>
		<description><![CDATA[Cuando escribimos en el ordenador, este no "interpreta letras", sino los códigos numéricos que representan a estas, esto es lo que se conoce como juego de caracteres, en este post, veremos un popular juego de caracteres ANSI (American National Standards Institute), que asigna letras y números.
La tabla es bastante útil cuando tienes que poner algún [...]]]></description>
			<content:encoded><![CDATA[<p>Cuando escribimos en el ordenador, este no "interpreta letras", sino los códigos numéricos que representan a estas, esto es lo que se conoce como juego de caracteres, en este post, veremos un popular juego de caracteres ANSI (American National Standards Institute), que asigna letras y números.</p>
<p>La tabla es bastante útil cuando tienes que poner algún determinado código que no aparece en el teclado.</p>
<table border="1" cellspacing="0" cellpadding="5">
<tbody>
<tr>
<td valign="top">chr(33) = !</td>
<td valign="top">chr(34) = “</td>
<td valign="top">chr(35) = #</td>
<td valign="top">chr(36) = $</td>
<td valign="top">chr(37) = %</td>
<td valign="top">chr(38) = &amp;</td>
</tr>
<tr>
<td valign="top">chr(39) = ‘</td>
<td valign="top">chr(40) = (</td>
<td valign="top">chr(41) = )</td>
<td valign="top">chr(42) = *</td>
<td valign="top">chr(43) = +</td>
<td valign="top">chr(44) = ,</td>
</tr>
<tr>
<td valign="top">chr(45) = -</td>
<td valign="top">chr(46) = .</td>
<td valign="top">chr(47) = /</td>
<td valign="top">chr(48) = 0</td>
<td valign="top">chr(49) = 1</td>
<td valign="top">chr(50) = 2</td>
</tr>
<tr>
<td valign="top">chr(51) = 3</td>
<td valign="top">chr(52) = 4</td>
<td valign="top">chr(53) = 5</td>
<td valign="top">chr(54) = 6</td>
<td valign="top">chr(55) = 7</td>
<td valign="top">chr(56) = 8</td>
</tr>
<tr>
<td valign="top">chr(57) = 9</td>
<td valign="top">chr(58) = :</td>
<td valign="top">chr(59) = ;</td>
<td valign="top">chr(60) = &lt;</td>
<td valign="top">chr(61) = =</td>
<td valign="top">chr(62) = &gt;</td>
</tr>
<tr>
<td valign="top">chr(63) = ?</td>
<td valign="top">chr(64) = @</td>
<td valign="top">chr(65) = A</td>
<td valign="top">chr(66) = B</td>
<td valign="top">chr(67) = C</td>
<td valign="top">chr(68) = D</td>
</tr>
<tr>
<td valign="top">chr(69) = E</td>
<td valign="top">chr(70) = F</td>
<td valign="top">chr(71) = G</td>
<td valign="top">chr(72) = H</td>
<td valign="top">chr(73) = I</td>
<td valign="top">chr(74) = J</td>
</tr>
<tr>
<td valign="top">chr(75) = K</td>
<td valign="top">chr(76) = L</td>
<td valign="top">chr(77) = M</td>
<td valign="top">chr(78) = N</td>
<td valign="top">chr(79) = O</td>
<td valign="top">chr(80) = P</td>
</tr>
<tr>
<td valign="top">chr(81) = Q</td>
<td valign="top">chr(82) = R</td>
<td valign="top">chr(83) = S</td>
<td valign="top">chr(84) = T</td>
<td valign="top">chr(85) = U</td>
<td valign="top">chr(86) = V</td>
</tr>
<tr>
<td valign="top">chr(87) = W</td>
<td valign="top">chr(88) = X</td>
<td valign="top">chr(89) = Y</td>
<td valign="top">chr(90) = Z</td>
<td valign="top">chr(91) = [</td>
<td valign="top">chr(92) = \</td>
</tr>
<tr>
<td valign="top">chr(93) = ]</td>
<td valign="top">chr(94) = ^</td>
<td valign="top">chr(95) = _</td>
<td valign="top">chr(96) = `</td>
<td valign="top">chr(97) = a</td>
<td valign="top">chr(98) = b</td>
</tr>
<tr>
<td valign="top">chr(99) = c</td>
<td valign="top">chr(100) = d</td>
<td valign="top">chr(101) = e</td>
<td valign="top">chr(102) = f</td>
<td valign="top">chr(103) = g</td>
<td valign="top">chr(104) = h</td>
</tr>
<tr>
<td valign="top">chr(105) = i</td>
<td valign="top">chr(106) = j</td>
<td valign="top">chr(107) = k</td>
<td valign="top">chr(108) = l</td>
<td valign="top">chr(109) = m</td>
<td valign="top">chr(110) = n</td>
</tr>
<tr>
<td valign="top">chr(111) = o</td>
<td valign="top">chr(112) = p</td>
<td valign="top">chr(113) = q</td>
<td valign="top">chr(114) = r</td>
<td valign="top">chr(115) = s</td>
<td valign="top">chr(116) = t</td>
</tr>
<tr>
<td valign="top">chr(117) = u</td>
<td valign="top">chr(118) = v</td>
<td valign="top">chr(119) = w</td>
<td valign="top">chr(120) = x</td>
<td valign="top">chr(121) = y</td>
<td valign="top">chr(122) = z</td>
</tr>
<tr>
<td valign="top">chr(123) = {</td>
<td valign="top">chr(124) = |</td>
<td valign="top">chr(125) = }</td>
<td valign="top">chr(126) = ~</td>
<td valign="top">chr(127) = </td>
<td valign="top">chr(128) = €</td>
</tr>
<tr>
<td valign="top">chr(129) =</td>
<td valign="top">chr(130) = ‚</td>
<td valign="top">chr(131) = ƒ</td>
<td valign="top">chr(132) = „</td>
<td valign="top">chr(133) = …</td>
<td valign="top">chr(134) = †</td>
</tr>
<tr>
<td valign="top">chr(135) = ‡</td>
<td valign="top">chr(136) = ˆ</td>
<td valign="top">chr(137) = ‰</td>
<td valign="top">chr(138) = Š</td>
<td valign="top">chr(139) = ‹</td>
<td valign="top">chr(140) = Œ</td>
</tr>
<tr>
<td valign="top">chr(141) = </td>
<td valign="top">chr(142) = Ž</td>
<td valign="top">chr(143) = </td>
<td valign="top">chr(144) = </td>
<td valign="top">chr(145) = ‘</td>
<td valign="top">chr(146) = ’</td>
</tr>
<tr>
<td valign="top">chr(147) = “</td>
<td valign="top">chr(148) = ”</td>
<td valign="top">chr(149) = •</td>
<td valign="top">chr(150) = –</td>
<td valign="top">chr(151) = —</td>
<td valign="top">chr(152) = ˜</td>
</tr>
<tr>
<td valign="top">chr(153) = ™</td>
<td valign="top">chr(154) = š</td>
<td valign="top">chr(155) = ›</td>
<td valign="top">chr(156) = œ</td>
<td valign="top">chr(157) = </td>
<td valign="top">chr(158) = ž</td>
</tr>
<tr>
<td valign="top">chr(159) = Ÿ</td>
<td valign="top">chr(160) =</td>
<td valign="top">chr(161) = ¡</td>
<td valign="top">chr(162) = ¢</td>
<td valign="top">chr(163) = £</td>
<td valign="top">chr(164) = ¤</td>
</tr>
<tr>
<td valign="top">chr(165) = ¥</td>
<td valign="top">chr(166) = ¦</td>
<td valign="top">chr(167) = §</td>
<td valign="top">chr(168) = ¨</td>
<td valign="top">chr(169) = ©</td>
<td valign="top">chr(170) = ª</td>
</tr>
<tr>
<td valign="top">chr(171) = «</td>
<td valign="top">chr(172) = ¬</td>
<td valign="top">chr(173) = ­­</td>
<td valign="top">chr(174) = ®</td>
<td valign="top">chr(175) = ¯</td>
<td valign="top">chr(176) = °</td>
</tr>
<tr>
<td valign="top">chr(177) = ±</td>
<td valign="top">chr(178) = ²</td>
<td valign="top">chr(179) = ³</td>
<td valign="top">chr(180) = ´</td>
<td valign="top">chr(181) = µ</td>
<td valign="top">chr(182) = ¶</td>
</tr>
<tr>
<td valign="top">chr(183) = ·</td>
<td valign="top">chr(184) = ¸</td>
<td valign="top">chr(185) = ¹</td>
<td valign="top">chr(186) = º</td>
<td valign="top">chr(187) = »</td>
<td valign="top">chr(188) = ¼</td>
</tr>
<tr>
<td valign="top">chr(189) = ½</td>
<td valign="top">chr(190) = ¾</td>
<td valign="top">chr(191) = ¿</td>
<td valign="top">chr(192) = À</td>
<td valign="top">chr(193) = Á</td>
<td valign="top">chr(194) = Â</td>
</tr>
<tr>
<td valign="top">chr(195) = Ã</td>
<td valign="top">chr(196) = Ä</td>
<td valign="top">chr(197) = Å</td>
<td valign="top">chr(198) = Æ</td>
<td valign="top">chr(199) = Ç</td>
<td valign="top">chr(200) = È</td>
</tr>
<tr>
<td valign="top">chr(201) = É</td>
<td valign="top">chr(202) = Ê</td>
<td valign="top">chr(203) = Ë</td>
<td valign="top">chr(204) = Ì</td>
<td valign="top">chr(205) = Í</td>
<td valign="top">chr(206) = Î</td>
</tr>
<tr>
<td valign="top">chr(207) = Ï</td>
<td valign="top">chr(208) = Ð</td>
<td valign="top">chr(209) = Ñ</td>
<td valign="top">chr(210) = Ò</td>
<td valign="top">chr(211) = Ó</td>
<td valign="top">chr(212) = Ô</td>
</tr>
<tr>
<td valign="top">chr(213) = Õ</td>
<td valign="top">chr(214) = Ö</td>
<td valign="top">chr(215) = ×</td>
<td valign="top">chr(216) = Ø</td>
<td valign="top">chr(217) = Ù</td>
<td valign="top">chr(218) = Ú</td>
</tr>
<tr>
<td valign="top">chr(219) = Û</td>
<td valign="top">chr(220) = Ü</td>
<td valign="top">chr(221) = Ý</td>
<td valign="top">chr(222) = Þ</td>
<td valign="top">chr(223) = ß</td>
<td valign="top">chr(224) = à</td>
</tr>
<tr>
<td valign="top">chr(225) = á</td>
<td valign="top">chr(226) = â</td>
<td valign="top">chr(227) = ã</td>
<td valign="top">chr(228) = ä</td>
<td valign="top">chr(229) = å</td>
<td valign="top">chr(230) = æ</td>
</tr>
<tr>
<td valign="top">chr(231) = ç</td>
<td valign="top">chr(232) = è</td>
<td valign="top">chr(233) = é</td>
<td valign="top">chr(234) = ê</td>
<td valign="top">chr(235) = ë</td>
<td valign="top">chr(236) = ì</td>
</tr>
<tr>
<td valign="top">chr(237) = í</td>
<td valign="top">chr(238) = î</td>
<td valign="top">chr(239) = ï</td>
<td valign="top">chr(240) = ð</td>
<td valign="top">chr(241) = ñ</td>
<td valign="top">chr(242) = ò</td>
</tr>
<tr>
<td valign="top">chr(243) = ó</td>
<td valign="top">chr(244) = ô</td>
<td valign="top">chr(245) = õ</td>
<td valign="top">chr(246) = ö</td>
<td valign="top">chr(247) = ÷</td>
<td valign="top">chr(248) = ø</td>
</tr>
<tr>
<td valign="top">chr(249) = ù</td>
<td valign="top">chr(250) = ú</td>
<td valign="top">chr(251) = û</td>
<td valign="top">chr(252) = ü</td>
<td valign="top">chr(253) = ý</td>
<td valign="top">chr(254) = þ</td>
</tr>
</tbody>
</table>
<p>Espero que sirvan de ayuda</p>]]></content:encoded>
			<wfw:commentRss>http://www.neleste.com/tabla-de-caracteres-ansi/feed/</wfw:commentRss>
		</item>
		<item>
		<title>El tag video en html 5</title>
		<link>http://www.neleste.com/tag-video-html-5/</link>
		<comments>http://www.neleste.com/tag-video-html-5/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 21:52:02 +0000</pubDate>
		<dc:creator>juanra</dc:creator>
		
		<category><![CDATA[Artículos]]></category>

		<category><![CDATA[Internet]]></category>

		<category><![CDATA[html]]></category>

		<category><![CDATA[html 5]]></category>

		<guid isPermaLink="false">http://www.neleste.com/?p=169</guid>
		<description><![CDATA[Entre los nuevos atributos de html 5, hay algunos muy importantes como los , , etc.. Pero sin duda, la estrella de este nuevo estándar, es el tag . Este tag, podrá revolucionar el mundo multimedia muy pronto. No obstante, hasta Youtube tiene una versión preparada para desprenderse del flash.
Hasta ahora
El método de visualizar un [...]]]></description>
			<content:encoded><![CDATA[<p>Entre los nuevos atributos de html 5, hay algunos muy importantes como los , , etc.. Pero sin duda, la estrella de este nuevo estándar, es el tag . Este tag, podrá revolucionar el mundo multimedia muy pronto. No obstante, <a rel="nofollow" href="http://www.youtube.com/html5">hasta Youtube tiene una versión preparada</a> para desprenderse del flash.</p>
<h3>Hasta ahora</h3>
<p>El método de visualizar un video web actualmente, es similar a la que muestro en el siguiente código.  Mediante el elemento &lt;/object&gt;</p>
<h3>Con html 5</h3>
<p>Con HTML5, además de poder dejar más claro que este contenido es un archivo de formato video, nos permite informar de una alternativa a los usuarios que no posean un navegador compatible o incluso insertando el &lt;object&gt;</p>
<p>&lt;video src="mirutaalvideo" &gt;formatos alternativos&lt;/video&gt;<br />
Si tu navegador acepta html 5, veras el reproductor</p>
<h3>Conclusiones</h3>
<p>Es un avance, pero parece haber problemas con el que será el códec estándar, parece que finalmente no habrá un códec estándar y cada navegador usara el suyo. Actualmente en firefox, hay que subir videos .ogg, y en webkit .mp4. IE no se ha pronunciado aún.</p>]]></content:encoded>
			<wfw:commentRss>http://www.neleste.com/tag-video-html-5/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Sincronizar directorios y copiar solo archivos modificados</title>
		<link>http://www.neleste.com/sincronizar-directorios-y-copiar-solo-archivos-modificados/</link>
		<comments>http://www.neleste.com/sincronizar-directorios-y-copiar-solo-archivos-modificados/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 11:43:13 +0000</pubDate>
		<dc:creator>juanra</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.neleste.com/?p=168</guid>
		<description><![CDATA[Con esto sincronizamos todo el directorio remoto de un equipo en el directorio local que queramos.
Util para que compare los dos directorio y solo compie lo que ha sufrido cambios, respetando los permisos del archivo:
rsync -rvlpz root@&#60;host remoto&#62;:/&#60;directorio remoto&#62;/ /&#60;directorio local&#62;/
los parametros rvlpz son para:
-r = recursivo – procesa sub-directorios y archivos encontrado el la [...]]]></description>
			<content:encoded><![CDATA[<p>Con esto sincronizamos todo el directorio remoto de un equipo en el directorio local que queramos.<br />
Util para que compare los dos directorio y solo compie lo que ha sufrido cambios, respetando los permisos del archivo:</p>
<p>rsync -rvlpz root@&lt;host remoto&gt;:/&lt;directorio remoto&gt;/ /&lt;directorio local&gt;/<br />
los parametros rvlpz son para:</p>
<p>-r = recursivo – procesa sub-directorios y archivos encontrado el la ubicación del fuente o SRC.<br />
-v es utilizado para aumentar la verbosidad desplegado. Después, cuando estamos seguro que esta respaldando lo que deseamos, puede quitar el 'v'. Sigue incluido en este ejemplo porque el proceso esta ejecutado desde una tarea 'cron', y prefiero 'ver' lo que hizo. Es por cada individuo a decidir.<br />
-l = links (acoplamientos) – cuando los acoplamientos simbólicas (symlinks) se encuentro, recrearlo en el sistema destinaría.<br />
-p = permisos – dice a rsync a fijar los permisos en el destinaría igual que el fuente (SRC).<br />
-z se utiliza para comprimir los datos que serán transferido o copiado, con el resulto que el proceso de copiado se realizo más rápido, porque los datos siendo transferido es más pequeño que el tamaño verdadero.</p>]]></content:encoded>
			<wfw:commentRss>http://www.neleste.com/sincronizar-directorios-y-copiar-solo-archivos-modificados/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Unir tablas sin + SQL</title>
		<link>http://www.neleste.com/unir-tablas-en-mysql-como-en-oracle/</link>
		<comments>http://www.neleste.com/unir-tablas-en-mysql-como-en-oracle/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 20:40:11 +0000</pubDate>
		<dc:creator>juanra</dc:creator>
		
		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[oracle]]></category>

		<category><![CDATA[postgreSQL]]></category>

		<guid isPermaLink="false">http://www.neleste.com/?p=167</guid>
		<description><![CDATA[La mayoría de los proyectos en los que he trabajado, siempre han tenido bases de datos mysql o oracle en su defecto, pero ultimamente estoy trabajando con PostgreSQL. Esta tiene ventajas como Triggers, herencias y demás que son motivos de por si solas para un nuevo artículo. Lo que voy a comentar en este, es [...]]]></description>
			<content:encoded><![CDATA[<p>La mayoría de los proyectos en los que he trabajado, siempre han tenido bases de datos mysql o oracle en su defecto, pero ultimamente estoy trabajando con PostgreSQL. Esta tiene ventajas como Triggers, herencias y demás que son motivos de por si solas para un nuevo artículo. Lo que voy a comentar en este, es que en oracle tenía la posibilidad de hacer una unión externa con el simbolo (+) en los elementos seleccionados.  Así consigo seleccionar los elementos que no tienen un reciproco en otra tabla. Mi duda era como hacer esto tanto en mysql como en postgreSQL aquí la respuesta</p>
<p style="text-align: center;"><code>SELECT d.departamento, e.empleado</code><br />
<code>FROM dept d</code><br />
<code>LEFT JOIN emp e ON e.departamento = d.departamento</code></p>
<p>Lo que se hace, es invertir las para que la de la "izquierda" (<em>LEFT join</em>) se convierta en la más importante. También, la claúsula <em>WHERE</em> se encuentra eliminada y ahora el criterio de unión está en la claúsula "<em>ON</em>" del <em>LEFT JOIN</em>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.neleste.com/unir-tablas-en-mysql-como-en-oracle/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Columnas con la misma altura</title>
		<link>http://www.neleste.com/columnas-con-la-misma-altura/</link>
		<comments>http://www.neleste.com/columnas-con-la-misma-altura/#comments</comments>
		<pubDate>Mon, 16 Mar 2009 10:28:41 +0000</pubDate>
		<dc:creator>juanra</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[Sin categoría]]></category>

		<guid isPermaLink="false">http://www.neleste.com/?p=165</guid>
		<description><![CDATA[El problema que planteo es el siguiente: tu creas tu layout con tres columnas y luego quieres que tus columnas, aunque dos de ellas no tengan contenido, lleguen siempre hasta la altura de la que más contenido tenga. Normalmente obtienes algo así:

¡No se alargan las columnas como quieres!, es debido a que lo normal, es [...]]]></description>
			<content:encoded><![CDATA[<p>El problema que planteo es el siguiente: tu creas tu layout con tres columnas y luego quieres que tus columnas, aunque dos de ellas no tengan contenido, lleguen siempre hasta la altura de la que más contenido tenga. Normalmente obtienes algo así:</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-166 aligncenter" title="Comlumnas css" src="http://www.neleste.com/wp-content/uploads/2009/03/columnas.jpg" alt="Comlumnas css" width="311" height="188" /></p>
<p>¡No se alargan las columnas como quieres!, es debido a que lo normal, es que las columnas se expandan según el contenido que tengan. Una opción rápida y chapuzas, sería poner un display:block a cada columna con el height deseado. Pero ¿Y si este es el layout general?, ¡entonces tendríamos que cambiarlo a todas nuestras páginas internas!, vamos una locura y algo muy feo..</p>
<p><strong>¿La solución?</strong></p>
<p>Asignar a las tres columnas, un padding bajo muy grande (32768px es el número máximo de pixeles posibles) y a su vez un margin negativo igual de grande. A su vez, deberemos crear un contenedor global que oculte lo que sobra.</p>
<p><code>#izquierda, #central, #derecha {<br />
padding-bottom: 32768px;<br />
margin-bottom: -32768px<br />
}</code><br />
<code>#contenedor {overflow: hidden}</code></p>
<p><strong>Desventajas</strong></p>
<ul>
<li>Requiere de un contenedor div extra</li>
<li>Si vas a usar anclas en la misma página ( &lt;a name="seccion"&gt;&lt;/a&gt; ) y este ancla estiviera dentro de esta columna, el contenido que esté antes de ese ancla desaparecerá y permanecerá invisible.</li>
<li>Me da un poco de rabia no haberlo encontrado antes <img src='http://www.neleste.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://www.neleste.com/columnas-con-la-misma-altura/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Esquinas Redondeadas</title>
		<link>http://www.neleste.com/esquinas-redondeadas/</link>
		<comments>http://www.neleste.com/esquinas-redondeadas/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 11:48:59 +0000</pubDate>
		<dc:creator>juanra</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[JQuery]]></category>

		<category><![CDATA[Sin categoría]]></category>

		<guid isPermaLink="false">http://www.neleste.com/?p=164</guid>
		<description><![CDATA[Con la llegada de los estándares CSS3, han surgido nuevas opciones para diseñar nuestras páginas. Entre ellas, las más interesantes que encuentro están, las transparencias, los degradados y las esquinas redondeadas.
Voy a hablar de estas últimas, es algo que los diseñadores siempre han conseguido insertando imágenes redondas al borde y listo. Actualmente, y gracias a [...]]]></description>
			<content:encoded><![CDATA[<p>Con la llegada de los estándares CSS3, han surgido nuevas opciones para diseñar nuestras páginas. Entre ellas, las más interesantes que encuentro están, las transparencias, los degradados y las esquinas redondeadas.</p>
<p>Voy a hablar de estas últimas, es algo que los diseñadores siempre han conseguido insertando imágenes redondas al borde y listo. Actualmente, y gracias a los estándares css3 también lo podemos realizar mediante código css con estas instrucciones:</p>
<p><code>border-radius (estándar css)</code><br />
<code>-moz-border-radius (cuando se trataba de mozilla, aunque desde la versión 3.0 ya lo hacemos con la instrucción anterior)</code><br />
<code>-webkit-border-radius (safari y chrome)</code></p>
<p>El problema de hacerlo de este modo, es el de siempre, el maldito Internet Explorer, que ni en su versión 8 implementa estos estándares.<br />
Una solución para tener las esquinas redondeadas en todos los navegadores, incluido Internet Explorer es usar JQuery Corners.<br />
jQuery Corners es un plugin que nos permite realizar esquinas redondeadas de una manera bastante sencilla, sin imágenes o maquetación adicional y engorrosa en el código. Simplemente se define una clase y se aplica a un elemento HTML. Veamos como hacerlo:</p>
<ul>
<li> Primero descarga jQuery y jQuery corners y haz el llamado dentro de las etiquetas  y :</li>
</ul>
<div style="padding-left:4em"><code>&lt;script src="jquery.js" type="text/javascript"&gt;&lt;/script&gt; </code></div>
<div style="padding-left:4em"><code>&lt;script src="jquery.corner.js" type="text/javascript"&gt;&lt;/script&gt;</code></div>
<ul>
<li> Luego define la clase la cuál creará las esquinas redondeadas de la siguiente forma:</li>
</ul>
<div style="padding-left:4em"><code>&lt;script type="text/javascript"&gt;</code></div>
<div style="padding-left:4em"><code>&lt;!--<br />
$(document).ready( function(){<br />
$('.redondas').corners();<br />
});<br />
// --&gt;</code></div>
<div style="padding-left:4em"><code>&lt;/script&gt;</code></div>
<ul>
<li> Y por último simplemente aplica la clase a cualquier elemento HTML, como por ejemplo a un típico selector DIV:</li>
</ul>
<div style="padding-left:4em"><code>&lt;div class="redondas"&gt;</code></div>
<div style="padding-left:4em"><code>Contenedor con esquinas redondeadas.</code></div>
<div style="padding-left:4em"><code>&lt;/div&gt;</code></div>
<p>Esta es la forma más básica de usar el script aunque posee varias opciones de configuración, como puede ser el radio de curvatura general o para cada una de las esquinas o también podemos aplicar el script a botones de un formulario. Todas estas las podemos consultar en el <a rel="nofollow" href="http://docs.jquery.com/Downloading_jQuery">sitio oficial de jQuery Corners</a><br />
Es soportado por la mayoría de los navegadores e inclusive por el iPhone.</p>
<p>Links | <a rel="nofollow" href="http://docs.jquery.com/Downloading_jQuery">jQuery</a> - <a rel="nofollow" href="http://docs.jquery.com/Downloading_jQuery">jQuery Corners</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.neleste.com/esquinas-redondeadas/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
