Skip to content

Instantly share code, notes, and snippets.

View cyppan's full-sized avatar

Cyprien Pannier cyppan

View GitHub Profile
@cyppan
cyppan / configBuilder.ts
Last active July 4, 2022 15:50
Typescript Config Builder
interface SsmParameter {
ssmName: string;
ssmType: "String" | "SecureString";
configType?: "string" | "number" | "boolean";
}
class SsmConfig<Config, C extends Record<string, SsmParameter> = {}> {
constructor(private config: C) {}
static builder<Config>(): SsmConfig<Config, {}> {
return new SsmConfig<Config, {}>({});
⍝ DAY 1
in←⊃⎕nget'01.txt'1
digitsStr←'one' 'two' 'three' 'four' 'five' 'six' 'seven' 'eight' 'nine'
mask←{(⍳9)+.×↑(⍷∘⍺)¨⍵}
part1←+/{10⊥(⊃,¯1∘↑)(⍵ mask '123456789')~0}¨in
part2←+/{10⊥(⊃,¯1∘↑)((⍵ mask '123456789')∨⍵ mask digitsStr)~0}¨in
⍝ DAY 2
@cyppan
cyppan / vscodeMarkdownStyle.css
Created December 6, 2025 11:28
VSCode Typora-like Markdown style
/* style.css - Newsprint / Academic Reading */
body {
font-family: "Georgia", "Palatino Linotype", "Times New Roman", serif;
font-size: 18px; /* Slightly larger for reading */
line-height: 1.7;
color: #333;
background-color: #f9f9f5; /* The signature cream paper color */
max-width: 800px;
margin: 0 auto;
padding: 40px;
@cyppan
cyppan / aiAugmentedDevelopmentMentalModel.md
Last active March 13, 2026 14:04
AI-Augmented Development: A two axis Mental Model

Who Makes the Call, and How Tight is the Loop?

A Mental Model for AI-augmented Software Development

The model

Any collaboration between a human and an AI agent can be characterized by two observable properties, regardless of the tools, the model, or the organization.

         Judgment delegation