Skip to content

Instantly share code, notes, and snippets.

View akalin-keybase's full-sized avatar

Fred Akalin akalin-keybase

View GitHub Profile
@akalin-keybase
akalin-keybase / main.go
Created February 5, 2019 20:29
Test harness for decoding random strings
package main
import (
"fmt"
"math/rand"
"github.com/ugorji/go/codec"
)
func main() {
@akalin-keybase
akalin-keybase / file1_1.10.go
Last active November 15, 2018 07:48
Repro for go 1.10 bug with CoreFoundation types and cgo
// +build darwin
// +build go1.10
package bugrepro
/*
#cgo LDFLAGS: -framework CoreFoundation
#include <CoreFoundation/CoreFoundation.h>
*/