How to add a subdomain to an existing certificate using certbot

By | 2018-02-28T06:07:20+00:00 February 28th, 2018|blog|

You're probably reading this because you already have a Let's Encrypt certificate issued using certbot for a domain, and now want to add-on subdomains. If you want to create a new certificate, have a look at the end of this article. In my case I already had a certificate which covered I have [...]

How to automatically and permanently delete unwanted emails

By | 2018-01-23T10:31:04+00:00 January 23rd, 2018|blog|

Gmail provides the option to filter unwanted emails to your Bin. Click here for the instructions on how to do that. The emails though only get automatically permanently deleted after 30 days. So if you are trying to block someone from emailing you, and you have weak moments and end up checking the trash, you [...]

How to setup a Node.js server on DigitalOcean

By | 2018-01-11T03:26:06+00:00 January 10th, 2018|blog|

Once your droplet is created and you've ssh'd in, it's time to set some things up.. I start off by installing nvm. You can find the command for the install script here. At the time of writing, I used curl -o- | bash I needed to exit my terminal, and then ssh back in. [...]

How to setup Nginx for WordPress on DigitalOcean

By | 2018-01-04T03:15:30+00:00 January 4th, 2018|blog|

I decided to switch from Apache to Nginx. I have a couple of WordPress sites on a DigitalOcean droplet, so I needed to reconfigure them to be used with Nginx. I basically followed this guide which was great for most of it, but I was still not getting the sites loading properly (404 errors, forbidden). [...]

How To Use jQuery To Post A CSV File To A Node.js Server

By | 2017-08-02T21:34:46+00:00 August 2nd, 2017|gist|

If you have a front-end that needs to accept a CSV file, upload it to a server using jQuery, and then have that Node.js server process that CSV file, then this a way to do it. First up, the HTML and then the jQuery that takes the selected CSV file, and uploads it to [...]

How To A Create A JSON API Wrapper For SOAP

By | 2017-05-12T19:32:34+00:00 May 12th, 2017|gist|

I had a project where I needed to setup a server that communicated over the SOAP protocol. I use Node.js for my backend server, so I began looking for libraries to use to work with. I settled on strong-soap, but began to have issues with doing simple changes to the XML like editing the prefix [...]