Skip to content

Instantly share code, notes, and snippets.

View masterex1000's full-sized avatar

masterex1000

View GitHub Profile
@masterex1000
masterex1000 / pictochat_nifi_dissector.lua
Last active March 24, 2025 05:51
A basic dissector that can decode pictochat beacons. Doesn't decode any messages.
-- Pictochat Beacon Dissector for Wireshark
-- References
-- https://problemkaputt.de/gbatek-ds-wifi-nintendo-beacons.htm
local is_enabled = true
nifi_beacon_proto = Proto("NiFi_Beacon", "Nintendo DS NiFi Beacon")
local f_oui_prefix = ProtoField.uint24("nifi.oui_prefix", "OUI", base.HEX)
@masterex1000
masterex1000 / agui.h
Created October 22, 2020 18:29
A small UI helper library intended to be used with raylib. It has a few simple rectangle manipulation functions that make it much easier to write a semi-responsive ui
/**
* This is a simple helper library for handling some common responsive ui stuff
*
* I wrote this because UI dev sucks and I wanted to stop writing the same code
* over and over again.
*
* This also adds some nice things like doing margins if you want. All it does
* is modify the bounds of rectangles but it is suprisingly flexable.
*
* License: I don't care, do anything as long as you don't claim it as your own
/**
* A thin event-driven rpc system built with gun
*
* this implementation is bigger than it needs to be
* but it does have some nice quality of life features
**/
var DEBUG = true; //Set to false if not debugging garp
class Rpc {