
I need to run xgettext to parse gettext string with my osx. Although osx is build based on BSD a unix variant, it is not easy to get gettext and other gnu tools running on osx.
…until I discover FINK. If you familiar with apt-get in ubuntu, then I feel that fink is something similar.
If you use snow leopard, you should download and compile it yourself, perhaps you need xcode .. or gcc .. haha … don’t ask me how. Fortunately I use leopard, so I use binary package in .dmg file
After fink installed, open terminal and type
fink install gettext-tool |
Enter your osx password when it ask for password. After installation finished, you can use xgettext and msgfmt as usual.

I use textmate as my main php editor for mac. Once you get used with it, it will increase your productivity. Unfortunately, textmate doesn’t work with php very well out of the box. You must configure it and use the custom php bundle.
Here is how to get the custom bundle.
1) Open terminal
2) Execute the following commands:
mkdir -p /Library/Application\ Support/TextMate/Bundles |
cd /Library/Application\ Support/TextMate/Bundles |
svn co http://svn.textmate.org/trunk/Bundles/PHP.tmbundle |
If you have textmate running, try to reload the bundle. You will see a new PHP bundle.
Ok, before I go further, please keep in mind that this is only happen to hackintosh pc
First, prepare an empty harddisk. Then, you need to install EFI to the disk. Use EFI that work with your hackintosh. I got mine work well with Chameleon EFI 1.0.12. If you need the file, here is: chameleon efi 1.0.12. You only need to do this once.
After EFI installed, you can run superduper backup on this disk. Before you use this disk for long term use, make sure you have tested this backup disk. Just unplug the SATA cable from the main harddisk. If it boot well, then it is perfect!
When running superduper, I encountered this error. According to direction from netkas forum, here is how to fix it.
Edit /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist
Changes <dict> section to:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | <dict> <key>BSD Name</key> <string>en3</string> <key>IOBuiltin</key> <false/> <key>IOInterfaceType</key> <integer>6</integer> <key>IOInterfaceUnit</key> <integer>3</integer> <key>IOLocation</key> <string></string> <key>IOMACAddress</key> <data> ABbPoF5V </data> <key>IOPathMatch</key> <string>IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/P0P3@1C,2/ IOPCI2PCIBridge/pci14e4,4311@0/AirPort_Brcm43xx/IO80211Interface</string> <key>SCNetworkInterfaceType</key> <string>IEEE80211</string> </dict> |
Then reboot.
“CFGetHostUUIDString: unable to determine UUID for host” error will be eliminated
Updating a working hackintosh pc is risk task. Make sure you have good backup. You can use timemachine or superduper.
Ok, I updated 10.5.5 to 10.5.8. Here is the step by step:
1) install disabler.kext and dsmos.kext
2) reboot
3) I assume you have created full backup before, so now take the risk. Download 10.5.8 combo update from apple website.
4) After installation finished, it will reboot. If it take long, then it may your reboot function doesn’t work. Wait until 30 minutes or force to shutdown with pressing power button for a few seconds.
5) Boot as usual, leopard will continue updating. It will reboot again. If reboot failed, wait until 30 minutes. Then force shutdown like before.
6) Now boot again, you should now have leopard updated to 10.5.8. If you use ps2 mouse and keyboard, they might not work again. You need to use usb one.
After update. I notice that leopard failed to recognize my processor. It show up as 4GHz core 2 duo. But it is not a big deal
The main reason I updated to 10.5.8 is new safari requirement.
I couldn’t get to boot leopard dvd with boot132. It keep restarting before darwin loadee. I want to have vanila kernel working for easy future update.
I end up using this file. Just burn it. After darwin loaded swap the disk with retail leopard dvd.
I manage to get my wireless usb linksys WUSB54GC work very well with leopard osx. Hey .. this is hackintosh, if you have real mac, you won’t need this unless the wifi module is broken
.
Ok, it is quite simple installation.
Get the file here. wusb54gc osx leopard driver
1) Install the kext file using kexthelper. Restart leopard.
2) Copy the two app files in Application folder
3) Run USBWirelessUtility, you can plug the wifi usb. As soon as leopard detect it, USBWirelessUtility will search available access points.
You may need to run USBWirelessUtility each time you start leopard. You can also put it in the dock and make it Open at Login.
I have an old macmini with core duo processor and 2GB ram running tiger. The performance is quite good for daily task and media player. However this is a 3 years old machine. It always good to have a new more powerful mac.
I wish I could buy new iMac, but I think it is better to build a hackintosh pc. Ok, here is my spec.
Motherboard GIGABYTE GA-945GCM-S2L (with intel 945 onboard video)
2GB RAM
1×250GB Harddisk (for osx entirely)
2×80 GB Harddisk (I wish I could make it as RAID)
OSX86 distro is iDeneb 1.3. I know there is a new one. But I already have the disk since a year ago.
Here is what you need to select when running iDeneb:
- ICHx Fix, this motherboard has ICH7
- intel 945 video, it will give you 1024×768, we need to fix it later
For application, select:
- Kext helper, we need this to install kext file for audio driver (Realtek ALC662 codec)
- OSX86 tool, we need this to enable QuartzGL
After iDeneb installation finish, you should now have running OSX. Then the next step is doing post installation.
1) install kext for audio, use kext helper
2) apply GMA945 patch to show all available resolutions. I manage to get my syncmaster lcd to work native at 1440×900 after applying the patch
3) run osx86 tool, try to enable QuartzGL
Here is the kext and patch files.
Enjoy some screenshots:

I do SEO and I love the blackhat too.
If you are like me, then you usually create tons of web profiles to submit articles, links, and socialbookmarking. Then you will need multiple IP address to camouflage yourself.
Most of us will search for public proxy list. However they are not good at all. Very slow, or likely down all of time. This is wasting time. What you need is an exclusive proxy address JUST for you. If you are shop around, their pricing is so expensive. Check this out: http://www.yourprivateproxy.com/buy-private-proxiess and http://www.seo-proxies.com/?tab=licenses
I wish I could buy them, but they have unbelievable pricing because I know the cost of single IP address could be less than $.5 each.
So I decide to make my own high anonymous private proxy. I already rent a linux vps with 2 IPs, good for start. On this vps, I installed ubuntu then squid.
apt-get install squid
Then lets change the configuration.
nano /etc/squid/squid.conf
Add the following code, please adjust with your own server ip address and your isp ip address:
#lets make each of our ip available for http proxy
acl ip1 myip 64.92.125.13
acl ip2 myip 64.92.125.14
tcp_outgoing_address 64.92.125.13 ip1
tcp_outgoing_address 64.92.125.14 ip2
#make it high anonymous
forwarded_for off
#make it secure just for your own use
acl ipku src 125.164.201.211/255.255.255.255
http_access allow ipku
Oke, it’s done. Restart squid.
/etc/init.d/squid restart
Now try with your browser, set proxy to:
64.92.125.13:3128
Good luck and happy SEOing
Wow .. it is nice to see my megavideo stat.
A year ago I uploaded 2,200 videos in a month and I left it. Today I checked my account and I got that number. I’m happy because I’m going to cash my point reward. But honestly I was expecting to see 100,000 points every month.
Here I take some screenshot how to redeem megavideo point reward.
1) Select the reward you desire
2) After submit the button, here I got confirmation
3) Then I check my megaupload account. Now I got my premium account extended to a year. Also it seems I need to wait 10 days until I received my $100 cash to my paypal. But how can they know my paypal? Megavideo never asked my paypal account. Or perhaps they will send to paypal account I used to pay for premium account.
I hope I get my $100 cash to my paypal very soon.


















