Skip to content

Instantly share code, notes, and snippets.

View devinberg's full-sized avatar

Devin Berg devinberg

View GitHub Profile
@devinberg
devinberg / OErequest.js
Last active July 7, 2018 18:26
Open Engineering Request Button
javascript:(function(){location.href='mailto:request@engrxiv.org?SUBJECT=Open%20Engineering%20Request&BODY=URL%3A%20'+escape(location.href)+encodeURI('\r\nAuthor%20Email:%20\r\n\r\nYour%20Name:%20\r\nYour%20Affiliation:%20\r\nReason%20for%20request:%20')})();
@devinberg
devinberg / doi_parse.py
Created July 3, 2017 13:18
first try at oaDOI
import urllib.request
import json
import csv
# Read tab-delimited data file in to a list of lists.
lol = list(csv.reader(open('../data/WoS_data.txt', encoding = 'utf-16le'), delimiter='\t'))
# Cycle through the resulting data line by line to extract the DOI, make the API call to oaDOI and record the JSON response.
JSONdata = {}

Keybase proof

I hereby claim:

  • I am devinberg on github.
  • I am devinberg (https://keybase.io/devinberg) on keybase.
  • I have a public key ASCN2n6HwbqXGKEnpPfq83wNXKErx8xs6TZwo2c7VWMHAwo

To claim this, I am signing this object: