Skip to content

Instantly share code, notes, and snippets.

@suprMax
suprMax / resetmacaddress.sh
Created Nov 2, 2018
Solves the airport wifi time limit problem. Don't forget to `sudo chmod +x resetmacaddress.sh`.
View resetmacaddress.sh
#!/bin/sh
# Getting interface name
interface=en0
read -p "Interface please (default en0): " otherinterface
[ -n "$otherinterface" ] && interface=$otherinterface
# Generating new MAC adderess
newmac=$(openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//')
View buttons.styl
// button reset
button,
.button
margin: 0
padding: 0
overflow: visible
border: none
outline: none
You can’t perform that action at this time.