Skip to content

Instantly share code, notes, and snippets.

View jack126guy's full-sized avatar

Half-Gray jack126guy

View GitHub Profile
@jack126guy
jack126guy / sonic-pi-debian-stretch.md
Created January 23, 2016 20:55
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
jack126guy / Dockerfile
Last active January 14, 2016 18:13
Dockerfile for jack126guy/debian-jessie-us
#This file is in the public domain (http://creativecommons.org/publicdomain/zero/1.0/)
FROM debian:jessie
MAINTAINER Jack126Guy <someanon126@gmail.com>
RUN sed -i -e s/httpredir/ftp.us/ /etc/apt/sources.list
@jack126guy
jack126guy / test.php
Last active January 5, 2016 07:42
phpDocumentor test
<?php
/**
* Test file
*
* @author Jack126Guy someanon126@gmail.com
* @license http://creativecommons.org/publicdomain/zero/1.0/
* Creative Commons CC0 1.0 Universal
*/
namespace {
@jack126guy
jack126guy / cl
Created October 12, 2015 02:57
"microsoft-c++-express-2010" Debian package contents
#!/bin/sh
CONF_DIR='/etc/microsoft-c++-express-2010'
if [ -f "$CONF_DIR/cl-base" ]; then
#Trim whitespace
CC="`cat "$CONF_DIR/cl-base" | \
sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//'
`"
else
@jack126guy
jack126guy / control
Created October 12, 2015 02:53
"dosoption" Debian package contents
Package: dosoption
Version: 1.1
Section: misc
Priority: optional
Architecture: all
Installed-Size: 2
Maintainer: Jack126Guy <someanon126@gmail.com>
Description: Execute programs using DOS-style options
This package contains a script that converts DOS-style
options into Unix-style options.
@jack126guy
jack126guy / questioner.c
Last active August 29, 2015 14:27
Question-binary encoder ("questioner") and decoder ("questions")
/*
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
all: me a sandwich
me:
@printf 'You '
a:
@printf 'are '
sandwich:
@printf 'a sandwich\n'
@jack126guy
jack126guy / pgp-key-info.txt
Created June 29, 2015 21:03
PGP key details
Key ID: 0xBD956688FF815C0D
Fingerprint: 37AC 8245 20FA 0243 CF0E 8309 BD95 6688 FF81 5C0D
@jack126guy
jack126guy / apt-get
Last active March 5, 2021 06:38
"apt-get-rekt" Debian package contents
#!/bin/sh
APT_GET_REAL="apt-get.real"
EXIT_FAILURE=100
if [ "$#" -lt 1 ]; then
#No action specified
$APT_GET_REAL #Print default help
echo 'Get rekt.'
exit
@jack126guy
jack126guy / control
Created June 4, 2015 02:16
"linuxmasterrace" Debian package contents
Package: linuxmasterrace
Version: 1.2
Section: misc
Priority: optional
Architecture: all
Depends: xdg-utils, www-browser
Installed-Size: 1
Maintainer: Jack126Guy <someanon126@gmail.com>
Description: Open /r/linuxmasterrace on Reddit
This package contains a simple script to open the