Skip to content

Instantly share code, notes, and snippets.

@rfong
Last active November 6, 2017 19:43
Show Gist options
  • Save rfong/080fa7fc89b12bf4313c37aa5ec96107 to your computer and use it in GitHub Desktop.
Save rfong/080fa7fc89b12bf4313c37aa5ec96107 to your computer and use it in GitHub Desktop.
WIP; fixes for things osx 10.12 upgrade breaks
#!/bin/bash
# OSX 10.12 broke brew; I just nuked it and reinstalled
# OSX 10.12 switched from GNU grep to FreeBSD grep, breaking `grep -Po`
brew install grep --with-default-names
# System Integrity Protection fucks up a lot of dev shit
sudo chown -R $USER /usr/local
# OSX 10.12 apparently doesn't have fucking wget
brew install wget --with-libressl
# TeX stopped working; will probably just reinstall but haven't done it yet
# `netstat -tulpn` doesn't exist anymore; substitute:
# `sudo lsof -iTCP -sTCP:LISTEN -n -P`
# Obviously, package managers got totally fucked
brew install nvm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment