Skip to content

Instantly share code, notes, and snippets.

View zbeat's full-sized avatar

Zack Beatty zbeat

View GitHub Profile
@zbeat
zbeat / gist:7547847
Created November 19, 2013 16:14
SeeClickFix map widget for Huntsville, AL.
<iframe src="http://seeclickfix.com/map_widgets/3981" style="padding: 5px; width: 98%; height: 650px; border: 1px solid #ddd; box-shadow: 2px 2px 2px #aaa; border-radius: 3px;"></iframe>
@zbeat
zbeat / gist:8195228
Last active January 1, 2016 20:09
Windsor, CT - SeeClickFix map widget (Issues)
<iframe src="http://seeclickfix.com/map_widgets/4064" style="padding: 5px; width: 98%; height: 700px; border: 1px solid #ddd; box-shadow: 2px 2px 2px #aaa; border-radius: 3px;"/>
@zbeat
zbeat / gist:8195349
Last active January 1, 2016 20:09
Windsor, CT - SeeClickFix map widget (Reporting)
<iframe src="http://seeclickfix.com/map_widgets/4049" style="padding: 5px; width: 98%; height: 700px; border: 1px solid #ddd; box-shadow: 2px 2px 2px #aaa; border-radius: 3px;"/>
@zbeat
zbeat / gist:8421011
Created January 14, 2014 16:21
SeeClickFix map widget - Yerba Buena Community Benefit District (YBCBD)
<iframe src="http://seeclickfix.com/map_widgets/4104" style="padding: 5px; width: 98%; height: 700px; border: 1px solid #ddd; box-shadow: 2px 2px 2px #aaa; border-radius: 3px;"/>
@zbeat
zbeat / index.html
Last active August 29, 2015 13:57
NBC Philadelphia SeeClickFix (responsive)
<h1>See a problem? Report it! SeeClickFix...</h1>
<p>Is there a street light out in your neighborhood? Abandoned vehicle? Graffiti that needs removal? A pothole that needs paving? Report non-emergency problems from your smartphone or computer with SeeClickFix.</p>
<div style="width:98%;">
<img src="http://zbeat.github.io/seeclickfix/img/scf-banner-288x108.png" style="display: block; margin: 0 auto; border:0px">
<iframe src="http://seeclickfix.com/map_widgets/4342/" style="display: block; margin: 0 auto; padding: 5px; width: 90%; height: 650px; border: 1px solid #ddd; box-shadow: 2px 2px 2px #aaa; border-radius: 3px;"></iframe>
</div>
@zbeat
zbeat / index.html
Last active August 29, 2015 13:58
Tell HoCo! - Howard County, MD SeeClickFix
<h1>Report a Problem - Tell HoCo</h1>
<h3>Overview</h3>
<p style="margin: 5px; float: right"><img alt="Tell HoCo" style="width: 300px" src="http://zbeat.github.io/seeclickfix/img/howardcounty-md-tellhoco-iphone.png" /></p>
<p>Help report non-emergency problems to Howard County from your smartphone, tablet, or desktop computer! Using <strong>Tell HoCo</strong>, you can make service requests such as:</p>
<ul>
<li>potholes
<li>graffiti
<li>damaged street signs
<li>abandoned vehicles
@zbeat
zbeat / index.html
Last active August 29, 2015 14:01
Talk to CMHC - new simplified widget
<h1>Talk to CMHC</h1>
<p>See a broken chair? A bathroom that needs servicing? Graffiti that needs removal? Now you can help report non-emergency problems you find at the Connecticut Mental Health Center directly to staff, from your smartphone or a computer, thanks to our new partnership with SeeClickFix.
<p>CMHC staff responds to SeeClickFix requests during regular business hours. If this report comes in on a holiday, weekend or after-hours, it will be read on the next business day. PLEASE NOTE: SeeClickFix is not to be used for emergencies. For urgent matters that require immediate attention or a police response, dial 9-1-1.</p>
<div style="width:98%;">
<iframe style="display: block; margin: 0 auto; padding: 5px; width: 90%; height: 300px; border: 1px solid #ddd; box-shadow: 2px 2px 2px #aaa; border-radius: 3px;" src="http://seeclickfix.com/buildings/581/issues/new"></iframe>
</div>
<p>Once you have sent a report, you should receive email communication from CMHC staff acknowledging your service request.
#!/bin/bash
function remove_dir () {
rm -rf "$1_"
if [ -d "$1" ]
then
mv "$1" "$1_"
fi
}
# Freshen homebrew
brew update
brew upgrade
# The main stuff we need
brew install postgresql
brew install postgis
brew install gdal
# Switch to postgis version 1.5.3 - 2.0 not supported yet
@zbeat
zbeat / index.html
Last active August 29, 2015 14:05
City of Nagpur "NMC on Mobile" landing page
<h1>Report a Problem - NMC on Mobile</h1>
<iframe src="https://seeclickfix.com/map_widgets/3126" style="display: block; margin: 10 auto; padding: 5px; width: 90%; height: 500px; border: 1px solid #ddd; box-shadow: 2px 2px 2px #aaa; border-radius: 3px;"></iframe>
<div style="margin:5px; float:right"><img alt="NMC on Mobile" style="width: 300px" src="http://s18.postimg.org/l35upbnq1/nagpur_iphone.png"></div>
<p>Now you can help report non-emergency problems to the City of Nagpur from your smartphone, tablet, or computer, thanks to our new partnership with SeeClickFix. Use the all new <strong>NMC on Mobile</strong> program to submit requests related to:
<ul>
<li>Garbage
<li>Traffic Lights
<li>Pothole