Skip to content

Instantly share code, notes, and snippets.

View amyleew's full-sized avatar

Amy Lee Walton amyleew

View GitHub Profile
@amyleew
amyleew / index.html
Created March 27, 2018 15:31
UC Bearcats
<!DOCTYPE html>
<head>
<script src="https://api.tiles.mapbox.com/mapbox-gl-js/v0.44.0/mapbox-gl.js"></script> <link href="https://api.tiles.mapbox.com/mapbox-gl-js/v0.44.0/mapbox-gl.css" rel="stylesheet" /> <style>
body { margin:0; padding:0; }
#map { position:absolute; top:0; bottom:0; width:100%; }
</style>
</head>
<body>
<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.38.0/mapbox-gl.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.38.0/mapbox-gl.css' rel='stylesheet' />
<style>
body { margin:0; padding:0; }
#map { position:absolute; top:0; bottom:0; width:100%; }
@amyleew
amyleew / index.html
Last active July 22, 2018 03:39
Beautiful Maps: Blueprint
<!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.32.1/mapbox-gl.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.32.1/mapbox-gl.css' rel='stylesheet' />
<style>
body { margin:0; padding:0; }
@amyleew
amyleew / moves-Q1.md
Last active January 9, 2017 17:12
Moves Q1
@amyleew
amyleew / .md
Last active June 28, 2016 14:51
Review of Studio user testing notes

Property panel

The goal of the property view is twofold:

  • Provide a space for user to apply changes to layers in a systematic way, informed by values used by other layers
  • Provide a schematic view that helps users understand their style better.

@amyleew
amyleew / test.md
Last active March 2, 2016 03:06
Testing notes

Commander's Intent

Develop several core tests for GL Styles to guarantee uniform behavior across Mapbox style templates. Tests will produce either Mandatory failure or Optional / Best Practices warning depending on if it's an objective or subjective issue, as determined by the cartography team.

To start these will be for internal testing for our current default styles.

Once these are determined internally, they can be expanded to:

  • Customer facing as cli or github repo
  • Recommended tool for custom map design clients
@amyleew
amyleew / roy-pop-map.md
Last active December 17, 2015 04:06
Roy lichtenstein inspried

whaam map

image

image

image

Topics

// https://www.npmjs.com/package/url-querystring
var extract = require('url-querystring');
var qs = require('querystring');
var res = extract(window.location.search.substring(1));
qs.parse(res.qs);
console.log(res.qs);
@amyleew
amyleew / tmux-cheatsheet.markdown
Created December 4, 2015 19:08 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname