Skip to content

Instantly share code, notes, and snippets.

View matthiasseghers's full-sized avatar
🦊

Matthias Seghers matthiasseghers

🦊
View GitHub Profile
// ==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