This article describes how to solve PDOException: SQLSTATE[HY000]  Connection refused when connecting from any PHP application with PDO::MySQL to a SSL enabled MySQL database with mismatching CN.
The classical support flow – an error occurs, a user opens a ticket / phones support, company investigates, a fix is put in place, ticket is updated / user is called back – is very reactive. Here’s how we made it a bit proactive with HipChat and Bash for free to increase user satisfaction.
A solution of how to provide on-demand thumbnails of any size, based on user uploaded images, stored on Google Cloud Storage with Nginx and a Java restful web service. Cache generated thumbnails and make them disposable keeping only originals. Save storage space by deleting old or all thumbnails.