Skip to content

Instantly share code, notes, and snippets.

View ahoendgen's full-sized avatar

André Hoendgen ahoendgen

View GitHub Profile
@ahoendgen
ahoendgen / docker-cleanup-resources.md
Last active January 27, 2021 08:05 — forked from bastman/docker-cleanup-resources.md
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

@ahoendgen
ahoendgen / listFontInformation.js
Last active January 5, 2020 05:27 — forked from macbookandrew/findStyles.js
JS - List unique font information of all DOM elements
/**
* List unique font information of all DOM elements
* Based on the awesome code from AndrewRMinion
* @see {@link https://gist.github.com/macbookandrew/f33dbbc0aa582d0515919dc5fb95c00a URL of the base code}
*
* @see {@link https://gist.github.com/ahoendgen/ebcabb595cc8465e4688275311a5c009/ URL for this file}
*
* @author AndrewRMinion Design (https://andrewrminion.com)
* @author André Hoendgen (https://andre-hoendgen.de)
* @version 1.1