Skip to content

Instantly share code, notes, and snippets.

View spanktar's full-sized avatar

Tom Kapanka spanktar

  • San Francisco
View GitHub Profile
@spanktar
spanktar / push-it
Last active April 24, 2018 17:42
Salt & Pepa Learn to Code
Salt and Pepa's here, and we're in effect
Want you to push it good
Codin' by day then at night, merging up a sweat
C'mon girls, let's go show the guys that we know
How to become number one in the git pipeline flow
Now push it
Yo, yo, yo, yo, baby-pop
Yeah, you come here, gimme a diff
Better merge it fast or else I'm gonna get pissed
@spanktar
spanktar / consul-template
Created December 4, 2017 21:43
Almost helpful
2017/12/02 08:08:01.081283 [DEBUG] (runner) missing data for 2 dependencies
2017/12/02 08:08:01.081305 [DEBUG] (runner) diffing and updating dependencies
2017/12/02 08:08:01.081375 [DEBUG] (runner) kv.list(service/env) is still needed
2017/12/02 08:08:01.081388 [DEBUG] (runner) kv.list(service/alias) is still needed
2017/12/02 08:08:01.081395 [DEBUG] (runner) kv.get(service/app/port) is still needed
2017/12/02 08:08:01.081403 [DEBUG] (runner) kv.block(shared/database/mysql/user/password/rw) is still needed
2017/12/02 08:08:01.081426 [DEBUG] (runner) kv.get(shared/bucket/content) is still needed
2017/12/02 08:08:01.081435 [DEBUG] (runner) kv.block(shared/s3/url/prefix) is still needed
2017/12/02 08:08:01.081443 [DEBUG] (runner) kv.get(service/s3/key/cloudfront/content) is still needed
2017/12/02 08:08:01.081457 [DEBUG] (runner) kv.get(s3_content_prefix) is still needed
@spanktar
spanktar / keybase.md
Created October 18, 2017 18:05
keybase.md

Keybase proof

I hereby claim:

  • I am spanktar on github.
  • I am spanktar (https://keybase.io/spanktar) on keybase.
  • I have a public key ASBfNAex2RZh-uzJWTR2l2tW3Nw7zxPg8Qnm9_agsSj98go

To claim this, I am signing this object:

2016/10/27 12:22:17 [DEBUG] plugin: terraform: aws-provider (internal) 2016/10/27 12:22:17 [DEBUG] [aws-sdk-go] DEBUG: Request elasticache/DescribeCacheClusters Details:
2016/10/27 12:22:17 [DEBUG] plugin: terraform: ---[ REQUEST POST-SIGN ]-----------------------------
2016/10/27 12:22:17 [DEBUG] plugin: terraform: POST / HTTP/1.1
2016/10/27 12:22:17 [DEBUG] plugin: terraform: Host: elasticache.us-west-2.amazonaws.com
2016/10/27 12:22:17 [DEBUG] plugin: terraform: User-Agent: terraform/0.7.7 aws-sdk-go/1.4.14 (go1.7.1; darwin; amd64)
2016/10/27 12:22:17 [DEBUG] plugin: terraform: Content-Length: 103
2016/10/27 12:22:17 [DEBUG] plugin: terraform: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIHBUEZ7XSH4KXBTA/20161027/us-west-2/elasticache/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=ef9221385a17c6198b94270d0fbc736aaa648d99577b1d21a3935112ec7a0f7e
2016/10/27 12:22:17 [DEBUG] plugin: terraform: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2016/10/27 12:22
panic:Error applying plan:
runtime error: invalid memory address or nil pointer dereference
2016/10/27 12:22:17 [DEBUG] plugin: terraform: [signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x3ed9c0]
2016/10/27 12:22:17 [DEBUG] plugin: terraform:
2016/10/27 12:22:17 [DEBUG] plugin: terraform: goroutine 2404 [running]:
2016/10/27 12:22:17 [DEBUG] plugin: terraform: panic(0x24c3860, 0xc4200100c0)
2016/10/27 12:22:17 [DEBUG] plugin: terraform: /opt/go/src/runtime/panic.go:500 +0x1a1
2016/10/27 12:22:17 [DEBUG] plugin: terraform: github.com/hashicorp/terraform/builtin/providers/aws.resourceAwsElasticacheReplicationGroupRead(0xc42031efc0, 0x2220fc0, 0xc42045e180, 0x0, 0x0)
2016/10/27 12:22:17 [DEBUG] plugin: terraform: /opt/gopath/src/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_elasticache_replication_group.go:241 +0x860
def publishTraverse(self, request, name):
if name in self.object_ids:
return self.objects.get(name).__of__(self.context)
else:
default_adapter = DefaultPublishTraverse(ob, self)
ob2 = adapter.publishTraverse(self, name)
return ob2