Skip to content

Instantly share code, notes, and snippets.

View lucasbento's full-sized avatar
:shipit:

Lucas Bento lucasbento

:shipit:
View GitHub Profile
@lucasbento
lucasbento / spoof-mac-address.sh
Created October 17, 2018 07:08
Use more than 15 minutes of free wi-fi :)
#!/bin/bash
newMACAddress=$(openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//')
ifconfig en0 ether $newMACAddress
echo "🔥 new MAC address: $newMACAddress"
@lucasbento
lucasbento / reload.sh
Created May 10, 2019 09:15
Reload react-native on Android from CLI
adb shell input keyevent 82 && adb shell input keyevent 19 && adb shell input keyevent 23