Skip to content

Instantly share code, notes, and snippets.

View danielsreichenbach's full-sized avatar
😀
The artist formerly known as "theluda"

Daniel S. Reichenbach danielsreichenbach

😀
The artist formerly known as "theluda"
View GitHub Profile
@danielsreichenbach
danielsreichenbach / README.md
Created September 12, 2023 08:26
Sample configuration for running TrinityCore 3.3.5 under Linux with systemd

This is a sample configuration for running TrinityCore 3.3.5 under Linux when using systemd. The service files need to be installed, and a systemd daemon-reload needs to be run after installing them.

Note that the service files depend on mariadb in this example, but you could switch to mysqld as well, depending on your preference.

For this to work, the console in the world server is disabled, since a TTY is not available to the service. If you need the world server console, it is recommended to manually run the world server once to bootstrap an administrative user, and then disable the console.

This has been tested on Debian 12, Ubuntu 20.04 and Ubuntu 22.04.

@danielsreichenbach
danielsreichenbach / WoW-5.4.8-download-all-locales.sh
Created May 12, 2023 23:15
Grabs a copy of all files required for a full WoW 5.4.8 client installation
#!/bin/sh
echo "Fetching 5.4.8 MFIL"
BASE_URL="http://dist.blizzard.com.edgesuite.net"
if [ ! -f "wow-18414-447E3E618F731CCBF4F7D2C4E56C5644.mfil" ]; then
curl -L# "${BASE_URL}/wow-pod-retail/NA/15890.direct/wow-18414-447E3E618F731CCBF4F7D2C4E56C5644.mfil" -o "wow-18414-447E3E618F731CCBF4F7D2C4E56C5644.mfil"
fi
echo "Creating game folder 5.4.8"
mkdir -p 5.4.8
@danielsreichenbach
danielsreichenbach / WoW-4.3.4 URLs.md
Last active July 27, 2023 06:37
Grabs a copy of all files required for a full WoW 4.3.4 client installation

WoW 4.3.4 client download URLs

This provides all URLs for accessing the World of Warcraft 4.3.4 client installation, and recreating a local copy. Of course, making a mirror would also be highly advised.

Note that by default enUS localization is used and the user can then add any personally prefered locale.

Note: WoWLive-64-Win-15595.zip contains the 64-bit versions of the game client and has to be extracted into the client directory.

@danielsreichenbach
danielsreichenbach / map-extractors.log
Last active August 25, 2023 22:34
docker-compose map extractor log sample
kug-intel-skull-canyon-001: ~
→ cd Projects/wowstack/docker-classic-server/
kug-intel-skull-canyon-001: ~/Projects/wowstack/docker-classic-server |master ✓|
→ docker-compose pull
Pulling mariadb ... done
Pulling auth_server ... done
Pulling map_extractors ... done
Pulling world_server ... done

Keybase proof

I hereby claim:

  • I am danielsreichenbach on github.
  • I am marenkay (https://keybase.io/marenkay) on keybase.
  • I have a public key ASAQL4B0pkR04TI_4YviBlTmCRHsYE3vrWEtFC6S7t85hAo

To claim this, I am signing this object:

@danielsreichenbach
danielsreichenbach / terraform-vultr-macOS.sh
Created August 12, 2018 07:11
Install helper to put Terraform Vultr plugin in all the right places
#!/bin/bash
export TF_PLUGIN_DIR=${HOME}/.terraform.d/plugins/
mkdir -p ${TF_PLUGIN_DIR}
export TF_VULTR_VERSION=0.1.7
export TF_VULTR_SRC_URL=https://github.com/squat/terraform-provider-vultr/releases/download/v${TF_VULTR_VERSION}/terraform-provider-vultr_v${TF_VULTR_VERSION}_darwin_amd64.tar.gz
curl -sSL "${TF_VULTR_SRC_URL}" -o $HOME/terraform-provider-vultr_v${TF_VULTR_VERSION}_darwin_amd64.tar.gz \
&& tar -zxf $HOME/terraform-provider-vultr_v${TF_VULTR_VERSION}_darwin_amd64.tar.gz -C ${TF_PLUGIN_DIR} \
#!/bin/sh
#
# This is .git/hooks/commit-msg.sh. Do not forget to chmod +x
#
# A commit message validator, following the rules as described in
# http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
exec < /dev/tty
.git/hooks/validate-commit.py $1