<?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; featured</title>
	<atom:link href="http://kang-chen.com/wp/tag/featured/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>Thu, 18 Mar 2010 02:27:49 +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>Inserting new line in echo command</title>
		<link>http://kang-chen.com/wp/2009/07/09/inserting-new-line-in-echo-command/</link>
		<comments>http://kang-chen.com/wp/2009/07/09/inserting-new-line-in-echo-command/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 23:38:41 +0000</pubDate>
		<dc:creator>Kang</dc:creator>
				<category><![CDATA[Mac OS]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[featured]]></category>
		<category><![CDATA[shell scripting]]></category>

		<guid isPermaLink="false">http://kang-chen.com/wp/?p=20</guid>
		<description><![CDATA[Out of curiosity and the perfectionist in me, I &#8220;had&#8221; to print a line of text in the output inside a BASH shell script. I didn&#8217;t really want to split them into multiple echo statements since it&#8217;s a waste of space and actually harder to read for me. The first thing I tried was: &#62; [...]]]></description>
			<content:encoded><![CDATA[<p>Out of curiosity and the perfectionist in me, I &#8220;had&#8221; to print a line of text in the output inside a BASH shell script. I didn&#8217;t really want to split them into multiple echo statements since it&#8217;s a waste of space and actually harder to read for me. The first thing I tried was:</p>
<p>&gt; echo &#8220;Line1\nLine2&#8243; # Line1\nLine2</p>
<p>That clearly didn&#8217;t work out so well&#8230; so I thought maybe my Mac (OS X 10.5.7) likes &#8216;\r\n&#8217; more:<span id="more-20"></span></p>
<p>&gt; echo &#8220;Line1\r\nLine2&#8243; # line1\r\nline2</p>
<p>Still nope! As I found out later on though, not all versions of echo supports backslash escape characters. A quick look up in the MAN page for echo revealed that I needed to pass in the -e option in order to enable this capability:</p>
<p>&gt; echo -e &#8220;Line1\nLine2&#8243;</p>
<p>Line1<br />
Line2</p>
<p>TADA! Third time is the charm!</p>
]]></content:encoded>
			<wfw:commentRss>http://kang-chen.com/wp/2009/07/09/inserting-new-line-in-echo-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>One Giant Robot After Another</title>
		<link>http://kang-chen.com/wp/2009/07/02/one-giant-robot-after-another/</link>
		<comments>http://kang-chen.com/wp/2009/07/02/one-giant-robot-after-another/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 05:20:05 +0000</pubDate>
		<dc:creator>Kang</dc:creator>
				<category><![CDATA[Site Update]]></category>
		<category><![CDATA[featured]]></category>

		<guid isPermaLink="false">http://kang-chen.com/wp/?p=11</guid>
		<description><![CDATA[Changed from &#8216;Code Monkey&#8217; to &#8216;One Giant Robot After Another&#8217;! Where did I get the inspiration from? Well, I initially really liked ThoughtBot&#8217;s blog, Giant Robot Smashing Into Other Giant Robots, but copying them would be boring and probably not make those guys very happy. However, I recently came across some articles about a couple [...]]]></description>
			<content:encoded><![CDATA[<p>Changed from &#8216;Code Monkey&#8217; to &#8216;One Giant Robot After Another&#8217;! Where did I get the inspiration from? Well, I initially really liked ThoughtBot&#8217;s blog, <a href="http://giantrobots.thoughtbot.com/">Giant Robot Smashing Into Other Giant Robots</a>, but copying them would be boring and probably not make those guys very happy. However, I recently came across some articles about a couple of giant robots being built in Japan on <a href="http://gizmodo.com">Gizmodo</a>: a giant <a href="http://gizmodo.com/5294231/full-size-gundam-video-it-moves-it-moves">Gundam (done building)</a> and <a href="http://gizmodo.com/5303735/japan-building-another-gigantic-robot-tetsujin">Tetsujin (under construction)</a>. For the lack of better naming schemes, I just took the sequential order of how the robots are built as the new name, literally &#8216;One Giant Robot After Another&#8217;.</p>
]]></content:encoded>
			<wfw:commentRss>http://kang-chen.com/wp/2009/07/02/one-giant-robot-after-another/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Manually Downgrading iPhone OS</title>
		<link>http://kang-chen.com/wp/2009/06/17/manually-downgrading-iphone-os/</link>
		<comments>http://kang-chen.com/wp/2009/06/17/manually-downgrading-iphone-os/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 07:03:46 +0000</pubDate>
		<dc:creator>Kang</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[featured]]></category>
		<category><![CDATA[technical]]></category>

		<guid isPermaLink="false">http://kang-chen.com/wp/?p=6</guid>
		<description><![CDATA[If for some reason you&#8217;ve ran into a situation where you want to downgrade your iPhone&#8217;s OS but iTunes just won&#8217;t comply with your command, I&#8217;ve found that there&#8217;s an easy way to force the action: Connect your iPhone to the computer and have iTunes opened Hold down both the power and home buttons until [...]]]></description>
			<content:encoded><![CDATA[<p>If for some reason you&#8217;ve ran into a situation where you want to downgrade your iPhone&#8217;s OS but iTunes just won&#8217;t comply with your command, I&#8217;ve found that there&#8217;s an easy way to force the action:</p>
<ol>
<li>Connect your iPhone to the computer and have iTunes opened</li>
<li>Hold down both the power and home buttons until the iPhone disappeared from the devices list in iTunes</li>
<li>Release the power button but continue to hold down the home button until iTunes detects there&#8217;s a device in recovery mode</li>
<li>Hold down shift on Windows or option key on the Mac while pressing Restore in the iPhone screen in iTunes to initiate a restore to the desired version of firmware</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://kang-chen.com/wp/2009/06/17/manually-downgrading-iphone-os/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Live!</title>
		<link>http://kang-chen.com/wp/2009/06/16/live/</link>
		<comments>http://kang-chen.com/wp/2009/06/16/live/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 07:32:23 +0000</pubDate>
		<dc:creator>Kang</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[featured]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[technical]]></category>

		<guid isPermaLink="false">http://kang-chen.com/wp/?p=3</guid>
		<description><![CDATA[Finally finished setting up my site and basic wordpress installation! It took me awhile just to settle on the combination of hosting and domain registrar. In the end, I decided to go with Site5.com for the hosting and GoDaddy for domain. Site5 is currently (and has been) promoting 25% discount but it&#8217;s not hard to [...]]]></description>
			<content:encoded><![CDATA[<p>Finally finished setting up my site and basic wordpress installation! It took me awhile just to settle on the combination of hosting and domain registrar. In the end, I decided to go with Site5.com for the hosting and GoDaddy for domain. Site5 is currently (and has been) promoting 25% discount but it&#8217;s not hard to find the 26% discount if you look just a little bit harder. The promotion code I used to get the 26% discount was &#8216;<strong>BPJOBBRD&#8217;</strong>.</p>
<p>So what&#8217;s my impression of Site5 so far? Not bad at all actually! I was initially a little suspicious of their offer of unlimited bandwidth and storage as it&#8217;s usually a recipe for disaster as hosting companies will try to overcrowd their server with clients just to make up for the margin. However, the highest load I&#8217;ve seen so far on my server is a mere 1.5, very respectable considering they claim to have &#8216;cat /proc/cpuinfo&#8217; reveals they have 8 cores on the machine.</p>
<p>[~]# uptime<br />
02:23:45 up 35 days, 16:57,  1 user,  load average: 0.75, 0.74, 0.80</p>
]]></content:encoded>
			<wfw:commentRss>http://kang-chen.com/wp/2009/06/16/live/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

