text 23 Sep Boot Mac OS X Client in VMWare Fusion from a Physical Disk

Yup you heard right.  Boot an OS X Client installation boot camp style.

  1. Open up Terminal and create a ServerVersion.plist on the hard drive you want to boot from (Replace Macintosh HD with your volume’s name):
    • touch “/Volumes/Macintosh HD/System/Library/CoreServices/ServerVersion.plist”
  2. Open Disk Utility and unmount the disk you want to boot from.
  3. While you’re there, get the disk id by right clicking the disk and choosing Information.  It should be disk0 or disk1 or something like that.
  4. Back to Terminal, find out which partition you want to boot from using VMWare’s rawdiskCreator utility (replacing disk0 with your disk id):
    • cd “/Library/Application Support/VMWare Fusion”
    • ./vmware-rawdiskCreator print /dev/disk0
  5. Next run this command, replacing your disk id and the “1” with the partition listed in the print command (You can also replace rdm with a name of your choice):
    • ./vmware-rawdiskCreator create /dev/disk0 1 ~/Documents/Virtual\ Machines.localized/rdm ide
  6. For some reason rawdiskCreator mounts the disk you just created a vmdk of, so unmount the disk again.
  7. Now create a new VM in VMWare Fusion using ~/Documents/Virtual\ Machines.localized/rdm.vmdk as your existing virtual disk.
  8. Select Convert if VMWare says that the virtual disk was created with an older version of VMWare.
  9. Make sure that Mac OS X Server 10.5 (or 10.6) 32-bit is selected.  64-bit may work too, I haven’t tested it.
  10. Save the VM and Boot it.
  11. Enjoy.
link 30 Aug Click to Flash - An alternative to Safari Adblock on Snow Leopard»

Right now Safari Adblock requires you to run Safari in 32 bit mode if you’re using snow leopard.  A good alternative is to use Click to Flash which will block all flash content by default.  You’ll still see a lot of ads, but at least they won’t be slowing your browser down.  It also allows you to view HD h.264 videos on YouTube without ever loading the flash player.

text 5 Jul Just restored my 3GS and re-jb'd it

Did I forgot anything?

apt-get install sbsettings sbsettingsinsomnia sbsettingsipod adv-cmds lsof sudo top git sqlite3 subversion bitesms com.phoenix.pandoracontrols playtrack org.chris-w.scrobble com.xwaves.xgps inetutils netcat network-cmds nmap rsync wget whois rubygems ruby backgrounder com.zataang.spotbright screen mobileterminal vim net.howett.cydelete metasploit3 php

text 4 Jul Sync your iPhone or iTouch from the Command Line

You could just run this command:

/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/Resources/reenumerate $(system_profiler | grep -A3 iPhone | grep Vendor | awk ‘{ print $3 }’),$(system_profiler | grep -A3 iPhone | grep Product | awk ‘{ print $3 }’)

But I suggest you first get your iPhone’s Vendor ID and Product ID and then set up an alias.

  1. Get your vendor id: system_profiler | grep -A3 iPhone | grep Vendor | awk ‘{ print $3 }’
  2. Get your product id: system_profiler | grep -A3 iPhone | grep Product | awk ‘{ print $3 }’
  3. Now do a test sync:
    • cd /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/Resources
    • ./reenumerate 0x05ac,0x1234
    • Your iPhone should now be syncing
  4. Now add an alias to this command to your ~/.bash_profile (replace 0x1234 w/ your Product ID):
    echo “alias synciphone=’/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/Resources/reenumerate 0x05ac,0x1234’” » ~/.bash_profile
  5. And finally restart your bash session or run: source ~/.bash_profile

Now you can run synciphone from any command line on your machine and your iPhone will sync. Yay!

Note: This is definitely a hack as it just drops the phones usb connection and let’s it reconnect (This includes your usb tethered internet connection). It doesn’t harm your device in any way, but iTunes will not sync if “automatically sync when device is connected” is unchecked. I’ll look for a better solution and post it if I can find one.

text 19 Jun iPhone 3 Bluetooth Services

Here’s what each is (I believe):

AVRCP - for play/pause/next/prv on bt headphones |

Audio Source - A2DP Renamed |

Handsfree Gateway - Use your computer’s mic to talk on the phone |

IrMC Sync - Some sort of simple syncing service… possibly a full on wireless sync |

PAN Network Access Profile - For Internet Tethering

Phonebook - For access to the contacts for bluetooth devices (for dialing via smart bluetooth headsets)

PnP Information - Not sure maybe something for making a peer-to-peer connection for gaming

Service Discovery - Standard Bluetooth service used to discover other services

Wireless iAP - Another profile for wireless tethering

Again, there’s no HID service being reported.  Also, I’m not an expert on this, and this is just a best guess.

Here’s a screenshot of the services I’m talking about: http://ericboehs.com/screenshots/20090619-182608.png

text 12 May Thoughts on Liars

When you don’t look up to someone, it’s easy to tell when they are lying.

The reverse is true when you look up to someone; it’s harder to tell when they’re lying.

text 7 May Thoughts on Legs

If you ask someone to do something, and your legs are in the open, chances are you won’t get what you want.

But if your legs are covered, your legs look unavailable, so you are more likely to get that person to do what you ask.

I think this tricks the mind into thinking your are helpless because you have no legs.

quote 17 Apr
YO DAWG I HERD YO AND YO DAWG LIKE YO YOS SO WE PUT YO DAWG IN A YO YO SO YO CAN YO YO YO DAWG WHILE YO DAWG YO YOS, DAWG
video 29 Mar

Did You Know

text 26 Mar Changing my website title...

I’m changing my website title to have my name in it. Here’s what google looks like pre-change: http://tr.im/hOJT Let’s c how fast google is.