Skip to content

Instantly share code, notes, and snippets.

View 0xcafed00d's full-sized avatar
👾
Pew. Pew. Pew.....

Lee Witek 0xcafed00d

👾
Pew. Pew. Pew.....
View GitHub Profile
@0xcafed00d
0xcafed00d / readme.md
Created April 17, 2026 11:05 — forked from scholtes/readme.md
Wordle dictionary

Deprecated!

⚠This gist will remain available for posterity, but be aware that Wordle no longer uses these dictionaries.⚠

Wordle dictionary

Wordle is a web browser game that you can play at this link. You get 6 chances to guess a single 5 letter word and there is only 1 word per day.

@0xcafed00d
0xcafed00d / NETWORK_LATENCY_TESTING.md
Last active April 21, 2026 01:19
Linux Interface Latency Testing

Linux Interface Latency Testing

This is a general reference for introducing artificial network latency on Linux when testing how a protocol behaves as latency increases.

The standard tool is tc with the netem qdisc.

Overview

  • Egress delay on an interface is straightforward with tc netem.
  • Ingress delay is usually handled by redirecting ingress traffic to an ifb device and applying netem there.
@0xcafed00d
0xcafed00d / wsl2-usb-device-guide.md
Created April 22, 2026 23:21
How to Access a USB Device from WSL2

How to Access a USB Device from WSL2

If you use Windows Subsystem for Linux 2 (WSL2), you've probably noticed that USB devices do not automatically appear inside your Linux environment. That's by design: WSL2 runs in a lightweight VM, so direct hardware access works differently than it does on a native Linux machine.

The supported way to pass a USB device from Windows into WSL2 is with usbipd-win, a Windows tool that exposes USB devices to WSL over USB/IP.

This guide walks through the setup and shows how to attach, verify, and detach a USB device from WSL2.

When This Is Useful

@0xcafed00d
0xcafed00d / grep_cheat_sheet.md
Created May 29, 2026 11:08
Grep Cheat Sheet

grep Cheat Sheet

grep searches text using patterns.

grep [options] "pattern" file

Example:

@0xcafed00d
0xcafed00d / shell_redirection_and_pipes_cheat_sheet.md
Created May 29, 2026 11:23
Shell Redirection and Pipes Cheat Sheet

Shell Redirection and Pipes Cheat Sheet

This cheat sheet covers:

>
>>
2>
2>&1
|
@0xcafed00d
0xcafed00d / cmake_command_line_cheatsheet.md
Last active July 8, 2026 16:16
CMake command line cheatsheet

CMake Command-Line Cheatsheet

Core workflow

cmake -S . -B build
cmake --build build

-S selects the source directory.