Just had to change a Draft.js based editor for something that worked with Chrome for Android and found TinyMCE Here is my attempt to get it working with both desktop and mobile
James McDonald
Warning: _cake_core_ cache was unable to write ‘cake_dev_en-us’ to File
There are some answers on SOF but in my case this was caused by no more disk space. Checked permissions and they had the web server user www-data with write access to all app/tmp/*Checked the /var/log/apache2/error.log and found a "no space left on the device warning"...
setTimeout in a loop
Why does all the output of a for loop appear at once when using setTimeout? for(var i = 0; i < 5; i++){ (function(i){ setTimeout(function(){ console.log('value is ', i); }, 3000); })(i); } When you run the above code after 3 seconds the output of all iterations of...
Amazon Web Services Route 53 – Not Compliant
So apparently Route 53 is not fully up to speed with some DNS standards. Testing my domains at https://dnsflagday.net/#domain-holders and I'm getting "Minor problems detected" Apparently according to https://dnsflagday.net a large number of 'big' DNS providers will...
certbot on Amazon Linux
Just an FYI for those caught by module not found exceptions when running certbot-auto on an AMI (Amazon Machine Image). I kept getting problems with the upgrade of certbot-auto on AMI. They say it's alpha so not a suprise. Tried rm -rf /opt/eff.org and re-run...
Fake Your Scales in Windows XP VM
So today I had a task to find out if some legacy Weigh Bridge software would be capable of taking longer inputs for some field values Being proprietary software the answer is no... But in the process I had to fire up a Windows XP Virtual Machine and somehow convince...
What are the IP Address ranges assigned by Telstra to home broadband customers?
https://crowdsupport.telstra.com.au/t5/Home-Broadband/What-are-the-IP-Address-ranges-assigned-by-Telstra-to-home/td-p/764060 The above mentioned question was asked on the Telstra Crowd Support Forums. The reply was "you may find the static IP address route easier"....
Animate.css with react-transition-groups CSSTransition example
This is an example of my learning from trying to use Animate.css with the React-Transition-Group CSSTransition component https://daneden.github.io/animate.css/
Enter animation of Bootstrap Alert fails using reactstrap Alert component
I have been using CSSTransiton from react-transtion-group to animate the show and hiding of various elements on a page. I successfully added a few items and then tried to add a bootstrap alert and then the enter animation failed to fire. Here is an example of the...
Note to self regarding Amazon Autoscaling
Just started a Microsoft AD environment on Amazon Web Services to test some ITGlue Auto Documentation PowerShell scripts. Found that you need to pay attention to auto scaling settings. After my last session I shut down all the EC2 instances to avoid charges when I...
open-vm-tools The VMware Tools power-on script did not run successfully in this virtual machine.
Note: Before doing the below also check to make sure you are not deleting the proper scripts. Only delete the dpk-old or .old.X files cd /etc/vmware-tools/ cd scripts/vmware # there was a heap of old scripts that # had been renamed but still being executed vim...
Download failed. cURL error 77 – Have you tried switching it off and back on?
I recently updated the PHP version on my Amazon Linux AMI and then a few days later notice I could not download Wordpress updates. I was getting the following error: Download failed. cURL error 77 If you get this error you might try restarting your web server process...
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 [email protected] or npm install [email protected] No longer a problem...
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...
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...
Change to a directory using a bash menu script and launch vscode
This is a shell script that changes to my code development directory and then lists the directorys and gives a numbered menu to enter a number and then change to that directory and launch vscode You need to add an alias to your .bash_profile so that the script is...
Changing the www-data User Environment for a Perl Script
The Problem - Rendering Unicode Characters using Glabels I have a Perl script running on an Apache webserver that launches glabels-3-batch and given a data input file and a glabels template outputs a label as a PDF document. This is in a Ubuntu 18.04.1 LTS container...
Connecting a Docker Container to a MySQL Server Running on the host
Just been trying to connect from a Docker container to a MySQL server running on the Docker Host. I am running Docker Community Edition 18.03.1-ce-mac65 (24312) on a Macbook Pro MacOS High Sierra version 10.13.6 What didn't work Found a lot of information saying to...