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
git branch -D `git branch | grep 'ard_*'` |
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
# The file that does the voodoo magic | |
# Inspired by: | |
# - https://stackoverflow.com/questions/35869985/datetime-datetime-is-not-json-serializable | |
# - https://gist.github.com/jeffbrl/67eed588f2d32afcaf3bf779bd91f7a7 | |
import json | |
import datetime | |
def pretty_print(data): | |
print(json.dumps(data, default=__datetime_handler, indent=4)) |
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: | |
# - server (the forge server instance) | |
# - event (the forge event instance) | |
# - sudo_password (random password for sudo) | |
# - db_password (random password for database user) | |
# - callback (the callback URL) | |
# |