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
#!/usr/bin/env bash | |
# Delete .pyc files and empty directories from root of project | |
cd ./$(git rev-parse --show-cdup) | |
# Clean-up | |
find . -name ".DS_Store" -delete | |
NUM_PYC_FILES=$( find . -name "*.pyc" | wc -l | tr -d ' ' ) | |
if [ $NUM_PYC_FILES -gt 0 ]; then |
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
#!/usr/bin/env python | |
import argparse | |
import calendar | |
import datetime | |
import hashlib | |
import json | |
import logging | |
import requests | |
import sqlite3 |