bruh moment

whitespace/formatting diff
This commit is contained in:
2026-02-15 16:27:20 -08:00
parent 8bffdd60bc
commit 4495f333d8
51 changed files with 736 additions and 717 deletions

View File

@@ -1,3 +0,0 @@
#!/bin/bash
complete -W "$(compgen -u)" workas

3
instance-bash_completion Normal file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
complete -W "$(compgen -u | sed 's/$/@/')" workas

View File

@@ -21,8 +21,8 @@ cat instance-bash_aliases | tee -a ~/.bash_aliases
cat instance-bash_aliases | sudo tee -a /etc/skel/.bash_aliases cat instance-bash_aliases | sudo tee -a /etc/skel/.bash_aliases
# some useful autocompletions # some useful autocompletions
chmod 774 instance-bash_autocompletions cat instance-bash_completion | tee -a ~/.bash_completion
./instance-bash_autocompletions cat instance-bash_completion | sudo tee -a /etc/skel/.bash_completion
cd ~ || exit cd ~ || exit
sudo apt-get update sudo apt-get update

View File

@@ -5,7 +5,7 @@
echo -e "\n[+] setting up mealie\n\n-------\n" echo -e "\n[+] setting up mealie\n\n-------\n"
envsubst < "${HOME}"/"${USER}"-compose_template.yaml > "${HOME}"/"${USER}"-compose.yaml envsubst <"${HOME}"/"${USER}"-compose_template.yaml >"${HOME}"/"${USER}"-compose.yaml
sudo docker compose -f "${HOME}"/"${USER}"-compose.yaml up -d sudo docker compose -f "${HOME}"/"${USER}"-compose.yaml up -d

View File

@@ -12,7 +12,11 @@ services:
- /etc/passwd:/etc/passwd:ro - /etc/passwd:/etc/passwd:ro
user: ${PUID}:${PGID} user: ${PUID}:${PGID}
healthcheck: healthcheck:
test: ['CMD-SHELL', 'psql -U postgres -d spotify-manager -c "select version();"'] test:
[
'CMD-SHELL',
'psql -U postgres -d spotify-manager -c "select version();"',
]
interval: 1s interval: 1s
retries: 5 retries: 5
timeout: 5s timeout: 5s

View File

@@ -38,7 +38,11 @@ services:
- postgres_data:/var/lib/postgresql - postgres_data:/var/lib/postgresql
user: ${PUID}:${PGID} user: ${PUID}:${PGID}
healthcheck: healthcheck:
test: ['CMD-SHELL', 'psql -U ${POSTGRES_USER} -d ${POSTGRES_DB} -c "select version();"'] test:
[
'CMD-SHELL',
'psql -U ${POSTGRES_USER} -d ${POSTGRES_DB} -c "select version();"',
]
interval: 1s interval: 1s
retries: 5 retries: 5
timeout: 5s timeout: 5s

View File

@@ -12,4 +12,3 @@ sudo deluser --remove-all-files $username
# clean-up # clean-up
sudo find / -user "$uid_num" -delete sudo find / -user "$uid_num" -delete

View File

@@ -0,0 +1,12 @@
# WireGuard tunnel details
$wgInterface = Get-NetAdapter -Name $env:WIREGUARD_TUNNEL_NAME
# Delete the default 0.0.0.0/0 route using the interface index
route delete 0.0.0.0 mask 0.0.0.0 0.0.0.0 if $wgInterface.ifIndex
Set-Location "<path>\<to>\3proxy-0.9.4-x64\bin64\"
# Terminate any running instances of 3proxy.exe
# Stop-Process -Name "3proxy" -Force
# prefer taskkill for the /t option to end child processes
taskkill.exe /f /t /im 3proxy.exe