Skip to content

Instantly share code, notes, and snippets.

View ckrough's full-sized avatar
🏠
I'm totally smiling in this picture.

Chris Krough ckrough

🏠
I'm totally smiling in this picture.
View GitHub Profile
@ckrough
ckrough / gist:2991359
Created June 25, 2012 21:26
monitoring tools
Inputs/Generation
http://metrics.codahale.com/
http://bazaarvoice.github.com/snitch/
Collection
@ckrough
ckrough / setup-aws-env.sh
Last active December 18, 2015 13:59
Simple AWS Command Line tool environment setup script
# AWS environments root
AWS_ENV_ROOT="${HOME}/.aws"
# Make sure we got a valid environment variable
#
if [[ -z "${1}" ]] || [[ ! -d "${AWS_ENV_ROOT}/${1}/" ]]; then
echo "No environment name specified or the environment directory is missing."
echo
echo "Usage:"
echo "setup-aws-env.sh <environment>"
@ckrough
ckrough / base.py
Created August 27, 2013 19:01
test
def __init__(self, id, name, size, driver, extra=None):
self.id = id
self.name = name
self.size = size
self.driver = driver
self.extra = extra
UuidMixin.__init__(self)
class RackspaceNodeDriver(OpenStack_1_1_NodeDriver):
name = 'Rackspace Cloud'
website = 'http://www.rackspace.com'
connectionCls = RackspaceConnection
type = Provider.RACKSPACE
api_name = None
def __init__(self, key, secret=None, secure=True, host=None, port=None,
region='dfw', **kwargs):
"""
class RackspaceNodeDriver(OpenStack_1_1_NodeDriver):
name = 'Rackspace Cloud'
website = 'http://www.rackspace.com'
connectionCls = RackspaceConnection
type = Provider.RACKSPACE
api_name = None
def __init__(self, key, secret=None, secure=True, host=None, port=None,
region='dfw', **kwargs):
"""
2014-05-03 12:52:54.919 TRACE cinder Traceback (most recent call last):
2014-05-03 12:52:54.919 TRACE cinder File "./cinder-api", line 55, in <module>
2014-05-03 12:52:54.919 TRACE cinder rpc.init(CONF)
2014-05-03 12:52:54.919 TRACE cinder File "/opt/stack/cinder/cinder/rpc.py", line 63, in init
2014-05-03 12:52:54.919 TRACE cinder aliases=TRANSPORT_ALIASES)
2014-05-03 12:52:54.919 TRACE cinder File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/transport.py", line 183, in get_transport
2014-05-03 12:52:54.919 TRACE cinder invoke_kwds=kwargs)
2014-05-03 12:52:54.919 TRACE cinder File "/usr/local/lib/python2.7/dist-packages/stevedore/driver.py", line 45, in __init__
2014-05-03 12:52:54.919 TRACE cinder verify_requirements=verify_requirements,
2014-05-03 12:52:54.919 TRACE cinder File "/usr/local/lib/python2.7/dist-packages/stevedore/named.py", line 55, in __init__

Keybase proof

I hereby claim:

  • I am ckrough on github.
  • I am ckrough (https://keybase.io/ckrough) on keybase.
  • I have a public key whose fingerprint is E246 5CDF A70B F35A F4CA 4C9F EF97 E54C 348C 1F97

To claim this, I am signing this object:

# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
*.pyc
app:
build: .
links:
- db
ports:
- "8600:8600"
volumes:
- ./app:/opt/ustudio/notices
db:
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<head>
<title>ckrough subscriptions in feedly Cloud</title>
</head>
<body>
<outline text="Tech" title="Tech">
<outline type="rss" text="Tectonic Blog" title="Tectonic Blog" xmlUrl="https://tectonic.com/atom.xml" htmlUrl="https://tectonic.com"/>
<outline type="rss" text="Twitter Engineering" title="Twitter Engineering" xmlUrl="http://engineering.twitter.com/feeds/posts/default?alt=rss" htmlUrl="https://blog.twitter.com/"/>