Initial commit

This commit is contained in:
Nox Sluijtman 2023-12-30 02:33:21 +01:00
commit 6c68373a7c
4 changed files with 37 additions and 0 deletions

4
didder.cheat Normal file
View file

@ -0,0 +1,4 @@
% didder
# didder gruvbox
didder -i <inputfile> --palette "#b16286 #3c3836 #1d2021" -o <outputfile> bayer 16x16

7
gallery-dl.cheat Normal file
View file

@ -0,0 +1,7 @@
% gallery-dl
# gallery-dl loop
while read url; do
gallery-dl "$url"
figlet Done
done

14
magick.cheat Normal file
View file

@ -0,0 +1,14 @@
% magick
# Simple text on a background
magick -font <font-list> -background <background-colour> -fill <foreground-colour> -pointsize <fontsize> label:'<text>' <file-name>
# Simple black text on a transparent background
magick -font <font-list> -background transparent -fill white -pointsize <fontsize> label:'<text>' <file-name>
# list fonts
magick -list font | less
$ font-list: magick -list font | sed -n 's/\W*Font: //p'
$ background-colour: magick -list color | awk '{print$1}' | grep -v 'gray\|grey' | tail -n +6
$ foreground-colour: magick -list color | awk '{print$1}' | grep -v 'gray\|grey' | tail -n +6

12
qcal.cheat Normal file
View file

@ -0,0 +1,12 @@
% qcal
# qcal new full day event
qcal -n "<date> <description>"
# qcal new event with startand end time
qcal -n "<date> <start-time> <end-time> <description>"
# qcal new repeating event
qcal -n "<date> <description>" -r <interval>
$ interval: printf "d\nw\nm\ny\n"