Skip to content

Instantly share code, notes, and snippets.

View elanora96's full-sized avatar
🤠

Elanora Manson elanora96

🤠
View GitHub Profile
@munificent
munificent / generate.c
Last active July 4, 2025 13:39
A random dungeon generator that fits on a business card
#include <time.h> // Robert Nystrom
#include <stdio.h> // @munificentbob
#include <stdlib.h> // for Ginny
#define r return // 2008-2019
#define l(a, b, c, d) for (i y=a;y\
<b; y++) for (int x = c; x < d; x++)
typedef int i;const i H=40;const i W
=80;i m[40][80];i g(i x){r rand()%x;
}void cave(i s){i w=g(10)+5;i h=g(6)
+3;i t=g(W-w-2)+1;i u=g(H-h-2)+1;l(u
@brenr
brenr / openwrt-tethering.md
Last active July 29, 2025 00:35
OpenWRT Smartphone Tethering

OpenWRT Router Pre-configured for Smartphone Tethering

In this guide, I'll be using:

  • iPhone 12 Pro on iOS 15.1.1 as my tethering device
  • Raspberry Pi 4 with OpenWRT version 21.02.1
  • 64GB Sandisk micro SD card

The goal with this guide is to create a pre-configured OpenWRT router that:

  • Is plug and play to provide out-of-the-box smartphone tethering
  • Supports both iPhone and Android (comment below if you are having any issues).