Skip to content

Instantly share code, notes, and snippets.

/* Dark Mode */
.diff.line .line.wrapper, .diff.line .empty.line.wrapper .hljs {
background-color: #f2f2f2;
}
/* Line Numbers */
div[data-line-number]:not([data-line-number="0"]):before {
content:attr(data-line-number);
position:absolute;
color: #444;
$ rvm info
jruby-1.6.7@iopro:
system:
uname: "Linux phantasmagoria 2.6.32-5-amd64 #1 SMP Sun May 6 04:00:17 UTC 2012 x86_64 GNU/Linux"
bash: "/bin/bash => GNU bash, version 4.1.5(1)-release (x86_64-pc-linux-gnu)"
zsh: "/usr/bin/zsh => zsh 4.3.10 (x86_64-unknown-linux-gnu)"
rvm:
tmacdonald@queequeg ~ $ diff .vimrc Dropbox/dotfiles/.vimrc
5a6,15
> " Install with:
> " mkdir -p ~/.vim/bundle && git clone http://github.com/gmarik/vundle.git ~/.vim/bundle/vundle && vim -c ':BundleInstall' -c ':qa!''
> " Update with:
> " vim -c ':BundleInstall!' -c ':BundleClean' -c ':qa!'
> "
> " You may also wish to install some extra tools to make it work better:
> " * Exuberant ctags - Used for Tagbar to show you where you are in the file. (mac: brew install ctags)
> " * flake8 - Used by Syntastical to check Python. (all: easy_install flake8)
#------------------------------------------------------------------------------#
# OFFICIAL DEBIAN REPOS
#------------------------------------------------------------------------------#
###### Debian Main Repos
deb http://deb.debian.org/debian/ oldstable main contrib non-free
deb-src http://deb.debian.org/debian/ oldstable main contrib non-free
deb http://deb.debian.org/debian/ oldstable-updates main contrib non-free
deb-src http://deb.debian.org/debian/ oldstable-updates main contrib non-free
abcm2ps
ack
autoconf
boost
ccat
cgal
cowsay
cscope
fontconfig
freetype

Keybase proof

I hereby claim:

  • I am tsmacdonald on github.
  • I am tsmacdonald (https://keybase.io/tsmacdonald) on keybase.
  • I have a public key ASCwOL7SR6dfm_gT-1_RYPwXV8spIZUjhDDvvrMjF42xVQo

To claim this, I am signing this object:

@tsmacdonald
tsmacdonald / gist:7328178
Last active December 27, 2015 12:48
Wizard-Professor Setup
  • git clone https://github.com/tsmacdonald/wizard-professor.git or copy it from the turnin directory
  • Create ~/.sbclrc and paste in the following:
(let ((quicklisp-init "/homes/tim.macdonald/quicklisp/setup.lisp"))
	(when (probe-file quicklisp-init)
	(load quicklisp-init)))
  • Create .config/common-lisp/source-registry.conf.d/projects.conf and paste in the following, changing the path as necessary:
datatype MetasyntacticVariable = foo | bar | baz | quux;
interface MetasyntacticVariable {}
interface foo implements MetasyntacticVariable {}
interface bar ...
import ast
import operator as op
import re
import sys
operators = {'+' : op.add,
'-' : op.sub,
'*' : op.mul,
'/' : op.div}
X: 1
T: The Emperor of Germany's Favourite Air
T: With Nine New Variations for the Piano Forte
T: Composed by Robert Mackintosh
M: 3/8
L: 1/8
K: Fmaj
V: 1
A2 G | !turn!FBA | G/>A/B/G/A/F/ | (A/G/)(F/E/)(D/C/) | A2 G | !turn!FBA | G/B/A/d/c/E/ | [A,CF]3 :|: +p+ !turn!f/>e/f/g/a/f/ | +f+ (a/g/)(f/e/)(d/c/) | +p+ !turn!d/>^c/d/e/f/d/ | +f+ (f/e/)(d/c/)(B/A/) | +p+ !turn!B/>A/B/c/d/B/ | +f+ (d/c/)(B/A/)(G/F/) | G/>A/B/G/A/F/ | (A/G/)(F/E/)(D/C/) | +p+ A2 G | !turn!FBA | G/>A/B/G/A/F/ | (A/G/)(F/E/)(D/C/) | +f+ A2 G | !turn!FBA | G/B/A/d/c/E/ | [A,CF]3 :|
%