Posts

About using Dark Reader extension while composing Blogger posts without creating darkreader CSS and data attr bloat

Dark Reader extension is very helpful in giving dark mode in Blogger Compose window. If we know exactly in which use cases Dark Reader injects its CSS and data attributes bloat to the post HTML and in which use cases it does not, we can avoid the former and use only the latter. The main reference for this section is my post: Discussion and Analysis of Dark Reader Chrome extension test post with Gemini assistance . With Dark Reader extension in "On" state: No Bloat : Typing directly in Compose mode in a div block which does not have Dark Reader styles (--darkreader-) or custom data attributes (data-darkreader-), does NOT inject Dark Reader styles and custom data attributes in the post HTML. So creating a fresh div block in with few dummy characters in 'Edit HTML' mode and then switching back to Compose mode and typing within those dummy characters should result in no Dark Reader styles and data attributes being injected. No Bloat : Special case of above is Compose mode...

Notes on Miscellaneous stuff

20:34, 06 March 2026 Me: Can VSCode terminal with an ongoing session be made a separate window in Windows 11 GSAI (Google Search AI): ... Method 3: Command Palette Open the terminal (Ctrl+`). Press Ctrl+Shift+P to open the Command Palette. Type and select: Terminal: Move Terminal into New Window.  ... Me: Command Palette method worked. Drag and Drop did not work, and Context menu command did not show Move Terminal into Editor Area. ... GSAI said that two terminals are needed for one or both of above methods to work. Confirmed that with two terminals open, I could drag one of the terminal icons on right sidebar onto editor which moved it to an editor tab. Then I could use context menu on tab to move it to a separate (floating) terminal. ------

Git is not suitable for managing versions of Excel .xlsx and Word .docx files but handles .csv and .md (from .docx) files well

Last updated on 9 Mar 2026 Related publicly shared ChatGPT (CG) chat:  Git handling .xlsx files The context is an Excel workbook having list of posts in a blog that is part of my Blogger Blog Post Size Utility Scripts project - Associated GitHub Public Repo and associated blog post . Given below is a summary provided by CG for above chat which has been slightly edited by me. Managing Excel and Word Files Inside a Git Repository — A Practical Exploration The author explored how Git handles Microsoft Excel ( .xlsx ) files inside a project repository that primarily contains PowerShell scripts and text files. Later the author asked for including Microsoft Word ( .docx ) files in this summary as the same applies to it too.  How Git Stores Excel and Word Files Git treats .xlsx and .docx files as binary blobs , not as structured documents. Unlike text files: Git cannot show meaningful line-by-line diffs. Git cannot intelligently merge concurrent changes. Each modification ...

Discussion and Analysis of Dark Reader Chrome extension test post with Gemini assistance

Last updated on 8 Mar 2026 My recent blog post: Testing Dark Reader Chrome extension addition of darkreader CSS styles to HTML of blog post edited in Compose mode is discussed and analyzed with help of Gemini in this post. Related post:  About using Dark Reader extension while composing Blogger posts without creating darkreader CSS and data attr bloat Related chat for this post: Analyzing Blog Post Bloat and Content Given below is an edited version of related exchange with Gemini (Gem). I saved the contents of 'Edit HTML' view of above blog post in a file post-orig.html and uploaded it to Gemini. Me: 4 Mar. 2026: The uploaded file has a test blog post I created: Testing Dark Reader Chrome extension addition of darkreader CSS styles to HTML of blog post edited in Compose mode Please study the HTML in this file which has the test procedure as well as the data. Then give me your analysis and views. Gem: The HTML content in post-orig.html provides a clear technical demonstratio...

Testing Dark Reader Chrome extension's addition of darkreader CSS styles to HTML of blog post edited in Compose mode

Follow-up post:  Discussion and Analysis of Dark Reader Chrome extension test post with Gemini assistance ================================================================ Test to see if Compose adds darkreader CSS styles (e.g. --darkreader-inline-color) even when Dark Reader extension is enabled but is switched 'Off' temporarily in its UI. Identifying Blogger blog posts with size bloat This test confirms that adding text and a link in Compose when Dark Reader extn. is enabled but switched 'Off' does NOT add darkreader CSS styles to Blogger post. I used HTML view to check the generated HTML. Now I will switch 'On' Dark Reader extn. and repeat the same addition of text and a link in Compose mode. Test to see if Compose mode adds darkreader CSS styles when Dark Reader extension is enabled and is switched 'On'. Identifying Blogger blog posts with size bloat This test confirms that adding text and a link in Compose when Dark Reader extn. is enabled and switch...

Identifying Blogger blog posts with size bloat and fixing them

Last updated on 8 Mar 2026 Quick Info Blogger Blog Post Size Utility Scripts GitHub Public Repo Markdown documents in above repo: Readme.md - Main Readme for repo checkPostBloat.md - Detailed log of exchanges with Gemini on analysis and checking of Blogger post bloat due to unwanted CSS and tag attributes, followed by my work on checking post bloat for this sw dev blog and reducing it when the bloat had crossed a threshold. GColab/prompts.md - Covers the prompts I gave to Google Colab AI related to extracting pre elements from original post HTML (post-orig.html), cleaning them up and then trying to auto-patch them back into PrettyHTML bloat cleanup output file (post-pretty.html). It also has some Gemini exchanges related to the Colab session.  Details This post follows up my previous post:  Fixing Gemini chat to Blogger Compose post copy-paste causing 1.5 MB post size bloat due to unnecessary CSS . Gemini chat: Blogger Feed Request Issue This part of the chat happened ...

How to copy-paste Gemini (and ChatGPT) Chats to Blogger posts without CSS bloat

Last updated on 8 Mar 2026 Summary Step   Action Tool 1 Copy Raw Markdown   Gemini Response Copy Button 2 Convert to HTML MarkdownToHTML.com 3 Escape Brackets Manual Edit (e.g.,  <  to  &lt; ) 4 Validate Syntax VS Code / Prettier 5 Publish Blogger (HTML View) Note that for user messages, Gemini Copy button seems to put only plain text (not markdown) on the clipboard. Plain text may be directly added to Compose window of Blogger which handles conversion to HTML, including conversion of line breaks in plain text. Quite surely, the same approach given above should work for ChatGPT too. Related post:  About using Dark Reader extension while ...