Skip to content

Instantly share code, notes, and snippets.


Francis Besset francisbesset

View GitHub Profile
osiyuk / docker-gc
Created Sep 1, 2017
free up disk space after docker garbage
View docker-gc
du -hd 1 $GARBAGE | sort -hrk 1 | head -25
find $GARBAGE -maxdepth 1 -name *-removing -exec rm -rf '{}' \;
ekristen /
Last active Jul 8, 2021
Bash Script for Nagios to Check Status of Docker Container
# Author: Erik Kristensen
# Email:
# License: MIT
# Nagios Usage: check_nrpe!check_docker_container!_container_id_
# Usage: ./ _container_id_
# Depending on your docker configuration, root might be required. If your nrpe user has rights
# to talk to the docker daemon, then root is not required. This is why root privileges are not
lyrixx / post-checkout
Created Jun 26, 2013
Git post checkout
View post-checkout
# Put this file at: .git/hooks/post-checkout
# and make it executable
# You can install it system wide too, see