Skip to content

Instantly share code, notes, and snippets.

View jamescasbon's full-sized avatar

James Casbon jamescasbon

View GitHub Profile
/*
Hello, this is Dog
------------------
Lets talk about cells.*/
// code cell
print(84);
@jamescasbon
jamescasbon / bootstrap.coffee
Created April 15, 2012 12:33
Bootstrap example ported to coffeekup
doctype 5
html ->
head ->
title 'Title'
meta name: 'viewport', content: "width:device-width, initial-scale:1.0"
meta name: 'description', content: ""
meta name: 'author', content: ""
link href: 'bootstrap/css/bootstrap.css', rel: 'stylesheet'
link href: 'bootstrap/css/bootstrap-responsive.css', rel: 'stylesheet'
@jamescasbon
jamescasbon / foo.html
Created June 24, 2012 12:49
Test edit
<html>
<body>
<h1>hi</h1>
</body>
</html>
@jamescasbon
jamescasbon / funcparserlib_vcf.py
Created February 15, 2013 12:35
pyvcf proposal to use funcparserlib to clarify parsing
import sys
import os
import re
import logging
import collections
import pprint
from funcparserlib.lexer import make_tokenizer, Spec
from funcparserlib.parser import (maybe, many, eof, skip, fwd, name_parser_vars, SyntaxError)
from funcparserlib.contrib.common import const, n, op, op_, sometok
@jamescasbon
jamescasbon / build-3.3.log
Last active January 2, 2016 15:09
xdress clang build against llvm3.4 built from source
(xdress)~/S/xdress git:clang ❯❯❯ unset CPPFLAGS
(xdress)~/S/xdress git:clang ❯❯❯ unset LD_LIBRARY_PATH
(xdress)~/S/xdress git:clang ❯❯❯ python setup.py build
XXXXXXX XXXXXXXDDDDDDDDDDDDD
X:::::X X:::::XD::::::::::::DDD
X:::::X X:::::XD:::::::::::::::DD
X::::::X X::::::XDDD:::::DDDDD:::::D
XXX:::::X X:::::XXX D:::::D D:::::D
X:::::X X:::::X D:::::D D:::::D
(xdress)~/S/xdress git:clang ❯❯❯ python setup.py build ⬆
XXXXXXX XXXXXXXDDDDDDDDDDDDD
X:::::X X:::::XD::::::::::::DDD
X:::::X X:::::XD:::::::::::::::DD
X::::::X X::::::XDDD:::::DDDDD:::::D
XXX:::::X X:::::XXX D:::::D D:::::D
X:::::X X:::::X D:::::D D:::::D
X:::::X:::::X D:::::D D:::::D
X:::::::::X D:::::D D:::::D
(xdress)~/S/xdress git:clang ❯❯❯ python setup.py build ⬆ ✱
XXXXXXX XXXXXXXDDDDDDDDDDDDD
X:::::X X:::::XD::::::::::::DDD
X:::::X X:::::XD:::::::::::::::DD
X::::::X X::::::XDDD:::::DDDDD:::::D
XXX:::::X X:::::XXX D:::::D D:::::D
X:::::X X:::::X D:::::D D:::::D
X:::::X:::::X D:::::D D:::::D
X:::::::::X D:::::D D:::::D
@jamescasbon
jamescasbon / backbonehandler.py
Created April 18, 2012 20:02
Backbone.js handler for tornado and mongodb backed handler
"""
Backbone.js handler and mongodb based handler for Tornado.
`BackboneHandler` handles the sync protocol for Backbone.js. Inherit
from the class and implement the model methods:
* create_model
* update_model
* get_model
* delete_model
* get_collection
@jamescasbon
jamescasbon / vcf.ipynb
Last active February 26, 2018 02:03
VCF pandas demo
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.