Skip to content

Instantly share code, notes, and snippets.


Jose Benito Gonzalez Lopez jbenito3

View GitHub Profile
# Provide the Deposit ID, access token
depid = DEPOSIT_ID
params = {'access_token': ACCESS_TOKEN}
filename = ''
# Get the deposit resource as in the old API
headers = {'Content-Type': 'application/json'}
r = requests.get('{depid}'.format(depid=depid),
params=params, json={}, headers=headers)
import requests
params = {'access_token': '<your-access-token>'}
# Create the deposit resource
url = ""
headers = {"Content-Type": "application/json"}
res =
jbenito3 /
Created Oct 20, 2017 — forked from ntarocco/
Docker stop and kill
#!/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

Keybase proof

I hereby claim:

  • I am jbenito3 on github.
  • I am jotabe ( on keybase.
  • I have a public key ASAwuR-y2RPVh3Cu2TFtzfqgOHew7uvf7G43h-rMdLKDhwo

To claim this, I am signing this object: