Skip to content

Instantly share code, notes, and snippets.

Avatar

carl colglazier CarlColglazier

View GitHub Profile
@konradko
konradko / golang_on_rpi.md
Last active Apr 12, 2020
Install Golang 1.7 on Raspberry Pi
View golang_on_rpi.md
wget https://storage.googleapis.com/golang/go1.7.linux-armv6l.tar.gz
tar -C /usr/local -xzf go1.7.linux-armv6l.tar.gz
export PATH=$PATH:/usr/local/go/bin
@jkitchin
jkitchin / Makefile
Last active May 5, 2020
Melpa setup for org-ref
View Makefile
EMACS ?= emacs
CASK ?= cask
CASK_EXEC ?= ${CASK} exec
all: clean test
test:
${EMACS} -Q -batch -l init.el
@JonathanDCohen
JonathanDCohen / tagpro_telestrator_2_0.user.js
Last active Aug 29, 2015
Use a telestrator while spectating TagPro! Now supports PIXI.js
View tagpro_telestrator_2_0.user.js
// ==UserScript==
// @name TagPro Telestrator
// @version 2.1.0
// @description Use a telestrator while spectating TagPro!
// @include http://tagpro-*.koalabeast.com:*
// @include http://tangent.jukejuice.com:*
// @include http://maptest*.newcompte.fr:*
// @author BBQchicken
// @namespace reddit.com/u/Splanky222
// @downloadURL https://gist.github.com/JonathanDCohen/50aea7b437c64b728199/raw/tagpro_telestrator_2_0.user.js
@umbrellaprocess
umbrellaprocess / gist:973d2aa16e95bf329ee2
Last active Sep 30, 2019
A simple example of MIDI Keyboard for SuperCollider 3.6.x
View gist:973d2aa16e95bf329ee2
/**
* A simple example of MIDI Keyboard for SuperCollider 3.6.x
*/
MIDIIn.connect;
s.boot;
(
SynthDef("umbSinewave",{
arg freq=440, gate=1, amp=1, pan=0;
@theVDude
theVDude / tagpro-gecko-mod-manager.user.js
Last active Aug 29, 2015
Tagpro Gecko Tools and Mod Manager userscript!
View tagpro-gecko-mod-manager.user.js
// ==UserScript==
// @name Gecko Tools
// @namespace http://www.reddit.com/user/thevdude
// @description A suite of customization options for TagPro
// @include http://tagpro-*.koalabeast.com*
// @include http://tangent.jukejuice.com*
// @exclude http://tagpro-*.koalabeast.com/groups/*
// @exclude http://tangent.jukejuice.com/groups/*
// @license GNU General Public License
// @author GeckoPie & pooppants
@cowboy
cowboy / stringify.js
Created Sep 19, 2012
JavaScript: like JSON.stringify but handles functions, good for creating arbitrary .js objects?
View stringify.js
var stringify = function(obj, prop) {
var placeholder = '____PLACEHOLDER____';
var fns = [];
var json = JSON.stringify(obj, function(key, value) {
if (typeof value === 'function') {
fns.push(value);
return placeholder;
}
return value;
}, 2);
@ScottPhillips
ScottPhillips / .htaccess
Created Feb 2, 2012
Common .htaccess Redirects
View .htaccess
#301 Redirects for .htaccess
#Redirect a single page:
Redirect 301 /pagename.php http://www.domain.com/pagename.html
#Redirect an entire site:
Redirect 301 / http://www.domain.com/
#Redirect an entire site to a sub folder
Redirect 301 / http://www.domain.com/subfolder/
You can’t perform that action at this time.