PHPnews.io

Overview for 'lornajane'

Make Thumbnails of PDF Pages with ImageMagick

Written by Lorna Jane / Original link on Feb. 16, 2020

All my talk slides are PDF - I use rst2pdf to transform text-based ReStructuredText content into presentation slides. With all these PDFs hanging around, it can be very handy to have them as thumbnails. I use the images both in the printable speaker notes that I produce (and I should blog that too …


Instant Test API Platforms with Prism

Written by Lorna Jane / Original link on Jan. 23, 2020

I've been writing a bit about OpenAPI lately and I realised that I didn't share how I'm creating local, test versions of production APIs to work with while I develop new client code or test SDK features. The recipe is simple: you will need an API spec, the excellent open source tool Prism and an HT…


Grab Annotations from a PDF with pypdf2

Written by Lorna Jane / Original link on Jan. 15, 2020

If you've noticed a lot of PDF content around here lately, that's because I work with PDF a lot! Most of all, all my slide decks are in PDF and in the last year or so I've started using speaker notes in my presentations. Yes, this means that if you saw me speak in the first ten years of my speaking …


Raspberry Pi SenseHat Night Clock

Written by Lorna Jane / Original link on Dec. 28, 2019

I recently upgraded my smartwatch and the new model needs charging daily (whether that's really an upgrade is a separate discussion!) so I drop it on the charger by my bed overnight. As a result, I can't tell the time if I wake up in the night which is only annoying because I don't know if it's mid…


Counting Duplicate Commit Messages

Written by Lorna Jane / Original link on Dec. 16, 2019

When chatting about source control good practice the other day, I got a question about repeated git commit messages. In general, I would always advise that the same commit messages appearing multiple times in a project's history is a definite red flag - and if I'm responsible for that repository I …


Ruby for non-Rubyists with Snap

Written by Lorna Jane / Original link on Oct. 7, 2019

I'm an Ubuntu user and I enjoy most server-side scripting languages but I haven't done much Ruby and I never get the feeling that Ruby is pleased to see me when I do. Something is always out of date or has an incompatible dependency or ... and since I don't use it regularly, I don't have the famili…