This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Mirrors the left ten "columns" of keys on the keyboard when holding down space. | |
; So for the first row, 1 becomes 0, 2 becomes 9, and so on. It does this for | |
; all four rows: home, top, bottom, and number. This should work with any layout, | |
; theoretically. This layout is based on https://github.com/empathicqubit/mirrorboard-mac | |
; My layout varies slightly from Qubist's by only mirroring the number row over the hands, | |
; So the two keys to the right of the number row are not included. This is to preserve the | |
; hand symmetry better, at the cost of not being able to use some of the symbols on the | |
; right hand side of the keyboard without reaching. This could be a problem if you're | |
; coding or something. I think that you probably shouldn't try to code with this, but if | |
; you do, use your rìght hand. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// GlovePIE script for typing using piano. | |
// A1 = enable/disable | |
// Left pinky at G4 = A | |
// Right pinky at A6 = ; | |
// HOME ROW (White keys): | |
// Left hand: <SHIFT> ASDF G <BOTTOM ROW SHIFT> <SPACE> <NUMBER ROW SHIFT> | |
// Right hand: <NUMBER ROW SHIFT> <SPACE> <BOTTOM ROW SHIFT> H JKL; <BACKSPACE> <ENTER> | |
// Black keys are top row: | |
// Left hand: G4b (Q), G4# (W), A4# (E), C5# (R), D5# (T) | |
// Right hand: C6# (Y), D6# (U), F6# (I), G6# (O), A6# (P) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* http://www.tobias-erichsen.de/software/loopmidi.html */ | |
Var.XExists = XInput2.Exists | |
Var.A = XInput2.A | |
Var.B = XInput2.B | |
Var.X = XInput2.X | |
Var.Y = XInput2.Y | |
Var.Start = Xinput2.Start | |
Var.Back = Xinput2.Back | |
Var.ShoulderR = Xinput2.RightShoulder | |
Var.ShoulderL = Xinput2.LeftShoulder |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Audio Cycler | |
// @namespace http://entan.gl/ | |
// @version 0.1 | |
// @description Change the audio language every time the subtitles change. | |
// @author EmpathicQubit | |
// @match https://www.disneyplus.com/*/video/* | |
// @icon https://www.google.com/s2/favicons?domain=disneyplus.com | |
// @require https://unpkg.com/m3u8-parser@4.7.0/dist/m3u8-parser.min.js | |
// @require https://cdnjs.cloudflare.com/ajax/libs/vtt.js/0.13.0/vtt.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require('fs'); | |
const util = require('util'); | |
const net = require('net'); | |
const child_process = require('child_process'); | |
const colors = { | |
Reset : "\x1b[0m", | |
Bright : "\x1b[1m", | |
Dim : "\x1b[2m", | |
Underscore : "\x1b[4m", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
article.message-container { | |
position: relative; | |
} | |
.message-attachments { | |
top: 0px; | |
position: absolute; | |
} | |
.message-container.is-opened > .message-header { | |
display: block; | |
margin-top: 15em; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
CURDIR="$(readlink -f "$(dirname "${BASH_SOURCE[0]}")")" | |
which patch diff curl java 2>/dev/null || { echo "You need patch, diff, curl, and java to continue" ; exit 1 ; } | |
TMP="$(mktemp -d "$CURDIR/gboard-tmp-XXXXXX")" | |
echo "Building in $TMP..." | |
cat <<'HERE' > "$TMP/patch.patch" |