- Termux (From F-Droid)
- ADB (Android Debug Bridge)
- USB Cable (Wireless connection is also possible but it's slower)
| If machine goes to sleep and wakes up? hyprland crashes on wake up? | |
| https://wiki.archlinux.org/title/NVIDIA/Tips_and_tricks#Preserve_video_memory_after_suspend | |
| ``` | |
| To save and restore all video memory contents, use the NVreg_PreserveVideoMemoryAllocations=1 kernel module parameter | |
| for the nvidia kernel module and enable nvidia-suspend.service, nvidia-hibernate.service, and nvidia-resume.service. | |
| ``` | |
| ``` |
This guide provides instructions for an Arch Linux installation featuring full-disk encryption via LVM on LUKS and an encrypted boot partition (GRUB) for UEFI systems.
Following the main installation are further instructions to harden against Evil Maid attacks via UEFI Secure Boot custom key enrollment and self-signed kernel and bootloader.
You will find most of this information pulled from the Arch Wiki and other resources linked thereof.
Note: The system was installed on an NVMe SSD, substitute /dev/nvme0nX with /dev/sdX or your device as needed.
The steps I took to dual boot Arch Linux alongside the preinstalled Windows 10 that came with my new Lenovo Ideapad. I used Ubuntu exclusively for the last 6 years so I'm Window's illiterate. I don't know a whole lot about the inner workings of Linux either.
Prepare the preinstalled Windows to share the system.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
| # Install ARCH Linux with encrypted file-system and UEFI | |
| # The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description. | |
| # Download the archiso image from https://www.archlinux.org/ | |
| # Copy to a usb-drive | |
| dd if=archlinux.img of=/dev/sdX bs=16M && sync # on linux | |
| # Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration. | |
| # Set swedish keymap |
| mkdir /tmp/protoc && cd "$_" | |
| wget https://github.com/google/protobuf/releases/download/v3.5.1/protoc-3.5.1-linux-x86_64.zip | |
| unzip protoc-3.5.1-linux-x86_64.zip | |
| sudo cp bin/protoc /usr/local/bin/protoc |
I hereby claim:
- I am firstrow on github.
- I am firstrow (https://keybase.io/firstrow) on keybase.
- I have a public key ASCO_4vb5x_A7wd5exCo8Po2ajjKWEvMnqVNG3Me_22Ilgo
To claim this, I am signing this object:
| package main | |
| import ( | |
| "flag" | |
| "github.com/streadway/amqp" | |
| "log" | |
| "time" | |
| ) | |
| var amqpUri = flag.String("r", "amqp://guest:[email protected]/", "RabbitMQ URI") |