Skip to content

Instantly share code, notes, and snippets.

View seabre's full-sized avatar

Sean Brewer seabre

  • CrowdFiber
  • Chattanooga, TN
View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@seabre
seabre / keybase.md
Created April 9, 2017 02:59
keybase.md

Keybase proof

I hereby claim:

  • I am seabre on github.
  • I am seabre (https://keybase.io/seabre) on keybase.
  • I have a public key ASAaOh0ptPfmijH6a1GK0NpdzmDwAaGSvkRwKYtow96jNAo

To claim this, I am signing this object:

var yourself = {
fibonacci_lookup : {0: 0, 1: 1},
fibonacci : function(n) {
if (this.fibonacci_lookup[n] !== undefined) {
return this.fibonacci_lookup[n];
}
else {
var result = this.fibonacci(n - 1) +
this.fibonacci(n - 2);
some_id = 7
z = Zone.query.get(some_id)
# As a list..
map(lambda i: i.officer, z.zone_assignments)
# Or iterate..
for i in z.zone_assignments:
officer = i.officer
# Do something..
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!--
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!--
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!--
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
@seabre
seabre / arcgis_to_geojson.sh
Created January 4, 2015 01:14
Example to convert ArcGIS REST output to GeoJSON
ogr2ogr -f GeoJSON floodhazardmapping.json "http://www.clevelandgis.org/arcgis/rest/services/Flex/Planning/MapServer/8/query?where=objectid+%3D+objectid&outfields=*&f=json&outSR=4326" OGRGeoJSON
---
layout: default
title: Meetups
---
Test
{% capture meetups %}
{% for meetup in site.data.meetups %}
#{{ meetup.date | date_to_xmlschema }}|{{ meetup.title }}|{{ meetup.presenter }}|{{ meetup.location }}|{{ meetup.image }}|{{ meetup.signup }}|{{ meetup.description }}
{% endfor %}
{% endcapture %}