About ruby on rails, hackintosh, iphone3g and etc.

Showing posts with label OSX. Show all posts
Showing posts with label OSX. Show all posts

Thursday, February 26, 2009

Hackintosh X61 updated to 10.5.6

Finally managed to find some time and courage to update the Thinkpad X61 to 10.5.6.


Everything is ok now after initial problem with keyboard and pointing stick. I used the steps below:

1. Download PC-EFI ver 9.0. Install it. Link.
2. Download DDT-Path tool and run it. Link.


3. Notebook User: Get the PS/2 fix reader. Download from here. Also, you have to get ready usb keyboard and mouse as PS/2 mouse and keyboard may not functional after the 10.5.6 update.
3. Reboot your computer to make sure everything is fine.
4. Download OSX 10.5.6 update from Apple. If update from 10.5.5 (you can use the delta update), the rest use the combo update.

5. If you encounter error like system freeze during installation, restart your computer. Remove any external monitor connected (if you are using notebook). Reapply the 10.5.6 update. Reboot again.

6. If you encounter problem like sleep image has garbaged. You can disable deep sleep and remove earlier image at this path:

Disable Safe Sleep first:

To disable safe sleep, run the two following commands in Terminal:
$ sudo pmset -a hibernatemode 0 $ sudo nvram "use-nvramrc?"=false

Fire up Terminal. Run this

cd /var/vm

There is a file name called sleepimage. Delete this file by:

sudo rm sleepimage.

7. That's all. You can run Software Update to update the rest of security patches, Safari updates or iWork 08 patches and etc which requires 10.5.6.


Sunday, February 22, 2009

Install github on Mac OSX

Github is very useful for Ruby on Rails programmers. A lot of plugins and sample codes available. To use git in Mac OSX, you will need to install github by the following link:


Download the installer for OS X. That's all.

Friday, January 9, 2009

Print Screen Equivalent in OSX (Screen Capture)

In Windows, there is a key to capture screen quickly. Print Screen is the one. Or to capture an individual Window you can use ALT-Print Screen.

In Mac OSX, it is different. There is no such key. Never mind. There is a couple of short cuts which you can use.

1. CMD + SHIFT + 3 - Capture whole screen.
2. CMD + SHIFT + 4 - Gives you a crosshair cursor so you can choose which area of the screen you want to capture then write it to a PNG file on desktop.
3. CMD + CTRL + SHIFT + 4 -gives you a crosshair cursor so you can choose which area of the screen you want to capture and copies it to clipboard. You can paste it into another application like Photoshop and etc.

Have fun.