Skip to content

Instantly share code, notes, and snippets.

## Workflow Orchestration
### 1. Plan Mode Default
* Enter plan mode for ANY non-trivial task (3+ steps or architectural decisions)
* If something goes sideways, STOP and re-plan immediately – don't keep pushing
* Use plan mode for verification steps, not just building
* Write detailed specs upfront to reduce ambiguity
### 2. Subagent Strategy
@lemmensaxel
lemmensaxel / Auth.tsx
Last active December 24, 2025 11:34
React-native expo + keycloak PKCE flow implemented using expo AuthSession
import {
ActivityIndicator,
Button,
ScrollView,
Text,
View,
} from "react-native";
import * as AuthSession from "expo-auth-session";
import * as WebBrowser from "expo-web-browser";
import { useEffect, useState } from "react";
{
"hotel_id": 1,
"chain_id": 421,
"chain_name": "Samed Resorts Group",
"brand_id": 0,
"brand_name": "",
"hotel_name": "Sai Kaew Beach Resort",
"hotel_formerly_name": "",
"hotel_translated_name": "Sai Kaew Beach Resort",
"addressline1": "8/1 Moo 4 Tumbon Phe Muang",
@GLMeece
GLMeece / latency_numbers.md
Last active February 22, 2025 10:46
Latency Numbers Every Programmer Should Know - MarkDown Fork

Latency Comparison Numbers

Note: "Forked" from Latency Numbers Every Programmer Should Know

Event Nanoseconds Microseconds Milliseconds Comparison
L1 cache reference 0.5 - - -
Branch mispredict 5.0 - - -
L2 cache reference 7.0 - - 14x L1 cache
Mutex lock/unlock 25.0 - - -