Skip to content

Instantly share code, notes, and snippets.

View tassaron's full-sized avatar

Brianna Rainey tassaron

View GitHub Profile
@tassaron
tassaron / backup-mc.sh
Last active September 15, 2024 22:34
SSH copy and unzip the latest Bedrock Dedicated Server backup created by TapeWerm's MCscripts
# Install unzip. Put your IP on next line. Voila!
IP=
PORT=22
BACKUP_DIR=~/MCbackups
time="$1"
if [ -z "$1" ]; then
time=04-05
fi
@tassaron
tassaron / component-outline.md
Last active July 28, 2017 12:04
How a Component Works

How a Component Works

Definition

All components must inherit from the Component base class, which is a type of QObject. The class must have the following attributes (as class variables):

  1. name

  2. version (a string such as '1.0.0')

The major version is used to determine preset compatibility, i.e., presets created for version 1.0.0 will work with 1.1.2 but not 2.0.0.