Created
April 20, 2020 22:42
-
-
Save junipertcy/a02a5b68531fe33bb6bdcff665ec3bbd to your computer and use it in GitHub Desktop.
Useful one-liners
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Unlink and then relink all brew stuff | |
brew list -1 | while read line; do brew unlink $line; brew link $line; done | |
# Update all pip packages | |
pip3 list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip3 install -U |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment