A "Best of the Best Practices" (BOBP) guide to developing in Python.
- "Build tools for others that you want to be built for you." - Kenneth Reitz
- "Simplicity is alway better than functionality." - Pieter Hintjens
$ pg_dump -h <public dns> -U <my username> -f <name of dump file .sql> <name of my database>
$ psql -U <postgresql username> -d <database name> -f <dump file that you want to restore>
#!/bin/bash | |
SESSION_FILE=~/.aws/mfa_session | |
PROFILE=${1:-$AWS_PROFILE} | |
ARGS='' | |
EVAL=0 | |
if [ "$PROFILE" = "-e" ]; then | |
EVAL=1 | |
shift |