geeky · non php code

Use modal windows for delete confirmations please

While reviewing an existing project at work, I notice it has many delete confirmation pages. In my opinion, delete confirmation PAGES should really just retire from the face of the earth. Seriously, why do we need to create a http request & html for the mere purpose of asking “Are you sure you wish to… Continue reading Use modal windows for delete confirmations please

love n family · personal

A sweet note from someone

I’ve been actually down lately. Just came back from a visit of a therapist. I could barely sleep the last few weeks. I found this in my facebook inbox which cheered me up a little. Thank you! hi… my name is *removed for privacy*. are you the girl who ran beautiful php… Continue reading A sweet note from someone

geeky · java

Spring loading properties from database with a twist

Watched the spring framework 3.1 webinar today and it was pretty interesting. Anyway, at work we are trying to possibly load property values from a database to resolve some tension between the developers and system specialists. I played a little bit at home as how we would set this up. This is not a new… Continue reading Spring loading properties from database with a twist

chinese · personal

Fort Lauderdale's dawn

今天早晨我在海滩上等日出。海上多云,虽然太阳已经在海上了却被云遮住了。看沙滩上自己的脚印,感触良多。上次在软软的沙上走是多少年前了?岁月如梭。一转眼我也快三十了。怀念少年的天真无邪。好多事都没有开始,满脑子幻想,满心期望。如今还是有很多幻想和期望但多了怀念。偶尔回首,时过境迁。

funny

Good humor, bad ads

2 female Boston Terrier puppies, 7 wks old, Perfect markings, 524-0960. Leave mess. Lost: small apricot poodle. Reward. Neutered. Like one of the family. A superb and inexpensive restaurant. Fine food expertly served by waitresses in appetizing forms. Dinner Special — Turkey $2.35; Chicken or Beef $2.25; Children $2.00. For sale: an antique desk suitable… Continue reading Good humor, bad ads

funny

Reasons to go to work naked

Your boss is always yelling, “I wanna see your butt in here by 8:00!” Can take advantage of computer monitor radiation to work on your tan. Inventive way to finally meet that hunk in Human Resources. “I’d love to chip in, but I left my wallet in my pants.” To stop those creepy guys in… Continue reading Reasons to go to work naked

geeky · non php code

itext page number (page x of y)

I was looking for a complete example of how to dynamically generate the page numbers when you create the pdf using iText and I couldn’t find one. This is based on the example in the iText in Action book but I added my “refactoring” if you will. I hope this helps someone. If not, it… Continue reading itext page number (page x of y)

geeky · non php code

Java instaniate an abstract class… sort of…

At work I had to create some test data for a junit test. The function I’m testing expects a super abstract class to be passed in and I need to test the same function for bunch of child classes. I wish I could just pass in the parent class but since it’s abstract I cannot… Continue reading Java instaniate an abstract class… sort of…

games · geeky · php code

writing an ajax app for Sequence

Yesterday I attended Ted Neward‘s game design session at nofluff. It inspired me to begin to implement the game sequence in an ajax app. It will be a private app since I only plan to play it with some friends. But it will be hosted somewhere on my website so it can be accessed from… Continue reading writing an ajax app for Sequence