Skip to content

Instantly share code, notes, and snippets.

<html>
<head>
<script>
// Partial port of https://github.com/rstz/emscripten-pthreadfs/blob/main/tests/sqlite/speedtest1.c
// matches https://github.com/rstz/emscripten-pthreadfs/blob/main/tests/sqlite/speedtest1.c#L1170
// 3 gets passed in as the arg making scale factor 40
// https://github.com/rstz/emscripten-pthreadfs/blob/main/pthreadfs/examples/sqlite/sqlite-prejs.js#L3
const TEST_SCALE_FACTOR = 40
// Apply to html tag on websites to improve readability
// for example https://danluu.com/deconstruct-files/
width: 750px;
margin: auto;
font-size: 18px;
line-height: 1.3;
font-family: system-ui !important;
@zindlerb
zindlerb / index.html
Last active January 2, 2019 20:45
Experiment for flexbox table bottom of page JS Bin// source https://jsbin.com/luwodin
<!DOCTYPE html>
<html class="h-100">
<head>
<meta name="description">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<link rel="stylesheet" href="https://unpkg.com/tachyons@4.10.0/css/tachyons.min.css"/>
<style id="jsbin-css">
.fsh-1, .fsh-2 {
draw a clock hand
hand = [#clock-hand angle stroke]
maintain
hand := [#line stroke, x1: 50, y1: 50
x2: 50 * (40 * sin(angle))
y2: 50 - (40 * cos(angle))]
draw a clock
[#time hours minutes seconds]
maintain
"house" === "house" //True
1 === 1 //True
@zindlerb
zindlerb / README.md
Last active August 29, 2015 13:57
LU Graduates GPA vs. Salary

Lawrence Graduates GPA vs. Salary Scatterplot

@zindlerb
zindlerb / README.md
Last active August 29, 2015 13:57
LU Graduate Outcome Pie Chart

LU Graduate Outcome Pie Chart