Skip to content

Instantly share code, notes, and snippets.

View kcm's full-sized avatar
✈️
Idle loop optimization

Ken MacInnis kcm

✈️
Idle loop optimization
View GitHub Profile
@kcm
kcm / keybase.md
Created June 27, 2018 15:33
Keybase Proof

Keybase proof

I hereby claim:

  • I am kcm on github.
  • I am kcm (https://keybase.io/kcm) on keybase.
  • I have a public key ASD7wwA5kfHh6iooYgUlooNdWn1o76-K2-isFXGeQNVSsQo

To claim this, I am signing this object:

require 'rubygems'
require 'mechanize'
FIRST_NAME = 'FIRST_NAME'
LAST_NAME = 'LAST_NAME'
PHONE = 'PHONE'
EMAIL = 'EMAIL@provider.com'
PARTY_SIZE = 2
SCHEDULE_RANGE = { :start_time => '19:00', :end_time => '20:30' }
# Some good references are:
# http://russbrooks.com/2010/11/25/install-postgresql-9-on-os-x
# http://www.paolocorti.net/2008/01/30/installing-postgis-on-ubuntu/
# http://postgis.refractions.net/documentation/manual-1.5/ch02.html#id2630392
#1. Install PostgreSQL postgis and postgres
brew install postgis
initdb /usr/local/var/postgres
pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
This file has been truncated, but you can view the full file.
'use strict';
var COMPILED = !0, goog = goog || {};
goog.global = this;
goog.DEBUG = !1;
goog.LOCALE = "en";
goog.provide = function (a) {
if (!COMPILED) {
if (goog.isProvided_(a))
throw Error('Namespace "' + a + '" already declared.');
delete goog.implicitNamespaces_[a];