Skip to content

Instantly share code, notes, and snippets.

@erwaller
erwaller / index.html
Created Aug 16, 2019 — forked from ryanbaumann/index.html
Example of loading large geojson into Mapbox GL JS
View index.html
<!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' />
View keybase.md

Keybase proof

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:

@erwaller
erwaller / README.md
Last active Aug 29, 2015
SeatGeek Map with Simple Vector Layer
View README.md

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.

@erwaller
erwaller / README.md
Last active Dec 22, 2015
No one uses older versions of Internet Explorer by choice
View README.md

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.

Notes

  • 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.

Think this is interesting?

We're hiring a Frontend Developer at SeatGeek to work with awesome web technologies (ie. the kind f

@erwaller
erwaller / README.md
Last active Dec 21, 2015
The SeatGeek Office
View README.md

Equirectangular panorama of the SeatGeek office, rendered with THREE.js.

@erwaller
erwaller / README.md
Last active Dec 20, 2015
3D Seating Charts
View README.md
@erwaller
erwaller / index.html
Last active Dec 11, 2015
Fun with the SG Recommendations API
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Basic Test</title>
<style>
@import url("//bl.ocks.org/style.css?20120613");
</style>
</head>
<body>
@erwaller
erwaller / gist:956498
Created May 5, 2011
Example use case for redis scripting branch
View gist:956498
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
View php-5.3.0-fpm.sh
#! /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