<?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>Mundo Ruby &#187; github</title>
	<atom:link href="http://www.mundoruby.com.ar/tag/github/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mundoruby.com.ar</link>
	<description>Ruby Artists, Hackers y otras yerbas ...</description>
	<lastBuildDate>Wed, 12 Aug 2009 23:02:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>I&#8217;m back with some Code &#8230;</title>
		<link>http://www.mundoruby.com.ar/2009/07/06/im-back-with-some-code/</link>
		<comments>http://www.mundoruby.com.ar/2009/07/06/im-back-with-some-code/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 17:52:30 +0000</pubDate>
		<dc:creator>FreedomCoder</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[how-to]]></category>

		<guid isPermaLink="false">http://www.mundoruby.com.ar/?p=123</guid>
		<description><![CDATA[
Well, hello again, long time since the last post. I went on vacations, work a lot and did some programming. Let&#8217;s talk abount the programming part, since it is the most interesting one.  
I created a small library called &#8220;Esearchy&#8221; capable of searching the internet for email addresses. Currently, we the supported search methods [...]]]></description>
			<content:encoded><![CDATA[<p>
<p>Well, hello again, long time since the last post. I went on vacations, work a lot and did some programming. Let&#8217;s talk abount the programming part, since it is the most interesting one. <img src='http://www.mundoruby.com.ar/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>I created a small library called &#8220;Esearchy&#8221; capable of searching the internet for email addresses. Currently, we the supported search methods are  engines such as Google, Bing, Yahoo, PGP servers, GoogleGroups, etc , but I intend to add many more.<br />
Also, the library searches inside .pdf and .txt files for emails addresses and adds them to the list of found accounts.  </p>
<p>For now, there are two main ways of performing a search, &#8220;the ruby way&#8221;</p>
<div class="geshifilter">
<div class="geshifilter-ruby" style="font-family: monospace;">
<ol>
<li style="font-family: monospace; font-weight: normal;">
<div style="font-family: monospace; font-weight: normal; font-style: normal"> Esearchy.<span style="color:#9900CC;">create</span> <span style="color:#996600;">&quot;domain.com&quot;</span> <span style="color:#9966CC; font-weight:bold;">do</span> |domain|</div>
</li>
<li style="font-family: monospace; font-weight: normal;">
<div style="font-family: monospace; font-weight: normal; font-style: normal">&nbsp; &nbsp;domain.<span style="color:#9900CC;">maxhits</span> = <span style="color:#006666;">500</span></div>
</li>
<li style="font-family: monospace; font-weight: normal;">
<div style="font-family: monospace; font-weight: normal; font-style: normal">&nbsp; &nbsp;domain.<span style="color:#9900CC;">search</span></div>
</li>
<li style="font-family: monospace; font-weight: normal;">
<div style="font-family: monospace; font-weight: normal; font-style: normal">&nbsp; &nbsp;domain.<span style="color:#9900CC;">clean</span> <span style="color:#006600; font-weight:bold;">&#123;</span>|e| e =~ /&lt;|&gt;/ <span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-family: monospace; font-weight: normal;">
<div style="font-family: monospace; font-weight: normal; font-style: normal">&nbsp; &nbsp;domain.<span style="color:#9900CC;">save_to_file</span> <span style="color:#996600;">&quot;~/emails.txt&quot;</span></div>
</li>
<li style="font-family: monospace; font-weight: normal;">
<div style="font-family: monospace; font-weight: normal; font-style: normal">&nbsp;<span style="color:#9966CC; font-weight:bold;">end</span></div>
</li>
</ol>
</div>
</div>
<p>and the more classic way in which users can create an Esearchy objetc and work on it</p>
<p>
<div class="geshifilter">
<div class="geshifilter-ruby" style="font-family: monospace;">
<ol>
<li style="font-family: monospace; font-weight: normal;">
<div style="font-family: monospace; font-weight: normal; font-style: normal"> &nbsp;domain = Esearchy.<span style="color:#9900CC;">new</span> <span style="color:#ff3333; font-weight:bold;">:query</span> =&gt; <span style="color:#996600;">&quot;domain.com&quot;</span>, <span style="color:#ff3333; font-weight:bold;">:maxhits</span> =&gt; <span style="color:#006666;">500</span></div>
</li>
<li style="font-family: monospace; font-weight: normal;">
<div style="font-family: monospace; font-weight: normal; font-style: normal">&nbsp; domain.<span style="color:#9900CC;">search</span></div>
</li>
<li style="font-family: monospace; font-weight: normal;">
<div style="font-family: monospace; font-weight: normal; font-style: normal">&nbsp; domain.<span style="color:#9900CC;">save_to_file</span> <span style="color:#996600;">&quot;~/emails.txt&quot;</span></div>
</li>
</ol>
</div>
</div>
<p>For now , that&#8217;s it for now , but keep on tuned for more shitty code ajjajaa</p>
</p>
<p>(Via <a href="http://www.freedomcoder.com.ar">自由編碼人</a>.) Original Link: <a href="http://www.freedomcoder.com.ar/node/153#comments">I&#8217;m back with some Code &#8230;</a></p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-7949681675937032";
google_ad_slot = "0874687580";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mundoruby.com.ar/2009/07/06/im-back-with-some-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pure-Ruby Readline: Released 0.1.2</title>
		<link>http://www.mundoruby.com.ar/2009/05/19/pure-ruby-readline-released-012/</link>
		<comments>http://www.mundoruby.com.ar/2009/05/19/pure-ruby-readline-released-012/#comments</comments>
		<pubDate>Tue, 19 May 2009 13:59:06 +0000</pubDate>
		<dc:creator>FreedomCoder</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[readline]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://www.mundoruby.com.ar/?p=88</guid>
		<description><![CDATA[&#8220;
Well, well, less than 24 hours since my last blog post, I have more updates for you!

Thanks to GitHub, rb-readline, the Pure-Ruby Readline project I’ve mentioned earlier, have now two forks and 3 bugs fixed!
Thanks to Roger Pack and Jugyo !!!
Now, there is no gem for rb-readline, mainly because readline needs to be available even [...]]]></description>
			<content:encoded><![CDATA[<p>&#8220;
<p>Well, well, less than 24 hours since my last <a href="http://blog.mmediasys.com/2009/05/17/rubyinstaller-updated-packages-and-other-news/">blog post</a>, I have more updates for you!</p>
<p><span id="more-175"></span></p>
<p>Thanks to <a href="http://github.com">GitHub</a>, rb-readline, the Pure-Ruby Readline project I’ve mentioned earlier, have now <a href="http://github.com/luislavena/rb-readline/network">two forks</a> and 3 bugs fixed!</p>
<p>Thanks to <a href="http://github.com/rogerdpack/">Roger Pack</a> and <a href="http://github.com/jugyo/">Jugyo</a> !!!</p>
<p>Now, there is no gem for rb-readline, mainly because <code>readline</code> needs to be available even if RubyGems is not loaded (like on IRB).</p>
<p>So, to install the updated package:</p>
<ul>
<li>Download <a href="http://cloud.github.com/downloads/luislavena/rb-readline/rb-readline-0.1.2.zip">rb-readline-0.1.2.zip</a></li>
<li>Extract to a folder and open a command prompt there</li>
<li>Execute <code>ruby setup.rb</code></li>
</ul>
<p>That should update the installed RbReadline, but just to verify:</p>
<pre><code>ruby -rreadline -e 'puts Readline::RB_READLINE_VERSION'</code></pre>
<p>The output should say <strong>0.1.2</strong></p>
<p>That’s all! Enjoy!</p>
<p>&#8220;</p>
<p>(Via <a href="http://blog.mmediasys.com">DEV_MEM.dump_to(:blog) &#8211; Multimedia systems blog</a>.) Original Link: <a href="http://blog.mmediasys.com/2009/05/19/pure-ruby-readline-released-012/#comments">Pure-Ruby Readline: Released 0.1.2</a></p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-7949681675937032";
google_ad_slot = "0874687580";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mundoruby.com.ar/2009/05/19/pure-ruby-readline-released-012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Take A  Photo &#8211; Fotos instantáneas desde tu web</title>
		<link>http://www.mundoruby.com.ar/2009/04/03/take-a-photo-fotos-instantaneas-desde-tu-web/</link>
		<comments>http://www.mundoruby.com.ar/2009/04/03/take-a-photo-fotos-instantaneas-desde-tu-web/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 22:05:20 +0000</pubDate>
		<dc:creator>FreedomCoder</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.mundoruby.com.ar/?p=74</guid>
		<description><![CDATA[En la última semana estuve trabajando en agregar nuevas funcionalidades a un sitio de un cliente y entre los pedidos estaba una especie de Fotoblog para los usuarios (y bue, hay que pagar las cuentas a fin de mes  ).
La cosa salió rápido, usando Paperclip que guarda las imágenes que se suben, se muestra [...]]]></description>
			<content:encoded><![CDATA[<p>En la última semana estuve trabajando en agregar nuevas funcionalidades a un sitio de un cliente y entre los pedidos estaba una especie de Fotoblog para los usuarios (y bue, hay que pagar las cuentas a fin de mes <img src='http://www.mundoruby.com.ar/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> ).</p>
<p>La cosa salió rápido, usando Paperclip que guarda las imágenes que se suben, se muestra en orden, etc, nada del otro mundo. Pero hablando con el cliente surgió la idea de hacer que el usuario se pueda tomar una foto directamente desde la web usando su webcam, así que después de decir &#8220;<em>si, se debe poder hacer</em>&#8221; mentalmente me salió un &#8220;<em>doh!, que dije!</em>&#8220;. Lo último que se dijo en esa reunión fue &#8220;<em>Lo quiero</em>&#8221; <img src='http://www.mundoruby.com.ar/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> .</p>
<p>Ya había visto juegos flash que utilizan la webcam así que empecé por ahí, para ver como sacaban un frame del video, lo cual era muy fácil. Lo siguiente era serializarla. A falta de algo mejor hice un serializador de imágenes muy pedorro, pero que anda (aunque es lento), que envía por POST la información de cada pixel.</p>
<p>La parte de Ruby fue fácil y decidí encapsularla en un plugin de Rails para poder reutilizarlo luego o por si a alguien más le sirve <img src='http://www.mundoruby.com.ar/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Además se puede integrar con Paperclip o AttachmentFu para hacer la persistencia de la imagen en donde sea.</p>
<p>La única parte que usa Flash es el capturador de la cámara, porque otra no quedaba, pero luego el botón para tomar la foto y los eventos se manejan todo por Javascript.</p>
<p>El plugin tiene varios TODOs, pero por si a alguien le sirve está en <a href="http://github.com/Gazer/take-a-photo/tree/master">github</a>.</p>
<p>(Via <a href="http://www.gazer.com.ar">El Futirifoken</a>.) Original Link: <a href="http://www.gazer.com.ar/2009/04/02/take-a-photo-fotos-instantaneas-desde-tu-web/#comments">Take A  Photo &#8211; Fotos instantáneas desde tu web</a></p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-7949681675937032";
google_ad_slot = "0874687580";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mundoruby.com.ar/2009/04/03/take-a-photo-fotos-instantaneas-desde-tu-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting started with Jekyll</title>
		<link>http://www.mundoruby.com.ar/2009/03/25/getting-started-with-jekyll/</link>
		<comments>http://www.mundoruby.com.ar/2009/03/25/getting-started-with-jekyll/#comments</comments>
		<pubDate>Wed, 25 Mar 2009 19:41:35 +0000</pubDate>
		<dc:creator>FreedomCoder</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[github]]></category>

		<guid isPermaLink="false">http://www.mundoruby.com.ar/?p=58</guid>
		<description><![CDATA[Jekyll is a simple static site generator created by Tom Preston-Werner that is used as the engine behind the well-known GitHub Pages.
I must admit that the first time I heard about this, the idea did not grab my attention at all. But after reading some inspiring blog posts about it, everything started to make sense [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://github.com/mojombo/jekyll">Jekyll</a> is a simple static site generator created by <a href="http://tom.preston-werner.com/">Tom Preston-Werner</a> that is used as the engine behind the well-known <a href="http://pages.github.com/">GitHub Pages</a>.</p>
<p>I must admit that the first time I heard about this, the idea did not grab my attention at all. But after reading <a href="http://tom.preston-werner.com/2008/11/17/blogging-like-a-hacker.html">some</a> <a href="http://jarinheit.com/2009/02/16/simplified-blogging-with-github-pages-and-jekyll.html">inspiring</a> <a href="http://blog.new-bamboo.co.uk/2009/2/20/migrating-from-mephisto-to-jekyll">blog</a> <a href="http://metajack.im/2009/01/23/blogging-with-git-emacs-and-jekyll/">posts</a> about it, everything started to make sense and I decided to give it a try on my new blog, and so far, I like it.</p>
<h2>Installing Jekyll</h2>
<p>The easiest way to install Jekyll is via RubyGems:</p>
<pre>
  <code>
    $ sudo gem install mojombo-jekyll -s http://gems.github.com
  </code>
</pre>
<p>Notice that Jekyll requires directory_watcher, liquid, open4 and maruku. They will be automatically installed by the gem install command.</p>
<h2>Creating content</h2>
<p>Basically, what Jekyll does is to take several <a href="http://www.textism.com/tools/textile/">.textile</a> or <a href="http://daringfireball.net/projects/markdown/">.markdown</a> files and translates them into html, optionally using layout templates to avoid duplicating the common areas of our blog on each post. So, all we need to do is place our own content files in the correct locations.</p>
<p>A typical Jekyll blog setup would be as follows:<br/><br/></p>
<ul>
<li>An <code>index.html</code> file on the root directory that will serve as the home page of our blog.</li>
<li>One or more template layouts in the <code>_layouts</code> directory. These layouts can then be referenced from any other file by using the layout attribute in the <span class="caps">YAML</span> header. Also notice that layouts can be nested.</li>
<li>One .textile or .markdown file for each post in the <code>_posts</code> directory.</li>
<li>One .textile or .markdown file for each draft in the <code>_drafts</code> directory. Any posts in this directory will be ignored by Jekyll at generation time.</li>
<li>One or more .textile or .markdown files in the <code>_includes</code> directory. Any files located in this directory can be included into another file with the <code>include</code> tag.</li>
</ul>
<p>For a starting point, you might want to take a look at Tom Preston-Werner&#8217;s <a href="http://github.com/mojombo/tpw"><span class="caps">TPW</span></a> repository.</p>
<h2>Generating the blog</h2>
<p>Once that the basic layout and content of our blog was set up, we are ready for telling Jekyll to generate our site:</p>
<pre>
  <code>
    $ jekyll
  </code>
</pre>
<p>If everything goes well, by now we should have our brand new Jekyll-powered blog generated on the <code>_site</code> directory.</p>
<p>We can also run Jekyll with the <code>--server</code> flag in order to test the generated site:</p>
<pre>
  <code>
    $ jekyll --server
  </code>
</pre>
<p>This flag tells Jekyll to launch a WEBrick server instance. Now we can point our web browser to <code>http://localhost:4000</code> and test the generated site locally.</p>
<h2>Publishing everything</h2>
<p>At this point, we can just ftp the contents of the <code>_site</code> directory to our web site and we&#8217;re done.</p>
<p>However, a much better solution would be to create a remote git repository and add some git hooks there that take care of generating the site for us each time we do a simple <code>git push</code>. That is exactly the setup I am using to maintain this blog, and I will be writing about it in a future post.</p>
<h2>Conclusion</h2>
<p>This solution is definitely not for everyone. But if you are a programmer, and especially if you spend most of your day working with a text editor and a terminal window opened, then you may find the combination of Jekyll, Git, and your editor of choice (vim, in my case, but Emacs, TextMate or any other would work just fine, of course) more appealing than any traditional blog software.</p>
<p>(Via <a href="http://matflores.com/">matflores.com</a>.) Original Link: <a href="http://matflores.com/2009/03/25/getting-started-with-jekyll.html">Getting started with Jekyll</a></p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-7949681675937032";
google_ad_slot = "0874687580";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mundoruby.com.ar/2009/03/25/getting-started-with-jekyll/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RubyInstaller repository relocated</title>
		<link>http://www.mundoruby.com.ar/2009/03/20/rubyinstaller-repository-relocated/</link>
		<comments>http://www.mundoruby.com.ar/2009/03/20/rubyinstaller-repository-relocated/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 20:06:12 +0000</pubDate>
		<dc:creator>FreedomCoder</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[Installer]]></category>

		<guid isPermaLink="false">http://www.mundoruby.com.ar/?p=46</guid>
		<description><![CDATA[This is a quick post to let everybody interested in One-Click Ruby Installer project that the repository got relocated.
From http://github.com/luislavena/rubyinstaller
To http://github.com/oneclick/rubyinstaller
I&#8217;ve added a note there just in case. All the code up-to-date got migrated, so no loss.
(Via DEV_MEM.dump_to(:blog) &#8211; Multimedia systems blog.) Original Link: RubyInstaller repository relocated



]]></description>
			<content:encoded><![CDATA[<p>This is a quick post to let everybody interested in One-Click Ruby Installer project that the repository got relocated.</p>
<p>From http://github.com/luislavena/rubyinstaller</p>
<p>To http://github.com/oneclick/rubyinstaller</p>
<p>I&#8217;ve added a note there just in case. All the code up-to-date got migrated, so no loss.</p>
<p>(Via <a href="http://blog.mmediasys.com">DEV_MEM.dump_to(:blog) &#8211; Multimedia systems blog</a>.) Original Link: <a href="http://blog.mmediasys.com/2009/02/15/rubyinstaller-repository-relocated/#comments">RubyInstaller repository relocated</a></p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-7949681675937032";
google_ad_slot = "0874687580";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mundoruby.com.ar/2009/03/20/rubyinstaller-repository-relocated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

