“...I've been working since 2008 with Ruby / Ruby on Rails, love a bit of Elixir / Phoenix and learning Rust. I also poke through other people's code and make PRs for OpenSource Ruby projects that sometimes make it. Currently working for InPay who are based in Denmark...”

Rob Lacey
Senior Software Engineer, UK

Shrinking PDFs

Shrinking PDFs so that they aren’t 50Mb for 10 pages is always a good thing to remember. This command line tool form Adobe is particularly helpful

ps2pdf -dPDFSETTINGS=/ebook ~/Desktop/AnimalHealthCertificate.pdf ~/Desktop/AnimalHealthCertificate-compressed.pdf

Now this Animal Health Certificate will actually get through and not bounce.

rl@loathsome ~ % ls -lah ~/Desktop/AnimalHealthCertificate*
-rw-r--r--@ 1 rl  staff   3.1M 21 Sep 11:01 /Users/rl/Desktop/AnimalHealthCertificate-compressed.pdf
-rw-r--r--@ 1 rl  staff    39M 21 Sep 10:59 /Users/rl/Desktop/AnimalHealthCertificate.pdf