Skip to content

Instantly share code, notes, and snippets.

View riannucci's full-sized avatar

Robert Iannucci riannucci

  • Google
  • Santa Clara, CA
View GitHub Profile
@riannucci
riannucci / README.md
Created July 26, 2019 19:02
Repro for race in proto marshal

Environment:

$ protoc --version
libprotoc 3.6.1
$ git -C GOPATH/github.com/golang/protobuf rev-parse HEAD
6c65a5562fc06764971b7c5d05c76c75e84bdbf7

To repro:

@riannucci
riannucci / context_bench.go
Created March 1, 2016 02:06
A simple benchmark for the default context implementation vs. a bogus caching one.
package bench
import (
"sync"
"testing"
"time"
"golang.org/x/net/context"
)
@riannucci
riannucci / gist:8924485
Created February 10, 2014 21:26
vim packages to get
Bundle "Valloric/YouCompleteMe" " get this!
gmarik/vundle " lets you manage vim plugins automatically
Bundle 'tpope/vim-endwise'
Bundle 'tpope/vim-repeat'
Bundle 'tpope/vim-speeddating'
Bundle 'tpope/vim-surround'
Bundle 'tpope/vim-unimpaired'