Skip to content

Instantly share code, notes, and snippets.

View corbinbs's full-sized avatar
💭
🚜💻📈

Brian S. Corbin corbinbs

💭
🚜💻📈
View GitHub Profile
@corbinbs
corbinbs / hack.sh
Created March 31, 2012 18:35 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#
#!/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'