Skip to content

Instantly share code, notes, and snippets.

@emilbayes
emilbayes / readonly.sh
Created September 19, 2017 12:41 — forked from soldair/readonly.sh
make a read only npm token
curl -sLi -X PUT -H 'content-type: application/json' -d '{"name": "USERNAME", "token": true, "password": "PASSWORD", "readonly": true, "email": "EMAIL"}' 'https://registry.npmjs.org/-/user/org.couchdb.user:USERNAME'
@emilbayes
emilbayes / .block
Last active February 22, 2016 12:28 — forked from mbostock/.block
N-Body Problem
license: gpl-3.0