How to detect a bounce email

1. make sure the email you send out have the header

2. setup this detect-bounce mail account at your mail server

MySQL LIMIT Optimization

I have this scenario where MySQL LIMIT syntax is very slow for table having 30 million records.

Instead of using MySQL LIMIT you may use WHERE and BETWEEN which works pretty fast.

Proper Indexing of Tables in MySQL

In general you should only add indexes to match the queries your application uses, any extra will waste resources. In an application with very small tables, indexes will not make much difference but as soon as your tables are larger than your buffer sizes the indexes will start to speed things up dramatically.

Hudson Installation Procedures


Hudson is a Continuous Integration (CI) server which polls a version control repository and runs an automated build soon after a change is detected in the version control repository. Hudson organizes CI jobs into projects. Each project has its own build script and its build results are stored within Hudson's work area.


mod_pagespeed is an open-source Apache module that automatically optimizes web pages and resources on them. It does this by rewriting the resources using filters that implement web performance best practices. Webmasters and web developers can use mod_pagespeed to improve the performance of their web pages when serving content with the Apache HTTP Server.

mod_pagespeed includes several filter that optimize JavaScript, HTML and CSS stylesheets. It also includes filters for optimizing JPEG and PNG images. The filters are based on a set of best practices known to enhance web page performance. Webmasters who set up mod_pagespeed in addition to configuring proper caching and compression on their Apache distribution should expect to see an improvement in the loading time of the pages on their websites.

NetBeans IDE 7.0 Beta Download

The new Beta build of NetBeans IDE 7.0 introduces language support for JDK7, enhanced integration with the Oracle WebLogic server, support for Oracle Database, GlassFish 3.1, Maven 3, HTML5 editing, and more.

The NetBeans team is pleased to announce the availability of NetBeans IDE 7.0 Beta.

Site Performance Enhancement

Enhance your site performance with these common practices derived from the web. See what are applicable to you and gain from the benefits.
  1. Use mod_pagespeed
  2. Use mod_expires
  3. Use mod_deflate
  4. Avoid .htaccess
  5. PHP ob_gzhandler
  6. Use CSS Sprites
  7. Combine and Minify
  8. Compress Components

Combine and Minify CSS and Javascript Files Using Minify

Combine, Minify, Cache CSS and Javascript Files

This tutorial will teach us how to combine and minify CSS and javascript files using [ Minify] thus will help your site regain high performance result and pass the tests of Yahoo!'s YSLow, Google's Page Speed, or AOL's WebPagetest.

PHPUnit Bootstrap with PHP Autoload

I have a scenario wherein after upgrading PHPUnit 3.4.11 to version 3.5.3, an existing bootstrap file for phpunit suddenly encountered an error complaining about class was not found. It seems PHP __autoload is not working.

CSV to Graph - Convert Siege Log into Bar Graph

CSV to Graph - Convert Siege Log into bar Graph - a simple perl script that reads a csv file and converts it into bar graph.

CSV to Graph, Convert Siege Log into Bar Graph

How to View the Remote Desktop of a Headless Server

This is applicable to those people who do most of their works on CLI. But how about if a certain task requires that your server has a running X windows which is frequently not available on most linux-based servers? The answer is a virtual X server together with VNC.

We'll not tackle what is X server nor what is VNC, instead you may use the power of Google or just visit Wikipedia.