2024-04-25 00:10:02 +00:00
|
|
|
#!/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
|
2024-04-25 00:28:12 +00:00
|
|
|
preparetopaste "cd code/rc-presentation; ./remote-present.sh"
|
|
|
|
ssh oxaliq@bunk.computer 2>/dev/null || echo "hurray!"
|
2024-04-25 00:10:02 +00:00
|
|
|
{ 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"
|
2024-04-25 00:36:12 +00:00
|
|
|
|
|
|
|
newslide
|
|
|
|
exit 0
|