Skip to content

Instantly share code, notes, and snippets.

View richardfleming's full-sized avatar

Richard Fleming richardfleming

View GitHub Profile
@richardfleming
richardfleming / myweechat.md
Last active June 18, 2023 19:05 — forked from pascalpoitras/1.md
My always up-to-date WeeChat configuration (weechat-dev)

WeeChat Screenshot

You need at least WeeChat 4.0.0-dev

When you paste multiples commands, be sure to paste them on a buffer with input_multiline set to 0, the weechat core buffer is an example of such a buffer

Enable mouse

/mouse enable
@richardfleming
richardfleming / LUKS_and_TPM2_with_Fedora.md
Created November 13, 2022 18:53 — forked from jdoss/LUKS_and_TPM2_with_Fedora.md
Decrypt LUKS volumes with a TPM on Fedora 35+

Decrypt LUKS volumes with a TPM on Fedora 35+

This guide allows you to use the TPM on your computer to decrypt your LUKS encrypted volumes. If you are worried about a cold boot attack on your hardware please DO NOT use this guide with your root volume!

Preflight Checks

Verify that you have a TPM in your computer:

# systemd-cryptenroll --tpm2-device=list
PATH DEVICE DRIVER
@richardfleming
richardfleming / single-line.conky
Last active October 18, 2017 16:22
Single line conky LUA script containing system info
conky.config = {
background = true,
update_interval = 1,
short_units = true,
-- Window
own_window = true,
own_window_class = 'conky',
own_window_type = 'desktop',
own_window_argb_visual = true,