Skip to content

Instantly share code, notes, and snippets.

View ayoolaao's full-sized avatar
🙃
Smiling

Ayoola Abimbola ayoolaao

🙃
Smiling
View GitHub Profile
@ayoolaao
ayoolaao / node_nginx_ssl.md
Created March 24, 2020 07:59 — forked from bradtraversy/node_nginx_ssl.md
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) https://m.do.co/c/5424d440c63a

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 (https://keybase.io/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;
@ayoolaao
ayoolaao / JavaIO.java
Created February 16, 2018 17:44
lambda exp
package com.java.io;
import java.io.IOException;
import java.nio.file.*;
public class JavaIO {
static String dir = "./";
static String text = "./UX_resume_nlb.txt";
@ayoolaao
ayoolaao / Employee.cs
Last active November 28, 2017 21:42
C# quick question
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;