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
from boto import ec2 | |
import requests | |
import urllib2, base64 | |
for reg in ec2.regions(): | |
wasted_space = 0 | |
print "connecting to ", reg.name | |
try: | |
conn = ec2.connect_to_region(reg.name) | |
vol = conn.get_all_volumes() |
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 | |
# -*- coding: utf-8 -*- | |
import time | |
import urllib2 | |
import json | |
last_price=10.0 | |
ml="-" | |
def get_data2(web_site_api, currency_name): | |
global last_price |
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 | |
# based on cb-exit used in CrunchBang Linux <http://crunchbanglinux.org/> | |
# @danielfl: a few fixes to work in actual *buntu versions | |
import pygtk | |
pygtk.require('2.0') | |
import gtk | |
import os | |
import getpass |