Skip to content

Instantly share code, notes, and snippets.

View taktoa's full-sized avatar
🤔
Confused about why this feature exists

Remy Goldschmidt taktoa

🤔
Confused about why this feature exists
View GitHub Profile
(require 'package)
(add-to-list
'package-archives
'("melpa" . "https://melpa.org/packages/") t)
(package-initialize)
(when (not package-archive-contents)
(package-refresh-contents))
(package-install 'use-package)
(use-package use-package-ensure
@taktoa
taktoa / tangxi.md
Last active July 12, 2023 07:34
Review of Tangxi Smart USB UHF RFID Reader 915Mhz, USB Desktop Contactless Card Reader Writer, Electronic Tag Access Control ID Card Reader for ISO18000‑6C/ISO18000‑6B Label

TLDR summary: Not much documentation, works as a USB keyboard and emits the contents of tag EPC memory (hex encoded) plus a newline, decent sensitivity, seems very hackable if you are into that kind of thing.

The box contained nothing other than the reader and a mini-USB B to USB A cable.

The reader enclosure can be opened easily by removing 4x 10 mm foam pads at the bottom and unscrewing some self-tapping Phillips head screws. The enclosure measures 64 mm x 105 mm x 13.5 mm. The board inside is slightly smaller at 60 mm x 100 mm x ~9 mm. A large portion of the height of the board is occupied by two LEDs (one blue, one green) inside a large flat diffuser. If desired, the board could be stripped down by removing the antenna/LEDs/beeper and cutting a large empty part of the PCB off, resulting in dimensions 60 mm x 46 mm x 5.1 mm.

The board is essentially a MagicRF M100 module attached to an antenna and an STM32F103 c

@taktoa
taktoa / slang.nix
Created September 13, 2025 01:25
A nix file that builds the slang SystemVerilog parser
# Works against nixpkgs 9cb344e96d5b
{ stdenv, fetchFromGitHub, cmake, python3, fmt_11, mimalloc, catch2_3 }:
stdenv.mkDerivation rec {
pname = "slang";
version = "9.0";
src = fetchFromGitHub {
owner = "MikePopoloski";