Skip to content

Instantly share code, notes, and snippets.

View warpfork's full-sized avatar

Eric Myhre warpfork

View GitHub Profile
package main
import (
"fmt"
"net/http"
)
func handler(resp http.ResponseWriter, req *http.Request) {
fmt.Printf("serving \"%s\"\n", req.URL.Path)
http.ServeFile(resp, req, req.URL.Path[1:])
@warpfork
warpfork / gist:6343783
Last active December 21, 2015 17:59
comparison of techniques to obtain reproducible and offline builds (ascii table)
```
core transparent multiple permanent bloat
approach offline? fast reproducible when library histories to source repo
---------- -------- ---- ------------ ------------ --------- ---------------
script (clone semantic no/fail no yes (`checkout yes no no
at build time) -f $HASH`)
script (clone semantic yes yes yes yes no no
once, checkout