I hereby claim:
- I am kevlened on github.
- I am kevlened (https://keybase.io/kevlened) on keybase.
- I have a public key whose fingerprint is EC87 6CD1 86DC A85F F0DF 6C7E 6EEB 9AC8 94D0 F7A3
To claim this, I am signing this object:
var readline = require('readline'); | |
var DIFFICULTY = 3; // Min is 1, Max is 11 | |
var rl = readline.createInterface({ | |
input: process.stdin, | |
output: process.stdout | |
}); | |
var notes = ['A','Bb','B','C','Db','D','Eb','E','F','Gb','G','Ab']; |
I hereby claim:
To claim this, I am signing this object:
// Open the console to watch | |
// http://jsfiddle.net/1ykp03kw/2/ | |
var left = 'color:#6A287E'; // Dark purple | |
var right = 'color:#7F38EC'; // Light purple | |
var A = 'color:#736AFF'; // Blue | |
var T = 'color:#F5FF6B'; // Yellow | |
var G = 'color:#4CC417'; // Green | |
var C = 'color:#E42217'; // Red | |
var pairs = [[A, T], [C, G]]; |
<html> | |
<head> | |
<title>Microphone Stopwatch</title> | |
</head> | |
<body> | |
<div id="time"></div> | |
<script type='text/javascript'> | |
var audioCtx = new (window.AudioContext || window.webkitAudioContext)(); |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Hacking Javascript2img.com</title> | |
<style type="text/css"> | |
body { font-family:Arial; } | |
textarea { width:100%; height:300px; } | |
button { padding:20px; width:150px; height:50px; margin-top:20px; margin-bottom:20px; } | |
</style> | |
</head> |
export function fromUint8Array(uint8Array) { | |
const view = new DataView(uint8Array.buffer) | |
const bl = view.byteLength, largeLength = bl - (bl % 4) | |
let hex = '', d = 0 | |
for (; d < largeLength; d += 4) { | |
hex += ('00000000' + view.getUint32(d).toString(16)).slice(-8) | |
} | |
for (; d < bl; d++) { | |
let c = view.getUint8(d).toString(16) | |
hex += c.length < 2 ? '0' + c : c |
/* | |
* | |
* This is currently a WIP | |
* Source originally pulled 3/28/2018 | |
* https://www.google-analytics.com/analytics.js | |
* | |
* Tools: | |
* 1) Google Chrome source formatter | |
* 2) VS Code right-click rename symbol | |
* |
<p onclick="this.onclick=0;with(new AudioContext)with(createOscillator())connect(destination),start()">o</p> |
<svg onload='i=0;setInterval("with(Math)c.setAttribute(`r`,abs(sin(i++/20)*20))",15)'><circle id=c cx=20 cy=20 /></svg> |
<canvas id=c /><svg onload="c.getContext`2d`.fillRect(0,0,l=c.width=c.height=99,l)"/> |