TinyMCE & React

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

read more

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...

read more

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...

read more

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...

read more

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...

read more

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...

read more