Useful Stuff

This is where I keep information for my own reference and others about things I’ve found useful.

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 https://github.com/letsencrypt/letsencrypt /opt/letsencrypt unset PYTHON_INSTALL_LAYOUT /opt/letsencrypt/letsencrypt-auto –debug echo “rsa-key-size = 4096” >> /etc/letsencrypt/config.ini echo “email = email@example.com” >> /etc/letsencrypt/config.ini unset PYTHON_INSTALL_LAYOUT […]