Symfony2: How to get Doctrine Entity Manager in Console command

advertisement

symfony logoSymfony2 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 »

Mac RDP to Win 8.1 error – Remote Desktop Connection cannot verify the identity of the computer that you want to connect to.

advertisement

windows 8.1Recently i just installed Window 8.1 at one of my old desktop. When i’m trying to connect my desktop using remote desktop connection thru my Mac, it shows a funny error “Remote Desktop Connection cannot verify the identity of the computer that you want to connect to.”.

I double check that i’ve already allow remote desktop connection and have the firewall allow RDP connection at my Window 8.1 desktop, but no luck. it still shows the same error. After doing some “google”, i manage to find the solution!

mac rdp connection fix with win 8,1

To allow remote desktop connection from Mac to Win 8.1, follow the steps below:-

Continue reading Mac RDP to Win 8.1 error – Remote Desktop Connection cannot verify the identity of the computer that you want to connect to. »

Disable iTunes auto start when iPhone, iPad, or iPod is Connected

advertisement

mac, apple mac, apple computer, mac os xOne of my friend ask me how can he disable iTunes auto start when his iPhone is connected. I’ve this problem some time ago and i forget to share this tips. By default iTunes will auto start whenever it detected any compatible devices (iPhone, iPad, iPod or etc) that is connected. To prevent this happen again you can disable it at the iTunes preferences.

To disable iTunes auto start when iPhone, iPad or iPod is connected, follow the steps below:-

Continue reading Disable iTunes auto start when iPhone, iPad, or iPod is Connected »