Initial source commit.

This commit is contained in:
Koen
2023-09-25 17:18:43 +02:00
parent f37edf0595
commit 5b815f9c16
1031 changed files with 74881 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/bin/sh
git clone git@gitlab.futo.org:videostreaming/plugins/kick.git
git clone git@gitlab.futo.org:videostreaming/plugins/nebula.git
git clone git@gitlab.futo.org:videostreaming/plugins/odysee.git
git clone git@gitlab.futo.org:videostreaming/plugins/patreon.git
git clone git@gitlab.futo.org:videostreaming/plugins/peertube.git
git clone git@gitlab.futo.org:videostreaming/plugins/rumble.git
git clone git@gitlab.futo.org:videostreaming/plugins/soundcloud.git
git clone git@gitlab.futo.org:videostreaming/plugins/twitch.git
git clone git@gitlab.futo.org:videostreaming/plugins/youtube.git
git clone git@gitlab.futo.org:videostreaming/plugins/sample.git
+19
View File
@@ -0,0 +1,19 @@
#!/bin/sh
if [ "$#" -ne 1 ]; then
echo "Usage: $0 <commit-message>"
exit 1
fi
for dir in */ ; do
if [ -d "$dir/.git" ]; then
echo "Processing $dir"
(
cd "$dir" || exit
git add .
git commit -m "$1"
git push
)
fi
done
echo "Done!"
+12
View File
@@ -0,0 +1,12 @@
#!/bin/sh
for dir in */ ; do
if [ -d "$dir/.git" ]; then
echo "Pulling latest changes for $dir"
(
cd "$dir" || exit
git pull
)
fi
done
echo "Done!"
+22
View File
@@ -0,0 +1,22 @@
#!/bin/sh
#Example usage:
#cat script.js | sign-script.sh
#sh sign-script.sh script.js
#Set your key paths here
PRIVATE_KEY_PATH=~/.ssh/id_rsa
PUBLIC_KEY_PATH=~/.ssh/id_rsa.pub
PUBLIC_KEY_PKCS8=$(ssh-keygen -f "$PUBLIC_KEY_PATH" -e -m pkcs8 | tail -n +2 | head -n -1 | tr -d '\n')
echo "This is your public key: '$PUBLIC_KEY_PKCS8'"
if [ $# -eq 0 ]; then
# No parameter provided, read from stdin
DATA=$(cat)
else
# Parameter provided, read from file
DATA=$(cat "$1")
fi
SIGNATURE=$(echo -n "$DATA" | openssl dgst -sha512 -sign ~/.ssh/id_rsa | base64 -w 0)
echo "This is your signature: '$SIGNATURE'"