When writing a blog post, you may want to put some photo in the post but host it on flickr.com. How will you get an photo URL in flickr.com? Browse to the photo page, view the HTML source code and look for the photo URL? … [Read more...]
WordPress 2.7.1
WordPress 2.7.1 is available, the first 2.7 maintenance release, is now available. … [Read more...]
Regular Expression Test Tool
When writing a software, you may need to use regular expression to filter some string values or to validate some input strings. It is quite troublesome to test the correctness of the regular expression pattern that you have designed. You will need to compile you source code, execute the compiled binary, perform some steps until to the point that make use of the regular … [Read more...]
C# – Loop all files in directory and it’s sub-directories
Recently I need to write some code to read all files in a directory and it's sub-directories. There are simple way and difficult way (Not very difficult actually). The simple way will be writing a function that reads all files in the directory and call the function again recursively for each sub-directory in that directory. … [Read more...]
Gmail’s Labels menu
Gmail's Labels menu now comes with auto-complete and a "move to" features. The new "Labels" button makes labeling messages even easier and auto-complete will take it from there. The "Move to" button if for label and archive in just one step, just like moving the message to a folder. … [Read more...]