This sheet goes along with this SSH YouTube tutorial
$ ssh [email protected]
$ mkdir test
$ cd test
$ ssh [email protected]
$ mkdir test
$ cd test
Just a little git hook to sync password repositories.
This file supports my YouTube video, which lives here: https://youtu.be/2Ji7Ph8atus
| #! /bin/bash | |
| # dunstctl set-paused false | |
| send_current() { | |
| TODAY=$(date '+%-d') | |
| month=$(ncal -bhMw) | |
| BODY=$( tail -n7 <<< $month | sed "s/| /▕ /" | sed -z "s/ \($TODAY\) /<span bgcolor='white' color='black'> \1 <\/span>/1" | sed "s/\(.*\)\(.\{8\}\)$/\1<span color='IndianRed'>\2<\/span>/") | |
| HEAD=$(echo "$month" | head -n1) | |
| notify-send -a 'calendar' \ |