

<?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>Michael Hartmayer &#187; Fun</title>
	<atom:link href="http://www.michaelhartmayer.com/category/fun/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.michaelhartmayer.com</link>
	<description>Portfolio of an Idea Crafter</description>
	<lastBuildDate>Fri, 16 Sep 2011 19:52:57 +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>Text to Pixel Font!</title>
		<link>http://www.michaelhartmayer.com/fun/text-to-pixel-font/</link>
		<comments>http://www.michaelhartmayer.com/fun/text-to-pixel-font/#comments</comments>
		<pubDate>Mon, 17 Jan 2011 03:19:10 +0000</pubDate>
		<dc:creator>Michael Hartmayer</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.michaelhartmayer.com/?p=513</guid>
		<description><![CDATA[So, this is a silly little proof of concept I came up with to kill 20 minutes in between projects. Takes regular text and turns it into 1px sized divs. That&#8217;s right, the div&#8217;s actually form the pixels of each letter! Awesome, right!? Check it out! jsTexty Example How&#8217;s it done? Easy: * Get the [...]]]></description>
			<content:encoded><![CDATA[<p>So, this is a silly little proof of concept I came up with to kill 20 minutes in between projects. Takes regular text and turns it into 1px sized divs. That&#8217;s right, the div&#8217;s actually form the pixels of each letter! <img src='http://www.michaelhartmayer.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  Awesome, right!? Check it out!</p>
<p><a href="http://playground.michaelhartmayer.com/f/wip11/jsTexty.html" title="JavaScript Pixel Font" target="_blank">jsTexty Example</a></p>
<p>How&#8217;s it done? Easy:<br />
* Get the text of an element<br />
* Move through it, 1 character at a time<br />
* Match the character with a pattern (currently only supports lowercase)<br />
* Convert the pattern to markup<br />
* Replace the text with excessive amounts of html <img src='http://www.michaelhartmayer.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #003366; font-weight: bold;">var</span> jsTexty <span style="color: #339933;">=</span> <span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
&nbsp;
    jsTexty.<span style="color: #660066;">Make</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>e<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #003366; font-weight: bold;">var</span> strLetterString <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span>e<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">text</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #003366; font-weight: bold;">var</span> strReplaceHtml <span style="color: #339933;">=</span> <span style="color: #3366CC;">''</span><span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #000066; font-weight: bold;">for</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">var</span> i <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span> i<span style="color: #339933;">&lt;</span>strLetterString.<span style="color: #660066;">length</span><span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #003366; font-weight: bold;">var</span> strThisLetter <span style="color: #339933;">=</span> strLetterString.<span style="color: #660066;">substr</span><span style="color: #009900;">&#40;</span>i<span style="color: #339933;">,</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #003366; font-weight: bold;">var</span> arrLetterCode <span style="color: #339933;">=</span> jsTexty.<span style="color: #660066;">GetLetterCode</span><span style="color: #009900;">&#40;</span>strThisLetter<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                strReplaceHtml <span style="color: #339933;">+=</span> jsTexty.<span style="color: #660066;">LetterCodeToHtml</span><span style="color: #009900;">&#40;</span>arrLetterCode<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
&nbsp;
        $<span style="color: #009900;">&#40;</span>e<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">html</span><span style="color: #009900;">&#40;</span>strReplaceHtml <span style="color: #339933;">+</span> <span style="color: #3366CC;">'&lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
&nbsp;
    jsTexty.<span style="color: #660066;">LetterCodeToHtml</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>arrLetterCode<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #003366; font-weight: bold;">var</span> strReplaceHtml <span style="color: #339933;">=</span> <span style="color: #3366CC;">'&lt;div class=&quot;lbBlock&quot;&gt;'</span><span style="color: #339933;">;</span>
        <span style="color: #000066; font-weight: bold;">for</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">var</span> i <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span> i<span style="color: #339933;">&lt;</span>arrLetterCode.<span style="color: #660066;">length</span><span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #003366; font-weight: bold;">var</span> strThisRow <span style="color: #339933;">=</span> arrLetterCode<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">for</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">var</span> j <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span> j<span style="color: #339933;">&lt;</span>strThisRow<span style="color: #339933;">;</span> j<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                <span style="color: #003366; font-weight: bold;">var</span> strThisLetterBlock <span style="color: #339933;">=</span> strThisRow.<span style="color: #660066;">substr</span><span style="color: #009900;">&#40;</span>j<span style="color: #339933;">,</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>strThisLetterBlock<span style="color: #339933;">===</span><span style="color: #3366CC;">'1'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                    strReplaceHtml <span style="color: #339933;">+=</span> <span style="color: #3366CC;">'&lt;div class=&quot;lbSolid&quot;&gt;&lt;/div&gt;'</span><span style="color: #339933;">;</span>
                <span style="color: #009900;">&#125;</span>
                <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>strThisLetterBlock<span style="color: #339933;">===</span><span style="color: #3366CC;">'0'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                    strReplaceHtml <span style="color: #339933;">+=</span> <span style="color: #3366CC;">'&lt;div class=&quot;lbEmpty&quot;&gt;&lt;/div&gt;'</span><span style="color: #339933;">;</span>
                <span style="color: #009900;">&#125;</span>
            <span style="color: #009900;">&#125;</span>
            strReplaceHtml<span style="color: #339933;">+=</span><span style="color: #3366CC;">'&lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;'</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
        <span style="color: #000066; font-weight: bold;">return</span> strReplaceHtml <span style="color: #339933;">+</span> <span style="color: #3366CC;">'&lt;/div&gt;'</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    jsTexty.<span style="color: #660066;">GetLetterCode</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>strSingleLetter<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000066; font-weight: bold;">switch</span><span style="color: #009900;">&#40;</span>strSingleLetter<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">' '</span><span style="color: #339933;">:</span>
                <span style="color: #003366; font-weight: bold;">var</span> arrLetterCode <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>
                <span style="color: #3366CC;">'0000'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'0000'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'0000'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'0000'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'0000'</span>
                <span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">'a'</span><span style="color: #339933;">:</span>
                <span style="color: #003366; font-weight: bold;">var</span> arrLetterCode <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>
                <span style="color: #3366CC;">'0110'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1001'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1111'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1001'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1001'</span>
                <span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">'b'</span><span style="color: #339933;">:</span>
                <span style="color: #003366; font-weight: bold;">var</span> arrLetterCode <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>
                <span style="color: #3366CC;">'1110'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1001'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1110'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1001'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1110'</span>
                <span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">'c'</span><span style="color: #339933;">:</span>
                <span style="color: #003366; font-weight: bold;">var</span> arrLetterCode <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>
                <span style="color: #3366CC;">'0111'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1000'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1000'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1000'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'0111'</span>
                <span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">'d'</span><span style="color: #339933;">:</span>
                <span style="color: #003366; font-weight: bold;">var</span> arrLetterCode <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>
                <span style="color: #3366CC;">'1110'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1001'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1001'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1001'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1110'</span>
                <span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">'e'</span><span style="color: #339933;">:</span>
                <span style="color: #003366; font-weight: bold;">var</span> arrLetterCode <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>
                <span style="color: #3366CC;">'1111'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1000'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1110'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1000'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1111'</span>
                <span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">'f'</span><span style="color: #339933;">:</span>
                <span style="color: #003366; font-weight: bold;">var</span> arrLetterCode <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>
                <span style="color: #3366CC;">'1111'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1000'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1110'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1000'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1000'</span>
                <span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">'g'</span><span style="color: #339933;">:</span>
                <span style="color: #003366; font-weight: bold;">var</span> arrLetterCode <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>
                <span style="color: #3366CC;">'0111'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1000'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1011'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1001'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'0111'</span>
                <span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">'h'</span><span style="color: #339933;">:</span>
                <span style="color: #003366; font-weight: bold;">var</span> arrLetterCode <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>
                <span style="color: #3366CC;">'1001'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1001'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1111'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1001'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1001'</span>
                <span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">'i'</span><span style="color: #339933;">:</span>
                <span style="color: #003366; font-weight: bold;">var</span> arrLetterCode <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>
                <span style="color: #3366CC;">'111'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'010'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'010'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'010'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'111'</span>
                <span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">'j'</span><span style="color: #339933;">:</span>
                <span style="color: #003366; font-weight: bold;">var</span> arrLetterCode <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>
                <span style="color: #3366CC;">'0001'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'0001'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'0001'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1001'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'0110'</span>
                <span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">'k'</span><span style="color: #339933;">:</span>
                <span style="color: #003366; font-weight: bold;">var</span> arrLetterCode <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>
                <span style="color: #3366CC;">'1001'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1010'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1100'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1010'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1001'</span>
                <span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">'l'</span><span style="color: #339933;">:</span>
                <span style="color: #003366; font-weight: bold;">var</span> arrLetterCode <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>
                <span style="color: #3366CC;">'1000'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1000'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1000'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1000'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1111'</span>
                <span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">'m'</span><span style="color: #339933;">:</span>
                <span style="color: #003366; font-weight: bold;">var</span> arrLetterCode <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>
                <span style="color: #3366CC;">'10001'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'11011'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'10101'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'10001'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'10001'</span>
                <span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">'n'</span><span style="color: #339933;">:</span>
                <span style="color: #003366; font-weight: bold;">var</span> arrLetterCode <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>
                <span style="color: #3366CC;">'10001'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'11001'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'10101'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'10011'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'10001'</span>
                <span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">'o'</span><span style="color: #339933;">:</span>
                <span style="color: #003366; font-weight: bold;">var</span> arrLetterCode <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>
                <span style="color: #3366CC;">'0110'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1001'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1001'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1001'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'0110'</span>
                <span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">'p'</span><span style="color: #339933;">:</span>
                <span style="color: #003366; font-weight: bold;">var</span> arrLetterCode <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>
                <span style="color: #3366CC;">'1110'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1001'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1110'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1000'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1000'</span>
                <span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">'q'</span><span style="color: #339933;">:</span>
                <span style="color: #003366; font-weight: bold;">var</span> arrLetterCode <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>
                <span style="color: #3366CC;">'0000'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'0110'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1001'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'0111'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'0001'</span>
                <span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">'r'</span><span style="color: #339933;">:</span>
                <span style="color: #003366; font-weight: bold;">var</span> arrLetterCode <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>
                <span style="color: #3366CC;">'1110'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1001'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1110'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1001'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1001'</span>
                <span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">'s'</span><span style="color: #339933;">:</span>
                <span style="color: #003366; font-weight: bold;">var</span> arrLetterCode <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>
                <span style="color: #3366CC;">'0111'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1100'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'0110'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'0011'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1110'</span>
                <span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">'t'</span><span style="color: #339933;">:</span>
                <span style="color: #003366; font-weight: bold;">var</span> arrLetterCode <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>
                <span style="color: #3366CC;">'11111'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'00100'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'00100'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'00100'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'00100'</span>
                <span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">'u'</span><span style="color: #339933;">:</span>
                <span style="color: #003366; font-weight: bold;">var</span> arrLetterCode <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>
                <span style="color: #3366CC;">'1001'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1001'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1001'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1001'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'0110'</span>
                <span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">'v'</span><span style="color: #339933;">:</span>
                <span style="color: #003366; font-weight: bold;">var</span> arrLetterCode <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>
                <span style="color: #3366CC;">'10001'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'10001'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'01010'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'01010'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'00100'</span>
                <span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">'w'</span><span style="color: #339933;">:</span>
                <span style="color: #003366; font-weight: bold;">var</span> arrLetterCode <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>
                <span style="color: #3366CC;">'10101'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'10101'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'10101'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'10101'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'01010'</span>
                <span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">'x'</span><span style="color: #339933;">:</span>
                <span style="color: #003366; font-weight: bold;">var</span> arrLetterCode <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>
                <span style="color: #3366CC;">'10001'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'01010'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'00100'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'01010'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'10001'</span>
                <span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">'y'</span><span style="color: #339933;">:</span>
                <span style="color: #003366; font-weight: bold;">var</span> arrLetterCode <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>
                <span style="color: #3366CC;">'10001'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'01010'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'00100'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'00100'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'00100'</span>
                <span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">'z'</span><span style="color: #339933;">:</span>
                <span style="color: #003366; font-weight: bold;">var</span> arrLetterCode <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>
                <span style="color: #3366CC;">'1111'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'0001'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'0010'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'0100'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'1111'</span>
                <span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">'.'</span><span style="color: #339933;">:</span>
                <span style="color: #003366; font-weight: bold;">var</span> arrLetterCode <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>
                <span style="color: #3366CC;">'000'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'000'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'000'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'110'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'110'</span>
                <span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">','</span><span style="color: #339933;">:</span>
                <span style="color: #003366; font-weight: bold;">var</span> arrLetterCode <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>
                <span style="color: #3366CC;">'000'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'000'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'000'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'110'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'010'</span>
                <span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">'!'</span><span style="color: #339933;">:</span>
                <span style="color: #003366; font-weight: bold;">var</span> arrLetterCode <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>
                <span style="color: #3366CC;">'010'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'010'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'010'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'000'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'010'</span>
                <span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">'('</span><span style="color: #339933;">:</span>
                <span style="color: #003366; font-weight: bold;">var</span> arrLetterCode <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>
                <span style="color: #3366CC;">'010'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'100'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'100'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'100'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'010'</span>
                <span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">')'</span><span style="color: #339933;">:</span>
                <span style="color: #003366; font-weight: bold;">var</span> arrLetterCode <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>
                <span style="color: #3366CC;">'010'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'001'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'001'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'001'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'010'</span>
                <span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">'?'</span><span style="color: #339933;">:</span>
                <span style="color: #003366; font-weight: bold;">var</span> arrLetterCode <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>
                <span style="color: #3366CC;">'01110'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'00001'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'00110'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'00000'</span><span style="color: #339933;">,</span>
                <span style="color: #3366CC;">'00100'</span>
                <span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
        <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>arrLetterCode<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #003366; font-weight: bold;">var</span> arrLetterCode <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>
            <span style="color: #3366CC;">'1111'</span><span style="color: #339933;">,</span>
            <span style="color: #3366CC;">'1111'</span><span style="color: #339933;">,</span>
            <span style="color: #3366CC;">'1111'</span><span style="color: #339933;">,</span>
            <span style="color: #3366CC;">'1111'</span><span style="color: #339933;">,</span>
            <span style="color: #3366CC;">'1111'</span>
            <span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>						
        <span style="color: #009900;">&#125;</span>
        <span style="color: #000066; font-weight: bold;">return</span> arrLetterCode<span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #006600; font-style: italic;">// ACTIVATE</span>
    $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#doit'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">click</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>jsTexty.<span style="color: #660066;">Make</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#letterBox'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>


<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.michaelhartmayer.com%2Ffun%2Ftext-to-pixel-font%2F&amp;title=Text%20to%20Pixel%20Font%21&amp;bodytext=So%2C%20this%20is%20a%20silly%20little%20proof%20of%20concept%20I%20came%20up%20with%20to%20kill%2020%20minutes%20in%20between%20projects.%20Takes%20regular%20text%20and%20turns%20it%20into%201px%20sized%20divs.%20That%27s%20right%2C%20the%20div%27s%20actually%20form%20the%20pixels%20of%20each%20letter%21%20%3AD%20Awesome%2C%20right%21%3F%20Check%20it%20out%21" title="Digg"><img src="http://www.michaelhartmayer.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.michaelhartmayer.com%2Ffun%2Ftext-to-pixel-font%2F" title="Sphinn"><img src="http://www.michaelhartmayer.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.michaelhartmayer.com%2Ffun%2Ftext-to-pixel-font%2F&amp;title=Text%20to%20Pixel%20Font%21&amp;notes=So%2C%20this%20is%20a%20silly%20little%20proof%20of%20concept%20I%20came%20up%20with%20to%20kill%2020%20minutes%20in%20between%20projects.%20Takes%20regular%20text%20and%20turns%20it%20into%201px%20sized%20divs.%20That%27s%20right%2C%20the%20div%27s%20actually%20form%20the%20pixels%20of%20each%20letter%21%20%3AD%20Awesome%2C%20right%21%3F%20Check%20it%20out%21" title="del.icio.us"><img src="http://www.michaelhartmayer.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.michaelhartmayer.com%2Ffun%2Ftext-to-pixel-font%2F&amp;t=Text%20to%20Pixel%20Font%21" title="Facebook"><img src="http://www.michaelhartmayer.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.michaelhartmayer.com%2Ffun%2Ftext-to-pixel-font%2F&amp;title=Text%20to%20Pixel%20Font%21" title="Mixx"><img src="http://www.michaelhartmayer.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.michaelhartmayer.com%2Ffun%2Ftext-to-pixel-font%2F&amp;title=Text%20to%20Pixel%20Font%21&amp;annotation=So%2C%20this%20is%20a%20silly%20little%20proof%20of%20concept%20I%20came%20up%20with%20to%20kill%2020%20minutes%20in%20between%20projects.%20Takes%20regular%20text%20and%20turns%20it%20into%201px%20sized%20divs.%20That%27s%20right%2C%20the%20div%27s%20actually%20form%20the%20pixels%20of%20each%20letter%21%20%3AD%20Awesome%2C%20right%21%3F%20Check%20it%20out%21" title="Google Bookmarks"><img src="http://www.michaelhartmayer.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.michaelhartmayer.com%2Ffun%2Ftext-to-pixel-font%2F&amp;title=Text%20to%20Pixel%20Font%21&amp;source=Michael+Hartmayer+Portfolio+of+an+Idea+Crafter&amp;summary=So%2C%20this%20is%20a%20silly%20little%20proof%20of%20concept%20I%20came%20up%20with%20to%20kill%2020%20minutes%20in%20between%20projects.%20Takes%20regular%20text%20and%20turns%20it%20into%201px%20sized%20divs.%20That%27s%20right%2C%20the%20div%27s%20actually%20form%20the%20pixels%20of%20each%20letter%21%20%3AD%20Awesome%2C%20right%21%3F%20Check%20it%20out%21" title="LinkedIn"><img src="http://www.michaelhartmayer.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fwww.michaelhartmayer.com%2Ffun%2Ftext-to-pixel-font%2F&amp;title=Text%20to%20Pixel%20Font%21" title="Live"><img src="http://www.michaelhartmayer.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.michaelhartmayer.com%2Ffun%2Ftext-to-pixel-font%2F&amp;t=Text%20to%20Pixel%20Font%21" title="MySpace"><img src="http://www.michaelhartmayer.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.michaelhartmayer.com%2Ffun%2Ftext-to-pixel-font%2F&amp;title=Text%20to%20Pixel%20Font%21" title="Reddit"><img src="http://www.michaelhartmayer.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.michaelhartmayer.com%2Ffun%2Ftext-to-pixel-font%2F&amp;title=Text%20to%20Pixel%20Font%21" title="StumbleUpon"><img src="http://www.michaelhartmayer.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.michaelhartmayer.com/fun/text-to-pixel-font/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Dad :)</title>
		<link>http://www.michaelhartmayer.com/fun/my-dad-william-hartmayer/</link>
		<comments>http://www.michaelhartmayer.com/fun/my-dad-william-hartmayer/#comments</comments>
		<pubDate>Sun, 28 Jun 2009 09:55:41 +0000</pubDate>
		<dc:creator>Michael Hartmayer</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[Hartmayer]]></category>
		<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://www.michaelhartmayer.com/?p=326</guid>
		<description><![CDATA[Just got my Dad&#8217;s CD put on YouTube. Nothing fancy~ He&#8217;s been singing and composing all his life and put out two CD&#8217;s. This is a small preview of his &#8216;Golden Classics&#8217; Album. For more information about the CD, please get in touch with wolfhartmayer@gmail.com Share and Enjoy:]]></description>
			<content:encoded><![CDATA[<p>Just got my Dad&#8217;s CD put on YouTube. Nothing fancy~</p>
<p>He&#8217;s been singing and composing all his life and put out two CD&#8217;s. This is a small preview of his &#8216;Golden Classics&#8217; Album. For more information about the CD, please get in touch with wolfhartmayer@gmail.com</p>
<div style="margin: auto; width: 425px;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/hFfvT68NYV4&amp;hl=en&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/hFfvT68NYV4&amp;hl=en&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></div>
<div style="text-align:center;">

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.michaelhartmayer.com%2Ffun%2Fmy-dad-william-hartmayer%2F&amp;title=My%20Dad%20%3A%29&amp;bodytext=Just%20got%20my%20Dad%27s%20CD%20put%20on%20YouTube.%20Nothing%20fancy%7E%0D%0A%0D%0AHe%27s%20been%20singing%20and%20composing%20all%20his%20life%20and%20put%20out%20two%20CD%27s.%20This%20is%20a%20small%20preview%20of%20his%20%27Golden%20Classics%27%20Album.%20For%20more%20information%20about%20the%20CD%2C%20please%20get%20in%20touch%20with%20wolfhartmaye" title="Digg"><img src="http://www.michaelhartmayer.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.michaelhartmayer.com%2Ffun%2Fmy-dad-william-hartmayer%2F" title="Sphinn"><img src="http://www.michaelhartmayer.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.michaelhartmayer.com%2Ffun%2Fmy-dad-william-hartmayer%2F&amp;title=My%20Dad%20%3A%29&amp;notes=Just%20got%20my%20Dad%27s%20CD%20put%20on%20YouTube.%20Nothing%20fancy%7E%0D%0A%0D%0AHe%27s%20been%20singing%20and%20composing%20all%20his%20life%20and%20put%20out%20two%20CD%27s.%20This%20is%20a%20small%20preview%20of%20his%20%27Golden%20Classics%27%20Album.%20For%20more%20information%20about%20the%20CD%2C%20please%20get%20in%20touch%20with%20wolfhartmaye" title="del.icio.us"><img src="http://www.michaelhartmayer.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.michaelhartmayer.com%2Ffun%2Fmy-dad-william-hartmayer%2F&amp;t=My%20Dad%20%3A%29" title="Facebook"><img src="http://www.michaelhartmayer.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.michaelhartmayer.com%2Ffun%2Fmy-dad-william-hartmayer%2F&amp;title=My%20Dad%20%3A%29" title="Mixx"><img src="http://www.michaelhartmayer.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.michaelhartmayer.com%2Ffun%2Fmy-dad-william-hartmayer%2F&amp;title=My%20Dad%20%3A%29&amp;annotation=Just%20got%20my%20Dad%27s%20CD%20put%20on%20YouTube.%20Nothing%20fancy%7E%0D%0A%0D%0AHe%27s%20been%20singing%20and%20composing%20all%20his%20life%20and%20put%20out%20two%20CD%27s.%20This%20is%20a%20small%20preview%20of%20his%20%27Golden%20Classics%27%20Album.%20For%20more%20information%20about%20the%20CD%2C%20please%20get%20in%20touch%20with%20wolfhartmaye" title="Google Bookmarks"><img src="http://www.michaelhartmayer.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.michaelhartmayer.com%2Ffun%2Fmy-dad-william-hartmayer%2F&amp;title=My%20Dad%20%3A%29&amp;source=Michael+Hartmayer+Portfolio+of+an+Idea+Crafter&amp;summary=Just%20got%20my%20Dad%27s%20CD%20put%20on%20YouTube.%20Nothing%20fancy%7E%0D%0A%0D%0AHe%27s%20been%20singing%20and%20composing%20all%20his%20life%20and%20put%20out%20two%20CD%27s.%20This%20is%20a%20small%20preview%20of%20his%20%27Golden%20Classics%27%20Album.%20For%20more%20information%20about%20the%20CD%2C%20please%20get%20in%20touch%20with%20wolfhartmaye" title="LinkedIn"><img src="http://www.michaelhartmayer.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fwww.michaelhartmayer.com%2Ffun%2Fmy-dad-william-hartmayer%2F&amp;title=My%20Dad%20%3A%29" title="Live"><img src="http://www.michaelhartmayer.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.michaelhartmayer.com%2Ffun%2Fmy-dad-william-hartmayer%2F&amp;t=My%20Dad%20%3A%29" title="MySpace"><img src="http://www.michaelhartmayer.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.michaelhartmayer.com%2Ffun%2Fmy-dad-william-hartmayer%2F&amp;title=My%20Dad%20%3A%29" title="Reddit"><img src="http://www.michaelhartmayer.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.michaelhartmayer.com%2Ffun%2Fmy-dad-william-hartmayer%2F&amp;title=My%20Dad%20%3A%29" title="StumbleUpon"><img src="http://www.michaelhartmayer.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.michaelhartmayer.com/fun/my-dad-william-hartmayer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>File Compression Hax</title>
		<link>http://www.michaelhartmayer.com/fun/file-compression-hax/</link>
		<comments>http://www.michaelhartmayer.com/fun/file-compression-hax/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 22:35:44 +0000</pubDate>
		<dc:creator>Michael Hartmayer</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[compression]]></category>
		<category><![CDATA[hax]]></category>
		<category><![CDATA[rar]]></category>
		<category><![CDATA[zip]]></category>

		<guid isPermaLink="false">http://www.michaelhartmayer.com/?p=243</guid>
		<description><![CDATA[So, I was playin around with WinZIP and WinRAR today, trying to understand how those programs work. I mean- I know HOW they work, but I wanted to see which types of files compress the best, and which don&#8217;t. It came to no surprise that text documents are the easiest to pack up, since there [...]]]></description>
			<content:encoded><![CDATA[<p>So, I was playin around with WinZIP and WinRAR today, trying to understand how those programs work. I mean- I know HOW they work, but I wanted to see which types of files compress the best, and which don&#8217;t. It came to no surprise that text documents are the easiest to pack up, since there is so much data redundancy. So, I had a little fun.</p>
<p>I created a 100MB text file filled entirely with whitespace. Then I RAR&#8217;d it, and then ZIP&#8217;d that. Amazingly enough, I was able to reduce a 100MB file to 222bytes. That&#8217;s even less than my minimum sector size (4kb) . Awesome.</p>
<p>Check it out!</p>
<p>Download:</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.michaelhartmayer.com%2Ffun%2Ffile-compression-hax%2F&amp;title=File%20Compression%20Hax&amp;bodytext=So%2C%20I%20was%20playin%20around%20with%20WinZIP%20and%20WinRAR%20today%2C%20trying%20to%20understand%20how%20those%20programs%20work.%20I%20mean-%20I%20know%20HOW%20they%20work%2C%20but%20I%20wanted%20to%20see%20which%20types%20of%20files%20compress%20the%20best%2C%20and%20which%20don%27t.%20It%20came%20to%20no%20surprise%20that%20text%20documents%20" title="Digg"><img src="http://www.michaelhartmayer.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.michaelhartmayer.com%2Ffun%2Ffile-compression-hax%2F" title="Sphinn"><img src="http://www.michaelhartmayer.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.michaelhartmayer.com%2Ffun%2Ffile-compression-hax%2F&amp;title=File%20Compression%20Hax&amp;notes=So%2C%20I%20was%20playin%20around%20with%20WinZIP%20and%20WinRAR%20today%2C%20trying%20to%20understand%20how%20those%20programs%20work.%20I%20mean-%20I%20know%20HOW%20they%20work%2C%20but%20I%20wanted%20to%20see%20which%20types%20of%20files%20compress%20the%20best%2C%20and%20which%20don%27t.%20It%20came%20to%20no%20surprise%20that%20text%20documents%20" title="del.icio.us"><img src="http://www.michaelhartmayer.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.michaelhartmayer.com%2Ffun%2Ffile-compression-hax%2F&amp;t=File%20Compression%20Hax" title="Facebook"><img src="http://www.michaelhartmayer.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.michaelhartmayer.com%2Ffun%2Ffile-compression-hax%2F&amp;title=File%20Compression%20Hax" title="Mixx"><img src="http://www.michaelhartmayer.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.michaelhartmayer.com%2Ffun%2Ffile-compression-hax%2F&amp;title=File%20Compression%20Hax&amp;annotation=So%2C%20I%20was%20playin%20around%20with%20WinZIP%20and%20WinRAR%20today%2C%20trying%20to%20understand%20how%20those%20programs%20work.%20I%20mean-%20I%20know%20HOW%20they%20work%2C%20but%20I%20wanted%20to%20see%20which%20types%20of%20files%20compress%20the%20best%2C%20and%20which%20don%27t.%20It%20came%20to%20no%20surprise%20that%20text%20documents%20" title="Google Bookmarks"><img src="http://www.michaelhartmayer.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.michaelhartmayer.com%2Ffun%2Ffile-compression-hax%2F&amp;title=File%20Compression%20Hax&amp;source=Michael+Hartmayer+Portfolio+of+an+Idea+Crafter&amp;summary=So%2C%20I%20was%20playin%20around%20with%20WinZIP%20and%20WinRAR%20today%2C%20trying%20to%20understand%20how%20those%20programs%20work.%20I%20mean-%20I%20know%20HOW%20they%20work%2C%20but%20I%20wanted%20to%20see%20which%20types%20of%20files%20compress%20the%20best%2C%20and%20which%20don%27t.%20It%20came%20to%20no%20surprise%20that%20text%20documents%20" title="LinkedIn"><img src="http://www.michaelhartmayer.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fwww.michaelhartmayer.com%2Ffun%2Ffile-compression-hax%2F&amp;title=File%20Compression%20Hax" title="Live"><img src="http://www.michaelhartmayer.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.michaelhartmayer.com%2Ffun%2Ffile-compression-hax%2F&amp;t=File%20Compression%20Hax" title="MySpace"><img src="http://www.michaelhartmayer.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.michaelhartmayer.com%2Ffun%2Ffile-compression-hax%2F&amp;title=File%20Compression%20Hax" title="Reddit"><img src="http://www.michaelhartmayer.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.michaelhartmayer.com%2Ffun%2Ffile-compression-hax%2F&amp;title=File%20Compression%20Hax" title="StumbleUpon"><img src="http://www.michaelhartmayer.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.michaelhartmayer.com/fun/file-compression-hax/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

