initial commit

This commit is contained in:
exquisitecorp 2023-12-25 00:10:42 -05:00
commit 53665d95f0
18 changed files with 301 additions and 0 deletions

19
README.md Normal file
View File

@ -0,0 +1,19 @@
# Social Software
```
Hello & Welcome to...
____ _ __
/ __/__ ____(_)__ _/ /
_\ \/ _ \/ __/ / _ `/ /
/___/\___/\__/_/\_,_/_/
____ _____
/ __/__ / _/ /__ _____ ________
_\ \/ _ \/ _/ __/ |/|/ / _ `/ __/ -_)
/___/\___/_/ \__/|__,__/\_,_/_/ \__/ BBS
This is a single server (computer) that we are all sharing together, for exploration and learning.
```
Custom functions and list of installed programs from the SocialSoftware tilde server.

View File

@ -0,0 +1,6 @@
function among-sus
cat ~lee/imposter.txt
echo "Joining Among-Sus"
sleep 1
nc 127.0.0.1 1234
end

View File

@ -0,0 +1,3 @@
function asciipatrol
~lee/ascii-patrol/asciipat
end

View File

@ -0,0 +1,4 @@
function botanyhelp
lolcat ~bd/plant
cat ~bd/botanyhelp.txt
end

View File

@ -0,0 +1,4 @@
function everyone
echo "All members of Social Software:"
ls ~/.. | sed 's#/##'
end

View File

@ -0,0 +1,3 @@
function forecast
curl "wttr.in/Purchase,NY"
end

View File

@ -0,0 +1,30 @@
function get-started
echo "cd <foldername> to jump to a directory or cd .. to go back (and cd by itself to go home)
ls to list files in current directory
pwd to display current directory (aka folder) name
cat <filename> prints out a file
touch <filename> creates a new file
nano <filename> edits a file
man <command> displays the manual for a command. arrows to scroll. q to quit.
mkdir <directory-name> creates a folder (directory)
rm <filename> deletes a file permanently (careful!)
Read any Linux resource for more info on basic linux commands.
Special for our server:
who - lists everyone currently logged in
everyone - lists all users that have accounts on our system
wall \"my message\" - broadcasts your message (and Control-L to clear screen of messages)
write <username> - starts a direct live message
cowsay "my message" - for important announcements
sl - When you type ls backwards
figlet - for creating banner images
weather - fetch a 5 day weather forecast for Purchase, in fahrenheight
w3m <url> - web browser
python3 - the programming language
finger <username> - displays info on a user
fish - our shell (already running)
We also have many games installed: adventure, arithmetic, atc, backgammon, battlestar, bcd, boggle, caesar, canfield, countmail, cribbage, dab, go-fish, gomoku, hack, hangman, hunt, mille, monop, morse, number, pig, phantasia, pom, ppt, primes, quiz, random, rain, robots, rot13, sail, snake, tetris-bsd, trek, wargames, worm, worms, wump, wtf
"
end

View File

@ -0,0 +1,3 @@
function pokete
~lee/pokete/pokete.py
end

View File

@ -0,0 +1,3 @@
function tetris
tetris-bsd -p -k 'asd pq'
end

View File

@ -0,0 +1,3 @@
function tetrisRighty
tetris-bsd -p -k 'hjk pq'
end

View File

@ -0,0 +1,3 @@
function thumb
finger (bash ~lee/show_hands.sh | fzf)
end

View File

@ -0,0 +1,5 @@
function weather
ansiweather -l "Purchase,USA" -H true -u imperial -s true -i true
echo ""
echo "for full forecast, run: forecast"
end

13
finger-fixer.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/bash
# create a new group "fingers"
sudo addgroup fingers
for u in $(ls ~/..) ; do
# add user to "fingers" group
sudo adduser "$u" fingers
uhome="$(getent passwd "$u" | cut -d: -f6)"
# allow group read and search for user's $HOME directory
sudo chmod g+rx "$uhome"
# allow group read of .plan, .project
sudo chmod g+r "$uhome"/{.plan,.project}
done

12
hello.txt Executable file
View File

@ -0,0 +1,12 @@
Hello and welcome to social software bbs.
Programs to try out:
cowsay "your message"
figlet "your text"
finger <a username>
and many more. Run "get-started" for a list of suggestions.
Message your admin ~lee with requests for other software.
p.s. we have many many games installed, such as tetris-bsd, adventure, backgammon, boggle, cribbage...

21
imposter.txt Normal file
View File

@ -0,0 +1,21 @@
⬛⬛⬛⬛⬛⬛
⬛🟥🟥🟥🟥🟥🟥⬛
⬛🟥🟥🟥🟥🟥🟥🟥🟥⬛
⬛🟥🟥🟥🟥⬛⬛⬛⬛⬛⬛
⬛🟥🟥🟥⬛🟦🟦⬜⬜⬜⬜⬛
⬛🟥🟥⬛🟪🟦🟦🟦⬜⬜⬜🟦⬛
⬛⬛⬛🟥🟥⬛🟪🟦🟦🟦🟦🟦🟦🟦⬛
⬛🟥🟥⬛🟥🟥⬛🟪🟪🟪🟦🟦🟦🟦🟪⬛
⬛🟥🟥⬛🟥🟥🟥⬛🟪🟪🟪🟪🟪🟪⬛
⬛🟥🟥⬛🟥🟥🟥🟥⬛⬛⬛⬛⬛⬛⬛
⬛🟥🟥⬛🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥⬛
⬛🟥🟥⬛🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥⬛
⬛🟥🟥⬛🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥⬛
⬛🟥🟥⬛🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥⬛
⬛🟥🟥⬛🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥⬛
⬛🟥🟥⬛🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥⬛
⬛⬛⬛🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥⬛
⬛🟥🟥🟥⬛⬛⬛⬛🟥🟥🟥⬛
⬛🟥🟥🟥⬛ ⬛🟥🟥🟥⬛
⬛🟥🟥🟥⬛ ⬛🟥🟥🟥⬛
⬛⬛⬛ ⬛⬛⬛

135
installed.txt Normal file
View File

@ -0,0 +1,135 @@
amfora
ansiweather
apt-transport-https
apt-utils
base-files
bash
bastet
bolt
bsdgames
bsdutils
ca-certificates
cloud-init
cowsay
dash
diffutils
droplet-agent
droplet-agent-keyring
eatmydata
efibootmgr
fail2ban
figlet
findutils
finger
fish
freesweep
fwupd-signed
fzf
gnupg2
grep
grub-efi-amd64-bin
grub-efi-amd64-signed
gzip
hostname
init
jq
libaa-bin
libarchive13
libatasmart4
libblockdev-crypto2
libblockdev-fs2
libblockdev-loop2
libblockdev-part-err2
libblockdev-part2
libblockdev-swap2
libblockdev-utils2
libblockdev2
libeatmydata1
libefiboot1
libefivar1
libflashrom1
libftdi1-2
libfwupd2
libgcab-1.0-0
libgpgme11
libgudev-1.0-0
libgusb2
libjcat1
libjq1
libjson-glib-1.0-0
libjson-glib-1.0-common
libmbim-glib4
libmbim-proxy
libmbim-utils
libmm-glib0
libncurses-dev
libncurses5
libncurses5-dev
libnspr4
libnss3
libonig5
libparted-fs-resize0
libprotobuf-c1
libpulse-dev
libqmi-glib5
libqmi-proxy
libqmi-utils
libsmbios-c2
libtcl8.6
libtss2-esys-3.0.2-0
libtss2-mu0
libtss2-sys1
libtss2-tcti-cmd0
libtss2-tcti-device0
libtss2-tcti-mssim0
libtss2-tcti-swtpm0
libudisks2-0
libvolume-key1
libwrap0
libx11-dev
libxi-dev
links
linux-virtual
login
lolcat
micro
mokutil
nano
ncurses-base
ncurses-bin
ncurses-term
openssh-server
openssh-sftp-server
pipx
python-babel-localedata
python3
python3-babel
python3-distutils
python3-jinja2
python3-json-pointer
python3-jsonpatch
python3-jsonschema
python3-lib2to3
python3-markupsafe
python3-pip
python3-pyrsistent
python3-serial
python3-setuptools
python3-tz
sbsigntool
secureboot-db
shim-signed
sl
ssh-import-id
tcl
tcl8.6
tldr
tpm-udev
ubuntu-minimal
ubuntu-server
ubuntu-standard
usb-modeswitch
usb-modeswitch-data
util-linux
util-linux-extra
w3m

22
motd Executable file
View File

@ -0,0 +1,22 @@
Hello & Welcome to...
____ _ __
/ __/__ ____(_)__ _/ /
_\ \/ _ \/ __/ / _ `/ /
/___/\___/\__/_/\_,_/_/
____ _____
/ __/__ / _/ /__ _____ ________
_\ \/ _ \/ _/ __/ |/|/ / _ `/ __/ -_)
/___/\___/_/ \__/|__,__/\_,_/_/ \__/ BBS
This is a single server (computer) that we are all sharing together, for exploration and learning.
TIP: If you get stuck, you can cancel out of many commands with Control-C or force quit/exit is Control-D.
To log out of social software bbs, type exit at the prompt.
Run "get-started" for a list of software and commands to try.
Message ~lee for software installation requests.
2023-10-24 update: added "textual-paint" drawing program (thanks ~itslex) and "among-sus" command line among-us clone. Fullscreen recommended for textual-paint. Works with mouse.
2023-10-26 update: added "pokete" pokemon game and "asciipatrol" game (thanks to ~mh7). Added "bastet" tetris. Fullscreen recommended.
2023-10-27 update: added "ansiwave". Connect with other people from the net. There is a forum, and you can play or make midi music and ASCII and ANSI color art.
2023-10-27: added "iris" bulletin board, a discussion forum on the server for just us. Type iris to launch it. See a list of topics with "t". Type the number of a message thread to read it.

12
show-hands.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
for item in ../*
do
if [ -d "$item" ]
then
if [ -f "$item/.plan" ] || [ -f "$item/.project" ]
then
echo "${item:3}"
fi
fi
done