Posts

Exploring using Astro instead of Nextjs for static sites; Using Markdown for static sites

Last updated on 5 Feb 2026 Quick Info Astro Astro Website :  Astro Tutorial Docs   ...  Source code on GitHub Markdown in Astro Markdown CommonMark Website ... Tutorial Markdown original version by John Gruber Markdown Frontmatter Fenced-off section at the top of a document containing YAML, TOML, or JSON, used to define metadata. Is not part of Core Markdown (not part Markdown specification like CommonMark) Is an adopted extension used by various tools Standard convention in most static site generators (Astro, Hugo, Gatsby) and note-taking apps (Obsidian, Dendron).  Online editor: Stackedit VSCode Extension:  Markdown Editor by zaaack open a markdown file type cmd-shift-p to enter command mode type markdown-editor: Open with markdown editor Introduction to YAML =============================================================== Details 4 Feb. 2026 Given below are extracts from a recent exchange with ChatGPT. Me: I have created a stripped-down version of (a tier-1...

Misc notes on npm script issues and solutions in Windows environment

3 Feb. 2026 Chat with Google Search AI (GSAI) [Note: GSAI confirmed that by default, npm scripts on Windows use the Command Prompt (cmd.exe), not PowerShell.] Me:  Windows command prompt set env variable and run another command which needs it GSAI: ... 3. Temporary Scoping (Child Shell) To ensure the variable is "forgotten" immediately after the command finishes, run it inside a  child shell .   Command:   cmd /C "set "TEMP_VAR=abc" && run_process.exe" Effect:  Once the process finishes and the child shell closes,  TEMP_VAR  will no longer exist in your main command prompt session.   ... Me:  Set is great! another ai tool suggested setx. Pls comment GSAI: setx   is powerful but comes with a major "gotcha" for your specific use case:   it doesn't affect the current session .   Here is the breakdown of why you might use it and when you definitely shouldn't: 1. The Big "Gotcha" If you run  setx MY_VAR value  and ...