Skip to content

Instantly share code, notes, and snippets.


Half-Gray jack126guy

View GitHub Profile
View Makefile
all: me a sandwich
@printf 'You '
@printf 'are '
@printf 'a sandwich\n'
jack126guy / questioner.c
Last active Aug 29, 2015
Question-binary encoder ("questioner") and decoder ("questions")
View questioner.c
Question-binary encoder.
Reads data from standard input and outputs question-binary.
Available under the MIT License (below).
The MIT License (MIT)
Copyright (c) 2015 Jack126Guy
jack126guy / control
Created Oct 12, 2015
"dosoption" Debian package contents
View control
Package: dosoption
Version: 1.1
Section: misc
Priority: optional
Architecture: all
Installed-Size: 2
Maintainer: Jack126Guy <>
Description: Execute programs using DOS-style options
This package contains a script that converts DOS-style
options into Unix-style options.
jack126guy / cl
Created Oct 12, 2015
"microsoft-c++-express-2010" Debian package contents
View cl
if [ -f "$CONF_DIR/cl-base" ]; then
#Trim whitespace
CC="`cat "$CONF_DIR/cl-base" | \
sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//'
jack126guy / test.php
Last active Jan 5, 2016
phpDocumentor test
View test.php
* Test file
* @author Jack126Guy
* @license
* Creative Commons CC0 1.0 Universal
namespace {
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
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

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 /
Last active Feb 5, 2022
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
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