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 +# 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