Skip to content

Instantly share code, notes, and snippets.

import ast
import operator as op
import re
import sys
operators = {'+' : op.add,
'-' : op.sub,
'*' : op.mul,
'/' : op.div}

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:

abcm2ps
ack
autoconf
boost
ccat
cgal
cowsay
cscope
fontconfig
freetype
#------------------------------------------------------------------------------#
# 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
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)
/* 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;