Skip to content

Instantly share code, notes, and snippets.

airbornelamb / cdnhtmltemplate.html
Created Mar 1, 2017
Basic HTML template that grabs Bootstrap, FontAwesome, and jQuery from BootstrapCDN
View cdnhtmltemplate.html
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>Bootstrap 101 Template</title>
<!-- Bootstrap 3.3.7 minimized -->
# Define your email address below
cd ~/Dropbox/agendamaker
FULLDATE=$(date +%A-%F)
FILEDATE=$(date +%F)
# JULIANDATE=$(date +%j)
airbornelamb / index.js
Created Apr 24, 2017
Basic express skeleton
View index.js
var express = require("express");
var app = express();
app.set("view engine", "ejs");
app.get("/", function(req, res){
app.listen(process.env.PORT, process.env.IP, function(){
airbornelamb /
Created Apr 28, 2017
This is an extension of that allows you to install additional frameworks
echo "This script offers options to setup javascript frameworks for Ubuntu Xenial 16.04"
echo "YOU MUST RUN script FIRST to install node, mongodb, yarn"
echo "Enter number of framework to install: "
options=("cloud9ide" "gitlab" "express" "meteor" "react" "feathers" "quit")
select opt in "${options[@]}"
airbornelamb /
Created May 19, 2017
Flarum install script for Ubuntu 14.04 or Debian 7.11
OS_version=$(lsb_release -a 2> /dev/null | grep Description | tr -d \\t | cut -f2 -d:)
sudo gpasswd -a $USER www-data
# Add repo and key for php5.6
# Support for Debian 7.10 and Ubuntu 14.04
if [ "$OS_version" == "Debian GNU/Linux 7.11 (wheezy)" ]
airbornelamb /
Last active Jun 20, 2017
Installs docker, docker compose, and Ambar document search system
# Docker
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common python python-pip
curl -fsSL | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository "deb [arch=amd64] $(lsb_release -cs) stable"
sudo apt-get update
sudo apt-get install docker-ce
airbornelamb /
Last active Jun 26, 2017
Setup and install kanban-list server
# This script installs the kanban-list application created by
# Install RVM
gpg --keyserver hkp:// --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
curl -sSL -o
chmod +x
airbornelamb / backup.ps1
Last active Aug 23, 2017 — forked from Fireforge/backup.ps1
Powershell backup script using Robocopy
View backup.ps1
# This script calls robocopy over a few folders, and then emails you when they're done
[string]$basesrc, #"G:\",
[string]$basedst, #
title description author tags date_published
Running an NGINX Reverse Proxy with Docker and Let's Encrypt on Google Compute Engine
Learn to serve multiple websites simultaneously in a single Compute Engine instance with Docker and NGINX. Also, learn how to secure the sites with Let's Encrypt.
Compute Engine, NGINX, Docker, Let's Encrypt

This tutorial will guide you through running multiple websites on a Google Compute Engine instance using Docker. You will secure the websites using free SSL/TLS certificates from Let's Encrypt.


Clone a repo

git clone

Or initialize a repository locally

git init

Stage local changes

git add --all