I have an unhealthy obsession with one-file implementations of useful things in C, which you can just drop into your project and use without configuring libraries with dozens of files. Miniz is one such project: it is a single 225 KB
miniz.c, which contains a
zlib replacement plus functions to read/write ZIP files.
Continue reading miniz — fast single-file ZIP implementation in C
When you purchase an SSL certificate from a certificate authority, in most cases it is signed not by the root certificate of this authority, but by an intermediate certificate(s). The path from your certificate through those intermediates and up to the root is called a certificate chain. While browsers can resolve those chains by downloading certificates from sources specified in them, the whole chain except for the root cert is better to be included in the response your server sends during TLS connection.
Continue reading SSL certificate chain resolver
Phabricator is an integrated toolbox of web applications to help teams collaborate on software development. It contains tools for code review, repository hosting, code browsing, bug tracking, wiki, and other useful things.
Continue reading Phabricator: code reviews, repo hosting, wiki and more
Manners is a Go package from Braintree that allows you to create a web server that you can gracefully shutdown.
Continue reading manners — gracefully shutdown Go server
Continue reading Maverix — Bootstrap theme for webapps with Mac look
log15 is a powerful structured logging package for Go with a simple, easy-to-use API. It supports output with color when logging to terminal, and also can write to files, streams, syslog and network.
Continue reading log15 — powerful logging for Golang
Everyone hates when something happens to that huge web form they were filling. Accidentally closed a browser window? Pressed a Back button? Computer crashed? “Arrgghh, have to fill the form again!” — says your user… or just leaves your website. If you don’t want this to happen, Garlic.js is here to help you!
Continue reading Garlic.js — automatically persist forms until submission
Unlike JPEG, PNG is a lossless image format, which is why it reproduces pictures perfectly, but makes many of them — mostly photographs — much larger than what you’d get with lossy codecs. PNG is also the only way to get pictures with transparency (alpha channel) display in all browsers, so if we need images with alpha channel, we have to use large PNGs. However, there’s a little trick we can use to make them smaller: by applying lossy preprocessing.
Continue reading Minimize PNG files using lossy compression
The Platinum Searcher (pt) is a source code search utility similar to ack and ag (“The Silver Searcher”) written in Go programming language. It is claimed to be 3 to 5 times faster than ack.
Continue reading The Platinum Searcher: search source code, faster than ack