Quick fix for Adobe CS6 on Mountain Lion Freeze when using Middle Eastern Type Engine

Quick fix for Adobe CS6 on Mountain Lion Freeze when using Middle Eastern Type Engine

I recently upgraded to Mountain Lion  AND upgraded from Photoshop CS5 to CS6 , Sweet!

For my work, I need to do some arabic typography, which is a GREAT feature in Photoshop CS6, but as soon as I enabled the Middle Eastern type Engine, PS starts freezing every 5 seconds and becomes VERY sluggish !, worry no more reader, here’s the fix!

Apparently after some research, found that the problem is with the FontCache being broken, so we’re going to fix that now with two terminal commands, first thing close any running instances of photoshop, then fire up your terminal and type those commands in (make sure your type engine is set to middle eastern before doing that from Photoshop->Preferences->Type…):

sudo atsutil databases –remove

and then

sudo rm -r  ~/Library/Caches/Adobe/TypeSupport

EDIT: Thanks to iAhmed, he says if it doesn’t work for some people, you might have to also delete all non-system folder from /Library/Fonts by running this command

sud rm -r  /Library/Fonts/

After that, start photoshop and voilá, problem magically solved !

If any of the readers has another issue please let me know in the comments and i’ll see if I can help in any way !

Read More

Integrating GREE into your cocos2d(-x) game !

Integrating GREE into your cocos2d(-x) game !

UPDATE 1: I’ve now updated the tutorial to support cocos2d-x !, thanks to the readers who’ve helped out !

To skip to the cocos2d-x part, click here.

Okay, A couple of the readers on the last GREE post requested that I do this writeup to show you how to implement the GREE platform into your cocos2d game !
So, here it is folks !

Note: if you just want the code immediately, here’s the download link !, for everyone else, read on!

Read More

DinoSquad submitted to the app store !(finally)

DinoSquad submitted to the app store !(finally)
Update: The game was released !, Get it here  !

My First iOS game was submitted for review a couple of days ago :)

The game will be free for the first week, and then will sell for 99c and there’ll be a lite version !

Facebook link
Twitter link

Video after the break 

Read More

How to add GREE to your iOS game

How to add GREE to your iOS game
Edit: I’ve created another writeup on integrating GREE with cocos2d , read it here !

Hey Geeks !

So , if you’re a game developer, you’ve probably heard the news, GREE is out, OpenFeint is dead,  you went to get started, and found out it has worse documentation than OpenFeint and probably couldn’t compile it !

I took the time to play around with it, and this is a little writeup on how I registered the test app on the developer panel, and compiled the test app and made it work.

Read More

Fixing the “unix:///var/mysql/mysql.sock” not found error on MAMP

Fixing the “unix:///var/mysql/mysql.sock” not found error on MAMP

I’ve recently been working on a CakePHP project on my Mac, I’ve noticed that when
I tried Baking the project, This error came out:

Read More

Reversing the VFD

Reversing the VFD

Heya,

I had a broken Philips DVD player lying around for sometime, so I decided I’ll take out the LCD panel inside it and play a little.

First of all, I discovered that it was a VFD not a LCD, but programmatically that wasn’t a huge difference !.

Read More

Enabling mod_rewrite on apache2

Enabling mod_rewrite on apache2

If you’re trying to enable mod_rewrite for apache2 on your ubuntu server (or any other distrib) and nothing works, this little writeup might save you a few hours of frustration !

Read More