SQL - SELECT SUM joined with another table

I had always face a scenerio like this:

Read More

Vim - Set indentation based on file type

Let say now you want your .js (JavaScript) file to 2 space indent.

Read More

My practice Git Model

Thanks to this post. It get me more understand in Git.

Read More

Enable display_errors in MAMP

As we all know that to enable display_errors was an easy task. Unfortunately I’ve made more than 10 attempts to configure this.

Read More

Unknown error when setting up virtual host in MAMP

I’m struggling for half day just to setup virtual host in MAMP.

Read More

iOS: Hide keyboard when the user tapped else where

In certain circumstances (i.e. The table row to edit.), we do want the keyboard to be hide in order to improve user experience

Read More

UITableViewController doesn't show content with static cell

I’ve been struggle for some time just because of the tableView doesn’t show any content to me.

Read More

RSA encryption in iOS and decrypt it using PHP

I’ve been suffer for few weeks on RSA encryption in iOS. Now I would like to share the way of doing this.

Read More

Ajax change dropdown list value with jQuery

A typical example for this is Country and State/Province.

Read More

Generate a random string with JavaScript

In order to generate a random string, we must first specify length of string and character set

Read More