Skip to content

Instantly share code, notes, and snippets.

@samtingleff
samtingleff / OpenRTB-3.0-IDs.markdown
Last active June 26, 2019 00:00
Reconciling proposals for more complex identity in OpenRTB 3.0
### Keybase proof
I hereby claim:
* I am samtingleff on github.
* I am samtingleff (https://keybase.io/samtingleff) on keybase.
* I have a public key whose fingerprint is 871C 4EDE F5C0 03E4 DBD2 49F6 9A9E 2392 37D4 BB70
To claim this, I am signing this object:
echo "thread apply all bt" > /tmp/threads.txt
gdb -batch -x /tmp/threads.txt -pid 24649
Running debian lenny as a pv domu guest on OpenSolaris 2009.06 and later XVM host.
1. Build an HVM lenny guest and install debootstrap.
2. Create zfs vols for the pv guest.
3. Attach the destination vol to the HVM guest (then reboot to take effect):
osol $ pfexec virsh attach-disk lenny-hvm /dev/zvol/dsk/rpool/xvm/lenny-01-xvba hdb
4. In the HVM guest, partition the disk and format a root partition. Mount it at /mnt.
hvm # deboostrap lenny /mnt
5. Prepare /mnt for boot:
hvm # cp /etc/apt/sources.list /mnt/etc/apt/
<!-- xen config file for a debian lenny domu guest on an OpenSolaris 2009.06 dom0 host -->
<domain type="xen" id="-1">
<name>some-host</name>
<uuid>6CF16458-3DD9-4949-939E-E5CB5FBA909B</uuid>
<os>
<type arch="i686">linux</type>
<kernel>/rpool/xvm/kernels/some-host/vmlinuz-2.6.26-2-xen-686</kernel>
<initrd>/rpool/xvm/kernels/some-host/initrd.img-2.6.26-2-xen-686</initrd>
<cmdline>root=/dev/xvda1 ro console=tty0</cmdline>
</os>
How to create a 4MB FreeDOS boot disk for eg, doing a motherboard bios upgrade.
Originally from http://www.linuxinsight.com/how-to-flash-motherboard-bios-from-linux-no-dos-windows-no-floppy-drive.html
The following is a brief outline of how I created a 4MB CD boot image to update the bios on a motherboard I have been considering buying.
I do not have this motherboard, but I have tested the bootable CD up to the point of actually flashing the bios.
FWIW, my computer runs PATA / IDE HDs and optical drives. Not SATA.
Adjust accordingly to your distro, hardware, etc.
I'm human, and make typos on occasion. So double check your input.