I hereby claim:
- I am ntarocco on github.
- I am ntarocco (https://keybase.io/ntarocco) on keybase.
- I have a public key ASCzPgwl611JdAl-oKtrrOQbVX0CwJS6gXicWjQwFM3FBAo
To claim this, I am signing this object:
from invenio_rdm_records.proxies import current_rdm_records_service | |
from invenio_access.permissions import system_identity | |
from invenio_records_permissions.generators import SystemProcess | |
from invenio_db import db | |
RECID = "<recid>" | |
current_rdm_records_service.config.permission_policy_cls.can_delete = [SystemProcess()] | |
current_rdm_records_service.delete(system_identity, RECID) | |
db.session.commit() |
#!/bin/bash | |
docker stop $(docker ps -aq) | |
echo y | docker container prune # Remove all stopped containers | |
echo y | docker volume prune # Remove all unused volumes | |
# docker image prune # Remove unused images | |
echo y | docker system prune # don't really know... | |
docker ps -a |
Bookmarket (<https://en.wikipedia.org/wiki/Bookmarklet>) to autofill the form for sport. If you need for groceries, replace | |
document.getElementById('checkbox-sport_animaux').checked = true; | |
with | |
document.getElementById('checkbox-achats').checked = true; | |
Instructions: | |
1. fill in the values with your personal information |
I hereby claim:
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 |
# fork from AVIT ZSH Theme | |
PROMPT=' | |
$(_user_host)${_current_dir}$(git_prompt_info) | |
$ ' | |
PROMPT2='%{$fg[grey]%}◀%{$reset_color%} ' | |
#RPROMPT='$(_vi_status)%{$(echotc UP 1)%}$(git_prompt_short_sha) $(_git_time_since_commit) ${_return_status} %T% %{$(echotc DO 1)%}' | |
RPROMPT='$(_vi_status)%{$(echotc UP 1)%}$(git_prompt_short_sha) ${_return_status} %T% %{$(echotc DO 1)%}' |