<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for Richard Peng</title>
	<atom:link href="http://richardpeng.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://richardpeng.com</link>
	<description>Maryland Web Developer</description>
	<lastBuildDate>Mon, 26 Jul 2010 06:24:46 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>Comment on Find text in files by rpeng</title>
		<link>http://richardpeng.com/2010/07/22/find-text-in-files/#comment-14</link>
		<dc:creator>rpeng</dc:creator>
		<pubDate>Mon, 26 Jul 2010 06:24:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardpeng.com/?p=82#comment-14</guid>
		<description>Your command is much more concise. Thanks for the tip!</description>
		<content:encoded><![CDATA[<p>Your command is much more concise. Thanks for the tip!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Resize Album Art by Curran</title>
		<link>http://richardpeng.com/2010/07/20/album-art/#comment-9</link>
		<dc:creator>Curran</dc:creator>
		<pubDate>Mon, 26 Jul 2010 05:26:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardpeng.com/?p=10#comment-9</guid>
		<description>This script is useful if you use Rockbox on older devices (such as the 3rd gen iPod).  It resizes album art (named &quot;cover.jpg&quot;) and reduces the color to 4 shades of gray.
&lt;pre class=&quot;brush:bash&quot;&gt;
#!/bin/bash
convert cover.jpg -resize 64x64! -colorspace Gray -colors 4 /tmp/TMPcoverIN.xpm
echo &quot;/* XPM */
static char *covernd_[] = {
/* columns rows colors chars-per-pixel */
\&quot;64 64 4 1\&quot;,
\&quot;  c #000000\&quot;,
\&quot;. c #555555\&quot;,
\&quot;X c #AAAAAA\&quot;,
\&quot;o c #FFFFFF\&quot;,&quot; &gt; /tmp/TMPcoverOUT.xpm
tail -n+9 /tmp/TMPcoverIN.xpm &gt;&gt; /tmp/TMPcoverOUT.xpm
convert /tmp/TMPcoverOUT.xpm cover.bmp
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>This script is useful if you use Rockbox on older devices (such as the 3rd gen iPod).  It resizes album art (named &#8220;cover.jpg&#8221;) and reduces the color to 4 shades of gray.</p>
<pre class="brush:bash">
#!/bin/bash
convert cover.jpg -resize 64x64! -colorspace Gray -colors 4 /tmp/TMPcoverIN.xpm
echo "/* XPM */
static char *covernd_[] = {
/* columns rows colors chars-per-pixel */
\"64 64 4 1\",
\"  c #000000\",
\". c #555555\",
\"X c #AAAAAA\",
\"o c #FFFFFF\"," &gt; /tmp/TMPcoverOUT.xpm
tail -n+9 /tmp/TMPcoverIN.xpm &gt;&gt; /tmp/TMPcoverOUT.xpm
convert /tmp/TMPcoverOUT.xpm cover.bmp
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Find text in files by Curran</title>
		<link>http://richardpeng.com/2010/07/22/find-text-in-files/#comment-6</link>
		<dc:creator>Curran</dc:creator>
		<pubDate>Mon, 26 Jul 2010 04:21:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardpeng.com/?p=82#comment-6</guid>
		<description>How does this differ from:
&lt;pre class=&quot;brush:bash&quot;&gt;grep -Iilr &#039;search phrase&#039; .&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>How does this differ from:</p>
<pre class="brush:bash">grep -Iilr 'search phrase' .</pre>
]]></content:encoded>
	</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 196/198 objects using apc

Served from: richardpeng.com @ 2012-05-19 12:40:40 -->
