Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh
# bump the module version by <newversion>,
# push to git and publish to npm
main () {
[ ! "$1" ] && usage && exit 1
[ "$1" = '-h' ] && usage && exit 0
# assert_dep 'git-tag-diff'
# message="$(git-tag-diff)"

Things that programmers don't know but should

(A book that I might eventually write!)

Gary Bernhardt

I imagine each of these chapters being about 2,000 words, making the whole book about the size of a small novel. For comparison, articles in large papers like the New York Times average about 1,200 words. Each topic gets whatever level of detail I can fit into that space. For simple topics, that's a lot of space: I can probably walk through a very basic, but working, implementation of the IP protocol.