From ccf3eddba00b4f1e5c6f6852fd48c4a43043f6c9 Mon Sep 17 00:00:00 2001 From: ImmortalPC Date: Thu, 5 Dec 2013 17:24:29 +0100 Subject: [PATCH 1/2] [Change] Add "not this dir" into find examples --- cheatsheets/find | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cheatsheets/find b/cheatsheets/find index 00c6c86..c6126b3 100644 --- a/cheatsheets/find +++ b/cheatsheets/find @@ -36,3 +36,6 @@ find . -type d -empty -exec rmdir {} \; # To search for directories named build at a max depth of 2 directories find . -maxdepth 2 -name build -type d + +# To search all files who are not in .git directory +find . ! -iwholename '*.git*' -type f From 90be14965b2e3f8eb0cf30412a7765d7786f4547 Mon Sep 17 00:00:00 2001 From: ImmortalPC Date: Tue, 10 Dec 2013 10:19:49 +0100 Subject: [PATCH 2/2] Add fun with ascii art --- cheatsheets/asciiart | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 cheatsheets/asciiart diff --git a/cheatsheets/asciiart b/cheatsheets/asciiart new file mode 100644 index 0000000..5656e3d --- /dev/null +++ b/cheatsheets/asciiart @@ -0,0 +1,22 @@ +# To show some text in ASCII Art: + +figlet Cheat +# ____ _ _ +# / ___| |__ ___ __ _| |_ +#| | | '_ \ / _ \/ _` | __| +#| |___| | | | __/ (_| | |_ +# \____|_| |_|\___|\__,_|\__| +# + + +# To have some text with color and other options: +# Show with a border +toilet -F border Cheat +# Basic show (filled) +toilet Cheat +# mmm # m +# m" " # mm mmm mmm mm#mm +# # #" # #" # " # # +# # # # #"""" m"""# # +# "mmm" # # "#mm" "mm"# "mm +#