<?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>chocolim.com</title>
	<atom:link href="http://www.chocolim.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.chocolim.com</link>
	<description>De nada un poco</description>
	<lastBuildDate>Wed, 25 Aug 2010 14:58:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Obtener privilegios de administrador en una MAC</title>
		<link>http://www.chocolim.com/?p=273</link>
		<comments>http://www.chocolim.com/?p=273#comments</comments>
		<pubDate>Wed, 25 Aug 2010 14:31:41 +0000</pubDate>
		<dc:creator>chocolim</dc:creator>
				<category><![CDATA[Osx]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[privilegios]]></category>

		<guid isPermaLink="false">http://www.chocolim.com/?p=273</guid>
		<description><![CDATA[Mantener Command-S para iniciar en modo single user # Leopard - OOB reset mount -uw / rm /var/db/.AppleSetupDone reboot &#160; # Leopard - borrar usuario mount -uw / rm /var/db/dslocal/nodes/Default/users/&#38;lt;shortname&#38;gt;.plist rm -r /Users/&#38;lt;shortname&#38;gt; halt &#160; # Tiger -borrar usuario y  OOB reset mount -uw / rm -rf /Users/&#38;lt;shortname&#38;gt; rm -rf /var/db/netinfo/local.nidb rm -rf /var/db/.AppleSetupDone]]></description>
			<content:encoded><![CDATA[<p>Mantener Command-S para iniciar en modo single user</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># Leopard - OOB reset</span>
<span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #660033;">-uw</span> <span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>db<span style="color: #000000; font-weight: bold;">/</span>.AppleSetupDone
reboot
&nbsp;
<span style="color: #666666; font-style: italic;"># Leopard - borrar usuario</span>
<span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #660033;">-uw</span> <span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>db<span style="color: #000000; font-weight: bold;">/</span>dslocal<span style="color: #000000; font-weight: bold;">/</span>nodes<span style="color: #000000; font-weight: bold;">/</span>Default<span style="color: #000000; font-weight: bold;">/</span>users<span style="color: #000000; font-weight: bold;">/&amp;</span>lt;shortname<span style="color: #000000; font-weight: bold;">&amp;</span>gt;.plist
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-r</span> <span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/&amp;</span>lt;shortname<span style="color: #000000; font-weight: bold;">&amp;</span>gt;
halt
&nbsp;
<span style="color: #666666; font-style: italic;"># Tiger -borrar usuario y  OOB reset</span>
<span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #660033;">-uw</span> <span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-rf</span> <span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/&amp;</span>lt;shortname<span style="color: #000000; font-weight: bold;">&amp;</span>gt;
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-rf</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>db<span style="color: #000000; font-weight: bold;">/</span>netinfo<span style="color: #000000; font-weight: bold;">/</span>local.nidb
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-rf</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>db<span style="color: #000000; font-weight: bold;">/</span>.AppleSetupDone</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.chocolim.com/?feed=rss2&amp;p=273</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Instalar Modulos de Perl en Solaris</title>
		<link>http://www.chocolim.com/?p=271</link>
		<comments>http://www.chocolim.com/?p=271#comments</comments>
		<pubDate>Tue, 24 Aug 2010 18:06:11 +0000</pubDate>
		<dc:creator>chocolim</dc:creator>
				<category><![CDATA[Utiles]]></category>
		<category><![CDATA[WebDev]]></category>
		<category><![CDATA[solaris]]></category>

		<guid isPermaLink="false">http://www.chocolim.com/?p=271</guid>
		<description><![CDATA[Hay un tema que por defecto no esta el compilador cc, hay que instalar el gcc y darle la vuelta asi: /usr/perl5/bin/perlgcc Makefile.PL /usr/sfw/bin/gmake /usr/sfw/bin/gmake test /usr/sfw/bin/gmake install]]></description>
			<content:encoded><![CDATA[<p>Hay un tema que por defecto no esta el compilador cc, hay que instalar el gcc y darle la vuelta asi:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>perl5<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>perlgcc Makefile.PL
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>sfw<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">gmake</span>
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>sfw<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">gmake</span> <span style="color: #7a0874; font-weight: bold;">test</span>
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>sfw<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">gmake</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.chocolim.com/?feed=rss2&amp;p=271</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ver version de SQL Server en un query</title>
		<link>http://www.chocolim.com/?p=267</link>
		<comments>http://www.chocolim.com/?p=267#comments</comments>
		<pubDate>Fri, 20 Aug 2010 14:52:39 +0000</pubDate>
		<dc:creator>chocolim</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[version]]></category>

		<guid isPermaLink="false">http://www.chocolim.com/?p=267</guid>
		<description><![CDATA[Para ver la version del servidor. SELECT 'SQL Server ' + CAST&#40;SERVERPROPERTY&#40;'productversion'&#41; AS VARCHAR&#41; + ' - ' + CAST&#40;SERVERPROPERTY&#40;'productlevel'&#41; AS VARCHAR&#41; + ' (' + CAST&#40;SERVERPROPERTY&#40;'edition'&#41; AS VARCHAR&#41; + ')']]></description>
			<content:encoded><![CDATA[<p>Para ver la version del servidor.</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SELECT</span> <span style="color: #ff0000;">'SQL Server '</span> 
<span style="color: #66cc66;">+</span> CAST<span style="color: #66cc66;">&#40;</span>SERVERPROPERTY<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'productversion'</span><span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">AS</span> VARCHAR<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">+</span> <span style="color: #ff0000;">' - '</span> 
<span style="color: #66cc66;">+</span> CAST<span style="color: #66cc66;">&#40;</span>SERVERPROPERTY<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'productlevel'</span><span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">AS</span> VARCHAR<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">+</span> <span style="color: #ff0000;">' ('</span> 
<span style="color: #66cc66;">+</span> CAST<span style="color: #66cc66;">&#40;</span>SERVERPROPERTY<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'edition'</span><span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">AS</span> VARCHAR<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">+</span> <span style="color: #ff0000;">')'</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.chocolim.com/?feed=rss2&amp;p=267</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Todos los clientes con el mismo zip code</title>
		<link>http://www.chocolim.com/?p=263</link>
		<comments>http://www.chocolim.com/?p=263#comments</comments>
		<pubDate>Thu, 12 Aug 2010 14:39:22 +0000</pubDate>
		<dc:creator>chocolim</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://www.chocolim.com/?p=263</guid>
		<description><![CDATA[Interesante self-join SELECT c2.name FROM customer c, customer c2 WHERE c.customer_id = 648 AND c.zipcode = c2.zipcode;]]></description>
			<content:encoded><![CDATA[<p>Interesante self-join</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SELECT</span> c2<span style="color: #66cc66;">.</span>name
<span style="color: #993333; font-weight: bold;">FROM</span> customer c<span style="color: #66cc66;">,</span> customer c2
<span style="color: #993333; font-weight: bold;">WHERE</span> c<span style="color: #66cc66;">.</span>customer_id <span style="color: #66cc66;">=</span> <span style="color: #cc66cc;">648</span> <span style="color: #993333; font-weight: bold;">AND</span>
c<span style="color: #66cc66;">.</span>zipcode <span style="color: #66cc66;">=</span> c2<span style="color: #66cc66;">.</span>zipcode;</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.chocolim.com/?feed=rss2&amp;p=263</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Script para GeekTool 3 para ping a un host</title>
		<link>http://www.chocolim.com/?p=261</link>
		<comments>http://www.chocolim.com/?p=261#comments</comments>
		<pubDate>Mon, 26 Jul 2010 22:41:30 +0000</pubDate>
		<dc:creator>chocolim</dc:creator>
				<category><![CDATA[Osx]]></category>

		<guid isPermaLink="false">http://www.chocolim.com/?p=261</guid>
		<description><![CDATA[Este script hace ping a chocolim.com y te dice cuando tardo. Si en el GeekTool activas Activate Feedback Image te va a decir si tuvo exito. Util para monitorear el estado de un servidor. HOST=Chocolim.com PING=`ping -q -c 1 $HOST` if &#91;&#91; $? -eq 0 &#93;&#93; ; then TIME=`echo $PING &#124;tail -1 &#124; cut -d/ [...]]]></description>
			<content:encoded><![CDATA[<p>Este script hace ping a chocolim.com y te dice cuando tardo. Si en el GeekTool activas Activate Feedback Image te va a decir si tuvo exito. Util para monitorear el estado de un servidor.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">HOST</span>=Chocolim.com
<span style="color: #007800;">PING</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">ping</span> <span style="color: #660033;">-q</span> <span style="color: #660033;">-c</span> <span style="color: #000000;">1</span> <span style="color: #007800;">$HOST</span><span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$?</span> <span style="color: #660033;">-eq</span> <span style="color: #000000;">0</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> ; <span style="color: #000000; font-weight: bold;">then</span>
    <span style="color: #007800;">TIME</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #007800;">$PING</span> <span style="color: #000000; font-weight: bold;">|</span><span style="color: #c20cb9; font-weight: bold;">tail</span> <span style="color: #660033;">-1</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">cut</span> -d<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #660033;">-f</span> <span style="color: #000000;">5</span><span style="color: #000000; font-weight: bold;">`</span>
    <span style="color: #7a0874; font-weight: bold;">echo</span> Chocolim.com: <span style="color: #800000;">${TIME}</span>ms
    <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">0</span>
<span style="color: #000000; font-weight: bold;">else</span>
    <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-n</span> <span style="color: #007800;">$HOST</span> Chocolim.com
    <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">2</span>
<span style="color: #000000; font-weight: bold;">fi</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.chocolim.com/?feed=rss2&amp;p=261</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Obtener path en el disco duro del script en php</title>
		<link>http://www.chocolim.com/?p=258</link>
		<comments>http://www.chocolim.com/?p=258#comments</comments>
		<pubDate>Mon, 15 Feb 2010 17:55:56 +0000</pubDate>
		<dc:creator>chocolim</dc:creator>
				<category><![CDATA[WebDev]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.chocolim.com/?p=258</guid>
		<description><![CDATA[Para saber el path en el disco duro del script ahora ejecutado: dirname&#40;__FILE__&#41;;]]></description>
			<content:encoded><![CDATA[<p>Para saber el path en el disco duro del script ahora ejecutado:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">__FILE__</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.chocolim.com/?feed=rss2&amp;p=258</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Listar los ultimos archivos modificados</title>
		<link>http://www.chocolim.com/?p=255</link>
		<comments>http://www.chocolim.com/?p=255#comments</comments>
		<pubDate>Thu, 28 Jan 2010 13:12:29 +0000</pubDate>
		<dc:creator>chocolim</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.chocolim.com/?p=255</guid>
		<description><![CDATA[Este comendo lista los ultimos archivos modificados y le agrega un caracter para diferenciarlos. Asi como esta lista los 10 ultimos archivos modificados en el diretorio. ls -FlAt &#124; head]]></description>
			<content:encoded><![CDATA[<p>Este comendo lista los ultimos archivos modificados y le agrega un caracter para diferenciarlos. Asi como esta lista los 10 ultimos archivos modificados en el diretorio.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ls</span> <span style="color: #660033;">-FlAt</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">head</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.chocolim.com/?feed=rss2&amp;p=255</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cannot convert lambda expression to type &#8216;&#8216; because it is not a delegate type</title>
		<link>http://www.chocolim.com/?p=252</link>
		<comments>http://www.chocolim.com/?p=252#comments</comments>
		<pubDate>Tue, 23 Jun 2009 19:55:34 +0000</pubDate>
		<dc:creator>chocolim</dc:creator>
				<category><![CDATA[.Net]]></category>

		<guid isPermaLink="false">http://www.chocolim.com/?p=252</guid>
		<description><![CDATA[Estas con using System.Linq; ??]]></description>
			<content:encoded><![CDATA[<p>Estas con using System.Linq; ??</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chocolim.com/?feed=rss2&amp;p=252</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Only Content controls are allowed directly in a content page that contains Content controls</title>
		<link>http://www.chocolim.com/?p=247</link>
		<comments>http://www.chocolim.com/?p=247#comments</comments>
		<pubDate>Wed, 17 Jun 2009 18:42:42 +0000</pubDate>
		<dc:creator>chocolim</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[WebDev]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[masterpage]]></category>
		<category><![CDATA[mvc]]></category>

		<guid isPermaLink="false">http://www.chocolim.com/?p=247</guid>
		<description><![CDATA[Only Content controls are allowed directly in a content page that contains Content controls]]></description>
			<content:encoded><![CDATA[<p>Este error quiere decir que tenes algun codigo fuera del area editable del template que esta aplicado a tu pagina.<br />
Ejemplo:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;/asp:Content&gt;
&lt;%
       UrlHelper urlHelper = new UrlHelper(this.ViewContext.RequestContext);
&nbsp;
%&gt;&lt;asp:Content ID=&quot;indexContent&quot; ContentPlaceHolderID=&quot;MainContent&quot; runat=&quot;server&quot;&gt;</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.chocolim.com/?feed=rss2&amp;p=247</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quitar el boton cerrar del Thickbox</title>
		<link>http://www.chocolim.com/?p=244</link>
		<comments>http://www.chocolim.com/?p=244#comments</comments>
		<pubDate>Tue, 14 Apr 2009 15:47:18 +0000</pubDate>
		<dc:creator>chocolim</dc:creator>
				<category><![CDATA[WebDev]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[ThickBox]]></category>

		<guid isPermaLink="false">http://www.chocolim.com/?p=244</guid>
		<description><![CDATA[Necesitando desactivar la posibilidad de cerrar el ThickBox encontre que con estableciendo modal=true desde donde se le invoca es suficiente. Ej: &#60;a class=\&#34;thickbox\&#34; title=\&#34;Crear password\&#34; href=\&#34;chpasspopup.php?keepThis=true&#38;TB_iframe=true&#38;height=240&#38;width=420&#38;scrolling=no&#38;modal=true\&#34;&#62;Haga click aca para cambiar la contraseña&#60;/a&#62;]]></description>
			<content:encoded><![CDATA[<p>Necesitando desactivar la posibilidad de cerrar el <a href="http://jquery.com/demo/thickbox/">ThickBox </a>encontre que con estableciendo modal=true desde donde se le invoca es suficiente.<br />
Ej:</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span>\<span style="color: #ff0000;">&quot;thickbox\&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span>\<span style="color: #ff0000;">&quot;Crear password\&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span>\<span style="color: #ff0000;">&quot;chpasspopup.php?keepThis=true&amp;TB_iframe=true&amp;height=240&amp;width=420&amp;scrolling=no&amp;modal=true\&quot;</span>&gt;</span>Haga click aca para cambiar la contraseña<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.chocolim.com/?feed=rss2&amp;p=244</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
