Updated as of: 2025-01-03 - Network architecture corrections applied
GitHub https://github.com/taslabs-net/PVE9_TB4
For the best reading experience, visit the live documentation at: https://tb4.git.taslabs.net/
Updated as of: 2025-01-03 - Network architecture corrections applied
GitHub https://github.com/taslabs-net/PVE9_TB4
For the best reading experience, visit the live documentation at: https://tb4.git.taslabs.net/
| #!/usr/bin/env -S bash -c "docker run -p 8080:8080 -it --rm \$(docker build --progress plain -f \$0 . 2>&1 | tee /dev/stderr | grep -oP 'sha256:[0-9a-f]*')" | |
| # syntax = docker/dockerfile:1.4.0 | |
| FROM node:20 | |
| WORKDIR /root | |
| RUN npm install sqlite3 |
| const kv = await Deno.openKv(); | |
| interface Choice { | |
| id: string; | |
| poll: string; | |
| title: string; | |
| } | |
| export async function setChoice(choice: Choice) { | |
| const primaryKey = ["choices", choice.id]; |
| #!/bin/sh | |
| # Install glibc, deno in alpine 3.17 | |
| apk add curl wget unzip | |
| export LANG=C.UTF-8 | |
| curl -sfSL https://raw.githubusercontent.com/Docker-Hub-frolvlad/docker-alpine-glibc/ce0f46a806ce7299dd24c14c8212bb2fc2374ab4/Dockerfile | sed -n '/RUN /,$p' | sed 's/^RUN //' | sh | |
| curl -fsSL https://deno.land/x/install/install.sh | DENO_INSTALL=/usr/local sh |
| #!/bin/bash | |
| gdb -p "$1" -batch -ex 'set {short}$rip = 0x050f' -ex 'set $rax=231' -ex 'set $rdi=0' -ex 'cont' |
| // In TS, interfaces are "open" and can be extended | |
| interface Date { | |
| /** | |
| * Give a more precise return type to the method `toISOString()`: | |
| * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString | |
| */ | |
| toISOString(): TDateISO; | |
| } | |
| type TYear = `${number}${number}${number}${number}`; |
| # To prevent repository packages from triggering the installation of Snap, | |
| # this file forbids snapd from being installed by APT. | |
| # For more information: https://linuxmint-user-guide.readthedocs.io/en/latest/snap.html | |
| Package: snapd | |
| Pin: release a=* | |
| Pin-Priority: -10 |
Install normally using the installer, after the setup reboot into recovery mode (from the USB stick). Make sure to install in UEFI mode (you need systemd-boot).
If the USB stick is not working for you, because of the old Kernel version (2.6.x), you can also use an Ubuntu 19.10 / 20.04 boot stick. ZFS suport is enabled there out of the box.
Steps:
| #!/usr/bin/env bash | |
| VERSION="0.0.2" | |
| SCRIPT_URL='https://gist.github.com/cubedtear/54434fc66439fc4e04e28bd658189701/raw' | |
| SCRIPT_DESCRIPTION="" | |
| SCRIPT_LOCATION="${BASH_SOURCE[@]}" | |
| rm -f updater.sh | |
| function update() | |
| { |
Goal: Emulate a Raspberry Pi with QEMU in order to run the Raspbian O/S (based on Debian Linux).
The current setup is not ideal. For one thing, the maximum RAM allowed using the "versatile-pb" firmware is 256 Mb. In addition, only the most basic peripherals, a keyboard and mouse, are supported.
A number of articles have been written on this topic. Most are outdated, and the few recent ones are missing key information.