I hereby claim:
- I am gardiner on github.
- I am oletrenner (https://keybase.io/oletrenner) on keybase.
- I have a public key ASDvxmF21xfBNiXYtMC4K5318VMpJHsElRenBEjeRcNxSQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/python | |
#-*- coding: utf-8 -*- | |
import glob | |
import logging | |
import os | |
import shutil | |
import sys |
export COMP_WORDBREAKS=${COMP_WORDBREAKS/\:/} | |
_check_rakefile() { | |
tasks=$(rake -T 2>/dev/null | cut -d " " -f 2) || return | |
COMPREPLY=($(compgen -W "$tasks" -- ${COMP_WORDS[COMP_CWORD]})) | |
} | |
complete -F _check_rakefile -o default rake |
function freeze() { | |
LAYOUT=`tmux list-windows -F "#{window_active} #{window_layout}" | grep "^1" | cut -d " " -f 2` | |
CWD=`pwd` | |
echo "windows:" | |
echo " - name: \"${NAME:-NAME}\"" | |
echo " layout: \"${LAYOUT}\"" | |
echo " root: \"${CWD}\"" | |
echo " filters:" | |
echo " before: \"pwd\"" |
#!/usr/bin/python | |
import os | |
import urllib2 | |
from PIL import Image | |
BASE = 'http://imgs.xkcd.com/clickdrag' | |
N, E, S, W = [14,48,25,33] |
require 'rake/clean' | |
include Rake::DSL | |
task :default => [:watch] | |
HAML = FileList['*.haml'] | |
HTML = HAML.ext('html') | |
CLEAN.include HTML |
require 'rake/clean' | |
include Rake::DSL | |
task :default => [:watch] | |
HAML = FileList['**/*.haml'] | |
HTML = HAML.ext('html') | |
SCSS = FileList['**/scss/*.scss'] | |
CSS = SCSS.gsub('scss', 'css').ext('css') |
#!/usr/bin/python | |
from BCBio import GFF | |
from Bio import SeqIO | |
from Bio.Seq import Seq | |
from Bio.SeqRecord import SeqRecord | |
import os | |
import pickle | |
import string |
from BCBio import GFF | |
from Bio import SeqIO | |
from Bio.Seq import Seq | |
from Bio.SeqRecord import SeqRecord | |
import os | |
import pickle | |
import string | |
from pprint import pprint | |
https://gist.github.com/gists/new |