I hereby claim:
- I am brentley on github.
- I am brentley (https://keybase.io/brentley) on keybase.
- I have a public key ASBNo9iQrU3_lbXXrgwNOzn9ROkGwko7UQRRl_aX13GcRgo
To claim this, I am signing this object:
This file contains hidden or 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
1) First, make sure you local machine has EB CLI, for Mac, simple do brew install awsebcli | |
2) Create new AWS credentials, add it to your local machine like so | |
open or create the file: | |
~/.aws/credentials | |
add the following in this new file: |
This file contains hidden or 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
import argparse | |
import json | |
import re | |
import sys | |
import uuid | |
class OpenVPNNetworkConfiguration(object): | |
KNOWN_CONFIG_KEYS = { | |
'name': {'key': 'Name'}, |
This file contains hidden or 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains hidden or 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
#!/bin/bash | |
# init script for Cassandra. | |
# chkconfig: 2345 90 10 | |
# description: Cassandra | |
# script slightly modified from | |
# http://blog.milford.io/2010/06/installing-apache-cassandra-on-centos/ | |
. /etc/rc.d/init.d/functions | |
CASS_HOME=$(ls -d /usr/local/apache-cassandra-*) |
This file contains hidden or 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
2016-09-27 01:59:14.0724 INFO localhost-startStop-1 com.netflix.priam.identity.token.DeadTokenRetriever Looking for a token from any dead node | |
2016-09-27 01:59:15.0194 INFO localhost-startStop-1 com.netflix.priam.aws.AWSMembership Querying Amazon returned following instance in the ASG: us-west-2b --> i-0b744813 | |
2016-09-27 01:59:15.0194 INFO localhost-startStop-1 com.netflix.priam.identity.token.DeadTokenRetriever Single Account cluster | |
2016-09-27 01:59:26.0106 INFO localhost-startStop-1 com.netflix.priam.identity.token.DeadTokenRetriever Found dead instances: i-a7a994bf | |
2016-09-27 01:59:27.0901 INFO localhost-startStop-1 com.netflix.priam.identity.token.DeadTokenRetriever Calling getIp on hostname[10.10.51.143] and token[56713727820156410577229101240595408135] | |
2016-09-27 01:59:28.0173 INFO localhost-startStop-1 com.netflix.priam.identity.token.DeadTokenRetriever Calling getIp on hostname[10.10.55.88] and token[56713727820156410577229101240595408135] | |
2016-09-27 01:59:28.0173 INFO localhost-startStop-1 com.netf |
This file contains hidden or 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
# Sets reasonable OS X defaults. | |
# | |
# Or, in other words, set shit how I like in OS X. | |
# | |
# The original idea (and a couple settings) were grabbed from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# Run ./set-defaults.sh and you'll be good to go. | |
# Enable crontab processing (according to https://coderwall.com/p/ry9jwg) |
ror, scala, jetty, erlang, thrift, mongrel, comet server, my-sql, memchached, varnish, kestrel(mq), starling, gizzard, cassandra, hadoop, vertica, munin, nagios, awstats