Skip to content

Instantly share code, notes, and snippets.

package main
import (
"bufio"
"fmt"
"io"
"net/http"
"os"
"sync"
)
@elliotmoore
elliotmoore / s3glitch.md
Last active September 16, 2015 21:06
s3 gotcha

If you upload certain filenames to s3, it can produce invalid XML in the response, thus breaking most aws s3 tools.

Create a new test bucket, please don't use an existing one

# test all is well, list new bucket
$ aws s3 ls s3://ells-test-filename

# upload a test file and confirm you can list it
$ touch a-working-file
@elliotmoore
elliotmoore / keybase.md
Last active August 29, 2015 13:57
keybase.io

Keybase proof

I hereby claim:

  • I am elliotmoore on github.
  • I am ells (https://keybase.io/ells) on keybase.
  • I have a public key whose fingerprint is 308C A45E 46AD D989 4D70 0F8A 4EFD DCAA 3A8B 7FD3

To claim this, I am signing this object: