4 ms·
function remac { sudo /System/Library/PrivateFrameworks/Apple80211.framework/Resources/airport -z sudo ifconfig en0 ether $(openssl rand -hex 6 | sed 's
by yakshaving_jgt 8y ago
function remac {
sudo /System/Library/PrivateFrameworks/Apple80211.framework/Resources/airport -z
sudo ifconfig en0 ether $(openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//')
sudo networksetup -detectnewhardware
echo $(ifconfig en0 | grep ether)
}
Explanation: https://jezenthomas.com/free-internet-on-trains/ https://jezenthomas.com/free-internet-on-trains/
Also, when I need to share a code snippet I pipe it to this:
alias ix="curl -F 'f:1=<-' ix.io"
Oh, and perhaps the most important part of my .vimrc: https://github.com/jezen/dotfiles/blob/master/.vimrc#L160 https://github.com/jezen/dotfiles/blob/master/.vimrc#L160