Skip to content

Instantly share code, notes, and snippets.

View gi-yt's full-sized avatar
💭
Chilling

Arya K gi-yt

💭
Chilling
View GitHub Profile
@573
573 / readme.md
Last active January 20, 2024 21:02
nix complains "error: cannot auto-call a function that has an argument without a default value ('stdenv')"?

Add on top of default.nix: with import {}; or simply run as nix-build '' (i. e. for nix-build complaining) or rather nix-build -E 'with import {}; callPackage ./default.nix {}' (or even import)

@nhalstead
nhalstead / dejadup-auto-exclude
Last active August 29, 2022 18:37
This will exclude Node_modules, Vendor (Composer), and Build Folders from the Backup that is run by Deja Dup Backup
#!/bin/bash
# Update Deja Dup Backup Exclude Config for the node_modules folders.
# This will only auto exclude if a package.json file and a .git folder exist.
# This also will update the list for excluding backups of vendor <composer> folders.
if [[ ! -x "$(command -v yq)" ]]; then
echo "'yq' is required. Please install 'yq'. Try 'snap install yq'"
exit 1;
fi
@Th3Whit3Wolf
Th3Whit3Wolf / Arch Secure Laptop Install.md
Last active October 17, 2024 05:04
My install instruction for a secure Arch Linux (sway) laptop workstation

What's Cool

  • Encrypted root partition
    • AES-256 bit cipher
    • Argon2id variant for PBKDF
    • Sha3-512 bit hash
  • rEFInd bootloader
    • With dreary theme
    • Optimal Settings (optimized for aesthetics, and boot time)
  • Boot into backups thanks to refind-btrfs
@MightyCreak
MightyCreak / irc_matrix_registered_users.md
Last active January 10, 2022 02:40
How to connect to a registered-only IRC chan from Matrix? (Libera.Chat)

Some IRC channels are restricted to registered users only. In this document, I'll explains how to connect to those channels from Matrix.

In particular, I'll take the example of the Matrix room #gamingonlinux-irc:matrix.org since it is plumbed to the IRC channel #gamingonlinux on Libera.Chat and this channel is for registered users only.

If you don't already have a registered user on the Libera.Chat, you first need to have one.

Register a new user on Libera.Chat

  1. Open a DM room with @NickServ:libera.chat
  2. Type REGISTER , and follow the instructions