Skip to content

Instantly share code, notes, and snippets.

View ancientlore's full-sized avatar
ǝǝɟɟoɔ ppɐ ʇsnſ

Michael Lore ancientlore

ǝǝɟɟoɔ ppɐ ʇsnſ
View GitHub Profile
@ancientlore
ancientlore / gist:edc3c8d5fda590253e49
Created June 25, 2015 23:52
ContextReadCloser issue
package main
import (
"bytes"
"fmt"
"io"
"io/ioutil"
)
var next = 0
Verifying I am +ancientlore on my passcard. https://onename.com/ancientlore
@ancientlore
ancientlore / ktest.go
Last active August 29, 2015 14:11
Kubismus sample code
package main
import (
"github.com/ancientlore/kubismus"
"log"
"math"
"math/rand"
"net/http"
"runtime"
"strconv"
package main
import (
"fmt"
"github.com/russross/blackfriday"
)
func main() {
outb := blackfriday.MarkdownCommon([]byte(`
![pic](media/pic.png)
@ancientlore
ancientlore / gist:8855122
Created February 7, 2014 00:10
go-avltree sample code
package main
import (
"os"
"fmt"
"rand"
"github.com/ancientlore/go-avltree"
)
func compareString(a interface{}, b interface{}) int {