Skip to content

Instantly share code, notes, and snippets.

View Ehekatl's full-sized avatar

Dylan Wang Ehekatl

View GitHub Profile
@Ehekatl
Ehekatl / test-maas-enlistment.sh
Created January 22, 2019 06:26 — forked from mpontillo/test-maas-enlistment.sh
Script to fetch the default TFTP configuration from MAAS and fetch the cloud-config URL.
#!/bin/bash -e
TMPDIR="$(mktemp -d)"
function cleanup() {
rm -rf "$TMPDIR"
}
trap cleanup EXIT
@Ehekatl
Ehekatl / netpps.sh
Created June 19, 2018 11:58 — forked from joemiller/netpps.sh
shell: quick linux scripts for showing network bandwidth or packets-per-second
#!/bin/bash
if [ -z "$1" ]; then
echo
echo usage: $0 network-interface
echo
echo e.g. $0 eth0
echo
echo shows packets-per-second