Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am elrzn on github.
* I am elrzn (https://keybase.io/elrzn) on keybase.
* I have a public key ASCcSMN5imdqv-kQmPYWBtKguYmtfFcunksSVDZvHp1HHQo
To claim this, I am signing this object:
@elrzn
elrzn / foo.sh
Last active November 19, 2015 14:53
Checkout all files (`git checkout *` fails for some reason)
git status | awk '/modified/ { print $2 }' | xargs git checkout
@elrzn
elrzn / gist:0c04a9c5ff098911e97e
Last active October 9, 2015 13:58
Notes on using the Nix Package Manager under OS X
# Nuke Homebrew :)
sudo rm -rf /opt/homebrew-cask
brew list | xargs brew uninstall --force
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
# Install Nix
curl https://nixos.org/nix/install | sh # :dance:
# Add the following lines at the end of your ~/.bash_profile, ~/.zshrc...
if [ -e /Users/$USER/.nix-profile/etc/profile.d/nix.sh ];