I hereby claim:
- I am hanthor on github.
- I am jreilly112 (https://keybase.io/jreilly112) on keybase.
- I have a public key ASAgkztPN-tBf06pcH_U4oWFiUGEoqsHAZvU7wyn4q1Fwwo
To claim this, I am signing this object:
#!/bin/bash | |
# This script sets up a systemd bind mount for libvirt data from /var/home/var-lib-libvirt to /var/lib/libvirt. | |
# --- Configuration --- | |
SOURCE_DIR="/var/home/var-lib-libvirt" | |
TARGET_DIR="/var/lib/libvirt" | |
MOUNT_UNIT_NAME="var-lib-libvirt.mount" # Derived from TARGET_DIR: /var/lib/libvirt -> var-lib-libvirt.mount | |
MOUNT_UNIT_FILE="/etc/systemd/system/${MOUNT_UNIT_NAME}" | |
LIBVIRT_SERVICES=("virtlogd" "libvirtd") # Services to stop/start |
#!/bin/bash | |
# Tailscale exit node picker | |
ERROR_TEXT="..this should not have happned please report a bug at https://github.com/ublue-os/packages" | |
# --- Prerequisite Checks --- | |
if ! command -v gum &> /dev/null; then | |
echo "gum could not be found. Please install gum: https://github.com/charmbracelet/gum" | |
exit 1 |
#!/bin/bash | |
# Create a new ZFS dataset for /var with encryption | |
sudo zfs create -o encryption=on -o keyformat=passphrase mypool/var | |
# Set the mountpoint for the new dataset | |
sudo zfs set mountpoint=/var mypool/var | |
# Backup the current /var directory | |
sudo rsync -av /var/ /var_backup/ |
#!/bin/bash | |
# Create a new ZFS dataset for /var | |
sudo zfs create mypool/var | |
# Set the mountpoint for the new dataset | |
sudo zfs set mountpoint=/var mypool/var | |
# Enable ZFS native encryption on the dataset | |
sudo zfs create -o encryption=on -o keyformat=passphrase mypool/var |
#!/bin/bash | |
# Unmount the ZFS dataset from /var | |
echo "Unmounting ZFS dataset from /var..." | |
sudo umount /var | |
# Backup fstab | |
echo "Backing up /etc/fstab to /etc/fstab.bak..." | |
sudo cp /etc/fstab /etc/fstab.bak |
#!/bin/bash | |
# --- Script Installation --- | |
# Install jq if it's not already installed | |
if ! command -v jq &> /dev/null; then | |
echo "jq is not installed. Installing..." | |
brew install jq # Or use your distribution's package manager | |
fi |
#!/bin/bash | |
# Create necessary directories | |
mkdir -p ~/.local/bin | |
mkdir -p ~/.local/share/systemd/user | |
# Write the script content to ~/.local/bin/switch_tuned_profile.sh | |
cat << 'EOF' > ~/.local/bin/switch_tuned_profile.sh | |
#!/bin/bash |
#!/bin/bash | |
# Check if a string is passed as an argument if not prompt user for it | |
if [ -z "$1" ]; then | |
echo "Usage: $0 <string_to_send>" | |
read -p "Enter the string to send: " string_to_send | |
else | |
string_to_send="$1" | |
fi |
<iframe class="mj-w-res-iframe" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://app.mailjet.com/widget/iframe/7zeY/M6w" width="100%"></iframe> | |
<script type="text/javascript" src="https://app.mailjet.com/statics/js/iframeResizer.min.js"></script> |
I hereby claim:
To claim this, I am signing this object: