Skip to content

Instantly share code, notes, and snippets.

@braindevices
braindevices / #btrfs benchmark for daily used desktop OS
Last active June 5, 2024 14:51
which file sytem to use for daily work? should we turn on btrfs compression?
#btrfs benchmark for daily used desktop OS
@Th3Whit3Wolf
Th3Whit3Wolf / arch_sec_install.sh
Last active June 17, 2024 22:15
Install arch on btrfs(w/ swapfile) on luks with rEFInd bootloader
#!/bin/bash
# 0 - SSH
# This isn't necessary but if you ssh into the computer all the other steps are copy and paste
# Set a password for root
passwd
# Get network access
iwctl
"""
@terroo
terroo / pacman.sh
Created April 1, 2019 01:49
Colorful PacMan game icons in Terminal
#!/bin/bash
initializeANSI()
{
esc="$(echo -en '\e')"
blackf="${esc}[30m"; redf="${esc}[31m"; greenf="${esc}[32m"
yellowf="${esc}[33m" bluef="${esc}[34m"; purplef="${esc}[35m"
cyanf="${esc}[36m"; whitef="${esc}[37m"