Skip to content

Instantly share code, notes, and snippets.

@asears
asears / WORKSPACE-DESIGN.md
Last active March 7, 2026 00:22
Fabric Workspace Guidance
Reasons to split into multiple workspaces
	• Simplifies cost allocation
	• Makes it possible to use separate capacities
	• Makes it possible to use separate Git repositories
	• Makes it possible to use separate Fabric Deployment Pipelines
	• Makes it possible to use separate regions
	• Makes it possible to use separate default Spark Environment
	• Makes it possible to use separate network security settings
	• Makes it possible to use separate workspace identities
@asears
asears / TEST-FILETYPES.md
Created March 6, 2026 12:41
Testing Patterns for File Types

File Type Deployment, Validation, and Testing Guide

This guide maps file types found across the repos to practical deployment, schema checks, data checks, unit tests, and integration tests. It is written for Windows + PowerShell workflows.

Core Principles

  • Run fast static checks (lint/schema/type) on every PR.
  • Run data and integration checks on merge/main or release branches.
  • Keep unit tests isolated with mocks/stubs for network, DB, and cloud calls.
  • Use plan/preview first for infrastructure changes.
@asears
asears / til.code-workspace
Created March 1, 2026 11:43
til.code-workspace - markdown browsing by default
{
"folders": [
{
"path": "."
}
],
"settings": {
"workbench.editorAssociations": {
"*.md": "vscode.markdown.preview.editor"
}
@asears
asears / gpt.py
Created February 12, 2026 01:42
microgpt (karpathy)
"""
The most atomic way to train and inference a GPT in pure, dependency-free Python.
This file is the complete algorithm. Everything else is just efficiency.
@karpathy and @claude with the refactoring barkie dog :ruff:
"""
import logging
import math # math.log, math.exp
import operator
# Few helpful rebase commands
git config --global core.editor=code
git config --global sequence.editor=code --wait --reuse-window
# Find the divergent commit
git merge-base --fork-point main
# Interactive rebase
git rebase -i
@asears
asears / my.instructions.md
Last active May 17, 2025 10:20
Copilot Instructions, Prompts, Tools and Variables
title
this follows front matter format

Chat variables

Use chat variables in your chat prompt to reference context that is relevant to your question.

Chat variable Description

#changes The list of source control changes.

@asears
asears / mcplinks.md
Created April 13, 2025 10:53
MCP Configurations
@asears
asears / promptlinks.md
Last active June 13, 2025 15:24
Selection of the 500 or so prompts and related in Github as of April 1, 2025
@asears
asears / nox.md
Last active January 5, 2025 15:07
Nox Cookbook