This file contains hidden or 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
    
  
  
    
  | # Install Docker from Docker repository | |
| sudo apt update | |
| sudo apt install apt-transport-https ca-certificates curl software-properties-common | |
| curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
| sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable" | |
| sudo apt update | |
| apt-cache policy docker-ce | |
| sudo apt install docker-ce | |
| # Install docker compose | 
  
    
      This file contains hidden or 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
    
  
  
    
  | /// twitch-videoad.js | |
| const origFetch = window.fetch; | |
| window.fetch = (url, init, ...args) => { | |
| if (typeof url === "string") { | |
| if (url.includes("/access_token")) { | |
| url = url.replace("player_type=site", "player_type=thunderdome"); | |
| } else if ( | |
| url.includes("/gql") && | |
| init && | |
| typeof init.body === "string" && | 
  
    
      This file contains hidden or 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
    
  
  
    
  | # Boot from rescue CD in UEFI mode (can't fix a EFI grub install in bios mode) | |
| # Decrypt luks volume | |
| cryptsetup luksOpen /dev/nvme0n1p3 luks | |
| # Mount primary partition | |
| mount /dev/mapper/vg0-root /mnt | |
| # Mount boot partition(s) depending on your setup | |
| mount /dev/nvme0n1p2 /mnt/boot | 
  
    
      This file contains hidden or 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
    
  
  
    
  | # 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. | |
| # This assumes a wifi only system... |