Monday, December 30, 2013

Wordpress Stuff #1

Writr Themes 
this theme highly recomanded for all programmer from newbie to pro level

with this theme i want to move my blogger to self-hosted Wordpress.


Markdown Editor in Wordpress

Wordpress Visual editor very bad for me. This is because they strip off some HTML element. Sometime, users with no programming skill hard to write article in the editor.

So, markdown looks better, simple and very straight forward.



Wednesday, December 18, 2013

Different between Paypal Javascript API and Classic API

Last time i did a mistake in my project.

I used PaypalJavascriptButton from github.

--Javascript Version

I thought 'data-callback' used to make auto return but it is not. That parameter used to trigger IPN.
Auto return actually triggered by 'data-return' and
cancel payment triggered by 'data-cancel_return'.

You will be warned by Paypal via email if you not actually use the IPN and they will block your IPN if no futher action taken.

--Classic version

Note: If you need Paypal Data Transaction (PDT) you must read 'How to setup IPN listener' in production mode / sandbox mode. This is because PDT require 'IPN'. 

Sunday, December 15, 2013

2D Game Engine

Giderious Studio - (language: Lua)
Unity2D - (language: Js, C#, Boo)

Adobe Game SDK - (language: ActionScript)
SaladGame - (no programming skill required)

COLT JS - (language: Js)

*Please let me know your suggestion. Thanks.

Friday, December 13, 2013

Disable OSX Server on Mac

Just imagine.
You are the one who very love Mac because you can setup your apache web server just some settings.

Suddenly you have installed OSX Server.

Now you see,

  • all your virtual host not work.
  • you don't know how to point the OSX Server to match your apache settings
  • etc
Oh no! I need to;
  • remove OSX Server
  • uninstall OSX Server
  • disable OSX Server
  • kill OSX Server
You feel like crazy to do clean install your OSX back.

Wait wait wait....

You just need to bring back your 'org.apache.httpd.plist'.
Lets see what OSX Server done on your apache...

Before OSX Server install:

After OSX Server install:

Original apache plist file -
OSX Server apache plist file -

Don't forget to restart apache

sudo apachectl restart

Have fun!


Off Autoplay HTC Sync Manager

HTC Sync Manager always appear if my phone connected to my computer.
It is harassing me!

Don't worry. Here i explain a bit about HTC Sync Manager.

I know you hate it but you need to know that Samsung can't do what HTC does.

Topic: HTC device provide 'Internet pass-throught'.

Mostly, HTC device provide 'Internet pass-throught'.

HTC 'Internet pass-throught' is sharing the device internet to your computer via USB connection.
Then, you can shot a Wifi hotspot.

So, everyone love you because you can share your internet connection.

This is the most important thing you should know why we need HTC Sync Manager.

Topic: How to avoid HTC Sync Manager software keep autoplay?

 set the circle tick uncheck. Thats All.

Topic: How to avoid HTC Sync Manager volume auto-mounting on OSX Mac?
  1. get your the volume UDID
  2. put in '/etc/fstab/' as shown below

refer this article

Tuesday, December 3, 2013

My HTC One with KitKat installed!

I only want to share how i did. I'm using 'Android Revolution HD 40.3'.

1# Download TWRP & the rom from 'Android Revolution HD'
  • rom -
  • recovery -
2# put rom file in the phone
3# Flash recovery TWRP 
put the .img file in your 'android-sdk/platform-tools/'

type in terminal:

./fastboot flash recovery <recovery_file_name.img>./fastboot erase cache
./fastboot reboot-bootloader 

4# install the rom from the recovery

thats all. 

Monday, December 2, 2013

Grunt on OSX Maverick

I face very fun problem to start using Grunt. I already follow many guides and tutorials about the Grunt installation on Mac but i still cannot execute 'grunt' command in the terminal.

Lastly, i saw someone type in the terminal:

npm grunt

in this video.

So, my idea is. Add an alias in your .bash_profile like this:

alias grunt="npm grunt"

thats all.