<?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>One Giant Robot After Another &#187; productivity</title>
	<atom:link href="http://kang-chen.com/wp/tag/productivity/feed/" rel="self" type="application/rss+xml" />
	<link>http://kang-chen.com/wp</link>
	<description>Kang Chen&#039;s Online Portfolio and Blog</description>
	<lastBuildDate>Sun, 29 Nov 2009 05:33:36 +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>Updating Your Ruby on Rails Application Custom Environment via Passenger Pane</title>
		<link>http://kang-chen.com/wp/2009/08/02/updating-your-ruby-on-rails-application-custom-environment-via-passenger-pane/</link>
		<comments>http://kang-chen.com/wp/2009/08/02/updating-your-ruby-on-rails-application-custom-environment-via-passenger-pane/#comments</comments>
		<pubDate>Mon, 03 Aug 2009 05:41:59 +0000</pubDate>
		<dc:creator>Kang</dc:creator>
				<category><![CDATA[Mac OS]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Passenger]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://kang-chen.com/wp/?p=49</guid>
		<description><![CDATA[If you are working with a relatively up-to-date Ruby on Rails stack, chances are you would be using Phusion Passenger to deploy your application. Although passenger makes it extremely easy to deploy and restart your app, it also added a bit more complication when managing the Apache configuration files. The Passenger Pane (for Mac only) [...]]]></description>
			<content:encoded><![CDATA[<p>If you are working with a relatively up-to-date Ruby on Rails stack, chances are you would be using <a href="http://www.modrails.com/" target="_blank">Phusion Passenger</a> to deploy your application. Although passenger makes it extremely easy to deploy and restart your app, it also added a bit more complication when managing the Apache configuration files. The Passenger Pane (for Mac only) helped alleviate this problem by providing a nice little visual panel in your Mac&#8217;s Preference Pane:<span id="more-49"></span></p>
<p style="text-align: center;"><a rel="lightbox[passenger_pane]" href="http://kang-chen.com/wp/wp-content/uploads/2009/08/PassengerPane1.jpg" title="Passenger Pane in System Preferences"><img class="size-full wp-image-51 aligncenter" title="Passenger Pane in System Preferences" src="http://kang-chen.com/wp/wp-content/uploads/2009/08/PassengerPane1.jpg" alt="Passenger Pane in System Preferences" width="401" height="337" /></a></p>
<div class="mceTemp mceIEcenter">
<dl id="attachment_53" class="wp-caption aligncenter" style="width: 412px;">
<dt class="wp-caption-dt"><a rel="lightbox[passenger_pane]" href="http://kang-chen.com/wp/wp-content/uploads/2009/08/PassengerPane2.jpg" title="Inside Passenger Pane"><img class="size-full wp-image-53   " title="Inside Passenger Pane" src="http://kang-chen.com/wp/wp-content/uploads/2009/08/PassengerPane2.jpg" alt="Inside Passenger Pane" width="402" height="295" /></a></dt>
</dl>
</div>
<p>The nifty little add-on allows you to easily add a new Rails project, set it to development or production mode, and also restart it. It&#8217;s great if you are not sure/forgot where all the virtual host files are for your apache configuration.</p>
<p style="text-align: left;"><a rel="lightbox[passenger_pane]" href="http://kang-chen.com/wp/wp-content/uploads/2009/08/PassengerPane3.jpg" title="Dragging project to Textmate"><img class="size-thumbnail wp-image-54 aligncenter" title="Dragging project to Textmate" src="http://kang-chen.com/wp/wp-content/uploads/2009/08/PassengerPane3-150x114.jpg" alt="Dragging project to Textmate" width="90" height="68" /></a></p>
<p style="text-align: left;">As with all things in life, nothing is perfect. In this case, I work on a project with multiple environments: development, staging, preprodstaging, and production just to name a few. The passenger pane was great when you just had to choose between development or production but what do you do if your desired environment is named something else? Don&#8217;t sweat, apparently there&#8217;s a simple little trick to customize your configuration file exactly to your liking even if the pane does not offer those options. To do so, simply select the project your want to edit from the project list and then drag the it to your favorite text editor on the dock, in this case, Textmate.Now that the file is opened in the editor, edit to your heart&#8217;s content, save, restart your passenger instance for the project and you are ready to see your updated changes!</p>
<p style="text-align: center;"><a rel="lightbox[passenger_pane]" href="http://kang-chen.com/wp/wp-content/uploads/2009/08/PassengerPane4.jpg" title="Ruby on Rails application configuration in Textmate"><img class="aligncenter size-full wp-image-55" title="Ruby on Rails application configuration in Textmate" src="http://kang-chen.com/wp/wp-content/uploads/2009/08/PassengerPane4.jpg" alt="Ruby on Rails application configuration in Textmate" width="576" height="492" /></a></p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://kang-chen.com/wp/2009/08/02/updating-your-ruby-on-rails-application-custom-environment-via-passenger-pane/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>Enhanced Open Terminal Here, for Leopard at Maururu</title>
		<link>http://kang-chen.com/wp/2009/07/14/enhanced-open-terminal-here-for-leopard-at-maururu/</link>
		<comments>http://kang-chen.com/wp/2009/07/14/enhanced-open-terminal-here-for-leopard-at-maururu/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 16:48:34 +0000</pubDate>
		<dc:creator>Kang</dc:creator>
				<category><![CDATA[Mac OS]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[technical]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://kang-chen.com/wp/?p=32</guid>
		<description><![CDATA[Ever find it annoying that you can&#8217;t go from the terminal to the same directory in the finder or vice versa on the Mac? So am I! It just seems terribly inefficient for power users who are proficient with the terminal to have to open up the terminal app and then manually cd into the [...]]]></description>
			<content:encoded><![CDATA[<p>Ever find it annoying that you can&#8217;t go from the terminal to the same directory in the finder or vice versa on the Mac? So am I! It just seems terribly inefficient for power users who are proficient with the terminal to have to open up the terminal app and then manually cd into the current directory. Aside from just a waste of time and extra keystrokes (yes, tab to auto-complete does help a lot), it&#8217;s not easy to remember the exact path to the current directory. On top of that, OS X likes to make it harder for regular users to access root folders and it becomes a pain to use. I finally gave up and googled for solutions to go from finder to terminal today and found a great time-saver: Enhanced Open Terminal Here.<span id="more-32"></span></p>
<p>To install Open Terminal Here, unzip the downloaded file and store in a place that you won&#8217;t accidentally delete. Then right click (or if you don&#8217;t have a two button mouse, Ctrl+click) on the toolbar area of a finder window and select &#8220;Customize Toolbar&#8230;&#8221;. This brings up the toolbar customization dropdown. Now drag and drop the Open Terminal Here icon to the existing toolbear area and click done. You can now open a terminal window to the same location as where you are in the finder. <strong>For more convenience, cmd+click to open the current folder in a new tab in terminal or alt+click to cd into the current directory on the foremost tab of the foremost window in terminal.</strong> You can read up more about this cool script at<a href="http://maururu.net/2007/enhanced-open-terminal-here-for-leopard/"> Enhanced Open Terminal Here, for Leopard at Maururu</a>.</p>
<p><div id="attachment_37" class="wp-caption aligncenter" style="width: 465px"><a rel="lightbox[enhanced_open_terminal_here]" href="http://kang-chen.com/wp/wp-content/uploads/2009/07/OSXFinderOpenTerminalHere.jpg" title="OSXFinderOpenTerminalHere"><img class="size-full wp-image-37   " title="OSXFinderOpenTerminalHere" src="http://kang-chen.com/wp/wp-content/uploads/2009/07/OSXFinderOpenTerminalHere.jpg" alt="Mac finder window with Open Terminal Here installed" width="455" height="42" /></a><p class="wp-caption-text">Mac finder window with Open Terminal Here installed</p></div>So what about the other way around of going from the current directory in terminal to finder? This is pretty simple, all you need to do is enter: &#8220;open .&#8221;</p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://kang-chen.com/wp/2009/07/14/enhanced-open-terminal-here-for-leopard-at-maururu/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
	</channel>
</rss>

