Skip to content

Instantly share code, notes, and snippets.

Assumes you're on a Mac or know what you're doing.

Extract driver, assumes location

$ dd if=HD0-someimage.hda of=./driver.img skip=64 count=32 bs=512

Calculate hash

$ md5 driver.img
@Cheesebaron
Cheesebaron / gist:1385260
Created November 22, 2011 09:11
Method to center around overlay items
private void CenterAroundOverlayItems()
{
if (itemizedOverlay.OverlayItems.Count == 0) return;
double hpadding = 0.1;
double vpadding = 0.15;
//start wide
int minLatitude = (int)(90 * 1E6);
int maxLatitude = (int)(-90 * 1E6);
./configure --enable-vmwgfx-experimental-api --disable-intel --disable-radeon