Skip to content

Instantly share code, notes, and snippets.

Andrew W. Hill andrewxhill

Block or report user

Report or block andrewxhill

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
@andrewxhill
andrewxhill / index.html
Last active Aug 29, 2015
Clustering using snaptogrid
View index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!--Edit the title of the page-->
<title>CartoDB Point Clustering</title>
<meta name="description" content="">
<meta name="author" content="">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="http://libs.cartocdn.com/cartodb.js/v3/themes/css/cartodb.css" />
@andrewxhill
andrewxhill / dark-theme.css
Last active Aug 29, 2015
Spreading points found at the same location
View dark-theme.css
/* Change the styles below in order to customize your template */
body{font-family: Helvetica, Arial; font-weight: regular; font-size: 15px; color: #CBCBCB; background-color: #333}
h1{font-weight: bold; font-size: 31px; letter-spacing: -1px; color: #FFF; line-height: 33px; *margin-top:20px;}
h3{font-weight: bold; font-size: 12px; color: #777; text-transform: uppercase; margin: 10px 0 0 0;}
p{margin: 8px 0 20px 0; line-height: 18px;}
a, a:visited{color: #72B6E5; text-decoration: none;}
a:hover{text-decoration: underline;}
.context{font-family: Helvetica, Arial; font-size: 13px; color: #999; padding: 10px 0 0 0;}
@andrewxhill
andrewxhill / README.md
Last active Aug 29, 2015
Tribeca New Media - Breakout 1: Drivers for participation
View README.md

Question regarding drivers for participation and communities

  1. Defining your project's audience
    1. How do you know if your audience will use what you build?
    2. How do you determine the actions you want your users to take?
    3. How do you reach the audience you think exists?
  2. When your audience arrives...
    1. How do you get viewers to take an action?
    2. How do you respond or change to reflect an audience you didn't expect?
    3. How do you anticipate a change in audience?
@andrewxhill
andrewxhill / BreakoutThree.md
Last active Aug 29, 2015
Tribeca New Media - Breakout 2: Building community
View BreakoutThree.md

Failure

  1. How do you fail early?
  2. What if you fail?
  3. What spaces are available to archive failed projects?
  4. Where do you discuss/communicate failed projects productively?
  5. What is the role of granting institutions in failed projects?

How do you fail early?

@andrewxhill
andrewxhill / CartoCSS.md
Last active Aug 29, 2015
Madison workshop documents
View CartoCSS.md

Simple style

#cables{
  line-color: #41006D;
  line-width: 2;
  line-opacity: 0.7;
  line-comp-op: screen;
}
@andrewxhill
andrewxhill / index.html
Last active Aug 29, 2015
Country name, iso, synonyms
View index.html
<!DOCTYPE html>
<html>
<head>
<title>Country synonyms</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<link rel="shortcut icon" href="http://cartodb.com/assets/favicon.ico" />
<script src="http://libs.cartocdn.com/cartodb.js/v3/cartodb.js"></script>
<style>
html, body {
@andrewxhill
andrewxhill / index.html
Last active Aug 29, 2015
Torque using createLayer in CartoDB.js
View index.html
<!DOCTYPE html>
<html>
<head>
<title>Torque runtime example | CartoDB.js</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<link rel="shortcut icon" href="http://cartodb.com/assets/favicon.ico" />
<style>
html, body, #map {
height: 100%;
View foo.md

Prior to georeferences

  • "You have latitude and longitude columns in your table"

    • let's do it!
  • "You have city names, administrative areas, postal codes, or IP addresses"

    • "My column contains, " [1, 2, 3, 4, 5]
@andrewxhill
andrewxhill / atx.png
Last active Aug 29, 2015
Quick list of CartoDB weather and climate related maps
@andrewxhill
andrewxhill / index.html
Last active Aug 29, 2015
Random tiles: CartoDB hates me
View index.html
<!DOCTYPE html>
<html>
<head>
<title>Broken pieces | CartoDB.js</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<link rel="shortcut icon" href="http://cartodb.com/assets/favicon.ico" />
<style>
html, body, #map {
height: 100%;
You can’t perform that action at this time.