Skip to content

Instantly share code, notes, and snippets.

View dreamuth's full-sized avatar

Uttran Ishtalingam dreamuth

View GitHub Profile
@PavelPolyakov
PavelPolyakov / format-everything.py
Created February 16, 2020 14:37
format repo using git-filter-repo
#!/usr/bin/env python3
"""
This script is meant to format all java files in your repo using maven-formatter-plugin
"""
import argparse
import os
import sys
import subprocess
@bastman
bastman / docker-cleanup-resources.md
Created March 31, 2016 05:55
docker cleanup guide: containers, images, volumes, networks

Docker - How to cleanup (unused) resources

Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...

delete volumes

// see: https://github.com/chadoe/docker-cleanup-volumes

$ docker volume rm $(docker volume ls -qf dangling=true)

$ docker volume ls -qf dangling=true | xargs -r docker volume rm