Skip to content

Instantly share code, notes, and snippets.

View matthiasseghers's full-sized avatar
🦊

Matthias Seghers matthiasseghers

🦊
View GitHub Profile
@matthiasseghers
matthiasseghers / firefly-iii-backuper.sh
Last active July 31, 2025 20:42 — forked from dawid-czarnecki/firefly-iii-backuper.sh
Script to backup Firefly III database, uploads and config files installed with docker-compose
#!/bin/bash
files_to_backup=(.*.env .env docker-compose.yml )
info() { echo -e "\\033[1;36m[INFO]\\033[0m \\033[36m$*\\033[0m" >&2; }
warn() { echo -e "\\033[1;33m[WARNING]\\033[0m \\033[33m$*\\033[0m" >&2; }
fatal() { echo -e "\\033[1;31m[FATAL]\\033[0m \\033[31m$*\\033[0m" >&2; exit 1; }
intro () {
echo " ====================================================="
// ==UserScript==
// @name Bypass Paid article
// @namespace http://your.namespace.com
// @version 0.1
// @description Execute functions when a certain element appears in the DOM
// @author You
// @match https://www.demorgen.be/*
// @grant none
// ==/UserScript==
@matthiasseghers
matthiasseghers / ps5-web-batch-convert.sh
Last active September 7, 2023 21:57
Batch convert PS5 webm (HDR) clips to mkv (SDR).
#!/bin/bash
function cleanup {
echo "Ctrl+C detected, stopping the script..."
exit 1
}
trap cleanup INT
if [ "$#" -ne 1 ]; then
@matthiasseghers
matthiasseghers / re-author.sh
Last active September 4, 2023 12:50
Git scripts
git filter-branch --env-filter '
OLD_EMAIL="[email protected]"
CORRECT_NAME="NewUsername"
CORRECT_EMAIL="[email protected]"
if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ]
then
export GIT_COMMITTER_NAME="$CORRECT_NAME"
export GIT_COMMITTER_EMAIL="$CORRECT_EMAIL"
fi
if [ "$GIT_AUTHOR_EMAIL" = "$OLD_EMAIL" ]
@matthiasseghers
matthiasseghers / .editorconfig
Last active September 7, 2024 15:41
PHPStorm Settings (2023) - PHP/Symfony
[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true
max_line_length = 120
tab_width = 4
ij_continuation_indent_size = 8
ij_formatter_off_tag = @formatter:off
@matthiasseghers
matthiasseghers / tools.md
Created February 24, 2023 09:19
Stability Testing

Windows

CPU Testing

  • Cinebench
    Is more of a benchmarking tool than real stress testing tool.
  • Prime95
    For real torture testing. Stable in prime95 will always guarantee stability in real world scenario's due to it's excessive non-real-world testing.

CPU Monitoring