Skip to content

Instantly share code, notes, and snippets.

echo ".dotfiles" >> .gitignore
# Clone my repo into .dotfiles
git clone --bare https://github.com/thraizz/dotfiles.git $HOME/.dotfiles
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
dotfiles config --local status.showUntrackedFiles no
echo "alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'" >> $HOME/.zshrc
@thraizz
thraizz / json_vs_msgpack.py
Created April 9, 2024 17:56 — forked from nvllsvm/json_vs_msgpack.py
Benchmark JSON and MessagePack encoding/decoding times and result sizes
#!/usr/bin/env python3
import json
import gzip
import time
import brotli
import msgpack
import tabulate
import umsgpack
import zstd
@thraizz
thraizz / cookiebot.ts
Created May 28, 2024 11:12
Type-safe cookiebot renewal
type Cookiebot = {
name: string;
consented: boolean;
declined: boolean;
changed: boolean;
hasResponse: boolean;
consentID: string;
consent: object;
isOutsideEU: boolean;
isOutOfRegion: boolean;
@thraizz
thraizz / README.md
Created June 24, 2024 17:52
ING DiBa DE to YNAB CSV

This script will add a "Download past transactions CSV" and a "Download prebooked transactions CSV" button to your Umsätze page. Use these to either download past or upcoming transactions that you can import into YNAB.

@thraizz
thraizz / README.md
Created June 30, 2024 15:36
Fextralife Map Fullscreen Tampermonkey User Script

Elden Ring Interactive Map Modifier

This Tampermonkey script customizes the Elden Ring Interactive Map on the Fextralife website. It moves the map element to the top of the body and applies specific styles to enhance its visibility and accessibility.

Features

  • Moves the map container (div with id="mapA") to the top of the body.
  • Applies the following styles to the map container:
    • position: absolute;
  • z-index: 10000;
@thraizz
thraizz / README.md
Last active April 24, 2025 09:09
Stripe + Firebase Implementation