Wednesday, February 27, 2008

Life Code

I was working out in the gym today with a buddy and were were having fun making up some pseudo code for live. It obviously doesn't cover all the variables, but you get the idea.
<%
On Session Start Call LifeCode

SUB LifeCode
dim dbConn, strSQL, rs

Set dbConn = Server.CreateObject("ADODB.Connection")
dbConn.open "PROVIDER=SQLOLEDB;DATA SOURCE=YourLife;UID=YourName;PWD=YourName!;DATABASE=YourLife"

strSQL = "SELECT *, SUM(col_Money) as NetWorth from tab_Life GROUP BY col_Money WHERE col_DateToday = "&DATE()&""
set rs = dbConn.Execute(strSQL)

'run below code every day
If Not rs.EOF Then
If rs("NetWorth") > "2000000" then
response.write("Congrats! Stop working and go enjoy yourself!")
Else
If INT(DATE() - rs("col_DateOfBirth")/365) >= 65 then
response.write("Collect Social Security live in a trailer with cats.")
Else
response.write("Get your lazy ass out of bed and go to work.")
End If
End If
Else
response.write("You're Dead")
End If
End Sub
%>

Tuesday, February 19, 2008

RetroWebDev Update

Even though I've been remiss in adding to my RetroWebDev blog, I haven't been resting on my laurels.

On other project fronts:

Bloggertizer (keyword phrase: advertise on blogs) now has 550+ blogs listed. If you are looking to hie a blogger to write a customer post, or want to get links on blogs, check out Bloggertizer. Totally free for both the blogger and advertiser.

Tuesday, February 05, 2008

GoDaddy Coupon Codes and Updates

I haven't been up to much (at least nothing worth blogging about), hence the infrequent updates to this blog. Just because I haven't learned anything interesting doesn't mean I'm not pecking away at a few smaller projects, and it seems like I'm always buying a domain name or two. So I thought I'd post the GoDaddy coupon codes I use. They were all working as of this morning:
chill1 - save 10% on any order
chill2 - save $5 on any order of $30 or more
chill3 - register a new .com domain name for $6.95 a year
Just type your code of choice in the code box when you check out to get your savings.

Bloggertizer is going strong (keyword link: Blog Advertising). There are over 500 blogs registered now and people are using the service. So far, nothing but happy customers.