aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2026-01-14 18:02:02 +0100
committerLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2026-01-14 18:02:02 +0100
commit44995938f36766d481c6f0f5beea6458accb4422 (patch)
tree30aac665e80193b66126cc0f89daba1a37ede5d2 /src
parentb9cbd513127254780ae59c8e17ab2c47eea301cb (diff)
downloadmem-estrogen-zone-44995938f36766d481c6f0f5beea6458accb4422.tar.gz
mem-estrogen-zone-44995938f36766d481c6f0f5beea6458accb4422.tar.bz2
mem-estrogen-zone-44995938f36766d481c6f0f5beea6458accb4422.tar.lz
mem-estrogen-zone-44995938f36766d481c6f0f5beea6458accb4422.zip

fix: remove dead lines

Diffstat (limited to 'src')
-rw-r--r--src/routes/blog/posts/alpine-ssh-early-initfs.svx67
1 files changed, 0 insertions, 67 deletions
diff --git a/src/routes/blog/posts/alpine-ssh-early-initfs.svx b/src/routes/blog/posts/alpine-ssh-early-initfs.svx
index f284caf..7ffc97d 100644
--- a/src/routes/blog/posts/alpine-ssh-early-initfs.svx
+++ b/src/routes/blog/posts/alpine-ssh-early-initfs.svx
@@ -40,70 +40,3 @@ to do things like including files or kernel modules in the image, via their
This is nice and all, but on it's own, we can only really give the kernel a
module, or a file we manually call by spamming enter through the encryption
password prompts and running via the 'Emergency Shell'.
-
-## some code
-
-```ts
-/*
- Copyright (C) 2024-2026 memdmp
-
- This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by Affero, Inc., at version 1.
-
- This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Affero General Public License for more details.
-
- You should have received a copy of the Affero General Public License along with this program. If not, see <https://spdx.org/licenses/AGPL-1.0-only>.
-*/
-import { Animation, MultiObjectKeyframe } from '@memdmp/keyframegen';
-import {
- biosStepInterval,
- biosSteps,
- getDelay,
- login,
- ttyLines,
-} from './shared.ts';
-import fs from 'node:fs';
-import esbuild from 'esbuild';
-console.log('hi');
-const anim = new Animation();
-let ttyCtr = 0;
-const stages = [
- anim.selector('.anmroot #bios'),
- anim.selector('.anmroot #grub'),
- anim.selector('.anmroot #grub-term'),
- anim.selector('.anmroot #openrc'),
- ...ttyLines.flatMap((v) =>
- v.kind === 'clear' ? [anim.selector('.anmroot #tty-' + ttyCtr++)] : [],
- ),
-];
-const handleSteps: Step[] = [
- // (n) => {
- // toStage(0);
- // anim.in(500, n);
- // },
- ...biosStepHandlers,
- ...grubStepHandlers,
- ...openrcStepHandlers(1),
- ...ttyStepHandlers,
- (n) => {
- const s = anim.selector('.anmroot #app .hidden-after-anim');
- s.style(visibleStyles);
- anim._internal_timeline.now += 1;
- s.style(hiddenStyles);
- anim.in(1000, n);
- },
-];
-fs.writeFileSync(
- 'src/routes/anim.css',
- `${comment}
-${esbuild.buildSync({
- stdin: {
- contents: `${exported}
-${tail}`,
- loader: 'css',
- },
- write: false,
- minify: false,
- }).outputFiles![0].text
- }`,
-);
-```