I hereby claim:
- I am martinsnygg on github.
- I am martinsnygg (https://keybase.io/martinsnygg) on keybase.
- I have a public key whose fingerprint is F840 FCB4 2E02 E113 DCA8 93D5 5712 724E 5DBB 8ABE
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# Check for Homebrew, | |
# Install if we don't have it | |
if test ! $(which brew); then | |
echo "Installing homebrew..." | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
fi | |
# Update homebrew recipes | |
brew update |
# Install GNU core utilities (those that come with OS X are outdated) | |
brew install coreutils | |
# Install GNU `find`, `locate`, `updatedb`, and `xargs`, g-prefixed | |
brew install findutils | |
# Install Bash 4 | |
brew install bash | |
# Install more recent versions of some OS X tools |
#!/bin/bash | |
# diassociate from wireless network and flush cache | |
sudo airport -z | |
dscacheutil -flushcache | |
# set random MAC id on en0 | |
sudo ifconfig en0 ether `openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//'` | |
# set random hostname |
apt-get -y update && apt-get -y dist-upgrade && apt-get -y autoremove && apt-get -y autoclean | |
apt-get install vim vim-nox screen unzip zip python-software-properties aptitude curl ntp ntpdate git-core wget ca-certificates binutils raspi-config -y | |
wget http://goo.gl/1BOfJ -O /usr/bin/rpi-update && chmod +x /usr/bin/rpi-update | |
rpi-update 240 | |
reboot |
open facetime://name@host.tld |