iOS - Create UITableView with custom cell programmatically

Personally, I don't like to use Xcode's interface builder. I felt that everything programmatically will be easier to debug.

Read More

NSInvalidArgumentException caused by UITableViewCell

I keep hitting an error like this

Read More

Restrict Git commit message to certain pattern

For certain reason, some time you want your commit message to follow a standard pattern.

Read More

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