PHPnews.io

Overview for 'lornajane'

Remove Accidental Content from Git Commit

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

When I teach git I try to show loads of good practice about how to inspect what's staged before commit, etc etc. Good practice is good of course, but knowing how to undo a mess you created is better - and mistakes will happen. For example, accidentally including a node_modules directory in your oth…




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…