This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try3 () { | |
for ((n=1;n<4;n++)); do | |
if ! "$@" | |
then | |
echo "failed $n times..." | |
if [[ $n = 3 ]] | |
then exit 1 | |
fi | |
sleep 1 | |
else |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Important constants :) | |
$pantheon_yellow = '#EFD01B'; | |
// Default values for parameters - this will assume the channel you define the webhook for. | |
// The full Slack Message API allows you to specify other channels and enhance the messagge further | |
// if you like: https://api.slack.com/docs/messages/builder | |
$defaults = array( | |
'slack_username' => 'Pantheon-Quicksilver', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Immersed on Pop!_OS | |
############################################################################### | |
# This script serves as documentation for how I installed Immersed and # | |
# configured the v42loopback device to load as needed by Immersed for the # | |
# virtual webcam on my system running Pop!_OS 22.04 LTS. It's provided as a # | |
# script so that others can read the comments to learn, and modify it as # | |
# needed to configure their systems automagically after a fresh install. # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Author: Alex Fornuto <[email protected]> | |
# | |
############################################################## | |
# This script checks if the Jellyfin docker container # | |
# has access to the GPU, and restarts it if not. it # | |
# assumes an nvidia GPU and the native docker compose plugin # | |
############################################################## |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# messageServer: A simple script to split input and format it for broadcast to | |
# a Palworld server using ARRCON (https://github.com/radj307/ARRCON). | |
# | |
# Author: Alex Fornuto 2024 <[email protected]> | |
input=$1 | |
# For Debugging | |
#printf 'You entered: "%s"\n' "$input" |
OlderNewer