Skip to content

Instantly share code, notes, and snippets.

View meffie's full-sized avatar

Michael Meffie meffie

View GitHub Profile
@meffie
meffie / virsh-rename
Created February 16, 2017 14:15
Rename a libvirt domain.
#!/bin/sh
#
# Rename a domain.
# Note: The domain must be shutdown.
#
die() {
echo $1 >&2
exit 1
}
@meffie
meffie / kernel-ppa
Last active April 6, 2023 19:59
Shell script to download mainline kernel ppa packages published by the Ubuntu kernel team.
#!/bin/sh
#
# Download mainline kernel ppa packages published by the Ubuntu kernel team.
#
# usage: kernel-ppa list
# kernel-ppa get [<version>]
# kernel-ppa install
#
#
DOT files for "Replacing Objects in Python"
@meffie
meffie / aarch64qemu
Last active August 29, 2015 14:16 — forked from ecliptik/aarch64qemu.md
Setting up a Ubuntu 14.04 or Debian 8 (jessie) arm64 VM
This is mainly a notes dump and should be used for reference. This guide assumes:
*Ubuntu 14.04 (or Debian 8) hypervisor/host with bridge networking
*Knowledge of qemu
*Knowledge of debootstrap
Limitations of the qemu-system-aarch64 emulator on x86 include only being able to emulate one CPU and no KVM support.