Skip to content

Instantly share code, notes, and snippets.


Ayoola Abimbola ayoolaao

View GitHub Profile
ayoolaao /
Created Mar 24, 2020 — forked from bradtraversy/
Node app deploy with nginx & SSL

Node.js Deployment

Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt

1. Sign up for Digital Ocean

If you use the referal link below, you get $10 free (1 or 2 months)

2. Create a droplet and log in via ssh

I will be using the root user, but would suggest creating a new user


Keybase proof

I hereby claim:

  • I am ayoolaao on github.
  • I am ayoolaao ( on keybase.
  • I have a public key ASBFXmQrFWXFJ1AMcx8PQEZvwOVHRYYuZtqHTZj2MVHnxwo

To claim this, I am signing this object:

static public MyLinkedSort[] split(MyLinkedSort l){ // TODO
// parameter is a List
// it returns an array of size 2
// the 0th element is the left list
// the first element is the right list
MyLinkedSort left = l;
MyLinkedSort right = l;
Node leftFirst = left.first;
Node rightFirst = right.first;
import java.nio.file.*;
public class JavaIO {
static String dir = "./";
static String text = "./UX_resume_nlb.txt";
ayoolaao / Employee.cs
Last active Nov 28, 2017
C# quick question
View Employee.cs
using System;
namespace Mod2_Lab1
public abstract class Employee
// Class Vars
private string employeeName;
private double employeebaseSalary;
private int employeeId;
private static int employeeCount = 1;