Skip to content

Instantly share code, notes, and snippets.

View gingerwilliams's full-sized avatar
👽
only sith believe in absolutes

Ginger gingerwilliams

👽
only sith believe in absolutes
View GitHub Profile
@gingerwilliams
gingerwilliams / Browser Detection Script
Created September 18, 2018 18:32
Browser Detection Script
<script>
var browser = function() {
// Return cached result if avalible, else get result then cache it.
if (browser.prototype._cachedResult)
return browser.prototype._cachedResult;
// Opera 8.0+
var isOpera = (!!window.opr && !!opr.addons) || !!window.opera || navigator.userAgent.indexOf(' OPR/') >= 0;
// Firefox 1.0+
Good Evening Family...the details for the cruise are below
Western Caribbean from Tampa, Florida on the Carnival Paradise
Jul 1 2019 - Jul 6 2019 Mon - Sat
Itinerary: Day 1-Depart 4:00 PM
Day 2-Day at Sea
Day 3-Grand Cayman
Day 4-Cozumel
Day 5- Day at Sea
const express = require('express');
const https = require('https');
const fs = require('fs');
const exphbs = require('express-handlebars');
const path = require('path');
const options = {
key: fs.readFileSync( './localhost.key' ),
cert: fs.readFileSync( './localhost.cert' ),
requestCert: false,