Skip to content

Instantly share code, notes, and snippets.

View sprngr's full-sized avatar
🛠️
╭( ・ㅂ・)و

Michael Springer sprngr

🛠️
╭( ・ㅂ・)و
View GitHub Profile
@sprngr
sprngr / slaughterpad.js
Created March 24, 2022 02:45
Tampermonkey script to map gamepad buttons to Ludum Dare theme slaughter inputs
// ==UserScript==
// @name Slaughterpad - Ludum Dare theme slaughter controller mapping
// @version 0.1
// @description Rip and tear until it is done
// @author sprngr
// @match https://ldjam.com/events/ludum-dare/50/theme
// @icon https://www.google.com/s2/favicons?sz=64&domain=ldjam.com
// @grant none
// ==/UserScript==
@sprngr
sprngr / cdrip.sh
Last active June 2, 2019 14:28
cdrip - a simple cd ripping utility script
#!/usr/bin/env bash
# cdrip - a simple cd ripping utility script
# by sprngr
# Usage:
# $ cdrip "Album Name"
# 📁 Creating album: Album Name
# 💿 Ripping contents...
# ⏰ Time Elapsed: 0:06:03
@sprngr
sprngr / bandcamp.sh
Last active June 20, 2018 19:16 — forked from MarkSilverMedia/bandcamp.sh
Install Bandcamp Extension for VLC Media Player (Mac OS) Original: https://gist.github.com/MarkSilverMedia/d162932a1223b1e7206a6c383afdc468
# Updated for Mac OS
wget http://regex.info/code/JSON.lua
cp JSON.lua ~/Library/Application\ Support/org.videolan.vlc/lua/modules/JSON.lua
rm JSON.lua
wget https://gist.githubusercontent.com/MarcuzD/573d3f031bd61a650a65d5238b80164c/raw/6503456f7b59be1a37cf5ee97a95af1c957e8a45/bandcamp.lua
cp bandcamp.lua ~/Library/Application\ Support/org.videolan.vlc/lua/playlist/bandcamp.lua
rm bandcamp.lua
@sprngr
sprngr / ytChannelResultsFilter.js
Created January 22, 2018 02:06
Removes specified channels from showing up in your YouTube results
// ==UserScript==
// @name YouTube Channel Results Filter
// @version 0.2
// @description Removes specified channels from showing up in your YouTube results
// @author sprngr
// @match https://www.youtube.com/*
// @grant none
// ==/UserScript==
window.onload = (function() {
@sprngr
sprngr / ABK_code.ino
Last active July 14, 2016 19:10
Arustocrats Breakfast Kart - Arduino by Blue Martin
// CODE TO DRIVE A VERY SIMPLE AUTONOMOUS KART USING A KID'S CART WITH FRONT CASTERS,
// THREE ULTRASONIC MODULE SENSORS (HC-SR04), TWO 24V 250W BRUSHED MOTORS,
// TWO VICTOR 883 ESCs, AND AN ARUDINO UNO
// Author: Blue Martin
#include <Servo.h>
//choose I/O pins to assign each sensor to
const int LeftTriggerPin = 2;
const int LeftEchoPin = 3;
@sprngr
sprngr / hubot_listeners.js
Last active May 16, 2016 22:54
Hubot listener middleware example for gating commands based on bot instance
// Setup Listener Middleware
robot.listenerMiddleware(function(context, next, done){
var mode = context.listener.options.mode || '';
if (mode === '' || process.env.BOT_MODE === mode) {
next(done);
} else {
done();
}
});
@sprngr
sprngr / bringbackblue.js
Last active May 9, 2016 17:35
BringBackTheBlue - Tamper Monkey script to add the old link colors back to google. Probably overkill and no way efficient.
// ==UserScript==
// @name BringBackTheBlue
// @version 0.1
// @description Blue it up
// @author sprngr
// @match https://www.google.com/*
// @grant none
// ==/UserScript==
(function() {
@sprngr
sprngr / robin-enhancement-suite.js
Last active April 3, 2016 00:18
Tampermonkey script to enhance the experience around Robin (Reddit's April Fool's prank/social experiment)
// ==UserScript==
// @name Robin Enhancement Suite
// @namespace http://github.com/sprngr
// @version 0.5
// @description Trying to make Robin more awesome
// @author sprngr
// @match https://www.reddit.com/robin*
// @grant none
// ==/UserScript==