From 1abacf5cd3d0c847c5f188bbbd7c5232cc589396 Mon Sep 17 00:00:00 2001
From: gennyble
Date: Sun, 14 Apr 2024 03:11:34 -0500
Subject: Don't flaot memoryleak downloads
---
served/things/memoryleak/memoryleak.css | 29 ++++-----------
served/things/memoryleak/memoryleak.html | 61 ++++++++++++++++++--------------
2 files changed, 40 insertions(+), 50 deletions(-)
(limited to 'served/things')
diff --git a/served/things/memoryleak/memoryleak.css b/served/things/memoryleak/memoryleak.css
index 7ba1aff..1d3470b 100644
--- a/served/things/memoryleak/memoryleak.css
+++ b/served/things/memoryleak/memoryleak.css
@@ -3,7 +3,7 @@
flex-direction: column;
}
-#downloads>ul {
+#downloads ul {
margin: 0;
list-style: square;
}
@@ -14,35 +14,18 @@ code {
border-radius: 4px;
}
-/*
-#ifdef FLOAT_HELL
-#define FLOAT_HELL
-
-this is so i can have the downloads section float to the right on wide screens,
-but shove it at the bottom on narrow screens.
-*/
-
#float-hell {
display: block;
}
#downloads {
- float: right;
- width: 33%;
- margin-left: 0.5rem;
+ display: flex;
+ flex-direction: row;
}
@media (max-width: 30rem) {
- #float-hell {
- display: grid;
- grid-template-rows: 1fr;
- }
-
#downloads {
- grid-row-start: 100;
- width: 100%;
- margin-left: none;
+ display: grid;
+ grid-template-columns: min-content min-content;
}
-}
-
-/*#endif //FLOAT_HELL*/
\ No newline at end of file
+}
\ No newline at end of file
diff --git a/served/things/memoryleak/memoryleak.html b/served/things/memoryleak/memoryleak.html
index bacbe5e..98a3d9c 100644
--- a/served/things/memoryleak/memoryleak.html
+++ b/served/things/memoryleak/memoryleak.html
@@ -25,39 +25,18 @@ random file, and then go back to sleep. It posted about it at
memory chip is my favourite bit of it.
-The virtual machine was an Alpine
- Linux
- virtual image with curl installed. It was configured to run a script called
- pull
on boot through the pull_service
OpenRC script
+
+ The virtual machine was an Alpine Linux
+ virtual image, with curl installed, configured to run a script called
+ pull
on boot through a pull_service
OpenRC script.
-
- downloads
- logs
-
- scripts
-
- images
-
-
-
pull
would get a list of every file on the system and pick one at
random to delete. It'd then post that message to amble.quest through a relay I
- made (but was realistically not needed) and actually delete that file. Then
- it would turn itself off.
+ made (but was realistically not needed) and actually delete that file.
+ Finally, it'd power down.
@@ -114,4 +93,32 @@ random file, and then go back to sleep. It posted about it at
616: /lib/modules/5.15.94-0-virt/kernel/crypto/algif_hash.ko.gz
625: /lib/ld-musl-x86_64.so.1
+
+
downloads
+
\ No newline at end of file
--
cgit 1.4.1-3-g733a5