<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">

 <title>Ivan Torres</title>
 
 <link href="http://ivantorres.me/" />
 <updated>2012-01-10T22:26:58-08:00</updated>
 <id>http://ivantorres.me/</id>
 <author>
   <name>Ivan Torres</name>
   <email>mexpolk@gmail.com</email>
 </author>

 
 <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/ivantorres" /><feedburner:info uri="ivantorres" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry>
   <title>Nice Internationalization Behavior on TED</title>
   <link href="http://feedproxy.google.com/~r/ivantorres/~3/H2z9BVB_1yI/nice-internationalization-behavior-on-ted.html" />
   <updated>2012-01-10T00:00:00-08:00</updated>
   <id>http://ivantorres.me/2012/01/10/nice-internationalization-behavior-on-ted</id>
   <content type="html">&lt;p&gt;&lt;iframe src="http://www.screenr.com/embed/Ty3s" width="600" height="366" frameborder="0"&gt;&lt;/iframe&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/k1yNUZoPVzL2wvGyImXhOQdU7ro/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/k1yNUZoPVzL2wvGyImXhOQdU7ro/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/k1yNUZoPVzL2wvGyImXhOQdU7ro/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/k1yNUZoPVzL2wvGyImXhOQdU7ro/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ivantorres/~4/H2z9BVB_1yI" height="1" width="1"/&gt;</content>
 <feedburner:origLink>http://ivantorres.me/2012/01/10/nice-internationalization-behavior-on-ted.html</feedburner:origLink></entry>
 
 <entry>
   <title>Install Specific Formula Version with Homebrew</title>
   <link href="http://feedproxy.google.com/~r/ivantorres/~3/WYUAk8OyMEY/install-specific-formula-version-with-homebrew.html" />
   <updated>2012-01-06T00:00:00-08:00</updated>
   <id>http://ivantorres.me/2012/01/06/install-specific-formula-version-with-homebrew</id>
   <content type="html">&lt;h1&gt;Install Specific Formula Version with Homebrew&lt;/h1&gt;
&lt;p class="meta"&gt;6 Jan 2012 &amp;#8211; San Francisco, CA&lt;/p&gt;
&lt;p&gt;Life is less than ideal most of the time and software isn&amp;#8217;t the exception. &lt;a href="http://mxcl.github.com/homebrew/"&gt;Homebrew&lt;/a&gt; is awesome, it makes my life so much easier when installing and updating all my development tools. But if there something that Hombrew lacks completely is the support to install previous versions of the kegs (packages), so here they are, the instructions to achieve precisely that:&lt;/p&gt;
&lt;p&gt;First, update Homebrew so that &lt;code&gt;/usr/local&lt;/code&gt; is converted to a git repository:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;code class="bash"&gt;brew update
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;Then find the specific formula revision that you need with git:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;code class="bash"&gt;git log -S &lt;span class="s1"&gt;&amp;#39;0.9.9&amp;#39;&lt;/span&gt; Library/Formula/sphinx.rb
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;Checkout the formula for that specific revision and install it:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;code class="bash"&gt;git checkout 527fdcc808cb5ccb936c5af2e76bea2bf4895158 Library/Formula/sphinx.rb
brew install sphinx
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/B08xv5zwiejTeXp6JOgkUYwEQ2U/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/B08xv5zwiejTeXp6JOgkUYwEQ2U/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/B08xv5zwiejTeXp6JOgkUYwEQ2U/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/B08xv5zwiejTeXp6JOgkUYwEQ2U/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ivantorres/~4/WYUAk8OyMEY" height="1" width="1"/&gt;</content>
 <feedburner:origLink>http://ivantorres.me/2012/01/06/install-specific-formula-version-with-homebrew.html</feedburner:origLink></entry>
 
 <entry>
   <title>Update Your Vim (Pathogen) Bundles with Ease</title>
   <link href="http://feedproxy.google.com/~r/ivantorres/~3/vdkizHfuWhU/update-your-vim-bundles-with-ease.html" />
   <updated>2011-12-29T00:00:00-08:00</updated>
   <id>http://ivantorres.me/2011/12/29/update-your-vim-bundles-with-ease</id>
   <content type="html">&lt;h1&gt;Update Your Vim (Pathogen) Bundles with Ease&lt;/h1&gt;
&lt;p class="meta"&gt;29 Dec 2011 &amp;#8211; San Francisco, CA&lt;/p&gt;
&lt;p&gt;If you’re using Git to manage your pathogen bundle’s in Vim, I have created a script to rule (update) them all:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;code class="bash"&gt;&lt;span class="c"&gt;#/usr/bin/env sh&lt;/span&gt;

&lt;span class="nv"&gt;dir&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sb"&gt;`&lt;/span&gt;&lt;span class="nb"&gt;pwd&lt;/span&gt;&lt;span class="sb"&gt;`&lt;/span&gt;
&lt;span class="k"&gt;for &lt;/span&gt;f in &lt;span class="sb"&gt;`&lt;/span&gt;find &lt;span class="nv"&gt;$dir&lt;/span&gt; -d 1 -type d -not -name &lt;span class="s1"&gt;&amp;#39;.*&amp;#39;&lt;/span&gt;&lt;span class="sb"&gt;`&lt;/span&gt;
&lt;span class="k"&gt;do&lt;/span&gt;
&lt;span class="k"&gt;  &lt;/span&gt;&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;Updating $f&amp;quot;&lt;/span&gt;
  &lt;span class="nb"&gt;cd&lt;/span&gt; &lt;span class="nv"&gt;$f&lt;/span&gt;
  git co master &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; git fetch &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; git pull origin master
  &lt;span class="nb"&gt;cd&lt;/span&gt; &lt;span class="nv"&gt;$dir&lt;/span&gt;
&lt;span class="k"&gt;done&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;Place it under your &lt;code&gt;/bundle&lt;/code&gt; directory and run it:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;code class="bash"&gt;sh update-bundles.sh
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/6KNB6hcG98TL2w1SFNOdFGXKJMU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6KNB6hcG98TL2w1SFNOdFGXKJMU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/6KNB6hcG98TL2w1SFNOdFGXKJMU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6KNB6hcG98TL2w1SFNOdFGXKJMU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ivantorres/~4/vdkizHfuWhU" height="1" width="1"/&gt;</content>
 <feedburner:origLink>http://ivantorres.me/2011/12/29/update-your-vim-bundles-with-ease.html</feedburner:origLink></entry>
 
 <entry>
   <title>Open SSH Links on iTerm2</title>
   <link href="http://feedproxy.google.com/~r/ivantorres/~3/UiyubXY26JE/open-ssh-links-on-iterm2.html" />
   <updated>2011-12-26T00:00:00-08:00</updated>
   <id>http://ivantorres.me/2011/12/26/open-ssh-links-on-iterm2</id>
   <content type="html">&lt;h1&gt;Open &lt;span class="caps"&gt;SSH&lt;/span&gt; Links on iTerm2&lt;/h1&gt;
&lt;p class="meta"&gt;26 Dec 2011 &amp;#8211; San Francisco, CA&lt;/p&gt;
&lt;p&gt;I’m a big fan of iTerm2 and very often I see myself launching &lt;span class="caps"&gt;SSH&lt;/span&gt; sessions from the browser. The configuration is very simple:&lt;/p&gt;
&lt;p&gt;First, open iTerm2 Preferences (&lt;code&gt;Cmd+,&lt;/code&gt;) then click on Profiles and create a new profile (&lt;code&gt;+&lt;/code&gt;), and change the highlighted fields as shown in the following image:&lt;/p&gt;
&lt;p&gt;&lt;img src="/images/2011-12-26-open-ssh-links-on-iterm2/iterm2-preferences.png" title="iTerm2 Preferences" alt="iTerm2 Preferences" /&gt;&lt;/p&gt;
&lt;p&gt;For the last step (#3), this is a tricky one, click on the &lt;span class="caps"&gt;URL&lt;/span&gt; Schemes select box and click on ssh (and then, click again on the select box and verify that it ssh is checked):&lt;/p&gt;
&lt;p&gt;&lt;img src="/images/2011-12-26-open-ssh-links-on-iterm2/url-schemes.png" title="iTerm2 URL Schemes" alt="iTerm2 URL Schemes" /&gt;&lt;/p&gt;
&lt;p&gt;Enjoy!&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/vSg78hlF5wSoF6eOwO36NHaEM_0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vSg78hlF5wSoF6eOwO36NHaEM_0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/vSg78hlF5wSoF6eOwO36NHaEM_0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vSg78hlF5wSoF6eOwO36NHaEM_0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ivantorres/~4/UiyubXY26JE" height="1" width="1"/&gt;</content>
 <feedburner:origLink>http://ivantorres.me/2011/12/26/open-ssh-links-on-iterm2.html</feedburner:origLink></entry>
 
 <entry>
   <title>Auto-Generate Gemset with RVM (.rvmrc)</title>
   <link href="http://feedproxy.google.com/~r/ivantorres/~3/SMhge-bDChw/auto-generate-gemsets-with-rvm.html" />
   <updated>2011-12-26T00:00:00-08:00</updated>
   <id>http://ivantorres.me/2011/12/26/auto-generate-gemsets-with-rvm</id>
   <content type="html">&lt;h1&gt;Auto-Generate Gemset with &lt;span class="caps"&gt;RVM&lt;/span&gt; (.rvmrc)&lt;/h1&gt;
&lt;p class="meta"&gt;26 Dec 2011 &amp;#8211; San Francisco, CA&lt;/p&gt;
&lt;p&gt;Sometimes, when you clone one of your projects with a &lt;code&gt;.rvmrc&lt;/code&gt; file in it, you enter into the directory and then you need to type the following (at least for the first time):&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;code class="bash"&gt;rvm gemset create your_project_name
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;But you can avoid that completely, by appending &lt;code&gt;--create&lt;/code&gt; at the end of your &lt;span class="caps"&gt;RVM&lt;/span&gt; command (inside your &lt;code&gt;.rvmrc&lt;/code&gt; file) like this:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;code class="bash"&gt;rvm use 1.9.3@your_project_name --create
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/okyetxBTPkxb9kubMMB_D2EYxI8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/okyetxBTPkxb9kubMMB_D2EYxI8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/okyetxBTPkxb9kubMMB_D2EYxI8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/okyetxBTPkxb9kubMMB_D2EYxI8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ivantorres/~4/SMhge-bDChw" height="1" width="1"/&gt;</content>
 <feedburner:origLink>http://ivantorres.me/2011/12/26/auto-generate-gemsets-with-rvm.html</feedburner:origLink></entry>
 
 <entry>
   <title>Ruby Mixin (Snippet)</title>
   <link href="http://feedproxy.google.com/~r/ivantorres/~3/8cCxAvgMeLM/ruby-mixin-template.html" />
   <updated>2009-03-05T00:00:00-08:00</updated>
   <id>http://ivantorres.me/2009/03/05/ruby-mixin-template</id>
   <content type="html">&lt;h1&gt;Ruby Mixin (Snippet)&lt;/h1&gt;
&lt;p class="meta"&gt;05 Mar 2009 &amp;#8211; San Francisco, CA&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;code class="ruby"&gt;&lt;span class="k"&gt;module&lt;/span&gt; &lt;span class="nn"&gt;MixinSample&lt;/span&gt;
  &lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nc"&gt;self&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;included&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;recipient&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;recipient&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;extend&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;ClassMethods&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;recipient&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;class_eval&lt;/span&gt; &lt;span class="k"&gt;do&lt;/span&gt;
      &lt;span class="kp"&gt;include&lt;/span&gt; &lt;span class="no"&gt;InstanceMethods&lt;/span&gt;
    &lt;span class="k"&gt;end&lt;/span&gt;
  &lt;span class="k"&gt;end&lt;/span&gt;

  &lt;span class="k"&gt;module&lt;/span&gt; &lt;span class="nn"&gt;InstanceMethods&lt;/span&gt;
  &lt;span class="k"&gt;end&lt;/span&gt;

  &lt;span class="k"&gt;module&lt;/span&gt; &lt;span class="nn"&gt;ClassMethods&lt;/span&gt;
  &lt;span class="k"&gt;end&lt;/span&gt;
&lt;span class="k"&gt;end&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/3s7YVOFLjELzuT4Y1NUG19vK2Uk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/3s7YVOFLjELzuT4Y1NUG19vK2Uk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/3s7YVOFLjELzuT4Y1NUG19vK2Uk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/3s7YVOFLjELzuT4Y1NUG19vK2Uk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ivantorres/~4/8cCxAvgMeLM" height="1" width="1"/&gt;</content>
 <feedburner:origLink>http://ivantorres.me/2009/03/05/ruby-mixin-template.html</feedburner:origLink></entry>
 

</feed>

