PHPnews.io

Overview for 'roballen'

Converting JSON to a struct in Go

Written by Rob Allen / Original link on Jun. 3, 2020

I'm in the process of writing a little command line app in Go that uploads images to Flickr. It's called Rodeo and it's working well as a project with which to learn Go in 2020.Rodeo uses ExifTool to interrogate an image file for meta data. ExifTool is wonderful and very comprehensive and with the …


Validating default PHP session ID values

Written by Rob Allen / Original link on Feb. 13, 2020

I recently needed to validate the value created by PHP for its session ID. After a bit of research, I realised that there are two interesting php.ini config settings that relate to this value:session.sid_length is the number of characters in the IDsession.sid_bits_per_character controls the set of …



A logo for rst2pdf

Written by Rob Allen / Original link on Jan. 24, 2020

All projects seem to have a logo these days, so I asked my friend Jane of iD to create a logo for rst2pdf and she came up with this:This met what I was looking for with a clear design that is related to the what the application does, so thank you Jane.I've set the profile icon for the GitHub organi…



Writing a Lightroom Classic plug-in

Written by Rob Allen / Original link on Jan. 6, 2020

As part of my migration to Lightroom Classic from Photos, I needed to recreate my folder and album structure. In Photos, folders container albums (or other folders) and albums contain photos. An album cannot contain a folder. This maps directly to Lightroom Classic which has "collection sets" for …