<?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>Poor-Man &#187; General</title>
	<atom:link href="http://poor-man.com/category/general/feed/" rel="self" type="application/rss+xml" />
	<link>http://poor-man.com</link>
	<description>Club Site</description>
	<lastBuildDate>Fri, 20 Nov 2009 17:04:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Syntax highlighting added. Open for use.</title>
		<link>http://poor-man.com/general/syntax-highlighting-added-open-for-use/</link>
		<comments>http://poor-man.com/general/syntax-highlighting-added-open-for-use/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 17:04:01 +0000</pubDate>
		<dc:creator>Poor</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://poor-man.com/?p=18</guid>
		<description><![CDATA[For authors, syntax highlighting is turned on now so please make use of it. Super simple to use: to turn on highlighting for a section use an opening PRE tag with an attribute of lang=&#8221;java&#8221; as an example. make sure to close the tag with a /PRE at the end of the code. Example: /** [...]]]></description>
			<content:encoded><![CDATA[<img style='float: left; margin-right: 10px; border: none;' src='http://www.gravatar.com/avatar.php?gravatar_id=a28d68db9e7e8aac31ba78a6d9416581&amp;default=http://use.perl.org/images/pix.gif' alt='No Gravatar' width=40 height=40/><p>For authors, syntax highlighting is turned on now so please make use of it. Super simple to use:<br />
to turn on highlighting for a section use an opening PRE tag with an attribute of lang=&#8221;java&#8221; as an example. make sure to close the tag with a /PRE at the end of the code.<br />
Example:</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #008000; font-style: italic; font-weight: bold;">/**
     * builds a MD5 hash for the input string
     * @param hashMe the string to hash
     * @return MD5 hash converted to string
     */</span>
    <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #003399;">String</span> getMD5String<span style="color: #009900;">&#40;</span><span style="color: #003399;">String</span> hashMe<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        log.<span style="color: #006633;">debug</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Request for MD5 of string [&quot;</span> <span style="color: #339933;">+</span> hashMe<span style="color: #339933;">+</span><span style="color: #0000ff;">&quot;]&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>hashMe <span style="color: #339933;">==</span> <span style="color: #000066; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #000066; font-weight: bold;">null</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
        <span style="color: #000000; font-weight: bold;">try</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #003399;">MessageDigest</span> md <span style="color: #339933;">=</span> <span style="color: #003399;">MessageDigest</span>.<span style="color: #006633;">getInstance</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;MD5&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            md.<span style="color: #006633;">update</span><span style="color: #009900;">&#40;</span>hashMe.<span style="color: #006633;">getBytes</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">byte</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> result <span style="color: #339933;">=</span> md.<span style="color: #006633;">digest</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #003399;">String</span> retval <span style="color: #339933;">=</span> getHexString<span style="color: #009900;">&#40;</span>result<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            log.<span style="color: #006633;">debug</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;returning MD5 is &quot;</span> <span style="color: #339933;">+</span> retval<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #000000; font-weight: bold;">return</span> retval<span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">catch</span> <span style="color: #009900;">&#40;</span><span style="color: #003399;">NoSuchAlgorithmException</span> ex<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            log.<span style="color: #006633;">error</span><span style="color: #009900;">&#40;</span>ex.<span style="color: #006633;">getMessage</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>,ex<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #000066; font-weight: bold;">null</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
    <span style="color: #009900;">&#125;</span></pre></div></div>

<p>that easy.</p>
]]></content:encoded>
			<wfw:commentRss>http://poor-man.com/general/syntax-highlighting-added-open-for-use/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Club site being setup</title>
		<link>http://poor-man.com/general/hello-world/</link>
		<comments>http://poor-man.com/general/hello-world/#comments</comments>
		<pubDate>Sun, 23 Aug 2009 14:58:21 +0000</pubDate>
		<dc:creator>Poor</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://poor-man.com/?p=1</guid>
		<description><![CDATA[It will take a few days to get the site fully configured but we are making progress.]]></description>
			<content:encoded><![CDATA[<img style='float: left; margin-right: 10px; border: none;' src='http://www.gravatar.com/avatar.php?gravatar_id=a28d68db9e7e8aac31ba78a6d9416581&amp;default=http://use.perl.org/images/pix.gif' alt='No Gravatar' width=40 height=40/><p>It will take a few days to get the site fully configured but we are making progress.</p>
]]></content:encoded>
			<wfw:commentRss>http://poor-man.com/general/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

