Skip to content

Instantly share code, notes, and snippets.

Avatar

Keira T. researcx

View GitHub Profile
@researcx
researcx / luks-encrypt-in-place.sh
Created Sep 18, 2020 — forked from samdoran/luks-encrypt-in-place.sh
Encrypt a physical volume using LUKS without erasing the drive.
View luks-encrypt-in-place.sh
#!/bin/bash
# Encrypt existing hard drive in place.
# Requires a second physical drive to temporarily store data. This drive will be erased.
# This script is meant to be run on Clonezilla 1.2.9-19 or later.
# The cryptsetup syntax is different in Clonezilla than in Red Hat.
# --- Variables --- #
@researcx
researcx / arch-linux-install.sh
Last active Jan 10, 2019 — forked from mattiaslundberg/arch-linux-install
Minimal instructions for installing Arch Linux on GPT or MBR on UEFI or Legacy BIOS
View arch-linux-install.sh
# Download an Arch ISO from https://www.archlinux.org and copy it to a USB drive:
sudo dd bs=4M if=archlinux-2019.01.01-x86_64.iso of=/dev/sdb status=progress oflag=sync
# then plug it into the device of your preference, boot it and start the installation process.
# Installation process:
# Set UK keymap
loadkeys uk
# Set up partitions (MBR)
parted /dev/sdX mklabel msdos
@researcx
researcx / myweechat.md
Last active Jan 30, 2021 — forked from pascalpoitras/myweechat.md
My always up-to-date WeeChat configuration (requires weechat 2.3-dev (weechat-devel) or higher)
View myweechat.md

idea and some snippets taken from pascalpoitras' weechat config

Enable mouse

/mouse enable

Set up encrypted data

/secure passphrase <pass>
/secure set relaypass <pass>
/secure set bitlbeepass <pass>
/secure set bncaddrport