Skip to content

Instantly share code, notes, and snippets.

@vitali2y
Created September 12, 2017 14:38
Show Gist options
  • Save vitali2y/2ca71bebb771c849848c4910a6a38d1a to your computer and use it in GitHub Desktop.
Save vitali2y/2ca71bebb771c849848c4910a6a38d1a to your computer and use it in GitHub Desktop.
Free "Mastering Bitcoin 2nd Edition - Programming the Open Blockchain" e-book in EPUB format (don't care about commercial O’Reilly Atlas, or account) in just few secs
$ sudo apt-get install asciidoc xsltproc
$ git clone https://github.com/bitcoinbook/bitcoinbook.git
$ cd bitcoinbook
$ wget -O ./images/warning.png http://www.iconsdb.com/icons/download/black/warning-5-64.ico
$ wget -O ./images/note.png http://www.iconsdb.com/icons/download/black/note-2-64.ico
$ wget -O ./images/tip.png http://www.iconsdb.com/icons/download/black/seo-tips-2-64.ico
$ a2x -f epub book.asciidoc --icons-dir=./images --resource=./theme/epub -d book -L
$ ls -la book.epub
@vitali2y
Copy link
Author

./node_modules/.bin/inliner http://127.0.0.1:8080/book.html > Mastering_Ethereum.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment