Skip to content

Instantly share code, notes, and snippets.

View MarcoMatarazzo's full-sized avatar

Marco Matarazzo MarcoMatarazzo

View GitHub Profile
@MarcoMatarazzo
MarcoMatarazzo / docker-destroy-all.sh
Created October 4, 2018 10:04 — forked from JeffBelback/docker-destroy-all.sh
Destroy all Docker Containers and Images
#!/bin/bash
# Stop all containers
docker stop $(docker ps -a -q)
# Delete all containers
docker rm $(docker ps -a -q)
# Delete all images
docker rmi $(docker images -q)
@MarcoMatarazzo
MarcoMatarazzo / check_redis.py
Last active September 5, 2022 17:50 — forked from luanntvn/check_redis.py
Redis check for Nagios and Icinga, with perfdata
#!/usr/bin/python
#
# LICENSE: MIT
#
# Copyright (C) 2017 Marco Matarazzo
#
# Based on check_redis.py from Samuel Stauffer
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
@MarcoMatarazzo
MarcoMatarazzo / !readme
Last active August 29, 2015 14:24 — forked from admackin/.bashrc
Sane SSH_AUTH_SOCK handling for Screen and Tmux, so that new SSH agents
created by subsequent logons are still usable.