Skip to content

Instantly share code, notes, and snippets.

View calvinmetcalf's full-sized avatar

Calvin Metcalf calvinmetcalf

View GitHub Profile
@calvinmetcalf
calvinmetcalf / .block
Created March 3, 2017 21:00 — forked from mbostock/.block
U.S. Population Density
license:gpl-3.0
height:680
border:no
@calvinmetcalf
calvinmetcalf / index.html
Last active August 9, 2016 19:39 — forked from ramiroaznar/index.html
How to remove a CARTO layer interactivity + GMs
<!DOCTYPE html>
<html>
<head>
<title>GMs and CARTO.js | Remove interactivity</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%;

Cross off when term is used in talk, if you get 5 in a row (horizontal, vertical, or diagonal) find Calvin Metcalf (@cwmma), there are prizes for the first 3 to finish (at least). Yelling "Bingo!" in the middle of somebody's talk will disqualify you (unless said speaker indicates that they are ok with that). Not affiliated with foss4g (this year's at least).

Keybase proof

I hereby claim:

  • I am calvinmetcalf on github.
  • I am calvinmetcalf (https://keybase.io/calvinmetcalf) on keybase.
  • I have a public key whose fingerprint is F3EF 5F62 A87F C27A 22E6 43F7 14CE 4FF5 015A A242

To claim this, I am signing this object:

@calvinmetcalf
calvinmetcalf / .block
Last active May 13, 2016 20:25 — forked from mbostock/.block
N-Body Problem
license: gpl-3.0
'use strict';
var fix = require('./test/fixtures.json');
var filtered = fix.valid.ec.filter(item=>item.scheme === 'ecdsa-with-SHA1');
var fs = require('fs');
var crypto = require('./browser');
function forAlg(alg) {
return filtered.map(f=>{
var message = new Buffer(`${alg}: ${f.message.replace('sha1', alg)}`);
var priv
if (f.passphrase) {
@calvinmetcalf
calvinmetcalf / wordlist.txt
Created October 8, 2015 15:00
js geo word list
Go (language)
ESRI
ArcMap
QGIS
ArcPRO
Mapbox
Leaflet
vector tiles
wms
wmts
<html>
<head>
<meta charSet="utf-8" />
<title>title</title>
<meta name="viewport" content="width=device-width, user-scalable=no" />
</head>
<body>
</body>
<script>
@calvinmetcalf
calvinmetcalf / index.js
Last active August 29, 2015 14:17
requirebin sketch
var randombytes = require('randombytes');
document.getElementsByTagName('body')[0].innerHTML = randombytes(10).toString('hex');
language: node_js
node_js:
- "0.10"
- "0.12"
- iojs