Uncategorized

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 […]

Stop OSX Photos.app 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 com.apple.ImageCapture disableHotPlug -bool YES Problem solved!