Skip to content

Instantly share code, notes, and snippets.

View bracki's full-sized avatar

Jan Brauer bracki

View GitHub Profile
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x606edc]
goroutine 27 [running]:
github.com/awslabs/aws-sdk-go/aws.func·002()
/build/tmp-build/confd-branch-dynamodb/Godeps/_workspace/src/github.com/awslabs/aws-sdk-go/aws/credentials.go:252 +0x5c
github.com/awslabs/aws-sdk-go/aws.(*iamProvider).Credentials(0xc20822e320, 0x0, 0x7f84591a9980, 0xc2081c7d80)
/build/tmp-build/confd-branch-dynamodb/Godeps/_workspace/src/github.com/awslabs/aws-sdk-go/aws/credentials.go:265 +0x9af
github.com/awslabs/aws-sdk-go/aws.(*DefaultCredentialsProvider).Credentials(0xa53948, 0xc2081c79d0, 0x0, 0x0)
/build/tmp-build/confd-branch-dynamodb/Godeps/_workspace/src/github.com/awslabs/aws-sdk-go/aws/credentials.go:60 +0x1e2
github.com/awslabs/aws-sdk-go/internal/signer/v4.Sign(0xc208040680)
@bracki
bracki / Knallhorst.java
Created April 25, 2016 13:17
root ca and java
/*
We have to create our own key store since our API endpoint doesn't send the intermediate
SSL certificates
(see https://svn.jimdo-server.com/trac/ticket/52929).
1. Get server certificate:
i.e.: echo | openssl s_client -connect mobile.jimdoapi.com:443 2>&1 | \
sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > jimdoapicert.pem
2. Create keystore:
i.e.: keytool -import -v -trustcacerts -alias 0 -file <(openssl x509 -in jimdoapicert.pem) \

Keybase proof

I hereby claim:

  • I am bracki on github.
  • I am bracki (https://keybase.io/bracki) on keybase.
  • I have a public key whose fingerprint is 6973 F3DB F562 53F9 A0A0 55FF A914 9FCB E1AF 1577

To claim this, I am signing this object:

import boto3
import requests
import pykube
def query_route53_records():
c = boto.client("route53")
for zone in c.get_zones():
records = c.get_all_rrsets(zone.id)
for r in records:
@bracki
bracki / pleasure-spread_that_feeling_drums.ly
Last active December 8, 2022 10:15
Pleasure - Spread That Feeling, Drums Tab
\header {
title = "Spread That Feeling"
composer = "Pleasure"
}
up = \drummode {
\override Beam #'positions = #'(5.5 . 5.5)
sn16 sn <hhho bd>8 <hh sn> [hh] <hh bd> [hh] <hh sn> hh16 sn16
<hh bd>8 [<hh bd>] <hh bd sn> <hh bd> <hh bd> hh <hh sn> hh16 sn16
<hh bd>8 [<hh bd>] <hh bd sn> <hh bd> <hh bd> hh <hh sn> hh16 sn16