Not super detailed, just jotting things down as I go.
- install wsl of course
- install docker and docker-compose in wsl
- clone https://github.com/thijsvanloef/palworld-server-docker
- cd into repo
docker-compose up -d
| #!/bin/bash | |
| function display_help() { | |
| echo "Usage: $0 [POD_NAME] [-c CONTAINER] [-n NAMESPACE] " | |
| echo | |
| echo "Fetch logs for a Kubernetes pod or a specific container within a pod." | |
| echo | |
| echo "POD_NAME is the name of the pod to fetch logs for. This argument is required." | |
| echo | |
| echo "Options:" |
| format = """ | |
| [░▒▓](#00FF00)\ | |
| $username\ | |
| [@](bg:#0F0F0F fg:#00FF00)\ | |
| $hostname\ | |
| $directory\ | |
| [\ueb2c](fg:#0F0F0F bg:#003300)\ | |
| $git_branch\ | |
| $git_status\ | |
| [\ueb2c](fg:#0F0F0F bg:#003300)\ |
| 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 |
Not super detailed, just jotting things down as I go.
docker-compose up -d| /* 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 */ | |
| } |
| #!/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") |
| #! /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 | |
| #!/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 |
| 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; |