Skip to content

Instantly share code, notes, and snippets.

View bettse's full-sized avatar

Eric Betts bettse

View GitHub Profile
@bettse
bettse / keybase.md
Created November 24, 2019 03:39
keybase.md

Keybase proof

I hereby claim:

  • I am bettse on github.
  • I am bettse (https://keybase.io/bettse) on keybase.
  • I have a public key whose fingerprint is D49E 4267 F792 3D35 6358 9B21 3E92 C5A7 F643 56BD

To claim this, I am signing this object:

ROTHULT

Proxmark

hf search

UID : 02 E2 00 67 15 04 33
ATQA : 00 42
SAK : 20 [1]

Control LEDs with Mifare Classic

Set the contents of block 1 to control WS2812FX. Will revert to default after 5 minutes.

Format:

Prefix the block with WS2812FX and then provide preferred options: 57 53 32 38 31 32 46 58 MM CC CC CC CC SS SS RR

Mode (1 byte)

@bettse
bettse / code.py
Created July 9, 2023 02:43
Minions Bubble research
import array
import pulseio
import board
import adafruit_irremote
import time
#from adafruit_circuitplayground import playground
HEADER_VAL = 6000
BLACK = (0, 0, 0)
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <inttypes.h>
#if defined(__APPLE__)
#include <libkern/OSByteOrder.h>
#define bswap_16(x) OSSwapInt16(x)
#define bswap_32(x) OSSwapInt32(x)
#define bswap_64(x) OSSwapInt64(x)
@bettse
bettse / ld_pwdgen.c
Created November 30, 2023 18:42
ld_pwdgen.c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#if defined(__APPLE__)
#include <libkern/OSByteOrder.h>
#define bswap_16(x) OSSwapInt16(x)
#define bswap_32(x) OSSwapInt32(x)
@bettse
bettse / SIO.md
Last active March 29, 2025 16:47
iClass

SIO

If you've only got an SIO and you wonder what the length of the credential is, this information, experimentally derived and provided on Discord, may help.

SIO Payload Length PACS Minimum Size PACS Maximum Size
21 Bytes 25 bits 32 bits
22 Bytes 33 bits 40 bits
23 Bytes 41 bits 48 bits
@bettse
bettse / commands.md
Created April 26, 2025 22:34
Siri Vision Pro

General

  • Siri make it light (set daytime environment, also works in fullscreen video)
  • Siri make it dark (set nighttime environment)
  • Siri hide environment (stop displaying your current environment)
  • Siri show environment xyz (have to use environment name)
  • Siri show environments (opens environment picker)

Video playback

  • Siri Auto dimming on/off (changes auto dimming setting for video/photos without having to tap through everything)