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
# Requires use of Flask Login for the user tracking | |
# Implement by using AuditableMixin in your model class declarations | |
# e.g. class ImportantThing(AuditableMixin, Base): | |
import json | |
from flask_login import current_user | |
from sqlalchemy import event, inspect | |
from sqlalchemy.orm import class_mapper | |
from sqlalchemy.orm.attributes import get_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
# For use in a shell: | |
# Download this file to /usr/local/bin/git-pull-recursive, then chmod 755 it to install git-pull-recursive | |
find . -type d -name .git -exec sh -c "cd \"{}\"/../ && pwd && git pull" \; |
OlderNewer