Skip to content

Instantly share code, notes, and snippets.


Jamie Woods Jamie0

Block or report user

Report or block Jamie0

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Jamie0 / reading_interview_preset.sts
Created Aug 27, 2018
Reading Interview StereoTool Preset
View reading_interview_preset.sts
[Absolute Highs]
Auto detect highpass filter=0
Before Multibands=After Multibands
Effect strength=1
Highpass filter follows Delossifier=1
Highs - 1 Band (7.85 BETA008)=0
Highs - Band distance=0.5
Highs - Block during collection of shape=1
Jamie0 / switch.rb
Last active Jan 3, 2018
SEE ; Automatic Vision Mixer. Licensed under CC-BY-NC - contact me for commercial opportunities.
View switch.rb
#!/bin/env ruby
require 'rjoystick'
require 'atem'
require 'mysql2'
$AUDIO_THRESHOLD = 858803 * 2
$IP = ""
$JOYSTICK = "/dev/input/js0"
# CREATE TABLE link_history (`id` int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT, `start_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `end_date` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00');
Jamie0 / icecast.xml
Last active Jul 31, 2017
Insanity Streaming Script
View icecast.xml
<location>Egham, UK</location>
<admin>com[DOT]insanityradio[AT]computing (reversed)</admin>
Jamie0 / ic3.rb
Last active May 15, 2016
Ruby script to read IC3 (Myriad InstantCart) files, and format description.
View ic3.rb
#!/usr/bin/env ruby
A quick and simple script to read "ic3" (Myriad) InstantCart files.
Brief overview of the really simple InstantCart file format:
Essentially a linear array of IC titles followed by 20 spaces for carts.
Jamie0 / makealias.rb
Created Apr 7, 2016
Courier MTA MySQL => Alias Generator
View makealias.rb
#!/usr/bin/env ruby
# Copyright (C) 2016 Jamie,
# Released under BSD (
require 'mysql2'
$config = {
:file => "/etc/courier/aliases/insanity",
:description => "Insanity Radio 103.2FM Alias Table",
Jamie0 / rotter.rb
Created Apr 7, 2016
(Insanity Radio) Ruby script to monitor Rotter, restart it if it dies, and ensure that is always writing output.
View rotter.rb
#!/usr/bin/env ruby
# Super simple daemon to watch Rotter and ensure it doesn't crash
$config = {
:path => "/var/www/",
:timeout => 5,
:log => "/dev/null"
:pid => "/run/" }
Jamie0 / scroll.js
Created Sep 3, 2015
ScrollEngine - Small, simple and efficient library for smooth scrolling
View scroll.js
// ScrollEngine is a very small, simple, and efficient library for (smooth) scrolling on a web page.
// (C) 2015, released under the MIT licence -
var EXPORTS = {};
ScrollEngine = new function(){
var _global_id;
// Usage: ScrollEngine._scroll(x:number, y:number)
Jamie0 / autoban.rb
Created Aug 25, 2015
autoban:: Simple, efficient Ruby "fail2ban"-like script
View autoban.rb
# A more efficient and documented autoban.rb
# Jamie - Released under MIT.
# This won't work with binary journal logs - the 'systemd/journal' gem doesn't work universally
$ssh_port = 1234
$network = ["", "", ""]
require "shellwords"
You can’t perform that action at this time.