development blog for the wicked stuff we encounter

I have a true love for Wikipedia: I always wanted to take the power of information with in my pocket. My good old iPod, which i bought in 2005 was not good enough for the task: you'd need to install a linux on it to get the work done - well, Linux is fine on the Desktop, but not my gadgets! :D The world had to wait until 2008, when Mr Patric Collison came out with the ultimate software, an interface to the wikipedia bulk xml based database dump. On his site, you can find all information on installing Wikipedia on your iPod Touch or iPhone. I advise you to download the English dump file via The Pirate Bay, the best torrent tracker on Planet Earth. I created a dummy video about my progress:

I got my iPod Touch as a gift from my previous company for Christmas, and I'm so happy with it - thank you guys again :D Being a geek myself, of course I found a way to hack it; and optimized my sites and stuff to be usable on the new platform: Apple Safari Mobile. With the new 1.1.4 software upgrade, you can add nice webicon to the Touch's interface: All you need to do is to create a custom PNG image like this one:  and reference it in the parent webpage's header section: <link href="/img/apple-icon.png" rel="apple-touch-icon" type="image/png" />

If you ever found yourself sitting in front of a dead Hackintosh system (for example another operating system's boot loader invaded it's Master Boot Record (MBR) like Linux's GRUB, and keeps telling like: Error 13: Invalid or unsupported executable format.), and would like to use it in it's original way, follow the steps below: 1) get yourself a 10.4.8 bootable (Intel) DVD 2) boot from it and press F8, and type -s to enter single user mode 3)  type: fdisk -e /dev/rdisk0 flag 2 update write quit reboot

I have some Mac OS Xs around me (Intel and PPC ones as well), and usually I find the opportunity to create a nice kernel panic :] But I always forget how to list the already loaded kernel extensions:


To load a kernel extension, type:

kextload /System/Library/SomeCool.kext

to unload a kext, type:

kextunload /System/Library/SomeCool.kext

If you want to replace any kexts, just simply copy over as root (i usually do it in midnight commander) and after say:

chmod -R 755 /System/Library/Extensions/SomeCool.kext chown -R root:wheel /System/Library/Extensions/SomeCool.kext

and clear the kernel cache:

kextcache -k /System/Library/Extensions/