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:
# Assuming you're in the 'debian' directory and the directories (var, usr, etc.) are contained within | |
find -type f | egrep -v '^\./DEBIAN' | xargs --replace=hh -n1 md5sum "hh" | sed 's/\ \.\///' > DEBIAN/md5sums |
1. Paste into /etc/yum.repos.d/puppetlabs.repo | |
[puppetlabs] | |
name=Puppet Labs - $basearch | |
baseurl=http://yum.puppetlabs.com/el/6Server/products/$basearch | |
failovermethod=priority | |
priority=0 | |
enabled=0 | |
2. rpm --import http://yum.puppetlabs.com/RPM-GPG-KEY-puppetlabs |
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.cloudwatch import CloudWatchConnection | |
from boto.sqs.connection import SQSConnection | |
import boto | |
import sys | |
from datetime import datetime, timedelta | |
import locale | |
from time import sleep | |
if(len(sys.argv) > 1): | |
queue_name = sys.argv[1] |
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/'] | |
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: |
#! /bin/sh | |
# | |
# Logstash Start/Stop logstash | |
# | |
# chkconfig: 345 99 99 | |
# description: Logstash | |
# processname: logstash | |
logstash_bin="java -Djava.net.preferIPv4Stack=true -jar /opt/logstash/logstash-1.0.11pre-monolithic.jar" | |
logstash_log="/opt/logstash/logstash-agent.log" |
I hereby claim:
To claim this, I am signing this object:
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/"\ |
import json | |
import logging | |
import requests | |
try: | |
from boto.ec2 import connect_to_region as _connect_to_region | |
has_boto = True | |
except ImportError: | |
has_boto = False |