Skip to content

Instantly share code, notes, and snippets.

<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
/* CSS */
#wrapper{ background: #fff; padding: 14px; }
#chordListOut{ user-select: auto; }
.mono{ font-family: monospace; }
h1, h2, h3{ font-family: sans-serif;}
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
/* CSS */
#wrapper{ background: #fff; padding: 14px; }
#chordListOut{ user-select: auto; }
.mono{ font-family: monospace; }
h1, h2, h3{ font-family: sans-serif;}
let dict = qw`
a from look say time about get make see to
all give man she two also go many so up
and have me some use as he more take very
at her my tell want be here new than we
because him no that well but his not the what
by how now their when can I of them which
come if on then who could in one there why
day into onto these will do it or they with
even its other thing would find just our think year
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
/* CSS */
h1{ font-family: sans;}
body{ font-family: monospace; max-width: 800px;}
p{ white-space: pre-wrap;}
/* END */
// chord table. The first character of the first row is the prefix separator
/*let chordTable = `
:r n o e a t i l space shift
r: r right s u up * c h menu _
n: left n m d pgup = p x + -
o: d m o / w g : $ { }
e: u d \\ e f k [ ] esc sel
a: down pgdn w f a q j v ~ !
t: < > g k z t b y ( )
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
/* CSS */
/* END */
</style>
</head>
// twochords.js
let keyList = "jkl;uiop' "
let keyMap = {}
let temp = {}
// chords are interepreted as not slides, and handled special
let chordList = qw('13 14 17 18 23 24 27 28 53 54 57 58 63 64 67 68')
let chordMap = {}
let params = {}
let hex = '0123456789ABCDEF'
let out = ''
// Two chord processing system.
// To determine the chord type we analyze
//
//
// chords the order doesnt matter
// for slides it does matter
// chords reject high rolloff percentage,
// but slides allow it.
@derekmc
derekmc / qwert_steno.html
Last active October 2, 2024 03:16
a chorded dictionary system.
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
/* CSS */
h1{ font-family: sans;}
body{ font-family: monospace;}
/* END */
</style>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
/* CSS */
body{
font-family: monospace;
}
/* END */