Created
September 12, 2017 14:38
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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 |
./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
asciidoc -b html5 -d book book.asciidoc