Skip to content

Instantly share code, notes, and snippets.

View syhe's full-sized avatar

Sýlvan Heuser syhe

View GitHub Profile
@syhe
syhe / maclookup.sh
Created May 15, 2020 09:48
Dump of paraxor's maclookup.sh
#!/bin/sh
# maclookup.sh 0.2 by paraxor (Evan Teitelman)
# Looks up MAC addresses in the IEEE MA-L/OUI public listing.
# override with -f
oui_file=/usr/share/maclookup/oui.txt
# override with -a
additional_info=false
# override with -v
verbose=/dev/null
@syhe
syhe / simple_modman_test.sh
Last active April 26, 2017 15:29
Simple modman test
#!/usr/bin/env bash
set -e
MODMAN="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/modman"
TMPDIR=$(mktemp -d)
function cleanup () {
rm -rfv "$TMPDIR"
}
trap cleanup EXIT