Skip to content

Instantly share code, notes, and snippets.

View rpedde's full-sized avatar

Ron Pedde rpedde

View GitHub Profile
@rpedde
rpedde / findextfs.c
Last active November 20, 2015 17:01
#include <stddef.h>
#include <stdio.h>
#include <fcntl.h>
#include <stdlib.h>
#include <stdint.h>
#pragma pack(1)
typedef struct t_ext_sb {
uint32_t s_inodes_count;
uint32_t s_blocks_count;
@rpedde
rpedde / burn.sh
Created September 1, 2017 20:53
keyboard firmware burner
#!/bin/bash
TOP=$(dirname $(readlink -f $0))
declare -A pids
pids[at90usb1287]=2ffb
pids[at90usb1286]=2ffb
pids[at90usb647]=2ff9
pids[at90usb646]=2ff9