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
# Publish a private repository to a publically-viewable repo, with one private file totally purged | |
# | |
# Takes extreme precaution to purge all objects & references with sensitive data | |
export REPO_PATH='/tmp/staging-repository' # Where our temporary repo lives | |
export PRIVATE_REPO='[email protected]:mitoc/mitoc-ansible.git' # Private repo with sensitive data | |
export PUBLIC_REPO='[email protected]:DavidCain/mitoc-ansible.git' # Repo viewable to the world | |
export SENSITIVE_FILE='env_vars/production.yml' # File to be omitted from history |
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
""" | |
Gather some basic statistics about trips in the past year. | |
""" | |
from __future__ import print_function | |
from collections import Counter, OrderedDict | |
from datetime import timedelta | |
from ws import models | |
from ws.utils import dates as dateutils |
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
""" | |
Gather affiliation statistic from this year's Winter School | |
""" | |
from collections import Counter, OrderedDict | |
import csv | |
from ws import models | |
from ws.utils import dates as dateutils | |