From 83f1a8237c7a66fc5adb9e3d4fdc2f16481d9694 Mon Sep 17 00:00:00 2001 From: alifeee Date: Wed, 12 Feb 2025 11:58:56 +0000 Subject: [PATCH] `.co.uk` -> `.net` for server links --- gists/gists.md | 8 ++++---- gists/index.html | 11 +++++------ gists/text.svg | 6 +++--- notes/cron jobs are hard to make.md | 2 +- steam-collage-api/index.html | 4 ++-- steam-collage-api/steam-collage-api.md | 4 ++-- 6 files changed, 17 insertions(+), 18 deletions(-) diff --git a/gists/gists.md b/gists/gists.md index ca79a48..26ee6db 100644 --- a/gists/gists.md +++ b/gists/gists.md @@ -321,7 +321,7 @@ py auto.py --dayonly multplayer "multplayer start" "multplayer 1" "multplayer 2" *why did I make it?* -I played a big multiplayer Factorio world once a week for ten weeks, and I used [`FactorioMaps`] to create an interactive map of the save after every week. You can (maybe) see the final map on . +I played a big multiplayer Factorio world once a week for ten weeks, and I used [`FactorioMaps`] to create an interactive map of the save after every week. You can (maybe) see the final map on . [`FactorioMaps`]: https://github.com/L0laapk3/FactorioMaps @@ -591,7 +591,7 @@ Add the following to `~/.ssh/config` ```text Host server - HostName server.alifeee.co.uk + HostName server.alifeee.net User root IdentityFile ~/.ssh/alifeeePC ​``` @@ -642,7 +642,7 @@ server { ### Folder alias -This redirects requests to `https://server.alifeee.co.uk/factorio` to `/var/www/factorio` instead of `/var/www/server_homepage/factorio` +This redirects requests to `https://server.alifeee.net/factorio` to `/var/www/factorio` instead of `/var/www/server_homepage/factorio` ```nginx location /factorio { @@ -735,7 +735,7 @@ sudo systemctl status webring.service
-This was a very useful gist for me to write. As it says in [the gist preamble][how to run a program as a service with systemd], I was running bots and programs (daemons) on my server in a very volatile way, so that I couldn't restart the server, or I would have to go and manually start [4 or 5 different programs](https://server.alifeee.co.uk/). +This was a very useful gist for me to write. As it says in [the gist preamble][how to run a program as a service with systemd], I was running bots and programs (daemons) on my server in a very volatile way, so that I couldn't restart the server, or I would have to go and manually start [4 or 5 different programs](https://server.alifeee.net/). Working out how to use `systemd` with very simple use cases felt very handy, so I wrote it up because it was difficult for me to find good information on how to do it. diff --git a/gists/index.html b/gists/index.html index 8ba6843..753fd24 100644 --- a/gists/index.html +++ b/gists/index.html @@ -859,8 +859,8 @@
> to create an interactive map of the save after every week. You can (maybe) see the final map on - https://server.alifeee.co.uk/factorio/https://server.alifeee.net/factorio/.

who is it for?

@@ -1241,7 +1241,7 @@
```text Host server - HostName server.alifeee.co.uk + HostName server.alifeee.net User root IdentityFile ~/.ssh/alifeeePC ​``` @@ -1299,7 +1299,7 @@
### Folder alias -This redirects requests to `https://server.alifeee.co.uk/factorio` to `/var/www/factorio` instead of `/var/www/server_homepage/factorio` +This redirects requests to `https://server.alifeee.net/factorio` to `/var/www/factorio` instead of `/var/www/server_homepage/factorio` ```nginx location /factorio { @@ -1427,8 +1427,7 @@
>, I was running bots and programs (daemons) on my server in a very volatile way, so that I couldn't restart the server, or I would have to go and manually start - 4 or 5 different programs. + 4 or 5 different programs.

Working out how to use systemd with very simple use diff --git a/gists/text.svg b/gists/text.svg index 3a4a2f8..8f1dd9e 100644 --- a/gists/text.svg +++ b/gists/text.svg @@ -209,7 +209,7 @@ y="232.21997" id="tspan56594">server.alifeee.co.uk; + id="tspan56592">server.alifeee.net; server.alifeee.co.uk; + id="tspan56706">server.alifeee.net; server.alifeee.co.uk; + id="tspan56820">server.alifeee.net; > /home/alifeee/scripts/cron.log 2>&1 diff --git a/steam-collage-api/index.html b/steam-collage-api/index.html index 4d4f734..5e2bc5f 100644 --- a/steam-collage-api/index.html +++ b/steam-collage-api/index.html @@ -144,7 +144,7 @@

Coding Projects! #1

For my library, these are my four most recently played games. For yours, it's your four most played (recent is broken). This is HTTP content on an HTTPS page, so it may also not work if you are on Chrome - see above.

-

This is created fresh every time you reload the page, and comes from my server.

+

This is created fresh every time you reload the page, and comes from my server.

Is being able to have a live image like that worth the considerable (as you will unearth below) pain? Maybe. I think it's neat!

I consider myself a visual person, and as such I like to always have an image to use in combination with text (as you see on this blog's homepage any lipu tenpo posts, and any Notion page I have [unfortunately] made you subscribe to). In the past for these things I have used Python and Pillow to make collages, such as this lipu tenpo collage:

@@ -310,7 +310,7 @@

Hosting as an API

return send_file(collage_bytes, mimetype="image/jpeg")

With that, it's made! And to get the image, it's as simple as changing the query parameters on the URL. For example, the default image at the top of this post uses the URL:

-
http://server.alifeee.co.uk/steamcollage/games
+
https://steamcollage.alifeee.co.uk/steamcollage/games
   ?id=alifeee
   &rows=2
   &cols=2
diff --git a/steam-collage-api/steam-collage-api.md b/steam-collage-api/steam-collage-api.md
index 200c540..740cce8 100644
--- a/steam-collage-api/steam-collage-api.md
+++ b/steam-collage-api/steam-collage-api.md
@@ -270,7 +270,7 @@ def games():
 With that, it's made! And to get the image, it's as simple as changing the [query parameters] on the URL. For example, the default image at the top of this post uses the URL:
 
 ```url
-http://server.alifeee.co.uk/steamcollage/games
+https://steamcollage.alifeee.co.uk/steamcollage/games
   ?id=alifeee
   &rows=2
   &cols=2
@@ -300,7 +300,7 @@ Have a play on [the frontend][frontend]!
 
 
 [*this blog's homepage*]: ..
-[my server]: http://server.alifeee.co.uk
+[my server]: http://server.alifeee.net
 [lipu tenpo]: https://linktr.ee/liputenpo
 [Pillow]: https://python-pillow.org/
 [toki pona]: https://en.wikipedia.org/wiki/Toki_Pona