Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View steezeburger's full-sized avatar

jesse snyder steezeburger

View GitHub Profile
@steezeburger
steezeburger / starship.toml
Last active February 11, 2024 01:52
my starship config. inspired by the hit major motion picture The Matrix
format = """
[░▒▓](#00FF00)\
$username\
[@](bg:#0F0F0F fg:#00FF00)\
$hostname\
$directory\
[\ueb2c](fg:#0F0F0F bg:#003300)\
$git_branch\
$git_status\
[\ueb2c](fg:#0F0F0F bg:#003300)\
@steezeburger
steezeburger / docker-compose.yml
Last active January 29, 2024 17:02
Working Palworld server using Ofelia for scheduled backups
services:
palworld:
image: thijsvanloef/palworld-server-docker:latest
restart: unless-stopped
container_name: palworld-server
ports:
- 8211:8211/udp
- 27015:27015/udp
environment:
- PUID=1000
@steezeburger
steezeburger / steezeburger-ombi-theme.css
Created November 21, 2023 06:05
very bad cheeseburger theme for ombi
/* Base colors inspired by a cheeseburger */
:root {
--burger-bun: #a58959; /* Bun color */
--burger-cheese: #ffcd94; /* Cheese color */
--burger-meat: #804e0f; /* Meat color */
--burger-lettuce: #4f7942; /* Lettuce color */
--burger-tomato: #e74c3c; /* Tomato color */
--burger-sesame: #f5d6a4; /* Sesame seed color */
}
@steezeburger
steezeburger / IMG_1001.JPG
Last active November 14, 2023 17:20
badger2040 issue - c button acting as b button. ghosting? possible short?
IMG_1001.JPG
@steezeburger
steezeburger / organize-downloads.sh
Last active October 6, 2023 16:32
Organize your downloads folder by file type
#!/bin/bash
set -e
set -o pipefail
# Navigate to Downloads directory or exit with status 1 if it fails
cd ~/Downloads || exit 1
# Indexed array for directory names
directories=("3D_Models" "Archives" "Audio" "Books_and_Presentations" "Documents" "Images" "Software" "Videos")
@steezeburger
steezeburger / quick-n-dirty-gh-pages-deploy.sh
Created April 26, 2023 14:23
Quick and dirty "deployment" of static files to gh-pages.
#! /bin/bash
# This script was created to make it super easy to use the simplest gh-pages settings,
# which is basically just static files in the docs/ directory on the main branch.
#
# 1) copies CNAME to a temp location
# 2) builds some static files
# 3) copies static files to docs/ dir
@steezeburger
steezeburger / wait-for-file.sh
Last active March 31, 2023 23:36
Similar to the popular wait-for-it.sh that waits for a network connection, this bash script waits for a file to exist. It does not have the same api as wait-for-it.sh, but could be extended easily enough to be the same.
#!/bin/bash
# Usage: ./wait-for-file.sh /path/to/your/file
FILE_PATH="$1"
TIMEOUT=30
SLEEP_INTERVAL=1
ELAPSED=0
if [ -z "$FILE_PATH" ]; then
@steezeburger
steezeburger / hierarchical-configuration-w-audit.rs
Created March 9, 2023 06:12
Hierarchical configuration with printlns for auditing purposes.
use std::time::Duration;
use clap::Parser;
use color_eyre::eyre::Result;
use figment::{providers::{Env, Format, Serialized, Toml}, Figment, Provider};
use tokio::{signal, time};
use crate::alert::Alert;
use crate::cli::Cli;
use crate::config::Config;

howdy, my name is jesse, and i like to make things.

welcome to my blog.