This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="blockquote"> | |
<p class="quote">This is where a block quote will go. Block quotes are super exciting. You should probably be really pumped to have one on your page.</p> | |
<p class="attribution">- Frank Johnson</p> | |
<p class="detail">He is a super cool dude so you should listen to him</p> | |
<div class="blockquote-clear" style="clear: both;"></div> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
overflow: scroll; | |
overflow-y: scroll; | |
-webkit-overflow-scrolling: touch; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# We start with a CSV called "crime_master_wloo_violent.csv" that has violent crime reports in Waterloo. | |
# Included in csv are columns for latitude ("lat") and longitude ("long"): | |
https://github.com/csessig86/crime_map2013/blob/master/csv/crime_master_wloo_violent.csv | |
# Command to turn CSV into DBF with the same name | |
ogr2ogr -f "ESRI Shapefile" crime_master_wloo_violent.dbf crime_master_wloo_violent.csv | |
# Create a file called "crime_master_wloo_violent.vrt" | |
# Change "SrcLayer" to the name of the source | |
# Change OGRVRTLayer name to "wloo_violent" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<META HTTP-EQUIV="refresh" CONTENT="15"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<table class='vote-results-table'> | |
<tr> | |
<td > | |
<div class='vote-results-header'>Results</div> | |
</td> | |
</tr> | |
{{#each candidates}} | |
<tr> | |
<td width='250px'><strong>{{candidate}}</strong>: {{votes}} votes</td> | |
</tr> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Header --> | |
<div id="header-container" class="header-footer"> | |
<h4><a href="#WaterlooCI" data-ajax="false">Election 2013</a></h4> | |
<a href="http://wcfcourier.com/"> | |
<img id="courier-logo" src="images/WCFCourier_LOGO_BW_300px.png" /> | |
</a> | |
</div> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/***** Universal styles *****/ | |
html, body { | |
padding: 0px; | |
margin: 0px; | |
padding-right:1px;; | |
} | |
body { | |
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; | |
font-size: 13px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function numberFormat(nStr){ | |
nStr += ''; | |
x = nStr.split('.'); | |
x1 = x[0]; | |
x2 = x.length > 1 ? '.' + x[1] : ''; | |
var rgx = /(\d+)(\d{3})/; | |
while (rgx.test(x1)) | |
x1 = x1.replace(rgx, '$1' + ',' + '$2'); | |
return x1 + x2; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a data-ajax="false"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.mobile.loadingMessage = false; |