Skip to content

Instantly share code, notes, and snippets.

@kitsunehunter
kitsunehunter / gdmcfg
Last active November 23, 2025 21:05
Mifare GDM Configs
7A FF <- Allow gen1a magic auth
85 00 00 00 00 00 00 00 00 00 5A 5A 00 00 00 08 <- Shadow mode enabled
85 00 00 00 00 00 00 5A 00 FF 00 5A 00 00 00 08 <- CUID mode enabled + MFC EV1 Perso mode + shadow mode disabled
7A FF 00 00 00 00 00 00 BA FA 5A 5A 00 00 00 08 <- allow gen1a magic commands to persistant memory
85 00 00 00 00 00 5A 00 00 5A 00 5A 00 5A 00 08 <- switch to 7B GDM operation after using GDM script (DO NOT WRITE THIS CONFIG UNLESS YOUR TAG IS IN 7B OPERATION)
hf mf gdmsetcfg -d "7A FF 00 00 00 00 00 5A BA FA 5A 5A 00 00 00 08"
gen1a + CUID + shadow mode + gdm auth
hf mf gdmsetcfg -d "85 00 00 00 00 00 00 5A 00 FF 00 5A 00 00 00 08"
@flaviut
flaviut / Setting up Emporia Vue 2 with ESPHome.md
Last active July 10, 2025 23:01
Setting up Emporia Vue 2 with ESPHome
@superjamie
superjamie / raspberry-pi-vpn-router.md
Last active October 6, 2025 20:22
Raspberry Pi VPN Router

Raspberry Pi VPN Router

This is a quick-and-dirty guide to setting up a Raspberry Pi as a "router on a stick" to PrivateInternetAccess VPN.

Requirements

Install Raspbian Jessie (2016-05-27-raspbian-jessie.img) to your Pi's sdcard.

Use the Raspberry Pi Configuration tool or sudo raspi-config to: