Skip to content

Instantly share code, notes, and snippets.

@AKJUS
AKJUS / install-arch.md
Created March 11, 2025 19:18 — forked from mjnaderi/install-arch.md
Installing Arch Linux with Full Disk Encryption (LVM on LUKS)

Installing Arch Linux with Full Disk Encryption

If you're aiming for a seamless Arch Linux installation in UEFI mode, follow along as this guide will walk you through the process step by step. We'll be using LUKS (Linux Unified Key Setup) and LVM (Logical Volume Manager) partitions on LUKS to achieve full disk encryption.

Note: I have updated this doc for UEFI mode. For those with BIOS/MBR systems, you can refer to the previous version, but keep in mind that it might be outdated and no longer accurate.

If you're only interested in installing Linux and not setting up dual boot with Windows, feel free to skip the Windows-related sections.

@AKJUS
AKJUS / edge_discard_tabs.js
Last active January 25, 2025 01:04 — forked from gexgd0419/edge_discard_tabs.js
Microsoft Edge: Discard / freeze all background tabs
Sir/madam this is taken by Gist has akin// For tab hoarders using Microsoft Edge (this might work on other Chromiums, but I haven't tested)
// who keep so many tabs that even edge://discards/ page becomes unresponsive.
// Can discard/freeze all background hidden tabs. Foreground (visible) tabs, tabs playing audio,
// and tabs in the "Never put these sites to sleep" list will not be discarded/frozen.
// In the address bar, enter: edge://discards/discards.js
// Then open DevTools (Ctrl+Shift+I or F12), go to Console, and paste the following code.
await (async () => {
// To freeze tabs, set to false; to discard tabs, set to true