Skip to content

Instantly share code, notes, and snippets.

@Alumniminium
Alumniminium / bookmark.sh
Last active February 8, 2024 20:42
bookmark.sh | Lukesmith inspired bookmark script with nice formatting and browser/filemanager support
#!/usr/bin/env bash
file="$HOME/.bookmarks" # file to store bookmarks in
browser="chromium" # supports CTRL+L to go to address bar.
fileManager="pcmanfm" # supports CTRL+L to go to address bar.
function getUrlFromBookmarkEntry
{
bookmark="$(cat "$file" | rofi -dmenu -p ":")"
if [ -z "$bookmark" ]; then
@gea0
gea0 / arch-rpi-64-full-disk-encryption-ssh-unlock.md
Last active March 24, 2024 14:36
Tutorial for installing a 64-bit Arch Linux ARM system on the Raspberry Pi 3B+, with an encrypted root filesystem, and the option to remotely unlock it via a pre-boot SSH daemon.

Arch Linux ARM 64 on Raspberry Pi 3 B+ With Full Disk Encryption And SSH Unlock: 2018 Edition

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.

Differences to the 32-bit arch linux arm version:

  • probably better performance
  • can run 64-bit software
  • comes without the proprietary video-driver blobs
@pezz
pezz / crypto-pi-root.md
Last active December 17, 2020 15:40
Archlinux ARM encrypted root

Intro

Just some FYI, to get started:

  • I'm using a 16 GB Sandisk SD card.
  • I have a model B Pi, 512 MB RAM (not really relevant, thought I'd mention it).
  • Monitor and keyboard connected to the Pi itself, for now.
  • Network working, internet access.