Skip to content

Instantly share code, notes, and snippets.

View itsjohannawren's full-sized avatar

Johanna Walter itsjohannawren

View GitHub Profile
@itsjohannawren
itsjohannawren / qemu-vmnet-macos.patch
Last active February 12, 2023 11:55
Patch for QEMU that allows use of macOS's vmnet framework instead of relying on TAP devices
diff --color -Nurb a/configure b/configure
--- a/configure 2022-12-13 12:54:37
+++ b/configure 2023-02-12 03:26:52
@@ -485,6 +485,7 @@
# Disable attempts to use ObjectiveC features in os/object.h since they
# won't work when we're compiling with gcc as a C compiler.
QEMU_CFLAGS="-DOS_OBJECT_USE_OBJC=0 $QEMU_CFLAGS"
+ QEMU_LDFLAGS="-framework CoreFoundation -framework IOKit -framework vmnet $QEMU_LDFLAGS"
;;
sunos)
@itsjohannawren
itsjohannawren / digitalocean.sh
Last active September 22, 2022 03:07
openrc init script to load Digitalocean configuration data into non-support distributions
#!/sbin/openrc-run
description="Loads Digital Ocean droplet configuration"
required_files="/media/cdrom/openstack/latest/meta_data.json"
depend() {
need localmount
before network
before hostname
}

Keybase proof

I hereby claim:

  • I am itsjohannawren on github.
  • I am jwalter (https://keybase.io/jwalter) on keybase.
  • I have a public key ASBKJJuZh8GjC8Wv6LrsdwPjWAGMSEi4FoF4zPHE7lAoAgo

To claim this, I am signing this object:

bgColor

Background and badge color stack for iTerm2

Requirements

  • iTerm2 v3.3.0+
  • iTerm2 theme with a dark background

Install

Keybase proof

I hereby claim:

  • I am jeffwalter on github.
  • I am jwalter (https://keybase.io/jwalter) on keybase.
  • I have a public key ASBKJJuZh8GjC8Wv6LrsdwPjWAGMSEi4FoF4zPHE7lAoAgo

To claim this, I am signing this object: