Skip to content

Instantly share code, notes, and snippets.

@Julynx
Julynx / 15_python_tips.md
Last active March 20, 2026 02:56
15 Python Tips To Take Your Code To The Next Level!
@TehBrian
TehBrian / final-cut-pro-trial-reset.sh
Last active November 17, 2026 18:57
Final Cut Pro Trial Reset
mv -vf ~/Library/Application\ Support/.ffuserdata ~/Library/Containers/com.apple.FinalCutTrial/Data/Library/Application\ Support/.ffuserdata ~/.Trash
@kenorb
kenorb / DownloadMixamoByJakeCattrall.js
Last active November 17, 2026 18:46 — forked from krazyjakee/DownloadMixamoByJakeCattrall.js
Downloads all the free Mixamo Animations
function trigger(el, eventType) {
if (typeof eventType === 'string' && typeof el[eventType] === 'function') {
el[eventType]();
} else {
const event =
eventType === 'string'
? new Event(eventType, {bubbles: true})
: eventType;
el.dispatchEvent(event);
}
@krazyjakee
krazyjakee / DownloadMixamoByJakeCattrall.js
Last active November 17, 2026 18:45 — forked from LouisGameDev/DownloadMixamoByLouisHong.js
Downloads all the free Mixamo Animations (updated for the current Mixamo UI)
(() => {
"use strict";
/*
* Mixamo bulk animation downloader
*
* Supports:
* - Individual animations
* - Animation packs
* - 96 results per page
@LouisGameDev
LouisGameDev / DownloadMixamoByLouisHong.js
Last active October 27, 2026 18:20
Downloads all the free Mixamo Animations
// Anonymous "self-invoking" function
alert("Thank you for using this script created by Louis Hong (/u/loolo78)\n\nThe download will now begin.");
(function() {
// Load the script
var script = document.createElement("SCRIPT");
script.src = 'https://code.jquery.com/jquery-latest.min.js';
script.type = 'text/javascript';
document.getElementsByTagName("head")[0].appendChild(script);

Advanced Git

Git foundations

Data storage

  • Git is like a key-value store
    • key = data
    • value = hash of the data
  • The key (SHA1)
@imSp4rky
imSp4rky / decrypt_guide.py
Last active November 17, 2026 18:37
Decrypt Rested XP Guides
#!/usr/bin/env python3
"""Decrypt an RXP account-locked import .txt into the RXPDecryptedGuides addon.
Usage:
python decrypt_guide.py <import.txt> --zip
python decrypt_guide.py <import.txt> <wow_install | out_dir> [--zip]
The key is derived from your BattleTag, taken from the text after the last "!" in the
import filename. Translated imports are named ...!_deDE_YourBattleTag#1234.txt. Give a glob
that matches them all and each language gets its own lua file, loaded only on a client of
@djmaze
djmaze / gastherme.yml
Created November 28, 2022 22:47
ESPHome-Config, um einen Gaszähler per Reed-Kontakt auszulesen
globals:
- id: total_pulses
type: int
restore_value: true
initial_value: '0' # startet mit 0
- id: imp_ratio
type: float
restore_value: false
initial_value: '0.01' # vom Gaszaehler
- id: Zustandszahl
from __future__ import annotations
from typing import List, Optional, Union
from math import nan
import json