Skip to content

Instantly share code, notes, and snippets.

@kjlubick
kjlubick / docker-cleanup-resources.md
Created March 13, 2018 15:12 — 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

// The Grid component allows an element to be located
// on a grid of tiles
Crafty.c('Grid', {
init: function() {
this.attr({
w: Game.map_grid.tile.width,
h: Game.map_grid.tile.height
});
},
@kjlubick
kjlubick / todo.md
Last active August 29, 2015 14:05 — forked from shader/todo.md

[3/7] Major UI

  • Use urls for filtering so that browser history works
  • Application selector checkboxes instead of dropdown
  • Video thumbnails in tool block
    • Display thumbnail for user videos, instead of just names
    • Add 'request video' thumbnail for users without videos
  • Add instrumentation
    • Get list of actions to instrument
  • Fix Sharing