Skip to content

Instantly share code, notes, and snippets.

@vsoch
vsoch / transfer_notebook.md
Last active September 23, 2019 09:48
a quick tutorial to use the forward tool with sherlock/py3-jupyter to transfer a notebook first

The user issue was asking how to work with notebooks that are on the host. This is the response, associated with this release


Let's just make sure we are working from the same thing. Make sure your forward repository is up to date with the latest on Github, and that you have run setup.sh so that there is a CONTAINERSHARE and RESOURCE variable in your params.sh

USERNAME="vsochat"
PORT="43453"
PARTITION="russpold"
@kueda
kueda / inat-password.py
Created July 31, 2015 22:45
iNaturalist API Resource Owner Password Credentials Flow Example (Python)
import requests
site = "https://www.inaturalist.org"
app_id = 'YOUR APP ID'
app_secret = 'YOUR APP SECRET'
username = 'YOUR USERNAME'
password = 'YOUR PASSWORD'
# Send a POST request to /oauth/token with the username and password
payload = {