Skip to content

Instantly share code, notes, and snippets.

View pugnascotia's full-sized avatar

Rory Hunter pugnascotia

View GitHub Profile
@pugnascotia
pugnascotia / franz-polling-example.go
Last active July 12, 2023 16:23
franz-go polling example
package main
import (
"context"
"encoding/json"
"fmt"
"github.com/twmb/franz-go/pkg/kgo"
"os"
"time"
)
@pugnascotia
pugnascotia / keybase.md
Created August 14, 2017 09:27
keybase.md

Keybase proof

I hereby claim:

  • I am pugnascotia on github.
  • I am pugnascotia (https://keybase.io/pugnascotia) on keybase.
  • I have a public key ASAnNZcHvn1JGlmM4jVxTc3NfbA-Cv5OwNoOdMf7VzOJXgo

To claim this, I am signing this object:

@pugnascotia
pugnascotia / rancher-machine-import.pl
Last active December 13, 2016 11:42
Import docker-machine configuration archive from Rancher
#!/usr/bin/perl -w
# With inspiration from https://gist.github.com/schickling/2c48da462a7def0a577e
use strict;
use warnings;
use File::Path qw( make_path );
my $machine_archive = shift @ARGV;