Skip to content

Instantly share code, notes, and snippets.

@airbornelamb
airbornelamb / index.js
Created April 24, 2017 10:24
Basic express skeleton
var express = require("express");
var app = express();
app.set("view engine", "ejs");
app.get("/", function(req, res){
res.render("home");
});
app.listen(process.env.PORT, process.env.IP, function(){
@airbornelamb
airbornelamb / agendamaker.sh
Created April 17, 2017 21:45
Daily task emailer
#!/bin/bash
# Define your email address below
SENDTOEMAIL="josh@lamb.haus"
cd ~/Dropbox/agendamaker
FULLDATE=$(date +%A-%F)
FILEDATE=$(date +%F)
# JULIANDATE=$(date +%j)
@airbornelamb
airbornelamb / cdnhtmltemplate.html
Created March 1, 2017 18:34
Basic HTML template that grabs Bootstrap, FontAwesome, and jQuery from BootstrapCDN
<!DOCTYPE html>
<html lang="en">
<head>
<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 -->