Categories
Archives
- December 2020
- November 2020
- October 2020
- September 2020
- August 2020
- July 2020
- June 2020
- May 2020
- April 2020
- March 2020
- February 2020
- January 2020
- December 2019
- November 2019
- October 2019
- September 2019
- August 2019
- June 2019
- May 2019
- April 2019
- March 2019
- February 2019
- January 2019
- December 2018
- November 2018
- October 2018
- September 2018
- August 2018
- September 2017
- June 2017
- May 2017
- January 2017
- November 2016
- October 2016
- September 2016
- August 2016
- July 2016
- May 2016
- April 2016
- February 2016
- December 2015
- October 2015
- September 2015
- August 2015
- June 2015
- May 2015
- April 2015
- March 2015
- December 2014
- November 2014
- October 2014
- April 2014
- March 2014
- February 2014
- January 2014
- December 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- November 2012
- October 2012
- September 2012
- August 2012
- June 2012
- April 2012
- January 2012
- December 2011
- October 2011
- September 2011
- August 2011
- July 2011
- May 2011
- March 2011
- January 2011
- August 2010
- April 2010
- February 2010
Category Archives: Software
Notes on Programming Hyperledger Fabric
I just finished writing a book:https://www.amazon.com/dp/0578802228 In this post I am making some notes and fun facts about the book for remembrance. Original TOC Final TOC Blockchain Primer Introducing Hyperledger Fabric A proof of concept app Setting up your infrastructure … Continue reading
VS Code + AsciiDoc
Today I learned that VS Code has a pretty good extension for AsciiDoc: https://marketplace.visualstudio.com/items?itemName=asciidoctor.asciidoctor-vscode It can even export to PDF using wkhtmltopdf. There is also the option to have it use the Ruby based asciidoctor-pdf to do the conversion. How … Continue reading
Using AsciidocFX
AsciidocFX is one dangerous program. I had it open like this. It had my root folder open in left pane and I was used to Atom where one can remove the folder by right clicking the folder and then remove … Continue reading
Posted in Software
Leave a comment
Useful Docker commands
Sort images by size List dangling volumes Cleaning up Docker resources: https://www.digitalocean.com/community/tutorials/how-to-remove-docker-images-containers-and-volumes#a-docker-cheat-sheet
Posted in Software
Leave a comment
Cross-referencing content of another chapter in AsciiDoctorPDF
It is possible to cross-reference chapters in Asciidoc. The way I do it is as follows. First of all I have a top level index.adoc which is the root file that does nothing but include the various chapters one after … Continue reading
Getting Math to work in AsciiDoctorPDF
I had quite a lot of challenges getting math to render in AsciiDoctorPDF. The documentation relating to this is also confusing. It turns out that for converting asciidoc to PDF which is what I am interested in (i.e., output format … Continue reading
How to get rid off annoying border around SVG images in AsciiDoctorPDF
AsciiDoctorPDF inserts an annoying black border around SVG images generated by graphviz. E.g., given this SVG image which was generated by graphviz, if you open it in chrome you can see it has no black border as shown below: but … Continue reading
Validating PDFs
Sometimes you need to validate a PDF file. Here are step by step instructions on how to do so. Prerequisites: You need to have Java installed on your machine. Download preflight-app-2.0.21.jar from https://pdfbox.apache.org/download.cgi Run it passing the path to your … Continue reading
Posted in Software
Leave a comment
Extracting images from a PDF
Sometimes you need to extract images inside a PDF. Here are step by step instructions on how to do that. Prerequisites: You need to have Java installed on your machine. Download pdfbox-app-1.8.16.jar from https://pdfbox.apache.org/download.cgi. WARNING: version 2.0.21 will not work. … Continue reading
Posted in Software
Leave a comment
Using GPG
As an example let’s say we want to verify integrity of following file from https://hashcat.net/hashcat/ First download the file and its PGP signature (ends with .asc) 2. Next download and import the key from PGP keyserver with following command: 3. … Continue reading
Posted in Software
Leave a comment