Symfony2 allow you to create your own console command thru Console Component. Since the bundle i’m writing is only for my own use, i’m trying to write a console command to load all my data to database. But to get the Doctrine entity manager to work in console command you need to do some modification from the tutorial link above. No worry i promise it’s a easy task, just edit one of the namespace will do.
To get Doctrine Manager in Console Command (Symfony2), follow the steps below:-
Continue reading Symfony2: How to get Doctrine Entity Manager in Console command »


Just installed Cynogenmod 7 to my old HTC Desire phone, and I can start feeling the speed! Since it’s first time using Cynogenmod i’m trying to play around with all the settings. However i find there is some problem with the vibration especially when SMS is received. I’m sure i’ve enable all the vibrate settings but it still doesn’t vibrate while SMS is received. Luckily i manage to find this settings from one of the forum and here i share the solution.