Skip to content

Instantly share code, notes, and snippets.

@castvoid
castvoid / wordcount.sh
Created March 6, 2019 17:33
Counts the number of words in each chapter of my LaTeX dissertation using pandoc
#!/usr/bin/env bash
set -o errexit
set -o pipefail
set -o nounset
total_num_lines=0
# format: right-pad 45 char string, left pad 5 char int
format="%-45s% 5d\n"
@castvoid
castvoid / keybase.md
Last active August 20, 2016 22:32
My Keybase Identity

Keybase proof

I hereby claim:

  • I am castvoid on github.
  • I am castvoid (https://keybase.io/castvoid) on keybase.
  • I have a public key ASBELE4hB3LMoJJlnmrMBsRCWv_sAehlsJ0zR7asIjPVVAo

To claim this, I am signing this object: