Skip to content

Instantly share code, notes, and snippets.

View RichardKanshen's full-sized avatar
:electron:
dead uwu

出口レイ RichardKanshen

:electron:
dead uwu
View GitHub Profile

If it's so easy to guess a uuid, here you go

I ran crypto.randomUUID() twice on my machine.

The first ID was 15041508-fd38-4eda-bc1d-7b74e4738cd9

The second? That's your challenge.

I encrypted a text file with the following command:

@t3dotgg
t3dotgg / try-catch.ts
Last active June 24, 2025 09:22
Theo's preferred way of handling try/catch in TypeScript
// Types for the result object with discriminated union
type Success<T> = {
data: T;
error: null;
};
type Failure<E> = {
data: null;
error: E;
};