react-scripts 2.0.0 yarn build no runtime chunk

Update:  So after tweeting about this I had a massive fanboy moment when Dan Abramov replied, got the details and then fixed the problem in v2.0.3. So to fix this you just need to run: yarn add react-scripts@2.0.3 or npm install react-scripts@2.0.3 No longer a problem...

read more

Cannot read credentials from /.aws/credentials

I have a CakePHP console based worker script that is started and run by the supervisord process manager The worker script consumes jobs from a beanstalkd queue and when it recieves the job it uses AWS PHP SDK to send emails I was getting the following message from the...

read more

MacOS Mojave Application Upgrade Tweaks

Docker Community Edition Docker Community Edition runs and you can start a container from the command line, so the native virtualization layer seems to be functioning, but the Kitematic application complains of missing a 'native setup'. But after several reboots this...

read more

Australian Mobile Validation CakePHP 3.x

// src/Model/Table/Users.php where Users is the class name // of the table field your are validating $australianMobile = '/^(0|\+61)4\d{8}$/'; $validator ->add('mobile_number', 'custom', [ 'rule' => function ($value, $context) use...

read more

Car Mounted Traffic Guidance Drone

An idea A car with a small compartment with an automatic door. The compartment contains a charging cradle and a small micro-drone with a hi res camera and a wi-fi connection back to the car The cars on-board computer releases the drone when the car driver, or the cars...

read more

Apache Reverse Proxy with Websocket

This is the working configuration for an SSL Apache 2.4.6 Reverse Proxy back to an Apache-Coyote/1.1 server, including letsencrypt configuration to allow the automated renewal of certificates using a local webroot on the Reverse Proxy Server Apache Reverse Proxy SSL...

read more

Embedding ReactJS in a CakePHP View

When people say they want to use  CakePHP with React typically the recommendation is to convert CakePHP into an API server and then add ReactJS as the front-end served on a different URL then CakePHP. But what about when you have a CakePHP application and you want to...

read more