From dacc92d45834b51c9d6b829bec0f6abe22e46791 Mon Sep 17 00:00:00 2001 From: oxaliq Date: Wed, 24 Apr 2024 20:10:02 -0400 Subject: [PATCH] first draft --- remote-present.sh | 87 +++++++++++++++++++++++++++++ tilde-present.sh | 139 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 226 insertions(+) create mode 100644 remote-present.sh create mode 100755 tilde-present.sh diff --git a/remote-present.sh b/remote-present.sh new file mode 100644 index 0000000..623ba6b --- /dev/null +++ b/remote-present.sh @@ -0,0 +1,87 @@ +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 +} + +## NOW WE"RE REMOTING + +h1 " we're on bunkchat now" +h3 incredible +append +echo "so like what's here?" +echo "(that we could meaningfully engage with in <5 minutes?)" + +## +newslide +set -x +halp +{ set +x; } 2>/dev/null + +append +h1 "and now" +append +h2 "the point of this presentation" + +newslide +toilet -w 100 -f block --gay bunkchat | tr "_|" "~#" + +newslide +echo "it's chat in a file" + +set -x +proclaim +{ set +x; } 2>/dev/null +append +set -x +heed +{ set +x; } 2>/dev/null +append +set -x +scry +{ set +x; } 2>/dev/null + +newslide +h3 "multiplex?" + +append +lynx https://i.pinimg.com/originals/99/7e/f8/997ef8aee6af0885257000a0ad3170ba.jpg + +newslide +echo "but remember! some of us are new to the terminal!" + +append +set -x +bunkdeck +{ set +x; } 2>/dev/null + +h1 enough! +h2 "yr 5 minutes is almost done" +append +h3 "go back to rc!" +append +echo "okay" + +newslide +exit 0 diff --git a/tilde-present.sh b/tilde-present.sh new file mode 100755 index 0000000..0313e58 --- /dev/null +++ b/tilde-present.sh @@ -0,0 +1,139 @@ +#!/bin/sh -e + +# use this function to wait for ENTER +# and then clear the screen for new slide +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 +} + +preparetopaste() { + echo $1 | xsel -ib +} +## HELLO SLIDE + +h1 "~ bunkchat" +h2 "group chat in a file" + +newslide + +## INTRO TO TILDE + +h2 "what's tilde" + +## define tilde +newslide + +h3 "a tilde is a server!" +append +echo "it's also maybe a fuzzy concept?" +echo +echo "a tilde server" +append +echo " SHOULD be public access" +append +echo " SHOULD unix" +append +rainbow ' SHOULD give users a website' +append +echo +echo "like..." + +## some websites +newslide +set -x +preparetopaste https://bunk.computer/~winter +lynx https://bunk.computer/~oxaliq +{ set +x; } 2>/dev/null + +append +h2 "pretty cool right?" + +## bunk.computer +newslide +h1 "enter bunk" + +h2 "a computer club" + +append +echo "buncombe county is the source of \"bunkum\"" +echo "hence bunk.com.pu.ter" + +## learning! not nostalgia +newslide +echo "users of varied cli expertise" +rainbow "who just like hanging out and doing cool things with computers" +append +h3 "nostalgia?" +newslide +h2 "no" +append +h3 "learning?" +newslide +h2 "yes!" + +## go to bunk.computer +newslide +h3 "so?" +h2 "can we go to bunk.computer?" +append +h1 "let's go!" + +newslide +set -x +preparetopaste "cd code/rc-presentation & ./remote-presentation.sh" +ssh oxaliq@bunk.computer +{ set +x; } 2>/dev/null + + + +## TUNNELING! + + +## AND WE"RE BACK +append +rainbow "and we're back in rc" +append +echo "and you may be asking" +## THE LINX +newslide +h2 "where is this fabulous project?" +append +rainbow "https://git.bunk.computer/bunkchat" +append +rainbow "https://git.bunk.computer/bunkdeck" + +newslide +newslide +echo "more computer club stuff" +rainbow "https://wiki.bunk.computer" +# END +newslide + +h1 "fin"