I hereby claim:
- I am kaezarrex on github.
- I am kaezarrex (https://keybase.io/kaezarrex) on keybase.
- I have a public key whose fingerprint is 9CC4 5C65 D3D2 1AE5 A2FB B998 29DD A6EB 4275 E5A7
To claim this, I am signing this object:
// ==UserScript== | |
// @name TL Trac Beautifier | |
// @namespace https://dev.transloc.com | |
// @description Makes Trac look much better. | |
// @include https://dev.transloc.com/* | |
// ==/UserScript== | |
var $; | |
addJQuery(letsJQuery); |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../notification-elements/notification-alert.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { |
<html> | |
<head> | |
<title>Sketch1</title> | |
<style> | |
body { | |
margin: 0; | |
background-color: #000; | |
} | |
line { | |
stroke: #333; |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>D3 Chart and Table</title> | |
<link rel="stylesheet/less" type="text/css" href="style.less"> | |
<script src="http://cdnjs.cloudflare.com/ajax/libs/less.js/1.7.1/less.min.js" type="text/javascript"></script> | |
</head> | |
<body> | |
<svg class="chart"></svg> |
// http://wavepot.com/ | |
var b = makeNote(987.77); | |
var a = makeNote(880); | |
var fSharp = makeNote(739.99); | |
var f = makeNote(698.46); | |
var d = makeNote(587.33); | |
var _ = makeNote(0); | |
var rate = 4; |
I hereby claim:
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset='utf-8'> | |
</head> | |
<body> | |
<script src='http://d3js.org/d3.v3.min.js'></script> | |
<script src='http://d3js.org/topojson.v1.min.js'></script> | |
<script src='main.js'></script> | |
</body> |
Displays GTFS shape data.
Auto-scale code based off of http://stackoverflow.com/a/14691788/1269296.
Pan and zoom code based off of http://bl.ocks.org/jasondavies/1284044.
The transit data comes through my proxy from the TransLoc OpenAPI. Routes are represented as large, colored nodes. Stops are small, gray nodes. Edges represent the minimum arrival prediction between a given stop and all vehicles on a given route.
The code needs refactoring.
#! /bin/bash | |
echo $1 | |
convert "$1" -thumbnail 230x120 -gravity center -background white -extent 230x120 thumbnail.png |