Skip to content

Instantly share code, notes, and snippets.

View zspitzer's full-sized avatar
😉
fail fast, fail early, explain why

Zac Spitzer zspitzer

😉
fail fast, fail early, explain why
View GitHub Profile
@zspitzer
zspitzer / index.html
Last active December 30, 2016 23:16 — forked from nolanlawson/index.html
bracket notation vs charAt (http://jsbench.github.io/#8276e7919207b2417df11d956272801c) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>bracket notation vs charAt</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script>
<script src="./suite.js"></script>
</head>
<body>
<h1>Open the console to view the results</h1>
@zspitzer
zspitzer / index.html
Created October 15, 2015 10:01 — forked from anonymous/index.html
Geolocation Test Harness Geolocation Test Harness // source https://jsbin.com/nupuyo
<!DOCTYPE html>
<meta name="robots" content="noindex">
<html>
<head>
<title>Geolocation Test Harness</title>
<meta name="description" content="Geolocation Test Harness">
<script src="https://code.jquery.com/jquery-1.11.3.js"></script>
<title>chrome gps test</title>
<script>
var startTime = null;
@zspitzer
zspitzer / index.html
Created October 15, 2015 10:00 — forked from anonymous/index.html
Offline/Online event toggling demo // source https://jsbin.com/liyeyuluru
<html>
<head>
<title>Offline/Online event toggling demo</title>
<script>
var online = function () {
logger("<B>online</B>");
}
var offline = function () {
logger("offline");