Skip to content

Instantly share code, notes, and snippets.

🏳️‍🌈 💻 🏳️‍🌈

Amy Tobey tobert

🏳️‍🌈 💻 🏳️‍🌈
View GitHub Profile
# start up my Arch machine
# for this to work I had to extract kernel & initramfs from the ISO
# which is a surprisingly a pain in the butt on OSX but easy enough
# to find on Google, tldr add 2K of zeroes to the front of the ISO
# then it'll mount just fine
# to make root disk:
# dd if=/dev/zero of=root.img conv=sparse bs=1000000 count=20000
tobert / main.go
Created Jan 1, 2019
silly example
View main.go
func main() {
input := []string{
data := make(map[string][]string)
tobert /
Created Jul 3, 2018
An old perl hack for generating a colored grid of cluster load from load averages collected by collectd in RRD files.
# this needs a serious cleanup/rewrite - it was hacked together
# very quickly for a completely different purpose many years ago
# and has grown in the worst organic way since
# but ... it does work fairly well so it persists
# Copyright 2007-2011 A Tobey <>
use strict;
use warnings;
tobert /
Created Feb 6, 2018
a quick & dirty yaml path printer for embedding in shell scripts
#!/bin/env python3
# this is NOT a human-facing tool
# This is to replace the legacy data files being used to populate
# variables in a shell script and instead get them from the vars
# files even though that still feels weird.
# Example:
# azs=$( roles/cassandra/vars/clusters.yml clusters/multitenant-us-east-1/availability_zones)
tobert /
Created Nov 28, 2017
MPKmini2 MIDI + fluidsynth CLI only

Akai MPK Mini 2 + Fluidsynth + Linux synthesizer

This is a quick & dirty way to attach an Akai MPK mini 2 USB MIDI controller to Linux so the Linux machine can act as its synthesizer. This approach should work for any modern USB MIDI instrument.


I looked around on the web and, surprisingly, I didn't find any simple options for quickly starting Fluidsynth up and wiring it to a MIDI controller for simple keyboard usage. There are a few out there that involve using Qsynth which is cool but I didn't want a GUI for something relatively simple.

Shell Session

tobert /
Created Jun 15, 2017
Instructions + iptables script for MITM laptop for tcpdump and/or wireshark
# put this in /etc/dnsmasq.conf then start/restart it
# modify the interface= to point at the ethernet port the device is connected to
# optionally, set MAC address in the dhcp-host line to be the MAC of the device
# set INTERNET_INTERFACE to the laptop's internet access interface, e.g. wifi interfaces
tobert / reclaimWin10.ps1
Created Apr 3, 2017
locally customized version of the Win10 setup script
View reclaimWin10.ps1
# Win10 Initial Setup Script
# Author: Disassembler <>
# Version: 1.7, 2016-08-15
# dasm's script:
# This script leaves more MS defaults on, including MS security features.
# Tweaked based on personal preferences for @alirobe 2016-11-16 - v1.7.1
View cli.go
package hal
import (
/* hal.Cmd, hal.Param, hal.CmdInst, and hal.ParamInst are handles for hal's

Keybase proof

I hereby claim:

  • I am tobert on github.
  • I am tobert ( on keybase.
  • I have a public key whose fingerprint is AF40 7321 06AA 750B 287F 5265 A241 73D6 A6B8 5735

To claim this, I am signing this object: