<?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>The Love Shack &#187; Rails</title>
	<atom:link href="http://www.the-love-shack.net/category/rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.the-love-shack.net</link>
	<description>Yes, the B-52&#039;s. No, not pr0n. Sheesh!</description>
	<lastBuildDate>Tue, 09 Sep 2008 19:04:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Making SSH easy</title>
		<link>http://www.the-love-shack.net/2008/05/05/making-ssh-easy/</link>
		<comments>http://www.the-love-shack.net/2008/05/05/making-ssh-easy/#comments</comments>
		<pubDate>Mon, 05 May 2008 18:06:01 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[Network Geek]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://www.the-love-shack.net/2008/05/05/making-ssh-easy/</guid>
		<description><![CDATA[Tim Dysinger put up a great article the other day about simplifying Rails app deployment. He briefly goes over some of the SSH configuration options that you can use to simplify things, particularly when using ssh-agent. There are a few other things that I use to greatly simplify my life, particularly since I use ssh [...]]]></description>
			<content:encoded><![CDATA[<p>Tim Dysinger put up a great article the other day about <a href="http://dysinger.net/2008/04/30/deploying-with-capistrano-git-and-ssh-agent/">simplifying Rails app deployment</a>. He briefly goes over some of the SSH configuration options that you can use to simplify things, particularly when using ssh-agent. There are a few other things that I use to greatly simplify my life, particularly since I use ssh for almost all of my work, not just deployments.</p>
<ol>
<li>Automatically load up ssh-agent and prepare your keys on login.
<p>OSX and most Linux desktop environments (Gnome, KDE, etc) have a &#8220;keyring&#8221; that stores system passwords and things for you in a relatively secure fashion. You unlock the keyring with a master password and you get access to stored passwords. ssh-agent can interact with these keyrings to automatically load up your ssh keys at login. You just unlock the keyring once, and your keys are all ready to go.</li>
<li>Use short names in your <em>.ssh/config</em>
<p>Sometimes you&#8217;ll be stuck working on servers with extremely long names. Or, worse yet, servers with no DNS name at all where you have to remember the IP address. In this case, you can use a <em>host</em>/<em>hostname</em> combination in your <em>.ssh/config</em> file to give you an easy to type name.</p>
<pre><code>host = shortname
hostname = reallylong.nameplusdomain.com</code></pre>
<p>And, for bonus points, if your current login name doesn&#8217;t match the remote login name, you can add a <em>user = remotename</em> line. Now, instead of typing:<br />
<code>ssh remotename@reallylong.nameplusdomain.com</code><br />
I can just do:<br />
<code>ssh shortname</code>
</li>
<li>This last one is a potential security risk, but it can be handy when you&#8217;re deploying to a machine who&#8217;s host key changes regularly. I run into this all the time when preparing new release candidates of our <a href="http://railsboxcar.com">Rails Boxcar</a> images at work. I add <em>stricthostkeychecking = no</em> to my config. If I connect to the same server multiple times and it has a different host key (or no host key stored locally yet) I won&#8217;t have to manually approve it. Particularly handy in conjunction with Capistrano since cap will usually choke and exit with an error instead of prompting you with the &#8220;Add host key&#8221; message.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.the-love-shack.net/2008/05/05/making-ssh-easy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Working for The Man!</title>
		<link>http://www.the-love-shack.net/2008/02/14/working-for-the-man/</link>
		<comments>http://www.the-love-shack.net/2008/02/14/working-for-the-man/#comments</comments>
		<pubDate>Thu, 14 Feb 2008 09:57:39 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Network Geek]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.the-love-shack.net/2008/02/14/working-for-the-man/</guid>
		<description><![CDATA[So, as of today, I have accepted an offer to work for The Man. Not The Man as in, &#8220;The Man is keeping us down&#8221;, but as in &#8220;You are The Man!&#8221;. Except, in this case, it&#8217;s more like The Company.   Starting soon (hopefully Friday, if everything is ready to go) I&#8217;ll be [...]]]></description>
			<content:encoded><![CDATA[<p>So, as of today, I have accepted an offer to work for The Man. Not The Man as in, &#8220;The Man is keeping us down&#8221;, but as in &#8220;You are The Man!&#8221;. Except, in this case, it&#8217;s more like The Company. <img src='http://www.the-love-shack.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Starting soon (hopefully Friday, if everything is ready to go) I&#8217;ll be working for <a href="http://www.planetargon.com">Planet Argon</a>. I&#8217;m being brought in as a sysadmin for their hosting operations. There are lots of really exciting opportunities going on here not only in the world of Ruby on Rails hosting in particular, but hosting services in general.</p>
<p>Companies like <a href="http://www.dreamhost.com">DreamHost</a> have really redefined what one-click installations are all about, but I&#8217;m looking to take that further. Not just one-click hosting, but one-click virtual servers. Imagine filling out a form, submitting some billing info, and having a full-blown, ready to go virtual server available for your use (with root access to boot) within a few minutes.</p>
<p>With technologies like <a href="http://www.xensource.com">Xen</a> allowing lightweight virtual machines, I&#8217;m hoping that we&#8217;ll soon be able to make this a reality. No more being confined to your $HOME, and trying to install software that isn&#8217;t supported by the hosting service within those confines. You&#8217;ll now be able to install software as it was MEANT to be installed, and just have it work.</p>
<p>With more and more Web 2.0 (is that cliché yet?) applications coming up, and with more and more developers designing said applications, it&#8217;ll be even more important to have an easy and reliable platform for hosting these applications. It&#8217;s obviously going to take some hard work and time to get it done, but I think it&#8217;ll really be a very positive step for the industry as a whole. Stay tuned for more about this. <img src='http://www.the-love-shack.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Obviously, these are just my opinions and not the policy of Planet Argon, yadda, yadda. Same goes for any future work-related posts. But it&#8217;s a very exciting opportunity, and a very exciting time to be getting involved into this portion of the business.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.the-love-shack.net/2008/02/14/working-for-the-man/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby on Rails Coding Setup</title>
		<link>http://www.the-love-shack.net/2007/02/15/ruby-on-rails-coding-setup/</link>
		<comments>http://www.the-love-shack.net/2007/02/15/ruby-on-rails-coding-setup/#comments</comments>
		<pubDate>Thu, 15 Feb 2007 22:17:47 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.the-love-shack.net/2007/02/15/ruby-on-rails-coding-setup/</guid>
		<description><![CDATA[Now that I&#8217;ve gotten over the initial hump of learning enough Ruby (on Rails) to get some productive work done, here&#8217;s my list of quite-possibly-essential tools for the job:


Ruby (and Rails, if you&#8217;re doing web stuff)
Ruby Interactive Reference &#8211; Currently v1.8 (ri1.8 package in Debian)
A good text editor. I prefer Emacs for heavy coding, vim [...]]]></description>
			<content:encoded><![CDATA[<p>Now that I&#8217;ve gotten over the initial hump of learning enough Ruby (on Rails) to get some productive work done, here&#8217;s my list of quite-possibly-essential tools for the job:</p>
<ul>
<ol>
<li>Ruby (and Rails, if you&#8217;re doing web stuff)</li>
<li>Ruby Interactive Reference &#8211; Currently v1.8 (ri1.8 package in Debian)</li>
<li>A good text editor. I prefer Emacs for heavy coding, vim for quick edits. Whatever works best for you.</li>
<li>The Ruby Documentation Bundle from <a href="http://www.ruby-doc.org">ruby-doc.org</a>.</li>
<li>The Rails Framework Documentation (if you&#8217;re using rails). On a Debian system, this is part of the rails package. Look under /usr/share/doc/rails/html.</li>
<li>A fast, tabbed browser. Firefox/Iceweasel are just too slow for me, so I prefer <a href="http://galeon.sourceforge.net">Galeon</a>. It&#8217;s not actively maintained anymore, but I currently have 68 tabs open in two windows, and the response time is instantaneous, so I&#8217;m happy. <img src='http://www.the-love-shack.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
<li>This one may or may not apply to your situation, but for me it&#8217;s essential: a good music player and good music to go with it. Currently this is <a href="http://www.audacious-media-player.org">Audacious</a> playing Gipsy Kings. YMMV. <img src='http://www.the-love-shack.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ol>
</ul>
<p>I also use a few non-essential extras to make my life a bit simpler.</p>
<ul>
<ol>
<li><a href="http://www.beryl-project.org">Beryl</a> is excellent for multiple desktops and transparent windows. Multiple desktops are easy enough, but transparent windows can really be handy when you&#8217;re trying to read things in one window while typing in another.</li>
<li>A good MySQL front-end. I personally rather like the MySQL Query Browser. It&#8217;s light, easy to use, and does all of its work through queries that I can edit, so I don&#8217;t have to keep a separate shell window open for manual tasks.</li>
<li>A tabbed terminal for multiple connections to the remote machine I&#8217;m working on. I just use gnome-terminal for this though there probably are better alternatives out there.</li>
<li>Oh, and most importantly, a <a href="http://www.debian.org">Debian</a> system to run all of this stuff on. <img src='http://www.the-love-shack.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ol>
</ul>
<p>Get a setup like that going and you too, can be Cool Like Me &trade;. <img src='http://www.the-love-shack.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Well, ok, not really. Nobody can <strong>really</strong> be as cool as me. Or maybe they just don&#8217;t want to&#8230; hmm&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.the-love-shack.net/2007/02/15/ruby-on-rails-coding-setup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
