Skip to content

Instantly share code, notes, and snippets.

@alf808
alf808 / gist:980c5085b2ecf44d53014b7552ca2211
Created August 6, 2020 20:15
get rid of big files in git history
git filter-branch --tree-filter 'rm -f BIG_FILE' HEAD
@alf808
alf808 / activate
Created July 29, 2020 04:44 — forked from martin-martin/activate
Example activate script for a Python Virtual Environment
# This file must be used with "source bin/activate" *from bash*
# you cannot run it directly
deactivate () {
# reset old environment variables
if [ -n "${_OLD_VIRTUAL_PATH:-}" ] ; then
PATH="${_OLD_VIRTUAL_PATH:-}"
export PATH
unset _OLD_VIRTUAL_PATH
fi

Keybase proof

I hereby claim:

  • I am alf808 on github.
  • I am alf808 (https://keybase.io/alf808) on keybase.
  • I have a public key ASA9VeXgkeXsCtrNmykcsNUk4PCaUIFzXQpaAi_t6uMhjwo

To claim this, I am signing this object: