Skip to content

Instantly share code, notes, and snippets.

View tatic0's full-sized avatar

fran varas tatic0

View GitHub Profile
#!/usr/bin/env python
# -*- coding:utf-8 -*-
#
# Dice display for Raspberry Pi + PaPiRus Zero 1.2
# V1.2
# By Joachim Robert
# http://github.com/joachimesque
# Shared under the WTFPL - Do What the Fuck You Want to Public License
#
@tatic0
tatic0 / macaddresslookup.sh
Created July 2, 2012 14:18
mac address lookup (needs wireshark installed)
#!/bin/bash
if [[ ! $1 ]]
then echo "Usage: $0 <mac address>"
exit 1
else
mac=$1
#echo ${mac:0:8}
oui=${mac:0:8}
grep -i $oui /usr/share/wireshark/manuf