Skip to content

Instantly share code, notes, and snippets.

View colemanm's full-sized avatar

Coleman McCormick colemanm

View GitHub Profile
@colemanm
colemanm / map.geojson
Last active August 29, 2015 14:18 — forked from anonymous/map.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@colemanm
colemanm / map.geojson
Last active August 29, 2015 14:18 — forked from anonymous/map.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{
id: "8faf0917-1987-4ac6-bcc7-4fbf71d191f3",
type: "record.create",
owner_id: "00053caf-4b6e-4c86-88b6-64695895dffe",
data: {
status: null,
version: 1,
id: "7553fd44-78bb-41eb-a453-8b301ae5e52e",
form_id: "295eda4a-7795-4881-9f62-085a930b356e",
project_id: null,
# 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 and PostGIS
brew install postgis
initdb /usr/local/var/postgres
pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
@colemanm
colemanm / fulcrum-forms-api-response.json
Created May 4, 2012 13:42 — forked from tylerjohnst/gist:2588883
Example response requesting user forms via Fulcrum API
{
"current_page":1,
"total_pages":1,
"per_page":50,
"forms":[
{
"id":"4f9ab1bf21c79826c600001e",
"name":"Park Maintinence",
"description":"Form for inspection of park for maintenance and cleanup.",
"created_at":"2012-04-27T14:48:31Z",
@colemanm
colemanm / fulcrum_choice_list_example.json
Created May 4, 2012 02:43 — forked from tylerjohnst/fulcrum_choice_list_example.json
Example choice_list JSON body for an API request
{
"choice_list":{
"name":"Florida Areas",
"description":"Areas in Tampa/St. Pete",
"created_at":"2012-04-24T08:59:35Z",
"updated_at":"2012-04-24T08:59:50Z",
"choices":[
{
"label":"Carrolwood",
"value":"Carrolwood"