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 
6 weeks ago
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 
7 weeks ago
Simple Golang HTTP Request Context Example · Paul Fortin
mux := http.NewServeMux()

mux.HandleFunc("/", StatusPage)
go  golang  http  context 
8 weeks ago
« 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 caching capital career charset china chrome classes code collaborative collection color compiler compilers composition computer concurrency contact cool courses crawling crisis criticism cryptocurrency cs css css3 culture currency data database dataset datasets db debt debugging democracy design development docker dollar east economics economy education egypt engine engineering entrepreneur entrepreneurship eu euro europe event events facebook fascism fed film filtering finance flash fonts framework free freelance freelancing fun functional funny future game games generative geopolitics germany git go golang google graphics greece grpc guide haskell hipster historias history hosting housing html html5 http https icons industry inflation information innovation intelligence interesting internals international internet interview interviews ireland japan java job jobs journalism jquery js laburo language languages law layout learning library linguistics linux lisp literature logic machine macroeconomics management market marketing markets math mathematics media memcached memory microdata middle mining monetary money music mysql network networking nlp oauth open opensource optimization parsing performance peron peronism personal philosophy photography photos php politics privacy profiling programming propaganda protocol psychology publishing python rates rdf reference regex remote rent research resources responsive rss scalability scaling science scifi scrapping search security semantic semantics seo server service services sicp social sociology software source spain speed sql standards startup statistics story structures svg system systems technology text theory tls tool tools toread tp-darcacha travel trends tutorial tv twitter typography unix us usability usd venture video visualization web webdev words work world www yuan zeitgeist

Copy this bookmark: