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
# Some utilities for sending notifiations to yourself from the command line (mac only). | |
# Just add them to your ~/.bashrc and fill in these parameters. | |
# See them all in action: "ugh <long running command> && woof command succeeed || woof command failed" | |
TWITTER_HANDLE= # twitter handle | |
EMAIL_ADDRESS= # email address | |
CELL_EMAIL_ADDRESS= # email address for your cell phone (ie [email protected]) | |
TERMINAL_APP="com.apple.Terminal" # replace with iterm if you use that | |
THEME_SONG="~/waiting.mp3" # replace with a path to your theme song |
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 | |
""" | |
A script to query the Amazon Web Services usage reports programmatically. | |
Ideally this wouldn't exist, and Amazon would provide an API we can use | |
instead, but hey - that's life. | |
Basically takes your AWS account username and password, logs into the | |
website as you, and grabs the data out. Always gets the 'All Usage Types' |