Li's BLOG

Monday, November 16, 2009

PHP cannot connect to mysql when run inside Apache

›
I ran into a very strange issue when Apache/PHP/MySQL. What happend was my php code suddenly cannot connect to mysql on another machine any...
Saturday, November 7, 2009

Trick to let iTune handle Chinese song names and tags correctly in Mac OS X

›
When play Chinese songs in iTune, it always tends to show the song information, such as name, artist, album, etc. as garbage text. When I ...
1 comment:
Sunday, May 17, 2009

Monitor detailed SQL transactions issued by Hibernate

›
Hibernate help us translate access to Java objects from HQL to native SQL and automatically take care of object relationships, which saves d...
Wednesday, May 13, 2009

Customize Eclipse JVM in Mac

›
On Windows, we can change eclipse.ini under eclipse folder to put extra parameters for JVM. On Mac, the ini file is located at: eclipse/Ecli...
Monday, May 4, 2009

How to bing dyanmic IP to a subdomain

›
We have a server with dedicated IP address in my company's headquarter. There're a couple of branches at other locations. We need to...
2 comments:
Thursday, April 23, 2009

How to match lines that does not start with certain string(s)

›
I had a task to parse a huge log file and needed to pick up only those lines started with certain strings like: CPU_ALL ZZZZ etc. So I fired...
1 comment:
Monday, March 23, 2009

How to write a servlet filter

›
Since you can call HttpServletResponse.getWriter() only once, it is a little bit tricky to add more output in servlet filter, because it is ...
‹
›
Home
View web version
Powered by Blogger.