I hereby claim:
- I am kjoconnor on github.
- I am gooeyblob (https://keybase.io/gooeyblob) on keybase.
- I have a public key ASBnf2dJdzlAv0fp95hoai_HHUAXITBOc1f0LX0Jtv3RuQo
To claim this, I am signing this object:
import pickle | |
import os.path | |
from googleapiclient.discovery import build | |
from google_auth_oauthlib.flow import InstalledAppFlow | |
from google.auth.transport.requests import Request | |
# If modifying these scopes, delete the file token.pickle. | |
SCOPES = ['https://mail.google.com/'] | |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
type -P chpasswd 2>&1 > /dev/null | |
if [ $? -ne 0 ]; then | |
echo "chpasswd not available" | |
exit 1 | |
fi | |
read -p "Username: " USERNAME |
import tornado.httpserver | |
import tornado.ioloop | |
import tornado.web | |
PORT = 10045 | |
class Application(tornado.web.Application): | |
def __init__(self): | |
handlers = [ |
import sys | |
from boto.ec2 import connect_to_region | |
target_sg = sys.argv[1] | |
ec2 = connect_to_region('us-west-1') | |
target_sg_object = ec2.get_all_security_groups([target_sg])[0] |
from boto.ec2 import connect_to_region | |
from boto.elasticache import connect_to_region as elasticache_region | |
target = 'sg-name' | |
ec2 = connect_to_region('us-east-1') | |
ec = elasticache_region('us-east-1') | |
sgs = ec2.get_all_security_groups() |
import re | |
import telnetlib | |
import time | |
from collections import Counter | |
hosts = [ | |
('localhost', 11211) | |
] |
import sys | |
from boto.ec2 import connect_to_region | |
from datetime import datetime, timedelta | |
try: | |
days = int(sys.argv[1]) | |
except IndexError: | |
days = 7 |
from boto.ec2 import connect_to_region | |
ec2 = connect_to_region('us-west-1') | |
target = '127.0.0.1/32' | |
remove = False | |
sgs = ec2.get_all_security_groups() | |
for sg in sgs: | |
for rule in sg.rules: |
import logging | |
import requests | |
import tldextract | |
from collections import deque | |
from urllib import quote_plus | |
from urlparse import urlparse, urlunparse | |
DEFAULT_ICON = "http://mozorg.cdn.mozilla.net/media/img/"\ |