Skip to content

Instantly share code, notes, and snippets.

Sean Brewer seabre

Block or report user

Report or block seabre

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View subdivide.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View marketstparcels.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View 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:

View my_fib_solution.js
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);
View zonequery.py
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..
View mapred-site.xml
<?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
View hdfs-site.xml
<?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
View core-site.xml
<?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 Jan 4, 2015
Example to convert ArcGIS REST output to GeoJSON
View arcgis_to_geojson.sh
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
View meetups.html
---
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 %}
You can’t perform that action at this time.