Skip to content

Instantly share code, notes, and snippets.

@kaezarrex
kaezarrex / brewer.ipynb
Created April 13, 2014 16:18
brewer (bokeh example)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kaezarrex
kaezarrex / index.html
Last active August 29, 2015 13:56
lies???
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no">
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="google_canvas"></div>
<script src="http://code.jquery.com/jquery-2.0.3.min.js"></script>
@kaezarrex
kaezarrex / post-receive
Created February 13, 2014 01:16
post-receive deploy hook
#!/bin/bash
build="build-branch"
build_dir="/build/path"
while read oldrev newrev refname
do
branch=$(git rev-parse --symbolic --abbrev-ref $refname)
if [ "$build" == "$branch" ]; then
GIT_WORK_TREE=$build_dir git checkout -f $build