Skip to content

Instantly share code, notes, and snippets.

View ProjectSynchro's full-sized avatar
💭
cat /var/log/syslog | grep -i "Free time" 🐧

Jack Greiner ProjectSynchro

💭
cat /var/log/syslog | grep -i "Free time" 🐧
View GitHub Profile
[InstallShield Silent]
Version=v6.00.000
File=Response File
[File Transfer]
OverwrittenReadOnly=NoToAll
[{19B72AA9-985A-11D4-9C8A-00D0B75D1498}-DlgOrder]
Dlg0={19B72AA9-985A-11D4-9C8A-00D0B75D1498}-SdWelcome-0
Count=6
Dlg1={19B72AA9-985A-11D4-9C8A-00D0B75D1498}-SdLicense-0
Dlg2={19B72AA9-985A-11D4-9C8A-00D0B75D1498}-SdAskDestPath-0
#! /bin/bash
# This script is based off of the flac2mp3 script floating arround on the
# internet. It's intent is to recursively triverse the current directly and
# its children to find all of the ogg files, and then convert them to mp3
# in the same directory. This uses ffmpeg. I'm sure theres a better option,
# but at the moment this works.
#
find . -type f -name "*.ogg" -print0 | while read -d $'\0' a
do
@ProjectSynchro
ProjectSynchro / glibcCheck.sh
Created August 30, 2021 02:05
glibc version snippet
GLIBC_i686 = $(rpm -q glibc | grep i686 | grep -o -P -i '^[a-zA-Z]+([+-]?(?=\.\d|\d)(?:\d+)?(?:\.?\d*))(?:[eE]([+-]?\d+))?')
GLIBC_x86_64 = $(rpm -q glibc | grep x86_64 | grep -o -P -i '^[a-zA-Z]+([+-]?(?=\.\d|\d)(?:\d+)?(?:\.?\d*))(?:[eE]([+-]?\d+))?')
echo i686 $GLIBC_i686
echo x86_64 $GLIBC_x86_64
@ProjectSynchro
ProjectSynchro / protonGEDownloader.sh
Created August 25, 2021 01:05
Grabs the latest release of proton ge and dumps it in ~/.steam/root/compatibilitytools.d
#!/bin/bash
TARGET_DIR="${HOME}/.steam/root/compatibilitytools.d/"
pushd ${TARGET_DIR} &> /dev/null
printf "Getting a release header information"
LATEST_TAG=$(curl -L -s -H 'Accept: application/json' https://github.com/GloriousEggroll/proton-ge-custom/releases/latest)
LATEST_VERSION=$(echo $LATEST_TAG | sed -e 's/.*"tag_name":"\([^"]*\)".*/\1/')
FILE_NAME="Proton-${LATEST_VERSION}.tar.gz"