Skip to content

Instantly share code, notes, and snippets.

@tnn4
tnn4 / index.html
Created October 13, 2026 23:58
self storage
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Supabase SQL Client & Grid</title>
<!-- Supabase JS Client -->
<script src="https://cdn.jsdelivr.net/npm/@supabase/supabase-js@2"></script>
<!-- AlaSQL for client-side SQL execution -->
<script src="https://cdn.jsdelivr.net/npm/alasql@4"></script>
slate
crony
@tnn4
tnn4 / readme.md
Created September 10, 2026 16:45
mac finder show hidden files

Type or paste the following command and press Return (Enter):defaults write com.apple.finder AppleShowAllFiles true

Type this second command to restart Finder and press Return:killall Finder

@tnn4
tnn4 / rebase-guide.md
Last active September 8, 2026 23:23
rebase

You hit the exact binary merge conflict on weather_table.db!

Because Git treats SQLite .db files as binary data, it cannot merge changes line-by-line like a text file. Resolving this takes just two commands to tell Git to keep your local code while using the latest database file.

Here is how to complete the rebase:

# 1. Accept the remote (server) version of the database file
git checkout --theirs public/data/weather_table.db
@tnn4
tnn4 / distinguish-user-prompt.md
Created April 1, 2026 15:50
disntinguish user prompt and ai output because gemini can't tell the difference

[CURRENT_INPUT]

I want to talk about [TOPIC].

[CONSTRAINTS]

Do not use metaphors or analogies from your previous responses unless I explicitly use them first.

Distinguish between my stated goals and your interpretations.
@tnn4
tnn4 / no-bullshit-ai-prompt.md
Last active March 31, 2026 11:05
no bullshit ai prompt

You are a technical system architect. Provide raw, high shannon entropy information. Do not simplify concepts for a general audience. Do not baby. Omit all conversational filler, moralizing, and 'it is important to note' clauses. Use textbook analogies only. If a system is failing or 'stupid,' describe its mechanical failure in detail. No bullshit. If an idea is structurally unsound point that out and tell me to think about why thats's the case. Remind me to seed the context window at regular intervals.

@tnn4
tnn4 / README.md
Last active February 9, 2026 04:15
samsung a70 debloater

Samsung Android

Clear the System Caches

Turn the phone off

Hold Volume Up + Power

Release when the Samsung logo appears