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 | |
# Note: make sure the card / hwmon indexes correspond to your GPU! | |
# They can differ depending on your set up. | |
gpu_hwmon="/sys/class/drm/card0/device/hwmon/hwmon2" | |
# Takes cap parameter in Watts. "max" sets it to max allowed. | |
cap_watts=$1 |
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 | |
source="$1" | |
keep_dir=${keep_dir:-false} | |
tar_wrap=${tar_wrap:-true} # for wrapping a single file | |
if [[ "$source" == "" ]]; then | |
echo "Error: No source provided!" | |
exit 1 |
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 | |
source="$1" | |
if [[ "$source" == "" ]]; then | |
echo "Error: No source provided!" | |
exit 1 | |
fi | |
if ! [[ -e "$source" ]]; then |
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 | |
# | |
# Notes: | |
# | |
# Requires WINEPREFIX to be set | |
# Uses wine_env.sh which sets the environment (without it will use default wine) | |
# relies on ripgrep (rg) | |
# |
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 | |
# Rough script for extracting Ogg/Vorbis audio files from *.ssb sound banks | |
# in Captain Blood found in <game_dir>/resource/sounds | |
# | |
# Usage: gog_captain_blood_extract_ogg.sh <bank_file>.ssb | |
# | |
# Uses ripgrep (rg) | |
# Notes: |
OlderNewer