Sentence a String to Capital Punishment.
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" 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".
<script type="text/javascript">
var word="keith";
document.write(word);
/**
* Capitalizes the first letter of String.*
**/
function capitalize(W)
{
return W.substr(0,1).toUpperCase()+W.substr(1,W.length);
}
</script>
No Comments »
Posted by: Keith H in general, tags: Happy, New, Year
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 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!
-- Keith H --
No Comments »
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 40 minutes on HOT in a dryer machine...and it still works like new.
That's so awesome!
2 Comments »