Compare commits
6 Commits
0314bb4890
...
5e943d5ab0
Author | SHA1 | Date | |
---|---|---|---|
5e943d5ab0 | |||
8d446447e9 | |||
09ae6a513c | |||
f42745f6c1 | |||
f67e378f3b | |||
8e39a7a76b |
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,4 +1,5 @@
|
||||
ftp_url.txt
|
||||
inst_url.txt
|
||||
music/*
|
||||
static/woff/*
|
||||
static/brand/*
|
||||
|
2
encode.sh
Executable file
2
encode.sh
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec ffmpeg -i "${1}" -vn -ar 44100 -ac 2 -b:a 128k "${1}.mp3"
|
12
music.json
12
music.json
@ -1,4 +1,16 @@
|
||||
[
|
||||
{
|
||||
"id": "dangerous",
|
||||
"name": "dangerous",
|
||||
"description": "This was fun.",
|
||||
"timestamp": 1693510823
|
||||
},
|
||||
{
|
||||
"id": "2023_07_16",
|
||||
"name": "2023-07-16",
|
||||
"description": "Renoise is nice.",
|
||||
"timestamp": 1689552489
|
||||
},
|
||||
{
|
||||
"id": "wrgw",
|
||||
"name": "wrgw",
|
||||
|
58
newcert.sh
Executable file
58
newcert.sh
Executable file
@ -0,0 +1,58 @@
|
||||
#!/bin/bash
|
||||
|
||||
run() {
|
||||
set -eu
|
||||
if [ "$EUID" -ne 0 ]; then
|
||||
echo "Root access needed (sorry)"
|
||||
exit 1
|
||||
fi
|
||||
echo "Press enter to run certbot"
|
||||
echo "You'll want another terminal to upload challenges"
|
||||
read
|
||||
exec certbot certonly --manual -d flewkey.com -d www.flewkey.com
|
||||
}
|
||||
|
||||
challenge() {
|
||||
set -eu
|
||||
echo "Challenge data"
|
||||
read content
|
||||
echo "Challenge name (not the URL)"
|
||||
read name
|
||||
echo "Uploading..."
|
||||
printf "${content}" > "/tmp/${name}"
|
||||
lftp -c "set ftp:list-options -a;\
|
||||
open '$(cat ftp_url.txt)';\
|
||||
put /tmp/${name} -o /public_html/.well-known/acme-challenge/${name}"
|
||||
echo "Success!"
|
||||
echo "URL: https://flewkey.com/.well-known/acme-challenge/${name}"
|
||||
}
|
||||
|
||||
install() {
|
||||
set -eu
|
||||
if [ "$EUID" -ne 0 ]; then
|
||||
echo "Root access needed (sorry)"
|
||||
exit 1
|
||||
fi
|
||||
echo "Not yet implemented; install it manually"
|
||||
echo "URL: $(cat inst_url.txt)"
|
||||
printf "Press enter for CRT\n\n"
|
||||
read
|
||||
cat "/etc/letsencrypt/live/flewkey.com/cert.pem"
|
||||
printf "\n\nPress enter for KEY\n\n"
|
||||
read
|
||||
cat "/etc/letsencrypt/live/flewkey.com/privkey.pem"
|
||||
printf "\n\nPress enter for CABUNDLE\n\n"
|
||||
read
|
||||
cat "/etc/letsencrypt/live/flewkey.com/chain.pem"
|
||||
printf "\n\nYou should be good to go!\n"
|
||||
}
|
||||
|
||||
command="$1"
|
||||
shift
|
||||
|
||||
case "$command" in
|
||||
run) run "$@" ;;
|
||||
challenge) challenge "$@" ;;
|
||||
install) install "$@" ;;
|
||||
*) echo "Usage: $0 run|challenge|install" >&2; exit 1 ;;
|
||||
esac
|
@ -7,15 +7,27 @@ license: CC-BY
|
||||
My name is Ryan Fox. I am a computer programmer from Canada.
|
||||
|
||||
I maintain the [flewkey-overlay](https://git.sdf.org/flewkey/flewkey-overlay) to
|
||||
publish Gentoo packages and the [REvoom Team](https://divoom.2a03.party/) website
|
||||
to document Divoom’s APIs and firmwares. Occasionally, I write blog posts and
|
||||
music for fun.
|
||||
publish Gentoo packages, and I publish music here sometimes.
|
||||
|
||||
You might also know me from the GURU packages I used to maintain,
|
||||
[REvoom Team](https://divoom.2a03.party/),
|
||||
pxls.2a03.party, mc.2a03.party, Freenote, EsotericNote, The Derpbox, or
|
||||
GC64Minecraft.
|
||||
|
||||
---
|
||||
|
||||
## Contact
|
||||
|
||||
* Email: <flewkey@2a03.party>
|
||||
* Matrix: [@flewkey:matrix.org](https://matrix.to/#/@flewkey:matrix.org)
|
||||
|
||||
I am also available at [Dystopia!]({root}dystopia{ext}) through Libera Chat,
|
||||
Matrix and Discord.
|
||||
|
||||
---
|
||||
|
||||
## Profiles
|
||||
|
||||
* LBRY: [@flewkey](https://open.lbry.com/@flewkey:6?r=28E337UP7hF9JXHxxeZgN1FPuekW8aJv)
|
||||
* PeerTube: [@flewkey@toobnix.org](https://toobnix.org/accounts/flewkey/video-channels)
|
||||
* Fediverse: [@flewkey@2a03.party](https://gts.2a03.party/@flewkey)
|
||||
* SDF GIT Society [@flewkey](https://git.sdf.org/flewkey)
|
||||
@ -26,14 +38,3 @@ music for fun.
|
||||
|
||||
* PGP: [D910C0CAC5BF5739861A4ABD94F56ADFD848851E]({root}pgp.txt)
|
||||
* SSH: [SHA256:IggQMESZIgwIP4/zfYI8ZA1xnMd9g9huOUtgfaKjmCo]({root}ssh.txt)
|
||||
|
||||
---
|
||||
|
||||
## Contact
|
||||
|
||||
My preferred contact method is email (<flewkey@2a03.party>). I usually
|
||||
respond within 48 hours, but that time varies. Concise emails are appreciated.
|
||||
|
||||
I am also available at [Dystopia!]({root}dystopia{ext}) through Libera Chat,
|
||||
Matrix and Discord. If you have a question, just ask it and ping me. Expect to
|
||||
wait for a few hours.
|
||||
|
@ -28,7 +28,7 @@
|
||||
{content}
|
||||
</main>
|
||||
<footer>
|
||||
<span>Copyright © 2022 flewkey</span>
|
||||
<span>Copyright © 2024 flewkey</span>
|
||||
{badge}
|
||||
</footer>
|
||||
</body>
|
||||
|
Loading…
x
Reference in New Issue
Block a user