Utils
Random utilities for linux:
Extract PDF with qpdf
Extract pages 1 to 10 from input.pdf
and save it as output.pdf
qpdf input.pdf --pages . 1-10 -- output.pdf
Extract only page 12
qpdf input.pdf --pages . 12 -- la_maior.pdf
To extract several ranges:
qpdf input.pdf --pages . 4-5 . 7-8 . 10-11 . 13-14 . 16-17 . 19-20 . 22-23 . 25-26 . 28-29 . 31-32 . 34-35 . 37-38 -- scales.pdf
golang-migrate on ubuntu
- Check latest release version on https://github.com/golang-migrate/migrate/releases/
- Download the pre-built binary (update the 4.14.1 with the latest version)
- Move to the correct location
- sudo mv migrate $GOPATH/bin/migrate