Skip to content

Instantly share code, notes, and snippets.


Keybase proof

I hereby claim:

  • I am xf- on github.
  • I am xavermaierhofer ( on keybase.
  • I have a public key whose fingerprint is 8AD5 FBA0 298D 1A22 EE0F 2867 7FDC E23F D2EC 9FE8

To claim this, I am signing this object:

xf- /
Last active Feb 23, 2019
Build gitbook indluding ebooks (pdf,epub, mobi) with calibre on netlify - single-line
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/build/calibre/lib/;PATH=$PATH:/opt/build/calibre/bin;wget -nv -O- | python -c "import sys; main=lambda x:sys.stderr.write('Download failed\n'); exec(; main('/opt/build')";yarn global add svgexport;gitbook install; gitbook build;gitbook pdf ./ ./_book/book.pdf;gitbook mobi ./ ./_book/;gitbook epub ./ ./_book/book.epub