Skip to content

Instantly share code, notes, and snippets.

@mcburton
mcburton / gist:1368632
Created November 15, 2011 22:49
THINGS
"Certain mystes aver that the real world has been constructed by the
human mind, since our ways are governed by the artificial categories
into which we place essentially undifferentiated things, things
weaker than our words for them.
...
We believe that we invent symbols. The truth is that they invent
us; we are their creatures, shaped by their hard, defining edges.
When soldiers take their oath they are given a coin, an asimi
stamped with the profile of the Autarch. Their acceptance of that
coin is their acceptance of the special duties and burdens of
@mcburton
mcburton / makefile
Created December 10, 2014 23:20
A makefile for making my dissertation into a dissertation
DATE=`date +%d%b%y`
BIBLIOGRAPHY=/Users/mcburton/Dropbox/zotero/library.bib
REFERENCE=reference.docx
num = 1,2,3,4,5,6
CHAPTERLIST := chapter-[$(num)]-*.md
.PHONY: draft
draft:
@mcburton
mcburton / questions.md
Last active August 29, 2015 14:08
I am studying blogs as a genre of "informal" scholarly communication. I'd love to hear from DH bloggers about their experiences.

I can be contacted via email mcburton (at) umich.edu or twitter @mcburton

13 Questions for DH Bloggers:

  1. When did you start your blog (career wise: as a grad student, undergrad, etc)?

  2. Why did you decide to start blogging?

  3. How do you host your blog, i.e. Do you use a generic web-host like Dreamhost with Wordpress, do you use a blogging service like Blogger.com?

@mcburton
mcburton / bottling.py
Last active August 29, 2015 13:56 — forked from anonymous/bottling.py
added rough API sketch and some fooling with templates
from bottle import route, run, template, static_file, error, SimpleTemplate
## this is a test
@route('/')
def home():
return base_template.render(title="hi", content="what?")
@route('/static/<filename>')
def static(filename):
@mcburton
mcburton / Insert-BibTex-Citekey.wkflw
Created February 15, 2014 23:04
An editorial workflow for adding Pandoc formatted citations to your document. Parses a BibTeX file for citekeys.
------------ BEGIN WORKFLOW ------------
{
"actions" : [
{
"class" : "WorkflowActionStoreVariable",
"pauseBeforeRunning" : false,
"customTitle" : "Set Bibliography Filename",
"parameters" : {
"name" : "Bibliography Filename",
"value" : {
------------ BEGIN WORKFLOW ------------
{
"actions" : [
{
"class" : "WorkflowActionCustom",
"pauseBeforeRunning" : false,
"customTitle" : "citekey-insert",
"parameters" : {
"8735E7DC-D0F4-4DB1-AAB7-4F9A72AC141D" : {
"tokenRanges" : {
@mcburton
mcburton / bibtex-workflow-v0.1
Created February 11, 2014 04:38
To Install(I think, I haven't tested it): Copy the text to the clipboard, then create a new workflow and select "Paste Workflow" from the share button in the upper right. This is a rough first cut at an Editorial workflow that can parse a bibtex file, generate a list of citekeys, and prompt the user about which to insert. NOTE: you need to make …
------------ BEGIN WORKFLOW ------------
{
"actions" : [
{
"class" : "WorkflowActionGetFileName",
"pauseBeforeRunning" : false,
"customTitle" : "",
"parameters" : {
"includeExtension" : true,
"includeFolder" : false