Create spritesheet for Cocos2d-x using with TexturePacker

Create spritesheet

Select Cocos2d

Read More

iOS - Working with block handler

If you’re not new to Objective-C, then I’m pretty sure you know about delegate. Normally we use it when the outerViewController that want to trigger some actions when user touch a button on innerViewController.

Read More

Laravel 4 - two pagination in a single page

Alright, if you’re existing Laravel user, you know that Laravel has make pagination easy. If you’re new, I will show you how.

Read More

7 lessons learnt from screwing up a live server

I’ve just did a shit today. I screw up the client’s server in such a way that I remove the apache server, and never get a way to install it back.

Read More

Happyfox API - Create ticket with attachment using PHP

Happyfox is a ticketing service provider. Recently I’m dealing with it’s API and took me quite some time to figure out how to create a ticket with attachment. You can see the official documentation here.

Read More

Use UIWebView with UIScrollView

When we want to display a bunch of description, UIWebView is the choice.

Usually we do it in this way

ViewController.m

Read More

Remove the 1px Shadow From UISearchBar

When I added a UISearchBar to UITableView.tableHeaderView, it shows a border

With shadow

Read More

jQuery Flot - Create a stackable bar graph and line graph combination

Plot a stack bar graph with line graph combination.

Loading...

Read More

Git - push a specific commit to a new repo

Developer A was previously push everything to my-repo, eventually developer B created a new repo and clone all commits from old repo.

Read More

Objective-C switch statement inside a loop

Since the switch statement has break, and usually we use break to stop the looping process. In my mind break & continue are like brother, usually use inside a loop.

Read More