Skip to content

Instantly share code, notes, and snippets.

@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
------------ BEGIN WORKFLOW ------------
{
"actions" : [
{
"class" : "WorkflowActionCustom",
"pauseBeforeRunning" : false,
"customTitle" : "citekey-insert",
"parameters" : {
"8735E7DC-D0F4-4DB1-AAB7-4F9A72AC141D" : {
"tokenRanges" : {
@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" : {
@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 / 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 / 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 / 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 / gist:1400715
Created November 28, 2011 15:08
a git hub
Wayne: What is it?
Stacy: It's a GIT hub.
Wayne: A GIT hub... a GIT hub. Shyeah, Right! I don't even own
A GIT, let alone many GITs that would necessitate an entire hub.
What am I gonna do... with a GIT hub?
@mcburton
mcburton / index.html
Created September 13, 2012 18:29
My D3 Template
<!DOCTYPE html>
<meta charset="utf-8">
<style>
</style>
<body>
<script src="//cdnjs.cloudflare.com/ajax/libs/d3/2.10.0/d3.v2.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.4.2/underscore-min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
@mcburton
mcburton / template.md
Created November 26, 2012 17:38
Digital Humanities Project 1-Pager Template

Template for a DH project one-pager

A template for a “1 pager” or short description of a digital humanities project. Based on the case study descriptions from the book Digital_Humanities.

Title & Abstract

  • Main title & subtitle
  • 2 to 3 sentence abstract

Introduction (3-5 paragraphs)

  • Introduce the problem area.