Skip to content

Instantly share code, notes, and snippets.

View renjiege's full-sized avatar

Renjie Ge renjiege

View GitHub Profile
@daveluo
daveluo / cifar10-darknet-gist0509.ipynb
Last active May 13, 2019 16:35
Demo of CPU-only Predictions and Pytorch Model Saving/Loading, 5/9/2018
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rietta
rietta / remove_and_reinstall_homebrew.sh
Created March 17, 2013 03:01
Reinstall Homebrew (Mac OS X)
# Thanks to http://dev.enekoalonso.com/2011/08/09/uninstalling-brew-so-i-can-reinstall/
cd `brew --prefix`
rm -rf Cellar
brew prune
rm -rf Library .git .gitignore bin/brew README.md share/man/man1/brew
rm -rf ~/Library/Caches/Homebrew
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"