Skip to content

Instantly share code, notes, and snippets.

@singerng
Last active July 27, 2022 16:29
Show Gist options
  • Save singerng/69695e755fe1e526fb667705731fc66e to your computer and use it in GitHub Desktop.
Save singerng/69695e755fe1e526fb667705731fc66e to your computer and use it in GitHub Desktop.
Useful commands for me to remember
# install tolerable version of ruby
# brew install rbenv
rbenv install 3.1.2 # lookup current ruby version
rbenv rehash
rbenv global 3.1.2
# merge pdfs in directory (sorted, so use numerical prefixes in order)
# brew install poppler
pdfunite *.pdf output.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment