1
0

Compare commits

...

6 Commits

Author SHA1 Message Date
5e943d5ab0
Bump the ancient copyright info 2024-06-02 16:40:10 -07:00
8d446447e9
Update the about page. 2024-06-02 16:38:12 -07:00
09ae6a513c
music: Add encoding script
I probably don't need to downsample all of my audio, but whatever.
2024-06-02 16:36:36 -07:00
f42745f6c1
music: Add dangerous 2023-09-09 20:00:18 -07:00
f67e378f3b
Add script to help with certificate renewal
Doing this is a pain in the ass. I'll probably move the website to my
own servers at some point.
2023-08-25 00:38:33 -07:00
8e39a7a76b
music: Add 2023-07-16 2023-07-16 19:24:09 -07:00
6 changed files with 90 additions and 16 deletions

1
.gitignore vendored
View File

@ -1,4 +1,5 @@
ftp_url.txt
inst_url.txt
music/*
static/woff/*
static/brand/*

2
encode.sh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
exec ffmpeg -i "${1}" -vn -ar 44100 -ac 2 -b:a 128k "${1}.mp3"

View File

@ -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
View 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

View File

@ -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 Divooms 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.

View File

@ -28,7 +28,7 @@
{content}
</main>
<footer>
<span>Copyright &copy; 2022 flewkey</span>
<span>Copyright &copy; 2024 flewkey</span>
{badge}
</footer>
</body>