Skip to content

Instantly share code, notes, and snippets.

@redeemed2011
redeemed2011 / README.md
Last active February 1, 2022 17:22 — forked from sb3tcs/README.md
Linux on Thinkpad T480

Docker

Install Docker

curl -fsSL https://get.docker.com -o get-docker.sh && \
sudo sh get-docker.sh

or “older” version:

@redeemed2011
redeemed2011 / Ubuntu Kernel Upgrader Script
Created April 29, 2016 14:42 — forked from mmstick/Ubuntu Kernel Upgrader Script
Asks the user whether they want to install the latest RC or stable, then downloads the correct kernel and installs it.
#!/bin/bash
cd /tmp
if ! which lynx > /dev/null; then sudo apt-get install lynx -y; fi
if [ "$(getconf LONG_BIT)" == "64" ]; then arch=amd64; else arch=i386; fi
function download() {
wget $(lynx -dump -listonly -dont-wrap-pre $kernelURL | grep "$1" | grep "$2" | grep "$arch" | cut -d ' ' -f 4)
}
@redeemed2011
redeemed2011 / Arch Linux on Encrypted BTRFS Raid.md
Last active January 2, 2022 12:21
Arch Linux LUKS Encrypted / on Btrfs Raid 0 (Stripe) of 2 Drives

General

Info

!ATTENTION! This script is intentionally designed to completely wipe all data on at least two drives! !ATTENTION!

I used standard Arch Linux on two NVME drives. The goal was as much encryption as possible with the smallest performance impact possible.