Skip to content

Instantly share code, notes, and snippets.

@swingley
swingley / index.html
Created July 26, 2013 17:21
load class breaks renderer from a map on arcgis.com, build boxes from map clicks and use class breaks renderer to symbolize boxes
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=7, IE=9, IE=10">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
<title></title>
<link rel="stylesheet" href="//js.arcgis.com/3.6/js/esri/css/esri.css">
<style>
html, body, #map {
#!/bin/bash
# Source: http://toomuchdata.com/2012/06/25/how-to-install-python-2-7-3-on-centos-6-2/
# Install stuff #
#################
# Install development tools and some misc. necessary packages
yum -y groupinstall "Development tools"
yum -y install zlib-devel # gen'l reqs
<?xml version="1.0" encoding="UTF-8"?><response code="1"><collection name="Pointe" count="418" country="US" radius="4000" radiusuom="mile" centerpoint="-100.00000118858782,40.00164381694018" state="Kansas" city="Norton" address="Road A" province="" postalcode="67654"><poi>
<name>Trader Joe's Lincoln (722)</name>
<_distance>182.24</_distance>
<_distanceuom>mile</_distanceuom>
<address1>3120 Pine Lake Rd</address1>
<address2>Ste R</address2>
<beer>Yes</beer>
<city>Lincoln</city>
<clientkey>722</clientkey>
<comingsoon></comingsoon>
@swingley
swingley / index.html
Last active August 29, 2015 14:26
Rivers
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href=
"http://js.arcgis.com/3.14/esri/css/esri.css">
<style>
#map { height:500px; } #mundi-link { position: absolute; right: 5px; z-index: 200; }
</style>
@swingley
swingley / custom-ionicons-manifest.json
Created October 25, 2015 18:13
Manifest.json file for custom ionicons (http://ionicons.com/) build.
{
"build_hash": "08a3ec50d4854c62511042ed7ebdf512",
"prefix": "ion-",
"version": "2.0.1",
"name": "Ionicons",
"icons": [
{
"code": "0xf125",
"name": "chevron-right"
},
[{
"fuels": {
"Natural gas": [{
"amt": "0.113141144505",
"year": "2004"
}, {
"amt": "0.324164273643",
"year": "2014"
}],
"Nuclear": [{
[
[{
"airline": "American",
"totalDelay": 10914,
"count": 164,
"averageDelay": 67,
"x": 0,
"y": 67
}, {
"airline": "American",
@swingley
swingley / california_50m.geojson
Created November 13, 2015 03:56
Module 3 exercise for Intermediate D3 for Data Visualization
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@swingley
swingley / california_50m.geojson
Created November 13, 2015 03:59
More d3 projections.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@swingley
swingley / california_50m.geojson
Created November 13, 2015 04:02
"Satellite" d3 projection focused on California
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.