Skip to content

Instantly share code, notes, and snippets.

@scalp42
scalp42 / knife
Created March 13, 2013 20:01
Empty nodes run list
knife exec -E "search(:node,'*:*').select{|n|n.run_list.empty?}.each{|n| puts n.name}"
@anildigital
anildigital / gist:862675ec1b7bccabc311
Created July 26, 2014 18:27
Remove dangling docker images
docker rmi $(docker images -q -f dangling=true)