Skip to content

Instantly share code, notes, and snippets.

jack126guy / oneactrecords_createdb.sql
Created Nov 18, 2020
Database creation script for One Act Records
View oneactrecords_createdb.sql
CREATE TABLE `commonlinks` (
`releaseid` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`formname` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`linkname` tinytext COLLATE utf8mb4_unicode_ci,
`linkref` text COLLATE utf8mb4_unicode_ci,
`linkdesc` text COLLATE utf8mb4_unicode_ci,
`linktech` text COLLATE utf8mb4_unicode_ci,
PRIMARY KEY (`releaseid`(100),`formname`(20))
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
jack126guy /
Last active Apr 23, 2020
Partial format specification for the e2sSample.all file used by the Korg Electribe Sampler

Electribe Sampler e2sSample.all Data Format

Based on examination of the source code for e2sEdit and Oe2sSLE.


The file is just a concatenation of WAVE files with a header to indicate where each file begins. Additional metadata such as sample name and loop point are stored in each WAVE file as a RIFF chunk with type "korg", which is conventionally at the end of the file.

Unless otherwise specified, all integers are little-endian unsigned.

jack126guy / gradient-test.svg
Last active Mar 24, 2019
Test of support for "currentColor" in SVG gradients
View gradient-test.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
jack126guy /
Last active May 28, 2020
Comments on BABSCon's HTTPS config

Update (2020-05-28): Another test was conducted around 2020-05-28T21:00Z and the results are much better:

The original notes follow.

#!/usr/bin/env python3
from argparse import ArgumentParser
import re
arg_parser = ArgumentParser(description="Convert EFF's 3d20 passphrase word files to raw lists")
arg_parser.add_argument("input_file", help="Original word file")
arg_parser.add_argument("output_file", help="Raw word list file")
args = arg_parser.parse_args()
jack126guy /
Created Dec 23, 2017
Shell script to demonstrate generation loss in an audio file
FLAGS='-b:a 128k'
while [ $COUNT -lt $MAX ]; do
if [ $COUNT -eq 0 ]; then
jack126guy /
Created Aug 12, 2017
Check if two audio files have identical audio
#!/usr/bin/env python
"""Check if two audio files have identical audio.
The ffmpeg command-line utility must be installed.
Usage: python [file 1] [file 2]
import sys
View 30-comic-sans-aliases.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<family>Comic Sans MS</family>
<family>Comic Neue</family>
jack126guy /
Created Jan 23, 2016
Notes on compiling Sonic Pi on Debian Stretch

Compiling Sonic Pi on Debian Stretch

This supplements the Linux installation instructions from Sonic Pi:

  • Just install ruby instead of ruby2.1. The default is now 2.2, and it works just fine.

  • Of the "try these" packages, I installed only libffi-dev. I don't know if this is strictly necessary.

  • You must use the Qt5 version of Scintilla because of this bug. Follow the instructions for using Qt5.

  • If you get the error:

      lrelease: could not exec '/usr/lib/...': No such file or directory
jack126guy / Dockerfile
Last active Jan 14, 2016
Dockerfile for jack126guy/debian-jessie-us
View Dockerfile
#This file is in the public domain (
FROM debian:jessie
MAINTAINER Jack126Guy <>
RUN sed -i -e s/httpredir/ /etc/apt/sources.list