Skip to content

Instantly share code, notes, and snippets.

// Source code from - https://www.classtools.net/random-name-picker/
// THE FUNCTIONS IN QUESTION
function spin() {
if(spinning==1){return}
spinning=1
$("#wellDone").hide()
minTimeToSpin = 8; // 4
timeRange = 2; // 3
@timborden
timborden / node_oauth_xero
Last active May 26, 2016 01:33
Simple Node.js Xero OAuth implementation for Private, Public or Partner applications
"use strict";
var restify = require('restify');
var fs = require('fs');
var request = require('request');
var qs = require('qs');
var GET_request = function (req, res, next) {
var options = {
url: process.env.XERO_REQUEST_URL,