Skip to content

Instantly share code, notes, and snippets.

@brossi
brossi / insert-future-comment.py
Created August 24, 2026 01:47
Insert future comment
def insert_marker(code: str, line: int, marker: str = "# <explain this>") -> str:
"""
Inserts a single-line marker comment at a specified position within a
given block of source code, thereby denoting — for the benefit of any
future reader, be they human or machine — that this particular line,
heretofore unremarked upon and unadorned by prose, has been flagged
as a candidate for further explication at some later, unspecified time.
One might ask: why does a function so small, so humble in its ambition,
require a docstring of such considerable length? To this the author
@brossi
brossi / booklister-architecture-api-overview.md
Created June 18, 2025 14:38
BookLister Functional, Architectural, and API Overview
@brossi
brossi / __init__.py
Last active April 9, 2025 16:13
Material Spec Library
"""Utilities for the Radiolucent Material and Marker Optimization Tool."""
@brossi
brossi / template__rule.mdc
Last active March 4, 2025 17:58
Cursor Rule Template
<!-- CURSOR RULE FILE TYPE: `*.mdc`
Notes regarding frontmatter content:
- It appears that Cursor prefers only two fields in the frontmatter: `description` and `globs`
(Discussion) https://forum.cursor.com/t/optimal-structure-for-mdc-rules-files/52260/10
- "Agent does not see subdirectories of .cursor/rules"
(Discussion) https://forum.cursor.com/t/optimal-structure-for-mdc-rules-files/52260/11
Metadata:
- `globs` can be defined by single file types (e.g. `*.md` or `specific-rule.mdc`) or it can use brace expansion for multiple file types (e.g. `**/*.{py,js,ts,jsx,tsx,java,rb,go,rs}`)
@brossi
brossi / pressure-pot-usage-resin-casting_EU.md
Last active January 30, 2025 00:26
GUIDE: Pressure Pot Usage in Resin Casting

A Complete Guide to Pressure Pot Usage in Resin Casting (EU Edition)

Overview

Pressure casting is a technique that uses controlled pressure to compress air bubbles in curing resin to microscopic size, resulting in clear, professional-grade castings. This guide will walk you through:

  • Equipment selection and setup
  • Safety considerations and best practices
  • Step-by-step casting procedures
  • Troubleshooting common issues
  • EU-specific sourcing guidance
Data & Tools:
Many contributors. Thanks to all.
Contact:
ParlerAnalysis@protonmail.com
IRC Channels:
#parlerparsers at https://webirc.hackint.org/
#parlerparsers-video for video IDing
CityCounty CountyFIPS HealthDistrict HPRName Population
Accomack 51001 Eastern Shore Eastern Region 32316
Albemarle 51003 Thomas Jefferson Northwest Region 109330
Alexandria 51510 Alexandria Northern Region 159428
Alleghany 51005 Alleghany Southwest Region 14860
Amelia 51007 Piedmont Central Region 13145
Amherst 51009 Central Virginia Southwest Region 31605
Appomattox 51011 Central Virginia Southwest Region 15911
Arlington 51013 Arlington Northern Region 236842
Augusta 51015 Central Shenandoah Northwest Region 75558
@brossi
brossi / css-grid-template-builder.markdown
Created August 2, 2018 16:23
CSS Grid Template Builder
@brossi
brossi / static-styles.css
Created January 26, 2018 16:06
Temporary - Static Styles
table {width: 100%;}
td {text-align: right;}
@brossi
brossi / static-javascript.js
Last active January 26, 2018 16:05
Temporary styles
(function($) {
$(document).ready(function() {
// future use
});
})(jQuery);