Archive for the ‘Uncategorized’ Category

format phone number, asp

Wednesday, June 21st, 2006

I needed a quick and dirty function to format a phone number. So i did some googling and some fuckers wanted $10 for one.

Here’s mine, use it at your own risk.

function formatphone(strnum)
if len(strnum) <> 10 then
rtval = strnum
else
rtval = “(” & left(strnum,3) & “) ” & mid(strnum,4,3) & “-” & right(strnum,4)
end if
formatphone = rtval
end function

Google hates Jesus?

Sunday, April 16th, 2006

If these guys up at Google want a reputation for doing no evil, they could start by giving us a nice flashy animated gif of the Good Lord rising from the cave of the first “o” in the google logo on Easter. I’d even let them slide with a non animated logo, but at least recognize that it’s the most important holiday for Christians world-wide. (I don’t want to hear any shit about Christmas being the most important holiday. It is, for retailers, not for real God-fearing Christians such as my faitful readers.)
Another thing. Check out the file size fo the Google Web API. We now have proof that google is in fact working hand in hand with Satan.

I have proof that google is the devil

Feed Me

Thursday, April 13th, 2006

I was messing around tonight and did this.

http://www.myleshenderson.com/feedme/login.php

What is Feed Me? This is another rss reader thing. Feed Me gets the latest RSS headlines from your favorite sites. There is also a Google Search Bar in Feed Me.

This is a free site. There are no ads in the site except for the sponsored Google Search box. By signing up and submitting your Adsense ID, you can share in any revenues generated on this site.

How does it work? Fill out the form and you get an account. Then you can immediately begin to add RSS Feeds.

You can also submit your Google Adsense ID which will be randomly selected from among the pool of ID’s each time a page is loaded. If someone clicks an ad or does a search while your ID is up, you earn money. The script is smart enough to never display your own Adsense ID while you are signed in.

What else?I make no warranties that this system is fit to use. I won’t share your email address or your feed lists with third parties. You should be sure to comply with Google’s Adsense Terms of Service if you are submitting your Adsense ID.