Skip to content

Instantly share code, notes, and snippets.

View bhagany's full-sized avatar

Brent Hagany bhagany

  • Etsy
  • Appleton, WI
View GitHub Profile
]
corrected_rules = {
'.st-module-checkout-custom-form': 18,
'.st-module-checkout-custom-form-field': 19,
'.st-module-checkout-paragraph': 20,
}
class Migration(DataMigration):
#!/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