<?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>We Heart Code &#187; Uncategorized</title>
	<atom:link href="http://www.weheartcode.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.weheartcode.com</link>
	<description>A discourse on programming</description>
	<lastBuildDate>Thu, 12 May 2011 23:17:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Luhn Digit Generation Oracle PL/SQL Implementation</title>
		<link>http://www.weheartcode.com/2009/10/06/luhn-digit-generation-oracle-plsql-implementation/</link>
		<comments>http://www.weheartcode.com/2009/10/06/luhn-digit-generation-oracle-plsql-implementation/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 11:27:06 +0000</pubDate>
		<dc:creator>Tim</dc:creator>
				<category><![CDATA[oracle]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.weheartcode.com/?p=51</guid>
		<description><![CDATA[Here's how to generate a Luhn Mod-10 Check Digit. It's implemented as a function in oracle PL/SQL. I spent 2 hours looking for this online, then decided to implement it myself since it's not that hard. Anyway, I thought I'd post it here for the next person trolling google for it. This is useful for [...]]]></description>
			<content:encoded><![CDATA[<p>Here's how to generate a Luhn Mod-10 Check Digit. It's implemented as a function in oracle PL/SQL. I spent 2 hours looking for this online, then decided to implement it myself since it's not that hard. Anyway, I thought I'd post it here for the next person trolling google for it. This is useful for generating credit card numbers or any other place you need a check digit.</p>
<p>This algorithm works by doing the same thing as the validation algorithm, but shifted over one character (the equivalent of adding a zero to a number, generating the sum &#038; subtracting 10).</p>
<p><strong>*EDIT - there was a bug in this code, i just fixed it on 12/4/2009, the old code returned 10 instead of zero. It also was only working on even numbers, sorry about that! </strong></p>
<div class="syntax_hilite">
<div id="sql-2">
<div class="sql"><span style="color: #993333; font-weight: bold;">CREATE</span> <span style="color: #993333; font-weight: bold;">OR</span> <span style="color: #993333; font-weight: bold;">REPLACE</span> <span style="color: #993333; font-weight: bold;">FUNCTION</span> generate_luhn <span style="color:#006600; font-weight:bold;">&#40;</span>togen <span style="color: #993333; font-weight: bold;">IN</span> varchar<span style="color:#006600; font-weight:bold;">&#41;</span><br />
<span style="color: #993333; font-weight: bold;">RETURN</span> number<br />
<span style="color: #993333; font-weight: bold;">IS</span><br />
&nbsp; &nbsp; curval NUMBER := <span style="color: #cc66cc;">0</span>;<br />
&nbsp; &nbsp; total NUMBER := <span style="color: #cc66cc;">0</span>;<br />
&nbsp; &nbsp; everyother NUMBER := <span style="color: #cc66cc;">1</span>;</p>
<p>BEGIN<br />
&nbsp; <span style="color: #993333; font-weight: bold;">IF</span><span style="color:#006600; font-weight:bold;">&#40;</span><br />
&nbsp; &nbsp;togen <span style="color: #993333; font-weight: bold;">IS</span> <span style="color: #993333; font-weight: bold;">NULL</span><br />
&nbsp; <span style="color:#006600; font-weight:bold;">&#41;</span> then<br />
&nbsp; &nbsp; <span style="color: #993333; font-weight: bold;">RETURN</span> <span style="color: #cc66cc;">0</span>;<br />
&nbsp; end <span style="color: #993333; font-weight: bold;">IF</span>;</p>
<p>&nbsp; <br />
&nbsp; <span style="color: #993333; font-weight: bold;">FOR</span> i <span style="color: #993333; font-weight: bold;">IN</span> reverse <span style="color: #cc66cc;">1</span> .. LENGTH<span style="color:#006600; font-weight:bold;">&#40;</span>togen<span style="color:#006600; font-weight:bold;">&#41;</span> loop<br />
&nbsp; &nbsp; curval:=SUBSTR<span style="color:#006600; font-weight:bold;">&#40;</span>togen, i, <span style="color: #cc66cc;">1</span><span style="color:#006600; font-weight:bold;">&#41;</span>;<br />
&nbsp; &nbsp; <span style="color: #993333; font-weight: bold;">IF</span> everyother = <span style="color: #cc66cc;">1</span> then<br />
&nbsp; &nbsp; &nbsp; &nbsp;everyother := <span style="color: #cc66cc;">0</span>;<br />
&nbsp; &nbsp; &nbsp; curval := curval * <span style="color: #cc66cc;">2</span>;<br />
&nbsp; &nbsp; &nbsp; <span style="color: #993333; font-weight: bold;">IF</span><span style="color:#006600; font-weight:bold;">&#40;</span>curval&gt; <span style="color: #cc66cc;">9</span><span style="color:#006600; font-weight:bold;">&#41;</span> then<br />
&nbsp; &nbsp; &nbsp; &nbsp; curval:=curval-<span style="color: #cc66cc;">9</span>;<br />
&nbsp; &nbsp; &nbsp; end <span style="color: #993333; font-weight: bold;">IF</span>;<br />
&nbsp; &nbsp; &nbsp;else<br />
&nbsp; &nbsp; &nbsp; &nbsp;everyother := <span style="color: #cc66cc;">1</span>;<br />
&nbsp; &nbsp; end <span style="color: #993333; font-weight: bold;">IF</span>;</p>
<p>&nbsp; &nbsp;<br />
&nbsp; &nbsp; total := total + curval;<br />
&nbsp; end loop;<br />
&nbsp; <span style="color: #993333; font-weight: bold;">IF</span> MOD<span style="color:#006600; font-weight:bold;">&#40;</span>total, <span style="color: #cc66cc;">10</span><span style="color:#006600; font-weight:bold;">&#41;</span> = <span style="color: #cc66cc;">0</span> THEN<br />
&nbsp; &nbsp; <span style="color: #993333; font-weight: bold;">RETURN</span> <span style="color: #cc66cc;">0</span>;<br />
&nbsp; &nbsp; ELSE<br />
&nbsp; &nbsp; <span style="color: #993333; font-weight: bold;">RETURN</span> <span style="color: #cc66cc;">10</span> - MOD<span style="color:#006600; font-weight:bold;">&#40;</span>total, <span style="color: #cc66cc;">10</span><span style="color:#006600; font-weight:bold;">&#41;</span>;<br />
&nbsp; &nbsp; END <span style="color: #993333; font-weight: bold;">IF</span>;<br />
END generate_luhn;<br />
/</div>
</div>
</div>
<p></p>
<!-- Social Bookmarks BEGIN --><div class="social_bookmark"><em>Bookmark to:</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.weheartcode.com/2009/10/06/luhn-digit-generation-oracle-plsql-implementation/&amp;title=Luhn+Digit+Generation+Oracle+PL%2FSQL+Implementation" title="Add 'Luhn Digit Generation Oracle PL/SQL Implementation' to Del.icio.us"><img src="http://www.weheartcode.com/wp-content/plugins/social_bookmarks/delicious.png" title="Add 'Luhn Digit Generation Oracle PL/SQL Implementation' to Del.icio.us" alt="Add 'Luhn Digit Generation Oracle PL/SQL Implementation' to Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.weheartcode.com/2009/10/06/luhn-digit-generation-oracle-plsql-implementation/&amp;title=Luhn+Digit+Generation+Oracle+PL%2FSQL+Implementation" title="Add 'Luhn Digit Generation Oracle PL/SQL Implementation' to digg"><img src="http://www.weheartcode.com/wp-content/plugins/social_bookmarks/digg.png" title="Add 'Luhn Digit Generation Oracle PL/SQL Implementation' to digg" alt="Add 'Luhn Digit Generation Oracle PL/SQL Implementation' to digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://furl.net/storeIt.jsp?t=Luhn+Digit+Generation+Oracle+PL%2FSQL+Implementation&amp;u=http://www.weheartcode.com/2009/10/06/luhn-digit-generation-oracle-plsql-implementation/" title="Add 'Luhn Digit Generation Oracle PL/SQL Implementation' to FURL"><img src="http://www.weheartcode.com/wp-content/plugins/social_bookmarks/furl.png" title="Add 'Luhn Digit Generation Oracle PL/SQL Implementation' to FURL" alt="Add 'Luhn Digit Generation Oracle PL/SQL Implementation' to FURL" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://www.weheartcode.com/2009/10/06/luhn-digit-generation-oracle-plsql-implementation/&amp;title=Luhn+Digit+Generation+Oracle+PL%2FSQL+Implementation" title="Add 'Luhn Digit Generation Oracle PL/SQL Implementation' to reddit"><img src="http://www.weheartcode.com/wp-content/plugins/social_bookmarks/reddit.png" title="Add 'Luhn Digit Generation Oracle PL/SQL Implementation' to reddit" alt="Add 'Luhn Digit Generation Oracle PL/SQL Implementation' to reddit" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://www.weheartcode.com/2009/10/06/luhn-digit-generation-oracle-plsql-implementation/" title="Add 'Luhn Digit Generation Oracle PL/SQL Implementation' to Technorati"><img src="http://www.weheartcode.com/wp-content/plugins/social_bookmarks/technorati.png" title="Add 'Luhn Digit Generation Oracle PL/SQL Implementation' to Technorati" alt="Add 'Luhn Digit Generation Oracle PL/SQL Implementation' to Technorati" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://www.weheartcode.com/2009/10/06/luhn-digit-generation-oracle-plsql-implementation/&amp;title=Luhn+Digit+Generation+Oracle+PL%2FSQL+Implementation" title="Add 'Luhn Digit Generation Oracle PL/SQL Implementation' to Google Bookmarks"><img src="http://www.weheartcode.com/wp-content/plugins/social_bookmarks/google.png" title="Add 'Luhn Digit Generation Oracle PL/SQL Implementation' to Google Bookmarks" alt="Add 'Luhn Digit Generation Oracle PL/SQL Implementation' to Google Bookmarks" /></a></div>
<!-- Social Bookmarks END -->]]></content:encoded>
			<wfw:commentRss>http://www.weheartcode.com/2009/10/06/luhn-digit-generation-oracle-plsql-implementation/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Postgres select replace with regular expression</title>
		<link>http://www.weheartcode.com/2008/01/02/postgres-select-replace-with-regular-expression/</link>
		<comments>http://www.weheartcode.com/2008/01/02/postgres-select-replace-with-regular-expression/#comments</comments>
		<pubDate>Wed, 02 Jan 2008 21:22:50 +0000</pubDate>
		<dc:creator>Tim</dc:creator>
				<category><![CDATA[postgres]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.weheartcode.com/2008/01/02/postgres-select-replace-with-regular-expression/</guid>
		<description><![CDATA[Postgres seriously kicks ass, here's a quick way to do a substring based on a regular expression. A Co-worker wanted to get the first word out of a column that contained a sentence. If we were using something lame like oracle we'd have to do gymnastics to do that. It's a one-liner in postgres. SELECT [...]]]></description>
			<content:encoded><![CDATA[<p>Postgres seriously kicks ass, here's a quick way to do a substring based on a regular expression. A Co-worker wanted to get the first word out of a column that contained a sentence. If we were using something lame like oracle we'd have to do gymnastics to do that.</p>
<p>It's a one-liner in postgres.</p>
<div class="syntax_hilite">
<div id="sql-4">
<div class="sql"><span style="color: #993333; font-weight: bold;">SELECT</span> substring<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color: #ff0000;">'this is a sentence'</span> <span style="color: #993333; font-weight: bold;">FROM</span> <span style="color: #ff0000;">'^(.+?)<span style="color: #000099; font-weight: bold;">\\</span>s.+$'</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</div>
</div>
<p></p>
<p>So we're selecting out the group that is a series of characters at the start of a line (column) before a space. Epic win.</p>
<!-- Social Bookmarks BEGIN --><div class="social_bookmark"><em>Bookmark to:</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.weheartcode.com/2008/01/02/postgres-select-replace-with-regular-expression/&amp;title=Postgres+select+replace+with+regular+expression" title="Add 'Postgres select replace with regular expression' to Del.icio.us"><img src="http://www.weheartcode.com/wp-content/plugins/social_bookmarks/delicious.png" title="Add 'Postgres select replace with regular expression' to Del.icio.us" alt="Add 'Postgres select replace with regular expression' to Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.weheartcode.com/2008/01/02/postgres-select-replace-with-regular-expression/&amp;title=Postgres+select+replace+with+regular+expression" title="Add 'Postgres select replace with regular expression' to digg"><img src="http://www.weheartcode.com/wp-content/plugins/social_bookmarks/digg.png" title="Add 'Postgres select replace with regular expression' to digg" alt="Add 'Postgres select replace with regular expression' to digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://furl.net/storeIt.jsp?t=Postgres+select+replace+with+regular+expression&amp;u=http://www.weheartcode.com/2008/01/02/postgres-select-replace-with-regular-expression/" title="Add 'Postgres select replace with regular expression' to FURL"><img src="http://www.weheartcode.com/wp-content/plugins/social_bookmarks/furl.png" title="Add 'Postgres select replace with regular expression' to FURL" alt="Add 'Postgres select replace with regular expression' to FURL" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://www.weheartcode.com/2008/01/02/postgres-select-replace-with-regular-expression/&amp;title=Postgres+select+replace+with+regular+expression" title="Add 'Postgres select replace with regular expression' to reddit"><img src="http://www.weheartcode.com/wp-content/plugins/social_bookmarks/reddit.png" title="Add 'Postgres select replace with regular expression' to reddit" alt="Add 'Postgres select replace with regular expression' to reddit" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://www.weheartcode.com/2008/01/02/postgres-select-replace-with-regular-expression/" title="Add 'Postgres select replace with regular expression' to Technorati"><img src="http://www.weheartcode.com/wp-content/plugins/social_bookmarks/technorati.png" title="Add 'Postgres select replace with regular expression' to Technorati" alt="Add 'Postgres select replace with regular expression' to Technorati" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://www.weheartcode.com/2008/01/02/postgres-select-replace-with-regular-expression/&amp;title=Postgres+select+replace+with+regular+expression" title="Add 'Postgres select replace with regular expression' to Google Bookmarks"><img src="http://www.weheartcode.com/wp-content/plugins/social_bookmarks/google.png" title="Add 'Postgres select replace with regular expression' to Google Bookmarks" alt="Add 'Postgres select replace with regular expression' to Google Bookmarks" /></a></div>
<!-- Social Bookmarks END -->]]></content:encoded>
			<wfw:commentRss>http://www.weheartcode.com/2008/01/02/postgres-select-replace-with-regular-expression/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrade to Gutsy Gibbon Fast</title>
		<link>http://www.weheartcode.com/2007/10/18/upgrade-to-gutsy-gibbon-fast/</link>
		<comments>http://www.weheartcode.com/2007/10/18/upgrade-to-gutsy-gibbon-fast/#comments</comments>
		<pubDate>Fri, 19 Oct 2007 03:29:34 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.weheartcode.com/2007/10/18/upgrade-to-gutsy-gibbon-fast/</guid>
		<description><![CDATA[Everyone is excited that Ubuntu 7.10 is finally out. (Have a look at the new feature tour here.) But the servers are getting hammered, so most people are waiting on the upgrade (voluntarily or otherwise). No need to wait! The more people who download from Bittorent, the faster your speeds! Grab it while it's hot! [...]]]></description>
			<content:encoded><![CDATA[<p>Everyone is excited that Ubuntu 7.10 is finally out.  (<span style="font-size: 100%">Have a look at the new feature tour <a href="http://www.ubuntu.com/getubuntu/releasenotes/710tour">here</a>.)</span></p>
<p>But the servers are getting hammered, so most people are waiting on the upgrade (voluntarily or otherwise).</p>
<p><span style="font-size: 100%">No need to wait!  The more people who download from </span><span style="font-size: 100%">Bittorent, the faster your speeds!  Grab it while it's hot!<br />
</span><span style="font-size: 100%">Download a copy of the alternative i386 CD <a href="http://releases.ubuntu.com/7.10/ubuntu-7.10-alternate-i386.iso.torrent">here</a> via Bittorent.<br />
Mac and 64 bit torrents can be obtained <a href="http://releases.ubuntu.com/7.10/">here.</a></span></p>
<p>Once you have the alternative CD, burn it, boot from it, select the upgrade option, and away you go.</p>
<p>Want to be environmentally friendly and save a CD?  Try this:<span style="font-size: 100%"><br />
</span></p>
<ol type="a">
<li><span style="font-size: 100%">Mount the ISO to /cdrom:<br />
sudo mount -t iso9660 ubuntu-7.10-alternate-i386.iso /cdrom -o loop<br />
</span><span style="font-size: 100%"><br />
Using the full path and proper name for the ISO image.</span></li>
<li>Open a terminal and type:<br />
sudo /cdrom/cdromupgrade</p>
<p>Then the upgrade utility should launch and run from the CD.</li>
</ol>
<p><span style="font-size: 100%">Make sure you have the alternative CD and NOT the standard desktop CD.</span></p>
<p>Good luck and happy upgrading!</p>
<!-- Social Bookmarks BEGIN --><div class="social_bookmark"><em>Bookmark to:</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.weheartcode.com/2007/10/18/upgrade-to-gutsy-gibbon-fast/&amp;title=Upgrade+to+Gutsy+Gibbon+Fast" title="Add 'Upgrade to Gutsy Gibbon Fast' to Del.icio.us"><img src="http://www.weheartcode.com/wp-content/plugins/social_bookmarks/delicious.png" title="Add 'Upgrade to Gutsy Gibbon Fast' to Del.icio.us" alt="Add 'Upgrade to Gutsy Gibbon Fast' to Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.weheartcode.com/2007/10/18/upgrade-to-gutsy-gibbon-fast/&amp;title=Upgrade+to+Gutsy+Gibbon+Fast" title="Add 'Upgrade to Gutsy Gibbon Fast' to digg"><img src="http://www.weheartcode.com/wp-content/plugins/social_bookmarks/digg.png" title="Add 'Upgrade to Gutsy Gibbon Fast' to digg" alt="Add 'Upgrade to Gutsy Gibbon Fast' to digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://furl.net/storeIt.jsp?t=Upgrade+to+Gutsy+Gibbon+Fast&amp;u=http://www.weheartcode.com/2007/10/18/upgrade-to-gutsy-gibbon-fast/" title="Add 'Upgrade to Gutsy Gibbon Fast' to FURL"><img src="http://www.weheartcode.com/wp-content/plugins/social_bookmarks/furl.png" title="Add 'Upgrade to Gutsy Gibbon Fast' to FURL" alt="Add 'Upgrade to Gutsy Gibbon Fast' to FURL" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://www.weheartcode.com/2007/10/18/upgrade-to-gutsy-gibbon-fast/&amp;title=Upgrade+to+Gutsy+Gibbon+Fast" title="Add 'Upgrade to Gutsy Gibbon Fast' to reddit"><img src="http://www.weheartcode.com/wp-content/plugins/social_bookmarks/reddit.png" title="Add 'Upgrade to Gutsy Gibbon Fast' to reddit" alt="Add 'Upgrade to Gutsy Gibbon Fast' to reddit" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://www.weheartcode.com/2007/10/18/upgrade-to-gutsy-gibbon-fast/" title="Add 'Upgrade to Gutsy Gibbon Fast' to Technorati"><img src="http://www.weheartcode.com/wp-content/plugins/social_bookmarks/technorati.png" title="Add 'Upgrade to Gutsy Gibbon Fast' to Technorati" alt="Add 'Upgrade to Gutsy Gibbon Fast' to Technorati" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://www.weheartcode.com/2007/10/18/upgrade-to-gutsy-gibbon-fast/&amp;title=Upgrade+to+Gutsy+Gibbon+Fast" title="Add 'Upgrade to Gutsy Gibbon Fast' to Google Bookmarks"><img src="http://www.weheartcode.com/wp-content/plugins/social_bookmarks/google.png" title="Add 'Upgrade to Gutsy Gibbon Fast' to Google Bookmarks" alt="Add 'Upgrade to Gutsy Gibbon Fast' to Google Bookmarks" /></a></div>
<!-- Social Bookmarks END -->]]></content:encoded>
			<wfw:commentRss>http://www.weheartcode.com/2007/10/18/upgrade-to-gutsy-gibbon-fast/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Here We Are Now, Entertain Us!</title>
		<link>http://www.weheartcode.com/2006/10/06/here-we-are-now-entertain-us/</link>
		<comments>http://www.weheartcode.com/2006/10/06/here-we-are-now-entertain-us/#comments</comments>
		<pubDate>Fri, 06 Oct 2006 17:43:04 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.weheartcode.com/?p=3</guid>
		<description><![CDATA[public class HereWeAreNowEntertainUs&#123; public static void main&#40;String&#91;&#93; args&#41; &#123; System.out.println&#40;"Here we are now, entertain us!"&#41;; &#125; &#125; Bookmark to:]]></description>
			<content:encoded><![CDATA[<div class="syntax_hilite">
<div id="java-6">
<div class="java"><span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> HereWeAreNowEntertainUs<span style="color: #66cc66;">&#123;</span></p>
<p><span style="color: #000000; font-weight: bold;">public</span> <span style="color: #993333;">static</span> <span style="color: #993333;">void</span> main<span style="color: #66cc66;">&#40;</span><a href="http://www.google.com/search?q=allinurl%3AString+java.sun.com&amp;bntl=1"><span style="color: #aaaadd; font-weight: bold;">String</span></a><span style="color: #66cc66;">&#91;</span><span style="color: #66cc66;">&#93;</span> args<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span></p>
<p><a href="http://www.google.com/search?q=allinurl%3ASystem+java.sun.com&amp;bntl=1"><span style="color: #aaaadd; font-weight: bold;">System</span></a>.<span style="color: #006600;">out</span>.<span style="color: #006600;">println</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"Here we are now, entertain us!"</span><span style="color: #66cc66;">&#41;</span>;</p>
<p><span style="color: #66cc66;">&#125;</span></p>
<p><span style="color: #66cc66;">&#125;</span></div>
</div>
</div>
<p></p>
<!-- Social Bookmarks BEGIN --><div class="social_bookmark"><em>Bookmark to:</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.weheartcode.com/2006/10/06/here-we-are-now-entertain-us/&amp;title=Here+We+Are+Now%2C+Entertain+Us%21" title="Add 'Here We Are Now, Entertain Us!' to Del.icio.us"><img src="http://www.weheartcode.com/wp-content/plugins/social_bookmarks/delicious.png" title="Add 'Here We Are Now, Entertain Us!' to Del.icio.us" alt="Add 'Here We Are Now, Entertain Us!' to Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.weheartcode.com/2006/10/06/here-we-are-now-entertain-us/&amp;title=Here+We+Are+Now%2C+Entertain+Us%21" title="Add 'Here We Are Now, Entertain Us!' to digg"><img src="http://www.weheartcode.com/wp-content/plugins/social_bookmarks/digg.png" title="Add 'Here We Are Now, Entertain Us!' to digg" alt="Add 'Here We Are Now, Entertain Us!' to digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://furl.net/storeIt.jsp?t=Here+We+Are+Now%2C+Entertain+Us%21&amp;u=http://www.weheartcode.com/2006/10/06/here-we-are-now-entertain-us/" title="Add 'Here We Are Now, Entertain Us!' to FURL"><img src="http://www.weheartcode.com/wp-content/plugins/social_bookmarks/furl.png" title="Add 'Here We Are Now, Entertain Us!' to FURL" alt="Add 'Here We Are Now, Entertain Us!' to FURL" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://www.weheartcode.com/2006/10/06/here-we-are-now-entertain-us/&amp;title=Here+We+Are+Now%2C+Entertain+Us%21" title="Add 'Here We Are Now, Entertain Us!' to reddit"><img src="http://www.weheartcode.com/wp-content/plugins/social_bookmarks/reddit.png" title="Add 'Here We Are Now, Entertain Us!' to reddit" alt="Add 'Here We Are Now, Entertain Us!' to reddit" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://www.weheartcode.com/2006/10/06/here-we-are-now-entertain-us/" title="Add 'Here We Are Now, Entertain Us!' to Technorati"><img src="http://www.weheartcode.com/wp-content/plugins/social_bookmarks/technorati.png" title="Add 'Here We Are Now, Entertain Us!' to Technorati" alt="Add 'Here We Are Now, Entertain Us!' to Technorati" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://www.weheartcode.com/2006/10/06/here-we-are-now-entertain-us/&amp;title=Here+We+Are+Now%2C+Entertain+Us%21" title="Add 'Here We Are Now, Entertain Us!' to Google Bookmarks"><img src="http://www.weheartcode.com/wp-content/plugins/social_bookmarks/google.png" title="Add 'Here We Are Now, Entertain Us!' to Google Bookmarks" alt="Add 'Here We Are Now, Entertain Us!' to Google Bookmarks" /></a></div>
<!-- Social Bookmarks END -->]]></content:encoded>
			<wfw:commentRss>http://www.weheartcode.com/2006/10/06/here-we-are-now-entertain-us/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

