macOS 10.15.4 Legacy System Extension signed by “Jack Lo”

Message: Existing software on your system loaded a system extension signed by “Jack Lo”.

In my case this is the Evoluent Mouse Manager software v1.4.1 accessed in System Preferences.

Evoluent say that they are working on a replacement, let us hope they complete it before macOS 10.16 when the existing version won’t run any more.

CodeIgniter 4 Array in Config with .env file

The .env file can use dot syntax to represent associative arrays but the documentation is poor, here is how I did it.

Create a new class in the Config directory e.g. Salesforce.php

<?php namespace Config;
use CodeIgniter\Config\BaseConfig;
class Salesforce extends BaseConfig
{
	public $accounts = [
		'account1' => '',
		'account2' => ''
	];
	public $campaigns = [
		'campaign1' => '',
		'campaign2' => ''
	];
}

Add lines to the .env file

salesforce.accounts.account1 = 'config('Salesforce');';
salesforce.accounts.account2 = '00123451HKB';
salesforce.campaigns.campaign1 = '1234000000dBAEvA';
salesforce.campaigns.campaign2 = '1234000000dBAEvB';

Finally to access within your controller

$salesforce = config('Salesforce');
echo $salesforce['account1']; // displays 00123451HKB
echo $salesforce['campaign2']; // displays 1234000000dBAEvB

Advantages: You commit can commit the files in the Config folder to version control without them storing sensitive information while the sensitive data stays in the .env file and is unique to a particular environment.

SEO and image file names

Surprisingly it looks like even the filename of an image used in a website has SEO benefit – see supporting links below – this may be a pain but a multilingual site should consider duplicating images in order to use different filenames containing keywords in each of the languages a site uses.

Supporting Links: