From ff7a761184ca13e6562d8b94f9c3b7ed007f8f7e Mon Sep 17 00:00:00 2001 From: Marcus Jones Date: Fri, 3 Apr 2020 20:52:21 -0400 Subject: [PATCH 1/2] Add cheatsheet for `ssh-add` --- ssh-add | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 ssh-add diff --git a/ssh-add b/ssh-add new file mode 100644 index 0000000..99c3d2d --- /dev/null +++ b/ssh-add @@ -0,0 +1,5 @@ +--- +tags: [ ssh ] +--- +# To store a GitHub SSH passphrase in your keychain: +ssh-add -K ~/.ssh/github_rsa From 3c9b5408e3c895ad3c3faffc6675d793faa6ef4f Mon Sep 17 00:00:00 2001 From: Marcus Jones Date: Tue, 25 Aug 2020 21:53:51 -0400 Subject: [PATCH 2/2] feat: add cheat for removing unused volumes --- docker | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker b/docker index 7e499dd..16870bf 100644 --- a/docker +++ b/docker @@ -33,3 +33,6 @@ docker images # To remove all untagged images: docker rmi $(docker images | grep "^" | awk "{print $3}") + +# To remove all volumes not used by at least one container: +docker volume prune