Skip to content

Instantly share code, notes, and snippets.

View lokrhc's full-sized avatar

lokrhc

  • Joined Oct 11, 2025
View GitHub Profile
@lokrhc
lokrhc / Brave Temp
Last active October 13, 2025 06:12
Brave with data and cache in temp fs
USER_DIR=$(mktemp -d /dev/shm/brave_user_data.XXXXXX)
CACHE_DIR=$(mktemp -d /dev/shm/brave_cache.XXXXXX)
brave-browser --user-data-dir="$USER_DIR" --disk-cache-dir="$CACHE_DIR"