Skip to content

Instantly share code, notes, and snippets.

@alf808
alf808 / gist:980c5085b2ecf44d53014b7552ca2211
Created Aug 6, 2020
get rid of big files in git history
View gist:980c5085b2ecf44d53014b7552ca2211
git filter-branch --tree-filter 'rm -f BIG_FILE' HEAD
@alf808
alf808 / activate
Created Jul 29, 2020 — forked from martin-martin/activate
Example activate script for a Python Virtual Environment
View activate
# 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
View keybase.md

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: