﻿<?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>Keith Hair &#187; general</title>
	<atom:link href="http://keith-hair.net/blog/category/general/feed/" rel="self" type="application/rss+xml" />
	<link>http://keith-hair.net/blog</link>
	<description>Scripting is fun like any other hobby</description>
	<lastBuildDate>Sat, 28 Jan 2012 05:04:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Capitalize a String</title>
		<link>http://keith-hair.net/blog/2012/01/11/capitalize-a-string/</link>
		<comments>http://keith-hair.net/blog/2012/01/11/capitalize-a-string/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 10:27:41 +0000</pubDate>
		<dc:creator>Keith H</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[apps]]></category>
		<category><![CDATA[capitalization]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[String]]></category>

		<guid isPermaLink="false">http://keith-hair.net/blog/?p=443</guid>
		<description><![CDATA[A simple function to help dynamically capitalize text and an excuse to try writing script with the WebMaster Android app, then post it from the WordPress Android app. Nice little script editor for a smart phone or tablet. Even though this function and post are small, writing them from a little smart phone is "capital" [...]]]></description>
			<content:encoded><![CDATA[<p><strong><div id="c1" class="wp-caption alignleft" style="width: 350px"><img class="alignleft" title="Sentence a String to Capital Punishment." alt="image" src="http://keith-hair.net/blog/wp-content/uploads/2012/01/wpid-court-gavel3.jpg" /><br />
<p class="wp-caption-text">Sentence a String to Capital Punishment.</p></div></strong>A simple function to help dynamically capitalize text and an excuse to try writing script with the WebMaster Android app, then post it from the WordPress Android app. Nice little script editor for a smart phone or tablet.</p>
<p>Even though this function and post are small, writing them from a little smart phone is "capital" punishment. After previewing my post I ending up logging into a desktop browser anyway to correct formatting which the WordPress mobile app could not handle from my script example below. Writing script from a small device is also uncomfortable. Using a tablet would be easier but does not necessarily make a lighter "sentence".</p>
<p class="clear">
<pre class="brush: jscript; title: ; notranslate">

&lt;script type=&quot;text/javascript&quot;&gt;
var word=&quot;keith&quot;;
document.write(word);
/**
* Capitalizes the first letter of String.*
**/
function capitalize(W)
{
    return W.substr(0,1).toUpperCase()+W.substr(1,W.length);
}
&lt;/script&gt;
</pre>
<a href='http://www.hexosearch.com/se/submit.aspx?zlvz=&zqz=&zurlz=http://keith-hair.net/blog/2012/01/11/capitalize-a-string/&ztz=Capitalize a String'><img src='http://keith-hair.net/blog/wp-content/plugins/hexosearch-button/logo16x16.png' width='16' height='16' border='0' style='vertical-align:middle' alt='Vote in HexoSearch' title='Vote in HexoSearch' /></a>]]></content:encoded>
			<wfw:commentRss>http://keith-hair.net/blog/2012/01/11/capitalize-a-string/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Happy New Year!</title>
		<link>http://keith-hair.net/blog/2009/12/31/happy-new-year/</link>
		<comments>http://keith-hair.net/blog/2009/12/31/happy-new-year/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 23:45:10 +0000</pubDate>
		<dc:creator>Keith H</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[Happy]]></category>
		<category><![CDATA[New]]></category>
		<category><![CDATA[Year]]></category>

		<guid isPermaLink="false">http://keith-hair.net/blog/?p=164</guid>
		<description><![CDATA[Since you are visiting, I will take this chance to say Happy New Year to you. I am writing this on the event horizon of a new year. 2009 taught me that each day is a gift and we are not promised a tomorrow. Yes, this sounds so cliché but it is something a lot [...]]]></description>
			<content:encoded><![CDATA[<p>Since you are visiting, I will take this chance to say Happy New Year to you.<br />
I am writing this on the event horizon of a new year. 2009 taught me that each day is a gift and we are not promised a tomorrow. Yes, this sounds so cliché but it is something a lot of us can relate to. That's pretty much all I have to say right now, so have a safe happy time...and a awesome HAPPY NEW YEAR!</p>
<p>-- Keith H -- </p>
<a href='http://www.hexosearch.com/se/submit.aspx?zlvz=&zqz=&zurlz=http://keith-hair.net/blog/2009/12/31/happy-new-year/&ztz=Happy New Year!'><img src='http://keith-hair.net/blog/wp-content/plugins/hexosearch-button/logo16x16.png' width='16' height='16' border='0' style='vertical-align:middle' alt='Vote in HexoSearch' title='Vote in HexoSearch' /></a>]]></content:encoded>
			<wfw:commentRss>http://keith-hair.net/blog/2009/12/31/happy-new-year/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>USB Flash out of the Washer and into the Dryer</title>
		<link>http://keith-hair.net/blog/2008/08/03/usb-flash-out-of-the-washer-and-into-the-dryer/</link>
		<comments>http://keith-hair.net/blog/2008/08/03/usb-flash-out-of-the-washer-and-into-the-dryer/#comments</comments>
		<pubDate>Sun, 03 Aug 2008 23:53:04 +0000</pubDate>
		<dc:creator>Keith H</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[Accidents]]></category>
		<category><![CDATA[Flash Drives]]></category>
		<category><![CDATA[USB]]></category>

		<guid isPermaLink="false">http://keith-hair.com/blog/?p=21</guid>
		<description><![CDATA[One year ago I accidently left this particular  USB Flash Drive in my pants pocket and washed it in my washing machine for an 18 minute hot/cold water cycle...and it still works like new. Today I accidentally left this same model in my pants and washed it on that same cycle...plus dried it it for [...]]]></description>
			<content:encoded><![CDATA[<p>One year ago I accidently left <a href="http://www.sandisk.com/Products/Item(1925)-SDCZ6-4096-A11-SanDisk_Cruzer_Micro_4GB_Black.aspx" target="_blank">this particular  USB Flash Drive</a> in my pants pocket and washed it in my washing machine for an 18 minute hot/cold water cycle...and it still works like new.</p>
<p style="text-align: center;"><img class="aligncenter" src="/blog/images/M24GBblk_front_130_angle.gif" alt="One of my USB Flash Drives" width="130" height="111" /></p>
<p>Today I accidentally left this same model in my pants and washed it on that same cycle...plus dried it it for 40 minutes on HOT in a  dryer machine...and it still works like new.</p>
<p>That's so awesome!</p>
<a href='http://www.hexosearch.com/se/submit.aspx?zlvz=&zqz=&zurlz=http://keith-hair.net/blog/2008/08/03/usb-flash-out-of-the-washer-and-into-the-dryer/&ztz=USB Flash out of the Washer and into the Dryer'><img src='http://keith-hair.net/blog/wp-content/plugins/hexosearch-button/logo16x16.png' width='16' height='16' border='0' style='vertical-align:middle' alt='Vote in HexoSearch' title='Vote in HexoSearch' /></a>]]></content:encoded>
			<wfw:commentRss>http://keith-hair.net/blog/2008/08/03/usb-flash-out-of-the-washer-and-into-the-dryer/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

