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...]
Website value evaluation tool
The are a few website value evaluation tools available on the Internet to evaluate how much a website worth. … [Read more...]
Implement your own short URL
Short URL or tiny URL is an URL used to represent a long URL. For example, http://tinyurl.com/45lk7x will be redirect to http://www.snippetit.com/2008/10/implement-your-own-short-url. … [Read more...]
Google Adsense Search Result in Worpress
Those who have Google Adsense account and Wordpress may want to add Google Adsense Search function to his or her Wordpress blog. Besides the search functionality from Google to search the pages within your site and Internet, you also can earn money from the Adsense advertisement within the Google Search result. … [Read more...]