This file contains hidden or 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/zsh | |
| if [ "$#" -ne 2 ]; then | |
| echo "Usage: $0 OLD_VERSION NEW_VERSION" >&2 | |
| exit 1 | |
| fi | |
| export OLD=$1 | |
| export NEW=$2 |
This file contains hidden or 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 python3 | |
| # | |
| # Usage: python3 uber.py ~/Downloads/Takeout/Mail/Uber.mbox | |
| # | |
| # Dependencies: Python 3.4+ | |
| # | |
| # How to get the .mbox export: | |
| # | |
| # In Gmail, create a filter that applies the label "Uber" to emails matching: | |
| # |
This file contains hidden or 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
| <IfModule mod_expires.c> | |
| ExpiresActive on | |
| ExpiresDefault "access plus 1 month" | |
| # CSS | |
| ExpiresByType text/css "access plus 1 year" | |
| # Data interchange | |
| ExpiresByType application/atom+xml "access plus 1 hour" |
This file contains hidden or 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
| # Note: VAT identification numbers for Greece use "EL", not "GR". | |
| COUNTRY_CODES_EU = %w[ | |
| AT BE BG CY CZ DK EE FI FR DE GR HU IE IT | |
| LV LT LU MT NL PL PT RO SK SI ES SE GB | |
| ] |