Skip to content

Instantly share code, notes, and snippets.

View julienschmidt's full-sized avatar

Julien Schmidt julienschmidt

View GitHub Profile

Keybase proof

I hereby claim:

  • I am julienschmidt on github.
  • I am julienschmidt (https://keybase.io/julienschmidt) on keybase.
  • I have a public key whose fingerprint is 1285 EFD0 2963 C92C 4638 30A3 2A58 0BD1 0D98 B150

To claim this, I am signing this object:

@julienschmidt
julienschmidt / formatbytes.go
Created October 4, 2015 01:53
Format Bytes human-readable
/*
The MIT License (MIT)
Copyright (c) 2015 Julien Schmidt
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
package main
import (
"bytes"
"fmt"
"io/ioutil"
"sync"
)
var index64 = [64]int{
@julienschmidt
julienschmidt / words.go
Last active June 9, 2016 20:17
Find all sub-sequence permutations of a given word in a dictionary
package main
import (
"bytes"
"fmt"
"io/ioutil"
"strings"
)
var index64 = [64]int{