Skip to content

Instantly share code, notes, and snippets.


Colton J. Provias ColtonProvias

  • Sunnyvale, CA
View GitHub Profile
View bn.js.d.ts
declare module 'bn.js' {
class Red {}
class Mont extends Red {}
export default class BN {
red: Red
constructor (num?: any, base?: number, endian?: string)
static isBN (num: any): num is BN
static max (left: BN, right: BN): BN
static min (left: BN, right: BN): BN
static red (num: BN | string): Red
ColtonProvias / sample.go
Created Sep 25, 2017
msgp generation bug
View sample.go
//go:generate msgp
//msgp:tuple Sample
//msgp:shim uuid.UUID as:[]byte using:uuidToBytes/bytesToUUID
package serialization
import (
type Sample struct {

Keybase proof

I hereby claim:

  • I am ColtonProvias on github.
  • I am coltonprovias ( on keybase.
  • I have a public key whose fingerprint is E05F EB23 F824 1DA1 B55F C45E 97ED DF01 7E81 D849

To claim this, I am signing this object:

ColtonProvias /
Created Jan 3, 2014
Fountain parser for Python 3.
Ported to Python 3 by Colton J. Provias -
Based on Fountain by Nima Yousefi & John August
Original code for Objective-C at
ColtonProvias / gist:5079405
Created Mar 4, 2013
S3 uploader for Python 3
View gist:5079405
S3 Uploader for Python 3
Colton J. Provias
f = open('sample.png', 'rb')
contents =
response, url = upload_to_s3('AWSKEY', 'AWSSECRET', 'mybucket', 'image.png', contents, 'image/png')
You can’t perform that action at this time.