I hereby claim:
- I am bwhaley on github.
- I am bwhaley (https://keybase.io/bwhaley) on keybase.
- I have a public key ASAGr9i5mf4DgT-_8dzadUkQ15dlyx9AjrxM7MdeqsWsrAo
To claim this, I am signing this object:
| # Installation | |
| Download the file | |
| $ wget https://gist.githubusercontent.com/bwhaley/490a1ee890c0f010b1f3/raw/b471e67138be484a0140e5ca420b0ffca7726ed1/artifactory.py | |
| Install the requests library | |
| $ pip install requests | |
| Set TEAMCITY env vars | |
| $ export TEAMCITY_USERNAME=ben |
| # poodle_shave.py | |
| # It is YOUR responsibility to stop POODLE attacks by disabling SSLv3! | |
| import os | |
| import sys | |
| import boto.ec2.elb | |
| try: | |
| os.environ["AWS_ACCESS_KEY_ID"] | |
| os.environ["AWS_SECRET_ACCESS_KEY"] |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env python | |
| """Determine if the instances in an autoscaling group are InService in its ELBs | |
| attached to that group. | |
| """ | |
| import sys | |
| import boto.ec2.elb | |
| import boto.ec2.autoscale | |
| import argparse |
| Port 22 | |
| Protocol 2 | |
| AddressFamily inet | |
| #AllowUsers recommended | |
| AllowUsers someuser,someotheruser | |
| AllowGroups someadmingroup | |
| AllowTcpForwarding yes | |
| Banner /etc/banner |
| reporting-disabled = false | |
| [meta] | |
| dir = "/home/bwhaley/.influxdb/meta" | |
| hostname = "localhost" | |
| bind-address = ":8088" | |
| retention-autocreate = true | |
| election-timeout = "1s" | |
| heartbeat-timeout = "1s" | |
| leader-lease-timeout = "500ms" |
| [tsm1wal] 2015/10/28 17:52:18 idle flush of /data/db/graphitedb/graphite_1w/5 with 744 keys and 1542 total values of 24672 bytes | |
| [tsm1] 2015/10/28 17:52:18 rewriting index file /data/db/graphitedb/graphite_1w/5/0000006.tsm1 with /data/db/graphitedb/graphite_1w/5/0000007.tsm1 | |
| panic: runtime error: slice bounds out of range [recovered] | |
| panic: panic decoding file: /data/db/graphitedb/graphite_1w/5/0000006.tsm1 at position 56 for id 4509364959144281404 at time 0 | |
| goroutine 2587 [running]: | |
| github.com/influxdb/influxdb/tsdb/engine/tsm1.(*dataFile).block.func1(0xc82068ad20, 0xc800000038, 0xc8205bd658, 0xc8205bd660) | |
| /tmp/tmp.CBAd6vC3wi/src/github.com/influxdb/influxdb/tsdb/engine/tsm1/tsm1.go:2091 +0x31f | |
| github.com/influxdb/influxdb/tsdb/engine/tsm1.(*dataFile).block(0xc82068ad20, 0xc800000038, 0x3e947b89e863853c, 0x0, 0x0, 0x0, 0x0) | |
| /tmp/tmp.CBAd6vC3wi/src/github.com/influxdb/influxdb/tsdb/engine/tsm1/tsm1.go:2097 +0x577 |
| [query] 2015/10/28 19:07:12 SELECT mean(system) FROM "graphitedb"."graphite_1w".cpu WHERE app =~ /influxdb/ AND time > now() - 6h AND time < now() - 2m GROUP BY time(1m), app fill(0) | |
| panic: runtime error: slice bounds out of range | |
| goroutine 4202 [running]: | |
| github.com/influxdb/influxdb/tsdb/engine/tsm1.(*cursor).decodeBlock(0xc8202189a0, 0x783bfc610000a7b1) | |
| /tmp/tmp.CBAd6vC3wi/src/github.com/influxdb/influxdb/tsdb/engine/tsm1/cursor.go:475 +0x1c1 | |
| github.com/influxdb/influxdb/tsdb/engine/tsm1.(*cursor).nextAscending(0xc8202189a0, 0xc8203e1110, 0x0, 0x0) | |
| /tmp/tmp.CBAd6vC3wi/src/github.com/influxdb/influxdb/tsdb/engine/tsm1/cursor.go:438 +0x4a0 | |
| github.com/influxdb/influxdb/tsdb/engine/tsm1.(*cursor).Next(0xc8202189a0, 0xc81ffc03f9, 0x0, 0x0) | |
| /tmp/tmp.CBAd6vC3wi/src/github.com/influxdb/influxdb/tsdb/engine/tsm1/cursor.go:400 +0x36 |
| #!/usr/bin/env/bash | |
| $db = $1 | |
| for logfile in $(aws rds describe-db-log-files --db-instance-identifier $db | jq '.DescribeDBLogFiles|.[]|.LogFileName') | |
| do | |
| aws rds download-db-log-file-portion --db-instance-identifier $db --log-file-name ${logfile} --starting-token 0 --output text >> $db-logs.txt | |
| done |
| { | |
| "Version": "2012-10-17", | |
| "Id": "cassandra-key-policy", | |
| "Statement": [ | |
| { | |
| "Sid": "Enable IAM User Permissions", | |
| "Effect": "Allow", | |
| "Principal": { | |
| "AWS": "arn:aws:iam::09876512345:root" | |
| }, |