Resize bluestacks on mac osx

    1. Open the file com.BlueStacks.AppPlayer.plist from ~/Library/Preferences/ using any text editor
    2. Find the text Framebuffer
    3. Below Framebuffer you can see height and width Screen Shot 2014-01-29 at 17.56.21
    4. Specify the height and width you wish to use
    5. Now change the following line




Now save, exit and open Bluestacks smile

Apple’s Custom 30 year font which works with regular alphabets


Apple left an easter egg  in its new 30 years of Mac tribute website today: A custom font that depicts each Mac model from the past three decades of its history as a maker of personal computers. The original font which is found in the apple website uses special private characters so once installed, you won’t be able to just type to use it as you would a normal font. So i have edited the glphys to make it work with regular alphabets.


Original Font:

Edited Font to work with regular alphabets:

Glyph Map


Enjoy smile

Install OpenCV for python in OSX Mavericks 10.9

#Assuming that you have installed Xcode, Command Line Tools, CMake, and Python

#Install ScipySuperpack

~$ curl >

~$ sh

#Download OpenCV 2.4.2

#Extract OpenCV-2.4.2.tar.bz2

#Open Terminal at the extracted directory

#At OpenCV-2.4.2 directory:

~$ echo "#define GTEST_USE_OWN_TR1_TUPLE 1" | cat > temp1

~$ cat modules/ts/include/opencv2/ts/ts_gtest.h > temp2

~$ cat temp1 temp2 > modules/ts/include/opencv2/ts/ts_gtest.h

~$ mkdir build

~$ cd build

~$ cmake .. -Wno-dev

~$ make -j8 && sudo make install

#Update your bash_profile:

~$ echo "export PYTHONPATH=/usr/local/lib/python2.7/site-packages/:$PYTHONPATH" >> ~/.bash_profile

#Close and open the Terminal

#Open python console and try to import cv2 to test if everything works

~$ python import cv2

Installing pygame in OSX Mavericks

pip install numpy
brew install sdl sdl_ttf sdl_image sdl_mixer

Download the pygame source. It’s one of the top links. Extract it somewhere and go to that directory in a terminal.

Run python

Open "Setup" file that will be found after running the above command .
Change the lines starting SDL, FONT, IMAGE, and MIXER to read:

SDL = -I/usr/local/include/SDL -L/usr/local/lib -lSDL
FONT = -lSDL_ttf
IMAGE = -lSDL_image
MIXER = -lSDL_mixer

open and edit scale_mmx64.c from /src folder .

Look for all occurrences of movsxl and replace it with movslq.
You should find two occurrences.

Run python install.