Skip to content

Instantly share code, notes, and snippets.

View khaneliman's full-sized avatar

Austin Horstman khaneliman

View GitHub Profile
@Guitsmstr
Guitsmstr / change_bash_colors.md
Last active February 25, 2023 15:23
change bash theme to 256 colors (oh-my-bash) #bash #oh-my-bash #color

Change colors of oh-my-bash themes

this is a script to see the bash colors (paste it in terminal):

 iter=16
    while [ $iter -lt 52 ]
    do
        second=$[$iter+36]
        third=$[$second+36]
        four=$[$third+36]
#!/bin/bash
# https://gist.github.com/scrathe
# https://www.reddit.com/r/PleX/comments/vcc95i/database_repair_script_for_common_plex_db_errors/
# what is this? performs the steps outlined in Plex's garbage instructions on how to "Manually Repair the Database" https://support.plex.tv/articles/repair-a-corrupted-database/
# notes
# although this script will backup your Plex DB, i would suggest making your own backup.
# this script assumes you are comfortable with copying/pasting/running random things from the internet.
@memchr
memchr / import_env
Created August 28, 2023 18:43
import_env
#!/usr/bin/env bash
set -e
[[ -n $HYPRLAND_DEBUG_CONF ]] && exit 0
USAGE="\
Import environment variables
Usgae: $0 <command>
Commands: