I hereby claim:
- I am jbenito3 on github.
- I am jotabe (https://keybase.io/jotabe) on keybase.
- I have a public key ASAwuR-y2RPVh3Cu2TFtzfqgOHew7uvf7G43h-rMdLKDhwo
To claim this, I am signing this object:
#!/usr/bin/env bash | |
docker stop $(docker ps -aq) | |
# docker container prune # Remove all stopped containers | |
# docker volume prune # Remove all unused volumes | |
# docker image prune # Remove unused images | |
# docker system prune # All of the above, in this order: containers, volumes, images | |
echo y | docker system prune |
# Provide the Deposit ID, access token | |
depid = DEPOSIT_ID | |
params = {'access_token': ACCESS_TOKEN} | |
filename = 'myfile.zip' | |
# Get the deposit resource as in the old API | |
headers = {'Content-Type': 'application/json'} | |
r = requests.get('https://zenodo.org/api/deposit/depositions/{depid}'.format(depid=depid), | |
params=params, json={}, headers=headers) |
import requests | |
params = {'access_token': '<your-access-token>'} | |
# Create the deposit resource | |
url = "https://zenodo.org/api/deposit/depositions" | |
headers = {"Content-Type": "application/json"} | |
res = requests.post( | |
url, |
I hereby claim:
To claim this, I am signing this object: