Skip to content

Instantly share code, notes, and snippets.

View ryanseys's full-sized avatar
🌴

Ryan Seys ryanseys

🌴
View GitHub Profile
NAME LAB3B
;*****************************************************************************
; B E G I N N I N G O F P R O G R A M
;*****************************************************************************
;-----------------------------------------------------------------------------
; E Q U A T E S
;-----------------------------------------------------------------------------
NAME LAB3A
;*****************************************************************************
; B E G I N N I N G O F P R O G R A M
;*****************************************************************************
;-----------------------------------------------------------------------------
; E Q U A T E S
;-----------------------------------------------------------------------------
"use strict";
var util = require("util"),
_ = require("underscore"),
events = require("events"),
request = require("request"),
AppAuthClient = require("../google/AppAuthClient"); //thin wrapper around the google oauth2client - simply initializing it with app's client id and secret
var SimpleAuthTransporter= (function () {
@ryanseys
ryanseys / index.html
Last active December 25, 2015 07:09 — forked from BitPuffin/gist:6936429
#! stdtmpl
# proc htmlLayout(request: TRequest, content, title: string): string =
# result = ""
<!DOCTYPE html>
<html>
<head>
<title>${title}</title>
<script src="https://login.persona.org/include.js"></script>
<script src="/js/personabuttons.js"></script>
<script src="/js/personawatcher.js"></script>