Skip to content

Instantly share code, notes, and snippets.

@linki
Created December 2, 2014 19:49
Show Gist options
  • Save linki/252a6146bb301a9a08cf to your computer and use it in GitHub Desktop.
Save linki/252a6146bb301a9a08cf to your computer and use it in GitHub Desktop.
brew reinstall
10130 cd Desktop
10132 brew list
10134 rm brews.txt
10135 brew list > ~/Desktop/brews.txt
10136 cat brews.txt
10137 cd `brew --prefix`
10138 rm -rf Cellar
10139 brew prune
10140 rm -rf Library .git .gitignore bin/brew README.md share/man/man1/brew
10141 rm -rf ~/Library/Caches/Homebrew
10142 ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
10143* ping Marge
10145 ls -la
10146 chwon -R Martin:staff /usr/local
10147 chown -R Martin:staff /usr/local
10148 sudo chown -R Martin:staff /usr/local
10150 brew install caskroom/cask/brew-cask
10151 brew update
10152 brew cask update
10153 cat ~/Desktop/brews.txt| xargs brew install -v
10154* cd ..
10155* mkdir op
10156* cd op
10157* vim op.rb
10158* cd /Volumes/Share
10159* cd Screencasts
10160* ls
10161* bundle
10163* gem install interception
10164* ./update_all.rb
10166 brew cask list > ~/Desktop/brewcasks.txt
10167 cat ~/Desktop/brewcasks.txt| xargs brew cask uninstall
10168 brew cask list
10169 cat ~/Desktop/brewcasks.txt| xargs brew cask install -v
10170 cat ~/Desktop/brewcasks.txt| xargs brew cask install --verbose
10171 history
10172 gist
10173 brew install gist
10175 cat ~/Desktop/brews.txt| xargs brew unlink
10176 cat ~/Desktop/brews.txt| xargs brew link
10177 cat ~/Desktop/brewcasks.txt| xargs brew cask unlink
10178 brew doctor
10179 brew cask doctor
10180 brew cask cleanup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment