Skip to content

Instantly share code, notes, and snippets.

View tomalrussell's full-sized avatar

Tom Russell tomalrussell

  • University of Oxford
  • Oxford / London
  • X @tlrss
View GitHub Profile
@tomalrussell
tomalrussell / README.md
Last active September 29, 2015 17:36
Sunburst with controls
@tomalrussell
tomalrussell / jekyll-new-post.py
Created February 12, 2015 10:09
Jekyll New Post
#! /usr/bin/env python3
import sys
import datetime
import os
# set title to command-line argument, or default
if (len(sys.argv) > 1):
title = sys.argv[1]
else:
@tomalrussell
tomalrussell / Simple sed substitution
Created July 16, 2013 22:20
Find and replace with sed
sed -i 's/foo/bar/g' ~/file_to_change.txt