rc-presentation/remote-present.sh

122 lines
1.8 KiB
Bash
Raw Normal View History

2024-04-25 00:10:02 +00:00
newslide() {
printf "\n"
read -r blank
clear
echo
}
append() {
read -r blank
echo
}
clear
echo
h1() {
echo $1 | figlet -c -f slant
}
h2() {
echo $1 | figlet -c -f small
}
h3() {
echo $1 | toilet --gay -f mini
}
rainbow() {
echo $1 | toilet --gay -f term
}
2024-04-25 03:54:48 +00:00
trap : 2
2024-04-25 00:57:52 +00:00
2024-04-25 00:10:02 +00:00
## NOW WE"RE REMOTING
h1 " we're on bunkchat now"
2024-04-25 03:54:48 +00:00
append
2024-04-25 00:10:02 +00:00
h3 incredible
append
echo "so like where's that demo?"
2024-04-25 00:10:02 +00:00
newslide
toilet -w 100 -f block --gay bunkdeck | tr "_|" "~#"
append
echo "i thought you said bunk chat?"
2024-04-25 03:54:48 +00:00
append
2024-04-25 00:10:02 +00:00
set -x
bunkdeck
2024-04-25 00:10:02 +00:00
{ set +x; } 2>/dev/null
newslide
echo "okay it's chat"
2024-04-25 00:10:02 +00:00
append
h1 "let's see some code already"
2024-04-25 00:10:02 +00:00
newslide
echo "there's some code for writing"
append
less ~/code/bunkchat/proclaim
newslide
echo "and some code for reading"
append
less ~/code/bunkchat/heed
2024-04-25 00:10:02 +00:00
newslide
echo "the install script includes an important piece of how this all works"
append
less ~/code/bunkchat/install.sh
append
echo "that's a load-bearing"
rainbow "`chattr +a`"
2024-04-25 00:10:02 +00:00
2024-04-25 00:57:52 +00:00
set -x
proclaim
{ set +x; } 2>/dev/null
2024-04-25 00:10:02 +00:00
append
2024-04-25 00:57:52 +00:00
echo "where indeed?"
2024-04-25 00:10:02 +00:00
append
2024-04-25 00:57:52 +00:00
set -x
heed
{ set +x; } 2>/dev/null
append
echo "utterly uninteractive"
2024-04-25 00:10:02 +00:00
newslide
echo "and, of course the tmux scripting"
2024-04-25 00:10:02 +00:00
append
less ~/code/bunkdeck/bunkdeck
2024-04-25 03:54:48 +00:00
newslide
echo "old tools"
rainbow "new look"
2024-04-25 03:54:48 +00:00
append
echo "users with varied experience and comfort with a terminal"
echo "can love a tui"
2024-04-25 03:54:48 +00:00
newslide
echo "old tools"
2024-04-25 03:54:48 +00:00
append
h3 "nostalgia?"
2024-04-25 03:54:48 +00:00
newslide
h2 "no"
2024-04-25 03:54:48 +00:00
append
h3 "learning?"
2024-04-25 03:54:48 +00:00
newslide
h2 "yes!"
h2 "and fun!"
echo "i remote into this server all the time"
2024-04-25 03:54:48 +00:00
append
echo "and there's not even a page"
2024-04-25 03:54:48 +00:00
newslide
echo "discalimer:"
echo "bunkchat is probably"
2024-04-25 03:54:48 +00:00
h2 "not for low trust servers"
append
h3 "we're all friends here"
newslide
echo "okay cute!"
echo "thank you for visiting our tilde"
append
echo "time to abruptly close this connection"
2024-04-25 00:10:02 +00:00
newslide
exit 0