Skip to content

Instantly share code, notes, and snippets.

@kaezarrex
kaezarrex / README.md
Last active January 27, 2019 04:34
SCRIPT-8
@kaezarrex
kaezarrex / README.md
Last active June 13, 2018 18:40
Reconfigure etcd to use client authentication
@kaezarrex
kaezarrex / index.html
Last active September 26, 2022 14:02
data-id bookmarklet
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
body { font: 20px monospace; margin: 20px; }
a { border-radius: 5px; background-color: #ddd; padding: 10px;}
</style>
</head>
<body>
@kaezarrex
kaezarrex / designer.html
Last active August 29, 2015 14:22
designer
<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 {
@kaezarrex
kaezarrex / index.html
Last active August 29, 2015 14:14
sunburst
<html>
<head>
<title>Sketch1</title>
<style>
body {
margin: 0;
background-color: #000;
}
line {
stroke: #333;
@kaezarrex
kaezarrex / README.md
Last active June 2, 2019 03:39
GTFS Viewer

Upload a GTFS file that contains shapes.txt. Example GTFS files can be found at TransitFeeds.

@kaezarrex
kaezarrex / index.html
Last active August 29, 2015 14:02
Chart and Table
<!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>
@kaezarrex
kaezarrex / SaS.js
Last active August 29, 2015 14:02
Sanford And Son Theme Song
// 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;
@kaezarrex
kaezarrex / index.html
Last active September 28, 2015 20:02
Leaflet+D3 Route Shapes
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.2/leaflet.css">
<style>
body { padding: 0; margin: 0; }
html, body, #map { height: 100%; }
</style>