Skip to content

Instantly share code, notes, and snippets.

@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

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

PIT - Python INTERMEDIO

Clase Estudiante – Gestión Académica

Contexto: Sistema de gestión escolar para registrar y consultar información de estudiantes.

Caso de uso: Registrar nombre, edad y calificaciones de un estudiante; calcular su promedio.


class Estudiante:
@Dallas187
Dallas187 / IMEI
Created March 3, 2015 03:20
Android: Get IMEI
public String getIMEI(Context context)
{
TelephonyManager mngr = (TelephonyManager) context.getSystemService(context.TELEPHONY_SERVICE);
String imei = mngr.getDeviceId();
return imei;
}
@mildsunrise
mildsunrise / README.md
Last active November 17, 2026 17:36
Documentation of Tuya's weird compression scheme for IR codes

[Tuya][]'s IR blasters, like the [ZS08][], have the ability to both learn and blast generic IR codes. These IR codes are given to the user as an opaque string, like this:

A/IEiwFAAwbJAfIE8gSLIAUBiwFAC+ADAwuLAfIE8gSLAckBRx9AB0ADBskB8gTyBIsgBQGLAUALA4sB8gRAB8ADBfIEiwHJAeARLwHJAeAFAwHyBOC5LwGLAeA97wOLAfIE4RcfBYsB8gTyBEAFAYsB4AcrCYsB8gTyBIsByQHgPY8DyQHyBOAHAwHyBEAX4BVfBIsB8gTJoAMF8gSLAckB4BUvAckB4AEDBfIEiwHJAQ==

Not much is known about the format of these IR code strings, which makes it difficult to use codes obtained through other means (such as a

@patrickelectric
patrickelectric / mermaid.md
Created August 18, 2026 16:17
BR release
flowchart TD
    A(["Release candidate ready"]) --> B["Notify Software team: repository, scope, version, and planned time"]
    B --> C["Hold release for 12 or 24 hours"]
    C --> D{"Any objection?"}

    D -- Yes --> E["Resolve, revise, or postpone"]
    E --> B

    D -- No --> F["Create draft GitHub release using generated notes"]