Here's a pretty minimal example of layering vector data on a SeatGeek map using Leaflet. In the interest of not making the example overwhelming, I'm only rendering a few features.
Leaflet 1.0 beta 1 http://leafletjs.com/2015/07/15/leaflet-1.0-beta1-released.html
This file contains 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
#! /bin/bash | |
# sudo apt-get install make bison flex gcc patch autoconf subversion locate | |
# sudo apt-get install libxml2-dev libbz2-dev libpcre3-dev libssl-dev zlib1g-dev libmcrypt-dev libmhash-dev libmhash2 libcurl4-openssl-dev libpq-dev libpq5 libsyck0-dev | |
# sudo apt-get install libmysqlclient15-dev | |
BASEDIR=$PWD | |
# LIBEVENT |
This file contains 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
require 'rubygems' | |
require 'redis' | |
require 'benchmark' | |
r = Redis.new | |
saddkey = <<LUA | |
redis('SADD', KEYS[1], KEYS[2]) | |
return redis('SET', KEYS[2], ARGV[1]) | |
LUA |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Basic Test</title> | |
<style> | |
@import url("//bl.ocks.org/style.css?20120613"); | |
</style> | |
</head> | |
<body> |
Equirectangular panorama of the SeatGeek office, rendered with THREE.js.
While doing my occasional SeatGeek google analytics review to see if we can drop IE 8 yet, I came across some pretty interesting data. Older versions of IE show a much stronger dropoff in usage over the weekend. This fits the narrative that these old versions tend to hang around for awhile in corporate deployments quite nicely, I just never expected the effect to be so stark.
- IE 8 is the last version to support Windows XP. My guess is that's why we get more traffic from IE 8 than from IE 9.
- The "Desirability Coefficient" is a ratio of the daily weekend usage to the daily weekday usage.
- Safari's pattern looks a lot like IE 10: little visually perceptible weekend dropoff. Chrome and firefox both show a bit of weekend dropoff, but nowhere near as much as either IE 8 or IE 9.
We're hiring a Frontend Developer at SeatGeek to work with awesome web technologies (ie. the kind f
I hereby claim:
- I am erwaller on github.
- I am erwaller (https://keybase.io/erwaller) on keybase.
- I have a public key ASBjpiE3fCZYdQRR54hglb8jF2mAaNYTXHFPv_Pz-FK0xQo
To claim this, I am signing this object:
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset='utf-8' /> | |
<title></title> | |
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' /> | |
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.54.0-beta.1/mapbox-gl.js'></script> | |
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.54.0-beta.1/mapbox-gl.css' rel='stylesheet' /> | |
<link href='https://www.mapbox.com/base/latest/base.css' rel='stylesheet' /> |