Codeception: Tell Chrome to automatically accept desktop notifications

If you’re building a site that makes use of the handy Web Notifications API and want to test it in Codeception, you might want to tell your browser to enable notifications for the site. I had to fiddle a bit before getting this right, so hopefully it’ll help somebody. In your xxx-acceptance.suite.yml, here are a […]

LetsEncrypt on Amazon Linux

This one’s pretty simple. I started with Ivo Petkov’s excellent notes and O-mkar’s question and self-answer to get LetsEncrypt up on my EC2 instance, then added a cron job. TL;DR: sudo bash yum install python27-devel git git clone /opt/letsencrypt unset PYTHON_INSTALL_LAYOUT /opt/letsencrypt/letsencrypt-auto –debug echo “rsa-key-size = 4096” >> /etc/letsencrypt/config.ini echo “email =” >> /etc/letsencrypt/config.ini unset PYTHON_INSTALL_LAYOUT […]

Stop OSX opening every time you plug your (Android or IOS) device into your Mac

This has been driving me mad for ages, every time I plugged a test device in to debug a Cordova app.  I eventually found this solution on SE for El Capitan: defaults -currentHost write disableHotPlug -bool YES Problem solved!