mkdir ~/t6
There are multiple ways to get a full disk encrypted arch linux system on raspberry. In this tutorial, we will install a 64-bit arch linux armv8 system, using dropbear as ssh server for remote pre-boot unlocking of the root filesystem. However, it will still be possible to unlock and use the pi as usual, with a keyboard and monitor. We will also create an unencrypted partition in the installation process, usable as a rescue system.
For different setup options, see the end of the document.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
created: 20221202234630819 | |
modified: 20221203024725615 | |
order_date: 2022-12-02 | |
order_details: Longform order details | |
order_summary: One line summary | |
order_vendor: Vendor Name | |
revision: 0 | |
tags: public | |
title: Order skeleton | |
tmap.id: fe90bca1-5c6e-4939-9709-c04ef9bf8b49 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script to install Python from source code as an unprivileged user. | |
# Update PYTHON_VERSION to the version you want to install. | |
# Update PYTHON_PREFIX to be where you want it installed. | |
# You can pass both of these as environment variables or just hardcode them. | |
# You can paste this whole file into your terminal as-is and go. | |
PYTHON_VERSION=${PYTHON_VERSION:-3.11.0} | |
PYTHON_PREFIX=${PYTHON_PREFIX:-${HOME}/python-${PYTHON_VERSION}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hush | |
//"<a1 [a4 a5]> <a3 a2> <a1 a4> a2_rev <a2 [a5 a4 a2 a1]>" | |
//a1 <a5 a4> <a2 a2_rev> a5 a4 | |
let patterns = | |
[ | |
("o", sound "break:2" # cps (122.06/60/4)), | |
("a1", slow 2 $ rev $ jux (rev) $ striate 8 (sound "break:7")), | |
("a2", juxBy 0.25 (rev) $ inside 2 rev $ slow 2 $ striate 8 (sound "break:3")), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -o errexit | |
clear | |
printf "\n*** This script will download a cloud image and create a Proxmox VM template from it. ***\n\n" | |
### HOW TO USE | |
### Pre-req: | |
### - run on a Proxmox 6 server | |
### - a dhcp server should be active on vmbr1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
wrapper() { | |
## Run a native command if it's available, otherwise from a docker image | |
## (Note: this only works with programs that read/write to stdin/stdout. | |
## Reading and writing files on the client host system is not supported.) | |
DOCKER=${DOCKER:-docker} | |
command=$1; shift | |
WRAPPER_IMAGE=localhost/wrapper_${command} | |
if which ${command} >/dev/null 2>&1; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ytdl() { ( | |
URL=$1; shift; | |
cd /storage/Video/youtube-dl | |
youtube-dl -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best' \ | |
--all-subs --embed-subs --embed-thumbnail --restrict-filenames \ | |
--recode-video mp4 --exec 'vlc {}' \ | |
$@ ${URL} | |
) } |
NewerOlder