Skip to content

Instantly share code, notes, and snippets.

@nerdymomocat
nerdymomocat / bibtex-test-webtr-gist.bib
Last active October 27, 2025 06:05
example bibtex gist
@book{sweig42,
title = {key is sweig42 The impossible book},
author = {Stefa{n} Sweig},
year = 1942,
month = mar,
publisher = {Dead Poet Society}
}
@article{steward03,
title = {Cooking behind bars},
author = {Martha Steward},
@nerdymomocat
nerdymomocat / fail-feat1a: [gemini] tries to fix footnote popover clicks pass through
Created October 26, 2025 22:44
gemini tries and fails to fix popover pass through issue
🧑‍💻 ## USER
This is the Gemini CLI. We are setting up the context for our chat.
Today's date is Sunday, October 26, 2025 (formatted according to the user's locale).
My operating system is: darwin
I'm currently working in the directory: webtrotion-astro-notion-cms-website-blog
Here is the folder structure of the current working directories:
Showing up to 200 items (files + folders). Folders or files indicated with ... contain more items not shown, were ignored, or the display limit (200 items) was reached.

🧑‍💻 ## USER

This is the Gemini CLI. We are setting up the context for our chat. Today's date is Saturday, October 25, 2025 (formatted according to the user's locale). My operating system is: darwin I'm currently working in the directory: webtrotion-astro-notion-cms-website-blog Here is the folder structure of the current working directories:

Showing up to 200 items (files + folders). Folders or files indicated with ... contain more items not shown, were ignored, or the display limit (200 items) was reached.

@nerdymomocat
nerdymomocat / FEAT add footnotes in cl aude-code-features-and-fixes-webtrv2
Last active October 25, 2025 13:54
cl aude-code-features-and-fixes-webtrv2 conversations
This file has been truncated, but you can view the full file.
▐▛███▜▌ Claude Code v2.0.25
▝▜█████▛▘ Sonnet 4.5 · API Usage Billing
▘▘ ▝▝ webtrotion-astro-notion-cms-website-blog
> look at footnotes_implementation_desired.md. plan how you would do it and store that plan in claude/footnotes/{whatever file name you want}.md. make a very detailed
plan. i do not want or have test sets. you will first need to look at the whole code to understand how notion blocks work in the first place.
⏺ I'll help you create a detailed plan for implementing footnotes. Let me start by reading the requirements document and then exploring the codebase to understand how
Notion blocks work.
@nerdymomocat
nerdymomocat / A1-isr-webtrotion-notion-blocks-prompt.md
Last active February 28, 2025 08:11
Attempting to add ISR to Webtrotion

this is src/posts/[slug].astro


import NotionBlocks from "@/components/NotionBlocks.astro"; import PostLayout from "@/layouts/BlogPost.astro"; import { extractTargetBlocks, resetCurrentHeadings, resetFirstImage, setCurrentHeadings,

@nerdymomocat
nerdymomocat / A1-isr-webtrotion-notion-blocks-prompt.md
Created February 28, 2025 06:47
Attempting to add ISR to Webtrotion

this is src/posts/[slug].astro


import NotionBlocks from "@/components/NotionBlocks.astro"; import PostLayout from "@/layouts/BlogPost.astro"; import { extractTargetBlocks, resetCurrentHeadings, resetFirstImage, setCurrentHeadings,

@nerdymomocat
nerdymomocat / A1-add-three-way-toggle-to-webtrotion.md
Created February 27, 2025 19:50
Adding 3 way toggle to webtrotion

Note

nerdymomocat: explain how this theme toggle works in detail

GitHub Copilot: Let me break down how this theme toggle component works:

  1. Component Structure:
  • The component consists of a button with two icons (sun and moon)
  • Uses a custom element <theme-toggle>
  • Icons are positioned absolutely and controlled via opacity/scale for switching
@nerdymomocat
nerdymomocat / A1-goal-convert-py-file-to-class-funtions.py
Last active February 24, 2025 04:46
Convert file to class based system using LLMs
import argparse
import os
import re
from typing import Optional, Dict, Any, List, Union
from urllib.parse import urlparse, quote
import datetime
import requests
from dotenv import load_dotenv, find_dotenv
import json
@nerdymomocat
nerdymomocat / git-ingest-notion-sdk-js.txt
Created February 6, 2025 19:52
[LLM-TXT] Notion SDK
undefined
Files Content:
(Files content cropped to 300k characters, download full ingest to see more)
================================================
File: README.md
================================================
<div align="center">
<h1>Notion SDK for JavaScript</h1>
@nerdymomocat
nerdymomocat / LK-C1-(FAIL)-try-config-editor-perf-imp.md
Last active January 29, 2025 11:38
Checking if you can use LLMs to improve performance of a swift app

Note

nerdymomocat: the settings config is hogging cpu. the app in itself works fine, any idea why?

GitHub Copilot: Based on the code review, the performance issue likely stems from the continuous monitoring of config files and potentially inefficient UI updates. Here's a solution to optimize it:

  1. Add debouncing to file monitoring
  2. Optimize config editor view updates
  3. Reduce unnecessary state updates