<?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>proxxo.com.ar &#187; Recetas</title>
	<atom:link href="http://www.proxxo.com.ar/category/recetas/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.proxxo.com.ar</link>
	<description>Computer Science Deliriums</description>
	<lastBuildDate>Tue, 26 Jul 2011 16:18:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Apagar la pantalla en linux desde consola</title>
		<link>http://www.proxxo.com.ar/2008/10/apagar-la-pantalla-en-linux-desde-consola/</link>
		<comments>http://www.proxxo.com.ar/2008/10/apagar-la-pantalla-en-linux-desde-consola/#comments</comments>
		<pubDate>Sat, 11 Oct 2008 15:00:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Recetas]]></category>

		<guid isPermaLink="false">http://www.proxxo.com.ar/?p=77</guid>
		<description><![CDATA[xset dpms force off xset es un comando que nos permite cambiar los valores de varias preferencias de las X. DPMS son las siglas de Display Power Management System, que nos permite apagar (dpms force off), encender (dpms force on), poner en modo standby (dpms force standby) o suspender (dpms force suspend) nuestro monitor desde [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li><strong>xset dpms force off</strong></li>
</ul>
<p><strong><code>xset</code></strong> es un comando que nos permite cambiar los valores de varias preferencias de las X. DPMS son las siglas de Display Power Management System, que nos permite apagar (<code>dpms force off</code>), encender (<code>dpms force on</code>), poner en modo standby (<code>dpms force standby</code>) o suspender (<code>dpms force suspend</code>) nuestro monitor desde la línea de comandos, siempre que esta opción este activada en el archivo de configuración de las X.</p>
<p>Algo práctico es hacer un script en bash que ejecute esta linea, por ejemplo:</p>
<ul>
<li><strong>sudo vim /usr/local/bin/pantalla-off</strong></li>
</ul>
<p>Y escribir el siguiente codigo...</p>
<div class="igBar"><span id="lcode-2"><a href="#" onclick="javascript:showPlainTxt('code-2'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-2">
<div class="code">
<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;">#!/bin/bash</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">xset dpms force off </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Listo, ejecutar <strong>pantalla-off </strong> y puff! ...</p>
<p>La utilidad que le doy es a la hora de apagar la pantalla cuando cierro la tapa de la laptop, ya que Ubuntu (Actualmente uso <a title="Linux Mint" href="http://www.linuxmint.es/" target="_blank">Linux Mint</a>, que esta basado en ubuntu) al cerra la tapa solo permite que se oscurezca la pantalla y no que se apague completamente. Esto no es lo mejor a la hora de pensar en ahorrar energia. Quizas haya una forma de automatizar eso, bienvenidas las ideas.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.proxxo.com.ar/2008/10/apagar-la-pantalla-en-linux-desde-consola/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Instalando rails 2 en Debian &#124;&#124; ubuntu &#124;&#124; Linux Mint &#124;&#124; derivados&#8230;</title>
		<link>http://www.proxxo.com.ar/2008/02/instalando-rails-20-en-ubuntu-710/</link>
		<comments>http://www.proxxo.com.ar/2008/02/instalando-rails-20-en-ubuntu-710/#comments</comments>
		<pubDate>Thu, 21 Feb 2008 03:05:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Recetas]]></category>
		<category><![CDATA[RubyOnRails]]></category>

		<guid isPermaLink="false">http://www.proxxo.com.ar/?p=44</guid>
		<description><![CDATA[sudo apt-get install ruby rdoc irb ri ruby1.8-dev rubygems libopenssl-ruby sudo gem update --system Si les tira un error como el siguiente: Updating RubyGems... Bulk updating Gem source index for: http://gems.rubyforge.org Attempting remote update of rubygems-update ERROR:  While executing gem ... (Gem::GemNotFoundException) Could not find rubygems-update (&#62; 0) in any repository Solo tienen que volver [...]]]></description>
			<content:encoded><![CDATA[<p><strong><a title="RubyOnRails" href="http://es.wikipedia.org/wiki/Ruby" target="_blank"><img id="image58" src="http://www.proxxo.com.ar/wp-content/uploads/2008/02/rails.png" alt="Rails" /></a></strong></p>
<ol>
<li><strong>sudo apt-get install ruby rdoc irb ri ruby1.8-dev rubygems libopenssl-ruby</strong></li>
<li><strong>sudo gem update  --system </strong>Si les tira un error como el siguiente:</li>
</ol>
<p><em>Updating RubyGems...</em></p>
<p><em>Bulk updating Gem source index for: http://gems.rubyforge.org</em></p>
<p><em>Attempting remote update of rubygems-update</em></p>
<p><em>ERROR:  While executing gem ... (Gem::GemNotFoundException)</em></p>
<p><em>Could not find rubygems-update (&gt; 0) in any repository</em></p>
<p>Solo tienen que volver a ejecutar el paso <strong>2.</strong></p>
<ol>Si el error es este:</p>
<p>/usr/bin/gem:23: uninitialized constant Gem::GemRunner(NameError)</p>
<p>La solucion es agregar una linea al archivo /usr/bin/gem</p>
<p><em> require 'rubygems/gem_runner'</em></p>
<p>despues de</p>
<p><em> require 'rubygems'</em></p>
<p>Continuamos...</p>
<li><strong>sudo apt-get remove rubygems</strong></li>
<li><strong>sudo ln -s /usr/bin/gem1.8 /usr/bin/gem </strong></li>
<li><strong>sudo gem install rails</strong></li>
</ol>
<p class="indent">Despues de remover el paquete rubygems, el directorio <tt>/var/lib/gems</tt> ya no se usa mas (gems esta almacenado en <tt>/usr/lib/ruby/gems</tt>), por lo tanto podemos eliminarla.</p>
<p class="indent">
<p style="width: 442px;"><strong>Instalar <a href="http://mongrel.rubyforge.org/" target="_blank">Mongrel:</a></strong></p>
<p class="indent">
<blockquote><p>En caso de querer sustituir <strong>WEBRick</strong> por un servidor web mas completo podemos optar por <strong>Mongrel:</strong></p></blockquote>
<ol>
<li>sudo apt-get install build-essential ruby<span class="value">1.8</span>-dev</li>
<li>sudo gem install mongrel</li>
</ol>
<p style="width: 442px;"><strong>Instalar <a href="http://www.sqlite.org/" target="_blank">SQLite3:</a></strong></p>
<p class="indent">
<blockquote>
<p align="justify">Rails 2.0 usa SQLite3 como su base de datos por defecto en lugar de <a href="http://www.mysql.com/" target="_blank">MySQL</a>:</p>
</blockquote>
<ol>
<li>sudo apt-get install sqlite<span class="value">3</span> swig libsqlite<span class="value">3</span>-ruby libsqlite<span class="value">3</span>-dev</li>
<li>sudo gem install sqlite<span class="value">3</span>-ruby</li>
</ol>
<p><strong>Instalar MySQL:</strong></p>
<blockquote><p>Aunque SQLite3 es bueno para prototipos y proyectos pequeños, para aplicaciones más robustas se recomienda algo como MySQL.</p>
<ol>
<li>sudo apt-get install <code>mysql-server mysql-client libmysqlclient15-dev</code></li>
<li>sudo gem install mysql</li>
</ol>
</blockquote>
<p>Por último vamos a hacer que RubyGems cargue automáticamente cuando ejecutemos un script de Ruby:</p>
<ol>
<li><strong>echo "export RUBYOPT=rubygems" &gt;&gt; ~/.profile</strong></li>
</ol>
<p>Finalmente podemos crear una nueva aplicación Rails</p>
<p><strong>rails nuevoproyecto </strong></p>
<p><a href="http://jah.pl/2008/1/3/installing-rails-2-0-on-ubuntu-7-10" target="_blank">Artículo Original </a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.proxxo.com.ar/2008/02/instalando-rails-20-en-ubuntu-710/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

