<?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>Richard Peng</title>
	<atom:link href="http://richardpeng.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://richardpeng.com</link>
	<description>Maryland Web Developer</description>
	<lastBuildDate>Mon, 14 May 2012 05:05:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Ubuntu 12.04 Upgrade Failure</title>
		<link>http://richardpeng.com/2012/05/01/ubuntu-12-04-upgrade-failure/</link>
		<comments>http://richardpeng.com/2012/05/01/ubuntu-12-04-upgrade-failure/#comments</comments>
		<pubDate>Tue, 01 May 2012 15:14:24 +0000</pubDate>
		<dc:creator>rpeng</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[fail]]></category>
		<category><![CDATA[lts]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://richardpeng.com/?p=766</guid>
		<description><![CDATA[Always have at least 2GB overhead when upgrading your Linux distribution! If you don&#8217;t you&#8217;ll regret it! I attempted to upgrade my primary desktop from Ubuntu 11.10 to 12.04 for Long-term Support last night and managed to lock up three of my four CPU cores with kernel processes when I ran out of space on [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>Always have at least 2GB overhead when upgrading your Linux distribution! If you don&#8217;t you&#8217;ll regret it!</p></blockquote>
<p>I attempted to upgrade my primary desktop from <a href="http://www.ubuntu.com/" target="_blank">Ubuntu</a> 11.10 to 12.04 for Long-term Support last night and managed to lock up three of my four CPU cores with kernel processes when I ran out of space on the root partition.</p>
<p><a href="http://richardpeng.com/wp-content/uploads//2012/05/upgradefail.png"><img class="size-medium wp-image-767 alignnone" title="upgradefail" src="http://richardpeng.com/wp-content/uploads//2012/05/upgradefail-300x171.png" alt="" width="300" height="171" /></a></p>
<p>Unfortunately, the only way I know to remove the locks is to reboot, but I&#8217;m pretty sure the reboot will fail because half the new packages still haven&#8217;t been configured, including the all the ones related to the kernel (hal, acpi, etc). Thankfully, I keep good backups so I&#8217;ll just do a clean install of the system and restore my configurations from /etc. My desktop has always been my techie playground so the Ubuntu install I broke is a pretty big mess after years of tweaking system configurations.</p>
<p>I <em>could</em> use a Live CD and chroot into the system to complete the upgrade, but now that I&#8217;ve really messed up the system, I&#8217;d like to get a clean start. This time, however, I&#8217;ll be sure to allocate more space to the root partition. I&#8217;m looking forward hopefully to many years of service on a stable LTS release.</p>
]]></content:encoded>
			<wfw:commentRss>http://richardpeng.com/2012/05/01/ubuntu-12-04-upgrade-failure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Guild Wars 2 Beta Weekend Impressions</title>
		<link>http://richardpeng.com/2012/04/30/guild-wars-2-beta-weekend-impressions/</link>
		<comments>http://richardpeng.com/2012/04/30/guild-wars-2-beta-weekend-impressions/#comments</comments>
		<pubDate>Mon, 30 Apr 2012 04:00:33 +0000</pubDate>
		<dc:creator>rpeng</dc:creator>
				<category><![CDATA[Photos]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[beta]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[guild wars 2]]></category>

		<guid isPermaLink="false">http://richardpeng.com/?p=755</guid>
		<description><![CDATA[The first Guild Wars 2 Beta Weekend Event was so much fun, much more than I dared imagine. I&#8217;m now even more excited than ever about this game coming out (I didn&#8217;t think that was even possible). After playing in this first of many beta events, I know the folks at ArenaNet will make sure [...]]]></description>
			<content:encoded><![CDATA[
<div class="ngg-galleryoverview" id="ngg-gallery-4-755">


	
	<!-- Thumbnails -->
		
	<div id="ngg-image-216" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://richardpeng.com/wp-content/gallery/gw2_beta/gw001.jpg" title=" "  >
								<img title="gw001" alt="gw001" src="http://richardpeng.com/wp-content/gallery/gw2_beta/thumbs/thumbs_gw001.jpg" width="176" height="132" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-217" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://richardpeng.com/wp-content/gallery/gw2_beta/gw002.jpg" title=" "  >
								<img title="gw002" alt="gw002" src="http://richardpeng.com/wp-content/gallery/gw2_beta/thumbs/thumbs_gw002.jpg" width="176" height="132" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-218" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://richardpeng.com/wp-content/gallery/gw2_beta/gw003.jpg" title=" "  >
								<img title="gw003" alt="gw003" src="http://richardpeng.com/wp-content/gallery/gw2_beta/thumbs/thumbs_gw003.jpg" width="176" height="132" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-219" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://richardpeng.com/wp-content/gallery/gw2_beta/gw006.jpg" title=" "  >
								<img title="gw006" alt="gw006" src="http://richardpeng.com/wp-content/gallery/gw2_beta/thumbs/thumbs_gw006.jpg" width="176" height="132" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-220" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://richardpeng.com/wp-content/gallery/gw2_beta/gw007.jpg" title=" "  >
								<img title="gw007" alt="gw007" src="http://richardpeng.com/wp-content/gallery/gw2_beta/thumbs/thumbs_gw007.jpg" width="176" height="132" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-221" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://richardpeng.com/wp-content/gallery/gw2_beta/gw008.jpg" title=" "  >
								<img title="gw008" alt="gw008" src="http://richardpeng.com/wp-content/gallery/gw2_beta/thumbs/thumbs_gw008.jpg" width="176" height="132" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-222" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://richardpeng.com/wp-content/gallery/gw2_beta/gw009.jpg" title=" "  >
								<img title="gw009" alt="gw009" src="http://richardpeng.com/wp-content/gallery/gw2_beta/thumbs/thumbs_gw009.jpg" width="176" height="132" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-223" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://richardpeng.com/wp-content/gallery/gw2_beta/gw010.jpg" title=" "  >
								<img title="gw010" alt="gw010" src="http://richardpeng.com/wp-content/gallery/gw2_beta/thumbs/thumbs_gw010.jpg" width="176" height="132" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-224" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://richardpeng.com/wp-content/gallery/gw2_beta/gw011.jpg" title=" "  >
								<img title="gw011" alt="gw011" src="http://richardpeng.com/wp-content/gallery/gw2_beta/thumbs/thumbs_gw011.jpg" width="176" height="132" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class="ngg-clear"></div> 	
</div>


<p>The first Guild Wars 2 Beta Weekend Event was so much fun, much more than I dared imagine. I&#8217;m now even more excited than ever about this game coming out (I didn&#8217;t think that was even possible). After playing in this first of many beta events, I know the folks at ArenaNet will make sure they get it right! I got to play through most of the human campaign as a Guardian and delved into some PVP action as well. There are still many improvements that could be made, so I&#8217;m sort of glad that ANet hasn&#8217;t announced a release date for the game yet:</p>
<ul>
<li>Many world events in the human starting areas don&#8217;t have very long chains of events. As a result, the chain of events would repeat more than once as I was exploring an area for completion.</li>
<li>The interface still needs refinement including a stack button to easily combine stacks to save space in your bank and inventory. I also noticed that the interface fonts didn&#8217;t look very good when you set the interface size to small.</li>
<li>The PVP arena was pretty fun, but needs plenty of rebalancing. The current matching algorithms still need to be refined and it was pretty annoying to be forced to change to the opposing team from your friends by the match rebalancing.</li>
</ul>
<p>Those were the biggest nitpicky issues I&#8217;d like to see fixed in the upcoming betas. I filed plenty of bug reports with typos in addition to these issues, and I&#8217;m sure the team is working their butts off for all of us.</p>
<p>Thank you ArenaNet for letting us all get a glimpse of your game! You have a winner here and I can&#8217;t wait for the next beta weekend! Here are my screenshots from the beta. The landscape and character designs are absolutely stunning. Enjoy the high resolution screenshots. I hope you guys like them enough to post them on Pinterest!</p>
]]></content:encoded>
			<wfw:commentRss>http://richardpeng.com/2012/04/30/guild-wars-2-beta-weekend-impressions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Site Redesign 2012</title>
		<link>http://richardpeng.com/2012/04/23/site-redesign-2012/</link>
		<comments>http://richardpeng.com/2012/04/23/site-redesign-2012/#comments</comments>
		<pubDate>Tue, 24 Apr 2012 01:29:12 +0000</pubDate>
		<dc:creator>rpeng</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[responsive layout]]></category>
		<category><![CDATA[typography]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://richardpeng.com/?p=736</guid>
		<description><![CDATA[I&#8217;ve wanted to redo the look of my website for about a year now and have finally finished a new look that I&#8217;m reasonably happy with. With this redesign, I had a few goals in mind. Goals of the Redesign Create a responsive design By leveraging the power of media queries, the browser is able [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve wanted to redo the look of my website for about a year now and have finally finished a new look that I&#8217;m reasonably happy with. With this redesign, I had a few goals in mind.</p>
<h2>Goals of the Redesign</h2>
<h3>Create a <strong>responsive design</strong></h3>
<p>By leveraging the power of <a href="http://www.w3.org/TR/css3-mediaqueries/" target="_blank">media queries</a>, the browser is able to adjust the layout and typography, based on the width of the browser viewport.</p>
<h3>Use a <strong>grid system</strong> to set the type</h3>
<p>Typesetting was based on a 13px vertical grid to maintain the flow of the text throughout an article. All elements, including headlines and lists, take up a multiple of 13 in vertical space.</p>
<h3>Use Typekit for custom fonts</h3>
<p>Web fonts are finally a viable method of changing your site&#8217;s fonts without the hassles and downsides of previous methods: sIFR, Javascript replacement a la Cufon, and others. I wanted to experiment with Typekit to see what kind of impact using a different font has on a site. A very significant one!</p>
<h2>Things I Learned</h2>
<h3>Love the single-column layout</h3>
<p>My initial design had two columns, which created a lot of useless empty space on the right-side where the sidebar was located. However, the content of my site doesn&#8217;t really need the second column, so I removed the additional column. As a result, the layout pulled together nicely, become simpler and more elegant. Single-column layouts might be a luxury only smaller sites can <strong></strong>use, but they really allow the focus to center purely on the content at hand, rather than distracting the reader with various other articles.</p>
<h3>Grids as a guideline</h3>
<p>Grids are a great starting point for layouts because they let you quickly prototype the frequently used elements of a site: the logo, navigation bar, content section, sidebar, and footer. However, sticking too strictly to the grid starts to make a design feel too rigid. In future iterations of the design, I&#8217;d like to style some elements that break out of that rigidity without breaking the flow of the content.</p>
<h3>Experiment with web fonts</h3>
<p>We&#8217;ve finally reached a new era where the majority of our web audience is using modern browsers with decent standards support, allowing us to use increasingly more technologies that blur the lines between print and screen typography and layout. This is extremely exciting because it enables us developers and designers to present our messaging and content more effectively and creatively than ever possible.</p>
<h2>Conclusion</h2>
<p>This is a very exciting time for web development, with lots of really great technologies coming out that open up new avenues for both designers and developers. Also, the openness of the web development community is amazing. There are many fantastic resources out there that greatly ease the development and design processes, giving us more time to spend on creating a unique experience for the most important people &#8211; our visitors.</p>
<h3>Resources:</h3>
<p><a href="http://foundation.zurb.com/" target="_blank">ZURB Foundation</a>: Rapid prototyping and building framework<br />
<a href="https://typekit.com" target="_blank">Typekit</a>: Web fonts provider</p>
]]></content:encoded>
			<wfw:commentRss>http://richardpeng.com/2012/04/23/site-redesign-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CyberSpeed Unleashed Review</title>
		<link>http://richardpeng.com/2011/05/28/cyberspeed-unleashed-review/</link>
		<comments>http://richardpeng.com/2011/05/28/cyberspeed-unleashed-review/#comments</comments>
		<pubDate>Sat, 28 May 2011 16:40:13 +0000</pubDate>
		<dc:creator>rpeng</dc:creator>
				<category><![CDATA[Review]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[soundtrack]]></category>

		<guid isPermaLink="false">http://www.richardpeng.com/?p=699</guid>
		<description><![CDATA[Sixteen years later from the original game, Mark &#8216;TDK&#8217; Knight has released CyberSpeed Unleashed, a remix album of the music from the 1995 game CyberSpeed. And boy does it get your adrenaline pumping and make you want to race again, preferably in a more modern racing game. CyberSpeed&#8217;s gameplay was&#8230; hectic, to put it nicely, [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-702" title="CyberSpeed Unleashed Cover Art" src="http://richardpeng.com/wp-content/uploads/2011/05/marktdkknight2.jpg" alt="CyberSpeed Unleashed Cover Art" width="200" height="200" />Sixteen years later from the original game, <a href="http://www.gamesounds.co.uk/" target="_blank">Mark &#8216;TDK&#8217; Knight</a> has released CyberSpeed Unleashed, a remix album of the music from the 1995 game CyberSpeed. And boy does it get your adrenaline pumping and make you want to race again, preferably in a more modern racing game. CyberSpeed&#8217;s gameplay was&#8230; hectic, to put it nicely, but it was Mark&#8217;s music that really made the game stand out. The original game disc could be loaded into your CD player to play the soundtrack which was awesome. I fondly remember overloading a couple sets of crappy speakers listening to the CyberSpeed soundtrack at max volume when I was a kid.</p>
<p>The new CyberSpeed Unleashed remixes add heart-pumping bass, upgraded instruments, and some very welcome complexity to the originals, making each track a lot more interesting, while keeping the original riffs I love. The new instruments sound great, especially the butt-kicking bass instruments. Both Cluffy Flouds remixes also have all the ambiance I loved from the original tracks. The new Cluffy Flouds 2 remix is definitely one of my favorite tracks. The Boggit Protein Accelerator is another great track and is delightful light-hearted. The original game included silly future-age commercials that would air between races and this was one of the background tracks.</p>
<p>Some things I didn&#8217;t really like about the new remixes were some instrument choices. The low-quality violin instrument in CyberSpeed Race 5 detracted from the environmental ambiance of the track. The notes played by the violin instrument also weren&#8217;t held long enough which hurt the flow of the music. The low-high &#8220;boing&#8221; instrument in the background of CyberSpeed Race 6 was also really distracting and was just enough to prevent it from being one of my favorite tracks. I also wish Mark had incorporated more of the piano riff from the original CyberSpeed Track 5 into one of the remixes. The entire second half of Track 5 was great and was one of my favorite original tracks.</p>
<p>All-in-all, if you&#8217;ve played CyberSpeed before, you owe it to yourself to give this album a listen. It has all the extra excitement you wished the original tracks had and more. If you haven&#8217;t played the game before, DON&#8217;T! Just kidding! CyberSpeed has one of the best racing game soundtracks out there and should definitely be in your game music collection. CyberSpeed Unleashed is a great complement to the original soundtrack. The original has a lot more atmospheric ambiance which I enjoyed, but the new album gives you a lot more bass and is so much fun to listen to.</p>
<p>Favorite tracks:<br />
Cyberspeed Track 4<br />
Cyberspeed Track 7<br />
Cluffy Flouds 2<br />
Boggit Protein Accelerator</p>
<p>CyberSpeed Unleashed is available for download at <a href="http://www.cdbaby.com/cd/marktdkknight2" target="_blank">CD Baby</a> and <a href="http://itunes.apple.com/us/album/cyberspeed-unleashed/id432587605" target="_blank">iTunes</a></p>
]]></content:encoded>
			<wfw:commentRss>http://richardpeng.com/2011/05/28/cyberspeed-unleashed-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convert Video for Flash Streaming</title>
		<link>http://richardpeng.com/2010/08/01/convert-video-for-flash-streaming/</link>
		<comments>http://richardpeng.com/2010/08/01/convert-video-for-flash-streaming/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 00:51:18 +0000</pubDate>
		<dc:creator>rpeng</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://www.richardpeng.com/?p=194</guid>
		<description><![CDATA[This is a simple script I&#8217;m using to convert the videos I take on my Canon S90 for posting online using a flash player.]]></description>
			<content:encoded><![CDATA[<p>This is a simple script I&#8217;m using to convert the videos I take on my Canon S90 for posting online using a flash player.<br />
<div id="gist-615322" class="gist">

        <div class="gist-file">
          <div class="gist-data gist-syntax">
              <div class="highlight"><pre><div class='line' id='LC1'><span class="c">#!/bin/bash</span></div><div class='line' id='LC2'><span class="c"># Convert videos from Canon S90 to flash-playable streaming format</span></div><div class='line' id='LC3'><span class="k">for </span>file in <span class="s2">&quot;$@&quot;</span></div><div class='line' id='LC4'><span class="k">do      </span></div><div class='line' id='LC5'><span class="k">        </span><span class="nv">filename</span><span class="o">=</span><span class="k">$(</span>basename <span class="nv">$file</span><span class="k">)</span></div><div class='line' id='LC6'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="nv">filename</span><span class="o">=</span><span class="k">${</span><span class="nv">filename</span><span class="p">%.*</span><span class="k">}</span></div><div class='line' id='LC7'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="c"># Convert the audio stream to AAC</span></div><div class='line' id='LC8'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ffmpeg -i <span class="nv">$file</span> -vcodec copy -acodec libfaac temp_vid.mp4</div><div class='line' id='LC9'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="c"># Move the H.264 MOOV atom to the beginning of the file for progressive streaming</span></div><div class='line' id='LC10'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;qt-faststart temp_vid.mp4 <span class="nv">$filename</span>.mp4</div><div class='line' id='LC11'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rm temp_vid.mp4</div><div class='line' id='LC12'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="c"># Create a screenshot</span></div><div class='line' id='LC13'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ffmpeg -i <span class="nv">$filename</span>.mp4 -f image2 -vframes 1 <span class="nv">$filename</span>.jpg</div><div class='line' id='LC14'><span class="k">done</span></div></pre></div>
          </div>

          <div class="gist-meta">
            <a href="https://gist.github.com/raw/615322/b9b4eabd7daa120e93cd6d397774465a7284af75/s90tostream.sh" style="float:right;">view raw</a>
            <a href="https://gist.github.com/615322#file_s90tostream.sh" style="float:right;margin-right:10px;color:#666">s90tostream.sh</a>
            <a href="https://gist.github.com/615322">This Gist</a> brought to you by <a href="http://github.com">GitHub</a>.
          </div>
        </div>
</div>
</p>
]]></content:encoded>
			<wfw:commentRss>http://richardpeng.com/2010/08/01/convert-video-for-flash-streaming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Final Fantasy Distant Worlds Concert</title>
		<link>http://richardpeng.com/2010/07/31/final-fantasy-distant-worlds-concert/</link>
		<comments>http://richardpeng.com/2010/07/31/final-fantasy-distant-worlds-concert/#comments</comments>
		<pubDate>Sat, 31 Jul 2010 04:52:48 +0000</pubDate>
		<dc:creator>rpeng</dc:creator>
				<category><![CDATA[Photos]]></category>
		<category><![CDATA[concert]]></category>
		<category><![CDATA[final fantasy]]></category>
		<category><![CDATA[video game]]></category>

		<guid isPermaLink="false">http://www.richardpeng.com/?p=139</guid>
		<description><![CDATA[This was one of the most amazing experiences I&#8217;ve ever had in my life. I&#8217;ve always loved Final Fantasy music, especially all of the orchestral arrangements, but nothing had prepared me for the magnificence of experiencing a live performance of Nobuo Uematsu&#8217;s beloved music. I was so excited when the conductor, the renowned Arnie Roth, [...]]]></description>
			<content:encoded><![CDATA[
<a href='http://richardpeng.com/2010/07/31/final-fantasy-distant-worlds-concert/final_fantasy-001/' title='Final_Fantasy-001'><img width="150" height="150" src="http://img.richardpeng.com//2010/07/Final_Fantasy-001-150x150.jpg" class="attachment-thumbnail" alt="Final_Fantasy-001" title="Final_Fantasy-001" /></a>
<a href='http://richardpeng.com/2010/07/31/final-fantasy-distant-worlds-concert/final_fantasy-002/' title='Final_Fantasy-002'><img width="150" height="150" src="http://img.richardpeng.com//2010/07/Final_Fantasy-002-150x150.jpg" class="attachment-thumbnail" alt="Final_Fantasy-002" title="Final_Fantasy-002" /></a>
<a href='http://richardpeng.com/2010/07/31/final-fantasy-distant-worlds-concert/final_fantasy-003/' title='Final_Fantasy-003'><img width="150" height="150" src="http://img.richardpeng.com//2010/07/Final_Fantasy-003-150x150.jpg" class="attachment-thumbnail" alt="Final_Fantasy-003" title="Final_Fantasy-003" /></a>
<a href='http://richardpeng.com/2010/07/31/final-fantasy-distant-worlds-concert/final_fantasy-004/' title='Final_Fantasy-004'><img width="150" height="150" src="http://img.richardpeng.com//2010/07/Final_Fantasy-004-150x150.jpg" class="attachment-thumbnail" alt="Final_Fantasy-004" title="Final_Fantasy-004" /></a>
<a href='http://richardpeng.com/2010/07/31/final-fantasy-distant-worlds-concert/final_fantasy-005/' title='Final_Fantasy-005'><img width="150" height="150" src="http://img.richardpeng.com//2010/07/Final_Fantasy-005-150x150.jpg" class="attachment-thumbnail" alt="Final_Fantasy-005" title="Final_Fantasy-005" /></a>
<a href='http://richardpeng.com/2010/07/31/final-fantasy-distant-worlds-concert/final_fantasy-006/' title='Final_Fantasy-006'><img width="150" height="150" src="http://img.richardpeng.com//2010/07/Final_Fantasy-006-150x150.jpg" class="attachment-thumbnail" alt="Final_Fantasy-006" title="Final_Fantasy-006" /></a>
<a href='http://richardpeng.com/2010/07/31/final-fantasy-distant-worlds-concert/final_fantasy-007/' title='Final_Fantasy-007'><img width="150" height="150" src="http://img.richardpeng.com//2010/07/Final_Fantasy-007-150x150.jpg" class="attachment-thumbnail" alt="Final_Fantasy-007" title="Final_Fantasy-007" /></a>
<a href='http://richardpeng.com/2010/07/31/final-fantasy-distant-worlds-concert/final_fantasy-008/' title='Final_Fantasy-008'><img width="150" height="150" src="http://img.richardpeng.com//2010/07/Final_Fantasy-008-150x150.jpg" class="attachment-thumbnail" alt="Final_Fantasy-008" title="Final_Fantasy-008" /></a>

<p>This was one of the most amazing experiences I&#8217;ve ever had in my life. I&#8217;ve always loved Final Fantasy music, especially all of the orchestral arrangements, but nothing had prepared me for the magnificence of experiencing a live performance of Nobuo Uematsu&#8217;s beloved music. I was so excited when the conductor, the renowned Arnie Roth, announced that, &#8220;yeah, actually we know a few more songs,&#8221; and conducted an encore performance of Terra&#8217;s theme, one of my favorite Nobuo Uematsu pieces, and then concluded the concert with One-Winged Angel.</p>
<p>After intermission, we were also treated to a special address from Uematsu to us the audience at Wolf Trap, recorded just days before the concert. He truly is passionate about his work and has a great sense of humor. Uematsu-san, I would definitely love a cookie!</p>
]]></content:encoded>
			<wfw:commentRss>http://richardpeng.com/2010/07/31/final-fantasy-distant-worlds-concert/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XBMC Boxee UI Switcher</title>
		<link>http://richardpeng.com/2010/07/22/xbmc-boxee-ui-switcher/</link>
		<comments>http://richardpeng.com/2010/07/22/xbmc-boxee-ui-switcher/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 15:58:37 +0000</pubDate>
		<dc:creator>rpeng</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[htpc]]></category>
		<category><![CDATA[lirc]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://www.richardpeng.com/?p=90</guid>
		<description><![CDATA[I bind this script to a button on my LIRC remote to easily switch between XBMC and Boxee on my HTPC. XBMC&#8217;s interface using the Rapier skin and fanart is much more attractive, but Boxee offers great social network integration (read: Youtube).]]></description>
			<content:encoded><![CDATA[<p>I bind this script to a button on my LIRC remote to easily switch between XBMC and Boxee on my HTPC. XBMC&#8217;s interface using the Rapier skin and fanart is much more attractive, but Boxee offers great social network integration (read: Youtube).<br />
<div id="gist-615318" class="gist">

        <div class="gist-file">
          <div class="gist-data gist-syntax">
              <div class="highlight"><pre><div class='line' id='LC1'><span class="c">#/bin/bash</span></div><div class='line' id='LC2'><span class="c"># Switch between XBMC and Boxee</span></div><div class='line' id='LC3'><span class="k">if </span>ps ax | grep -v grep | grep xbmc.bin &gt; /dev/null</div><div class='line' id='LC4'><span class="k">then</span></div><div class='line' id='LC5'><span class="k">	</span><span class="nb">echo</span> <span class="s2">&quot;XBMC running, killing process&quot;</span></div><div class='line' id='LC6'>	<span class="nb">kill</span> <span class="sb">`</span>pidof xbmc.bin<span class="sb">`</span></div><div class='line' id='LC7'>	sleep 7</div><div class='line' id='LC8'>	<span class="nb">echo</span> <span class="s2">&quot;running Boxee&quot;</span></div><div class='line' id='LC9'>	/usr/bin/runBoxee &amp;</div><div class='line' id='LC10'><span class="k">elif </span>ps ax | grep -v grep | grep Boxee &gt; /dev/null</div><div class='line' id='LC11'><span class="k">then</span></div><div class='line' id='LC12'><span class="k">	</span><span class="nb">echo</span> <span class="s2">&quot;Boxee running, killing process&quot;</span></div><div class='line' id='LC13'>	<span class="nb">kill</span> <span class="sb">`</span>pidof Boxee<span class="sb">`</span></div><div class='line' id='LC14'>	sleep 7</div><div class='line' id='LC15'>	<span class="nb">echo</span> <span class="s2">&quot;running XBMC&quot;</span></div><div class='line' id='LC16'>	/usr/bin/runXBMC &amp;</div><div class='line' id='LC17'><span class="k">else</span></div><div class='line' id='LC18'><span class="k">	</span><span class="nb">echo</span> <span class="s2">&quot;No UI running, starting XBMC&quot;</span></div><div class='line' id='LC19'>	/usr/bin/runXBMC &amp;</div><div class='line' id='LC20'><span class="k">fi</span></div></pre></div>
          </div>

          <div class="gist-meta">
            <a href="https://gist.github.com/raw/615318/3bc9d79ca80c0cddd2108c0b83f90ca626853e2d/switchUI.sh" style="float:right;">view raw</a>
            <a href="https://gist.github.com/615318#file_switch_ui.sh" style="float:right;margin-right:10px;color:#666">switchUI.sh</a>
            <a href="https://gist.github.com/615318">This Gist</a> brought to you by <a href="http://github.com">GitHub</a>.
          </div>
        </div>
</div>
</p>
]]></content:encoded>
			<wfw:commentRss>http://richardpeng.com/2010/07/22/xbmc-boxee-ui-switcher/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Start irexec daemon</title>
		<link>http://richardpeng.com/2010/07/22/start-irexec-daemon/</link>
		<comments>http://richardpeng.com/2010/07/22/start-irexec-daemon/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 15:55:28 +0000</pubDate>
		<dc:creator>rpeng</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[htpc]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://www.richardpeng.com/?p=88</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<div id="gist-615315" class="gist">

        <div class="gist-file">
          <div class="gist-data gist-syntax">
              <div class="highlight"><pre><div class='line' id='LC1'><span class="c">#!/bin/bash</span></div><div class='line' id='LC2'><span class="c"># Checks to see if irexec is running and runs it if not already running.</span></div><div class='line' id='LC3'><br/></div><div class='line' id='LC4'><span class="nv">youruser</span><span class="o">=</span>richard</div><div class='line' id='LC5'><br/></div><div class='line' id='LC6'><span class="c"># Test to see if IRexec is running first, if so kill it, then restart</span></div><div class='line' id='LC7'><span class="k">if </span>ps -ef|grep -v grep|grep -vi start|grep -i irexec</div><div class='line' id='LC8'><span class="k">then</span></div><div class='line' id='LC9'>ps aux|grep -i <span class="nv">$youruser</span>|grep -i irexec |grep -vi start|awk <span class="s1">&#39;{print $2}&#39;</span>|xargs <span class="nb">kill</span></div><div class='line' id='LC10'><span class="k">else</span></div><div class='line' id='LC11'><span class="c"># Do nothing</span></div><div class='line' id='LC12'><span class="nb">echo</span> <span class="s2">&quot;irexec already dead!&quot;</span></div><div class='line' id='LC13'><span class="k">fi</span></div><div class='line' id='LC14'><br/></div><div class='line' id='LC15'><span class="c">#test to see if an instance of irexec is already running</span></div><div class='line' id='LC16'><span class="k">if </span>ps -ef|grep -v grep|grep irexec</div><div class='line' id='LC17'><span class="k">then</span></div><div class='line' id='LC18'><span class="c"># do nothing</span></div><div class='line' id='LC19'><span class="nb">echo</span> <span class="s2">&quot;irexec already running&quot;</span></div><div class='line' id='LC20'><span class="k">else</span></div><div class='line' id='LC21'><span class="c"># start irxevent</span></div><div class='line' id='LC22'>irexec -d /home/<span class="nv">$youruser</span>/.lircrc &amp;</div><div class='line' id='LC23'><span class="k">fi</span></div><div class='line' id='LC24'><br/></div><div class='line' id='LC25'><span class="nb">exit</span></div></pre></div>
          </div>

          <div class="gist-meta">
            <a href="https://gist.github.com/raw/615315/f6277ecff0ff8ef51f719d77962baf9a3aa1ca6a/startirexec.sh" style="float:right;">view raw</a>
            <a href="https://gist.github.com/615315#file_startirexec.sh" style="float:right;margin-right:10px;color:#666">startirexec.sh</a>
            <a href="https://gist.github.com/615315">This Gist</a> brought to you by <a href="http://github.com">GitHub</a>.
          </div>
        </div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://richardpeng.com/2010/07/22/start-irexec-daemon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Count files and folders</title>
		<link>http://richardpeng.com/2010/07/22/count-files-and-folders/</link>
		<comments>http://richardpeng.com/2010/07/22/count-files-and-folders/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 15:27:06 +0000</pubDate>
		<dc:creator>rpeng</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[snippet]]></category>

		<guid isPermaLink="false">http://www.richardpeng.com/?p=85</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<div id="gist-615305" class="gist">

        <div class="gist-file">
          <div class="gist-data gist-syntax">
              <div class="highlight"><pre><div class='line' id='LC1'># Prints the folder name number of files and folders in each subdirectory.</div><div class='line' id='LC2'>for i in *; do show=&quot;$i&quot;; num=`ls &quot;$i&quot; | wc -l`; echo &quot;$show: $num&quot;; done;</div></pre></div>
          </div>

          <div class="gist-meta">
            <a href="https://gist.github.com/raw/615305/c2b1348106315d538734a95fb5337e6db5828100/gistfile1.bat" style="float:right;">view raw</a>
            <a href="https://gist.github.com/615305#file_gistfile1.bat" style="float:right;margin-right:10px;color:#666">gistfile1.bat</a>
            <a href="https://gist.github.com/615305">This Gist</a> brought to you by <a href="http://github.com">GitHub</a>.
          </div>
        </div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://richardpeng.com/2010/07/22/count-files-and-folders/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Find text in files</title>
		<link>http://richardpeng.com/2010/07/22/find-text-in-files/</link>
		<comments>http://richardpeng.com/2010/07/22/find-text-in-files/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 15:20:11 +0000</pubDate>
		<dc:creator>rpeng</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[snippet]]></category>

		<guid isPermaLink="false">http://www.richardpeng.com/?p=82</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<div id="gist-615300" class="gist">

        <div class="gist-file">
          <div class="gist-data gist-syntax">
              <div class="highlight"><pre><div class='line' id='LC1'># Search for a text string in all files and subdirectories.</div><div class='line' id='LC2'>find -type f -print0 | xargs -0 grep -il &quot;$1&quot;</div></pre></div>
          </div>

          <div class="gist-meta">
            <a href="https://gist.github.com/raw/615300/482fa3c384080c62bd444e6fc71bf90c6a28283e/gistfile1.bat" style="float:right;">view raw</a>
            <a href="https://gist.github.com/615300#file_gistfile1.bat" style="float:right;margin-right:10px;color:#666">gistfile1.bat</a>
            <a href="https://gist.github.com/615300">This Gist</a> brought to you by <a href="http://github.com">GitHub</a>.
          </div>
        </div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://richardpeng.com/2010/07/22/find-text-in-files/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using apc
Database Caching using apc
Object Caching 1328/1501 objects using apc

Served from: richardpeng.com @ 2012-05-19 12:35:42 -->
