Skip to content

Instantly share code, notes, and snippets.

@zo0o0ot
zo0o0ot / keybase.md
Created September 23, 2014 16:13
I'm rosslarson.

Keybase proof

I hereby claim:

  • I am zo0o0ot on github.
  • I am rosslarson (https://keybase.io/rosslarson) on keybase.
  • I have a public key whose fingerprint is AF16 D151 2B7D 22AF 4B03 DE8E 9536 FB8F E695 AAC0

To claim this, I am signing this object:

@zo0o0ot
zo0o0ot / gist:a19e0d43a0143f0e8c11
Created August 8, 2015 23:37
TypeError: undefined is not a function - line 62 - not getting momentJS working in PebbleJS with Clock?
var UI = require('ui');
var ajax = require('ajax');
var Vector2 = require('vector2');
var Settings = require('settings');
//Requiring clock to get moment.js
var Clock = require('clock');
//var Moment = require('moment');
// Show splash screen while waiting for data
var splashWindow = new UI.Window();
@zo0o0ot
zo0o0ot / GBAPS.sql
Created September 16, 2015 04:48
Ross Larson - GBAPS code sample - SQL
-- Question 1 - List Names, Birthdates. Sort by last name, first name
Select Distinct firstName, lastName, birthDate
From Employee
Order By lastName, firstName;
/*
firstName lastName birthDate
Christine Morgan 1974-05-04 00:00:00
Jill Page 1980-10-21 00:00:00
Bill Simons 1968-02-14 00:00:00
Joe Smith 1960-01-16 00:00:00
<FilesMatch appsettings.php>
Order Allow,Deny
Deny from all
</FilesMatch>
<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteBase /
# Comment next line to disable forcing of HTTPS for all pages: