Skip to content

Instantly share code, notes, and snippets.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mcburton
mcburton / jupyter-on-a-supercomputer.md
Last active December 19, 2024 20:21
A short(ish) guide on how to get Jupyter Notebooks up and running on the Bridges supercomputer.

Running Jupyter on a Supercomputer

This quick guide for getting a Jupyter Notebook up and running on Bridges, a supercomputer managed by the Pittsburgh Supercomputing Center. Bridges is a new machine designed to accommodate non-traditional uses of High Performance Computing (HPC) resources like data science and digital humanities. Bridges is available through XSEDE, which is the system that manages access to multiple supercomputing resources. Through XSEDE, Bridges is available researchers or educators at US academic or non-profit research institutions (see the XSEDE eligibility policies) Allocations are free, but there is a somewhat difficult to understand application process filled with jargon and acronyms that take time to understand. See the XSEDE getting started guide for more information about getting acc

Keybase proof

I hereby claim:

  • I am mcburton on github.
  • I am mcburton (https://keybase.io/mcburton) on keybase.
  • I have a public key whose fingerprint is BD01 5E7A A68D A72F 1D21 95EE 6660 20F2 EAAB 9E69

To claim this, I am signing this object:

@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
@mcburton
mcburton / README.md
Last active December 21, 2015 13:39
#4s2013 Presenters by Country

A Map of Our World

"Us" being scholars presenting at the 2013 annual meeting of the Society for the Social Studies of Science. The map being a representation of the number of folks at the conference by country. The darker the red, the more people from institutions in that country will be showing up in lovely San Diego in October (presumably).

The United States of America has a strong showing, Antartica does not.

The data for this visualization was collected by:

  1. scraping the conference website
  2. obtaining location instutition by querying the Google Maps API with the self-reported instition information