Archive for May, 2005

wordpress lost password help

i’ve been asked numerous times for how to access your wordpress again if the lost password function did not work. here’s my trick. it should always work :)

things that make you go awwww

aww

aww

aww

aww

aww

oh and misty just fell off the bed sleeping LMAO

awesome firefox extensions

any firefox extensions you love and wish to share?

this web developer extension is awesome. I also installed the live http header viewer today. i love firefox :)

google adsense in RSS

wooooooo INTERESTING………

SACK

a lightweight toolkit for ajax :) like used in the xmlhttprequest chat. i might try it out when i write the sidebar for dmb.

firefox is a good js debugger

did you know firefox is a really good javascript debugger? yes i’m a bit slow. i thought firefox does not show js errors. in fact, if you type “javascript:” in the url, a js console will pop up. i’ve been using IE for js debugging for a long time. and it’s HORRIBLE.. the msg is totally vague. i know there are other js debugging tools but i didn’t want to spend too much time on it since i don’t code in js THAT MUCH. but firefox’s js debugging tool rules my world ^_^

time left php function

just a simple function that returns how many days, hours, minutes and seconds are left given a timestamp i put together. kinda bored so sharing some code XP

give either $time_left (time left in timestamp) or $endtime (an ending timestamp)

/* returns an array of [days],[hours],[minutes],[seconds] time left from now to timestamp given */ function timeleft($time_left=0, $endtime=null) { if($endtime != null) $time_left = $endtime - time(); if($time_left > 0) { $days = floor($time_left / 86400); $time_left = $time_left - $days * 86400; $hours = floor($time_left / 3600); $time_left = $time_left - $hours * 3600; $minutes = floor($time_left / 60); $seconds = $time_left - $minutes * 60; } else { return array(0, 0, 0, 0); } return array($days, $hours, $minutes, $seconds); }

OUCH

this is ON MY INTERSTATE. i take this road home every day. guess i should take an alternative route today

Thursday, May 5, 2005
Semi rollover snarls interstate traffic

By Mike McWilliams
Iowa City Press-Citizen
An overturned semi trailer has snarled traffic on eastbound Interstate 80 near the Interstate 380, Highway 218 interchange

Few details on the incident are available at this time.

According to Iowa State Patrol Sgt. Randy Stone, a tractor-trailer overturned and lost its load. Stone said one lane of traffic is blocked off and it could be a while before the road is cleaned up.

Stone said he wasn’t sure what the semi trailer was carrying, but 41,000 lbs of it are on I-80.