Skip to content

Instantly share code, notes, and snippets.

View caiofilipini's full-sized avatar

Caio Filipini caiofilipini

View GitHub Profile
@caiofilipini
caiofilipini / maxconn.go
Created November 15, 2019 21:08
Go (golang) HTTP server with a simple connection limiter (max conn)
package main
import (
"context"
"flag"
"log"
"net"
"net/http"
"os"
"os/signal"
@caiofilipini
caiofilipini / terraform-do-cert-test-failure.log
Created May 26, 2017 13:24
Test failure on resource_digitalocean_certificate_test.go
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
TF_ACC=1 go test ./builtin/providers/digitalocean -v -run=TestAccDigitalOceanCertificate -timeout 120m
=== RUN TestAccDigitalOceanCertificate_Basic
--- FAIL: TestAccDigitalOceanCertificate_Basic (3.82s)
testing.go:280: Step 0 error: After applying this step, the plan was not empty:
DIFF:
DESTROY/CREATE: digitalocean_certificate.foobar

Keybase proof

I hereby claim:

  • I am caiofilipini on github.
  • I am caio (https://keybase.io/caio) on keybase.
  • I have a public key ASAC7cMFkDRSecXqEQB4ab6gQpoqFJCCrof-ELQZMC7mCAo

To claim this, I am signing this object: