Skip to content

Instantly share code, notes, and snippets.

View kellya's full-sized avatar
💭
greatly disliking this status block

Alex Kelly kellya

💭
greatly disliking this status block
View GitHub Profile
@kellya
kellya / pip_upgrade.sh
Last active September 11, 2015 21:16
#!/usr/bin/env bash
# Defaults to pip2 unless otherwise specified
if [ "$1" = 3 ]; then
PYTHON_VERSION=3
fi
function outdated() {
# List out outdated python packages delimited by newline
pip${PYTHON_VERSION} list --outdated \