1965
HTTPS for free in Go, with little help of Let's Encrypt
hostPolicy := func(ctx context.Context, host string) error {
// Note: change to your real domain
allowedHost := "www.mydomain.com"
if host == allowedHost {
return nil
}
return fmt.Errorf("acme/autocert: only %s host is allowed", allowedHost)
}
tls  golang  go  webdev  https 
june 2018
Backup & Restore Docker Named Volumes | Jarek Lipski
docker run -it -v some_volume:/volume -v /tmp:/backup alpine \
    tar -cjf /backup/some_archive.tar.bz2 -C /volume ./
docker  db  data 
may 2018
Simple Golang HTTP Request Context Example · Paul Fortin
mux := http.NewServeMux()

mux.HandleFunc("/", StatusPage)
go  golang  http  context 
may 2018
« earlier      
80s 90s ads advertising ai ajax algorithmic algorithms alternative analysis animation anthropology api appartment architecture argentina art audio authentication banking berlin big bitcoin board book books browser business c c++ cache capital career china classes code collaborative collection color compiler compilers composition computer concurrency contact courses crawling crisis criticism cryptocurrency cs css css3 culture currency data database dataset datasets db debt debugging design development docker dollar east economics economy egypt engineering entrepreneur entrepreneurship euro europe facebook fascism fed film filtering finance flash fonts framework free freelance fun functional funny future generative geopolitics git go golang google graphics greece grpc haskell historias history hosting housing html html5 http https icons industry inflation information interesting internals internet interviews java job jobs journalism jquery js laburo language languages layout learning library linguistics linux lisp literature logic machine macroeconomics management marketing math mathematics media memory microdata middle mining money music mysql network networking nlp open opensource optimization parsing performance peron peronism philosophy photography photos php politics privacy profiling programming propaganda psychology python rates rdf reference remote rent research scalability scaling science scifi scrapping search security semantic seo server service services social sociology software source speed sql startup statistics structures system systems technology text theory tls tools toread tp-darcacha travel trends tutorial tv twitter typography unix us usability venture video visualization web webdev work world www yuan zeitgeist

Copy this bookmark:



description:


tags: