Skip to content

Instantly share code, notes, and snippets.

View nuest's full-sized avatar

Daniel Nüst nuest

View GitHub Profile
@nuest
nuest / README.md
Created March 27, 2017 10:55 — forked from LukasLohoff/README.md
Userscript adding a "upload to o2r" button to sciebo(owncloud)

"Upload to O2R" - Userscript for Sciebo

Requirements

  • Firefox or Chrome Web Browser

Installation

  1. Install a browser extension to support userscripts
@nuest
nuest / README.md
Created March 27, 2017 10:55 — forked from LukasLohoff/README.md
Userscript adding a "Upload to O2R" button to Zenodo / Zenodo Sandbox.

"Upload to O2R" - Userscript for Zenodo

Requirements

  • Firefox or Chrome Web Browser

Installation

  1. Install a browser extension to support userscripts
@nuest
nuest / example.js
Created August 8, 2016 08:21 — forked from JanKoppe/example.js
Passport.js and ORCiD.org
/*
* Example for authenticationg against the ORCiD.org Public API with
* passport.js and retrieving the authenticated orcid.
*
* The main difficulty is that ORCiD.org will send the authenticated orcid
* in the accessToken request, which is normally not passed on to the
* passport.js-callback. Without the orcid, properly authenticating with
* ORCiD.org is impossible though.
*
* The trick is to pass on the `passReqToCallback`-option to the