Skip to content

Instantly share code, notes, and snippets.

View seabre's full-sized avatar

Sean Brewer seabre

  • CrowdFiber
  • Chattanooga, TN
View GitHub Profile
@seabre
seabre / schedule-for-open-chattanooga-lunch-meetings.md
Last active August 29, 2015 14:06
Schedule For Open Chattanooga Lunch Meetings

Schedule For Open Chattanooga Lunch Meetings

The lunch meetings are meant to be a way to catch up on current projects and for new members to pipe in to a project. We try to have food there, but feel free to bring your own if you'd like.

Time Action
12:00pm - 12:10pm Introduction to Open Chattanooga for new folks.
12:10pm - 12:25pm Special speaker or project discussion.
12:25pm - 12:45pm Project discussion. List projects and detail open tasks in each project that people can participate in. Hard stop at 12:45pm so that people can get back to work on time.
http://flushot.healthmap.org/getMarkers.php?lat=35.7795897&lon=-78.63817870000003&locname=Raleigh%2C+NC%2C+USA&vaccines=1%2C4%2C3%2C15%2C17%2C16%2C2%2C14&radius=50
---
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 %}
@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
<?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
<?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
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..
@seabre
seabre / replace_text_in_all_files.sh
Created September 16, 2011 17:26
Find and Replace Text in All Files Within a Directory Tree
find . -type f -print0 | xargs -0 sed -i 's/oldword/newword/g'
@seabre
seabre / foxtrot.py
Created September 16, 2011 17:32
Solve The Code From The FoxTrot Comic From 04/19/2009
#Originally from: http://codepad.org/nkoCRTss
#Solve the code from today's (04/19/2009) FoxTrot comic.
#**NOT** the best (definitely not the most elegant) way to do this, but I banged it out in 5 minutes...
from math import *
code = [16,11,13,5,10,2,15,18,13,23,8,11,17,11,12,22,11,12,19]
def solve(num):