Skip to content

Instantly share code, notes, and snippets.

View zobkiw's full-sized avatar

Joe Zobkiw zobkiw

View GitHub Profile
zobkiw /
Created April 10, 2021 12:35
aws_billing - assuming a proper install and configuration of the aws cli and jq, call this script with the name of a configured profile (or default) and it will print out a summary of your bill.
profile=$1 # aws config profile name or default ie: ./ default
if [ -z $1 ]; then
echo "profile must be the first and only parameter...exiting."
exit 0
echo "Gathering pricing information for DAY BEFORE YESTERDAY..."
#!/usr/bin/env python
# Reflects the requests from HTTP methods GET, POST, PUT, and DELETE
# Written by Nathan Hamiel (2010)
from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler
from optparse import OptionParser
class RequestHandler(BaseHTTPRequestHandler):
def do_GET(self):