geeky · non php code

time calculator

i had to add some time in hh:mm:ss format at work. i was like there was no way i would add those manually. so i looked for a program/script to do the work. since i didn’t find anything, i wrote my own. here it is. the most time consuming part is not the addition (which… Continue reading time calculator

personal · school n work

why did i come to work?

i don’t know why i came to work today. the weather is hell. this morning freezing rain fell. then snow pellets, thunder & lightning. tonight we are supposed to get 5 inches of snow. misty was a scared little puppy. she always has been a chicken. i was woke up by the loud thunder at… Continue reading why did i come to work?

geeky · php code · wp hacks

disable wordpress smiley for a certain post/page

okie, i thought someone has figured it out by now. but when i asked on the wordpress board, i got no response. so i digged around and figured a hack for it. i noticed sometimes esp. on some pages, the smiley conversion does a poor job and converts the wrong text into smilies. it really… Continue reading disable wordpress smiley for a certain post/page

geeky · non php code

rel="external"

for those who did not know this trick (someone emailed me and asked), I will share it with you here. since xhtml 1.0 strict does not allow the tag target=”_blank” you can still open links in new windows by using the tag rel=”external” to accomplish the same thing. but you will need to link an… Continue reading rel="external"

geeky · non php code

XHTML strict validated flash code

i put up a slideshow of the silver jewelry club photos i’ve saved. after i added the code given to me directly from slide.com, my site no longer validates with XHTML 1.0 strict rules. So I researched on valid flash embed code and found this nifty javascript trick for embedding flash. The code given to… Continue reading XHTML strict validated flash code