Skip to content

Instantly share code, notes, and snippets.

View cocallaw's full-sized avatar

Corey Callaway cocallaw

View GitHub Profile
@cocallaw
cocallaw / grab-azure-docs.sh
Created November 25, 2019 21:25 — forked from ranieuwe/grab-azure-docs.sh
Grabs a PDF copy of all Azure docs
for row in $(curl https://api.github.com/repositories/72685026/contents/articles | jq -c -r '.[] | select(.type | contains("dir")) | "\(.name)"'); do wget -O "${row}.pdf
" "https://docs.microsoft.com/en-us/azure/opbuildpdf/${row}/toc.pdf?branch=live"; done