Hoarding programming problems for you!

Looking for good programming challenges?

Use the search below to find our solutions for selected questions!

All posts in Tools

Cronjob to renew Let’s Encrypt Certificate

In this post I have described how to manually renew Let’s Encrypt SSL certificate. Here I describe how to configure a cronjob to automatically renew my certificates when they are about to expire. Setup default AMI editor to nano:

Add the following:

The && operator makes sure . . . Read more

Upgrading to PHP 7 on Amazon Linux EC2 Instance

By now you may know that PHP 7 has been available for quite some time now coming with a number of improvements over version 5. It may be wise to upgrade to PHP7 when running for instance a WordPress using Amazon AWS where you are responsible for any upgrades. Also . . . Read more

Renewing Let’s Encrypt SSL certificate

The other day I have received an email from the Let’s Encrypt Expiry Bot stating that my SSL certificate for the domain name lucaslouca.com is about to expire. In this post I have extensively described how to setup a WordPress blog on an EC2 instance along with a Let’s Encrypt . . . Read more

Migrating WordPress site from a legacy hosting provider to AWS

Up until now my blog (lucaslouca.com) was hosted on a traditional/old fashioned hosting provider, Their service provided a fixed 10GB of hosting storage together with FTP access and a cPanel. So here are the reasons why I switched over to AWS: – Less expensive – More flexible due to the . . . Read more

How to setup Let’s Encrypt (SSL) Certificate on OpenShift

In previous posts I have described how to deploy a Node.js application to OpenShift. Now its time to add a custom alias to our Node.js application so that it is accessible through a custom domain, like test.testnode.com. Currently it is accessible only through testnode-lukesnode.rhcloud.com. Off course we also want valid . . . Read more

Deploy a Node.js app to OpenShift from a private GitHub repository

Assuming you have an OpenShift account go ahead and login. Otherwise create an account first. Next, login to OpenShift’s web console, create a new Node.js application by clicking on Add Application… and then selecting Node.js 0.10. Fill out the fields such as Public URL (e.g. testnode) and leave the rest . . . Read more

Keep gh-pages in sync with master

GitHub Pages is designed to host your personal, organization, or project pages directly from a GitHub repository. Add changes to your master branch

Add changes to gh-pages

Your page will be available at https://your-github-username.github.io/repository/.