Skip to content

Instantly share code, notes, and snippets.

View bocklund's full-sized avatar
💭
Reaching equilibrium

Brandon Bocklund bocklund

💭
Reaching equilibrium
View GitHub Profile
@bocklund
bocklund / espei-example.yaml
Last active August 31, 2017 14:59
Example espei input file
Header area.
Include any metadata above the `---`.
---
# core run settings
run_type: full # choose full | dft | mcmc
phase_models: input.json
datasets: input-datasets # path to datasets. Defaults to current directory.
scheduler: dask # can be dask | MPIPool
# control output
@bocklund
bocklund / illiad.js
Last active August 21, 2017 14:25
Fill a form on the ILLiad article submission page based on a user-prompted Bibtex reference
/* Submit requests to ILLiad by populating different fields from a bibtex reference*/
/* We want to do some parsing of input bibtex, files, so we'll include the*/
/* following JS code in our bookmarklet*/
/* keys are the ILLiad field names, values are the bibtex entry keys*/
var replacementDict = {
'PhotoJournalTitle' : 'JOURNAL',
'PhotoJournalTitle' : 'JOURNAL',
'PhotoJournalVolume' : 'VOLUME',
'PhotoJournalIssue' : 'NUMBER',