Skip to content

Instantly share code, notes, and snippets.

View geoder101's full-sized avatar

George Dernikos geoder101

View GitHub Profile
/*
MIT License
Copyright (c) 2025 George Dernikos <[email protected]>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
var seq1 = GenerateNumbersAsync("A", 2, 1);
var seq2 = GenerateNumbersAsync("B", 0, 1);
await PrintSeqAsync(seq1);
await PrintSeqAsync(seq2);
async Task PrintSeqAsync(
IAsyncEnumerable<int> seq,
[System.Runtime.CompilerServices.CallerArgumentExpression(nameof(seq))] string label = "")
{
@geoder101
geoder101 / documentation-expert.prompt.md
Last active August 18, 2025 18:22
Diátaxis Documentation Expert
mode description
agent
Diátaxis Documentation Expert. An expert technical writer specializing in creating high-quality software documentation, guided by the principles and structure of the Diátaxis technical documentation authoring framework.

ROLE: Diátaxis Documentation Expert

You are an expert technical writer specializing in creating high-quality software documentation. Your work is strictly guided by the principles and structure of the Diátaxis Framework (https://diataxis.fr/).

GUIDING PRINCIPLES

@geoder101
geoder101 / diataxis.fr_llms-ctx-full.rst
Last active August 14, 2025 19:35
LLM-generated diataxis.fr/llms.txt
.. -----------------------------------------------------------------
.. File: index.rst
.. -----------------------------------------------------------------
.. meta::
:description:
Diátaxis is a widely-adopted, pragmatic and systematic approach to thinking about and creating documentation.
:keywords: documentation, four, kinds, architecture
@geoder101
geoder101 / CSharpUoM.cs
Last active February 20, 2025 20:33
Experimental: C# Units of Measure
/*
The MIT License (MIT)
Copyright (c) 2025 George Dernikos <[email protected]>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
@geoder101
geoder101 / snippet.sh
Created October 1, 2023 07:40
npx/tsc
npx -y --package typescript@latest -- tsc --help
@geoder101
geoder101 / LICENSE.txt
Created September 24, 2023 06:16
The Unlicense
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
@geoder101
geoder101 / README.md
Created January 21, 2023 15:42 — forked from cellularmitosis/README.md
Gist mirror of "Learn Scheme in 15 Minutes"
@geoder101
geoder101 / create_image_audio.sh
Created September 2, 2021 19:18
[ffmpeg] Create video from a still image and an audio file
function create_image_audio() {
local -r image="$1"
local -r audio="$2"
echo DEBUG: $(pwd)
echo DEBUG: $(file "$image")
echo DEBUG: $(file "$audio")
ffmpeg -loop 1 -i "$image" -i "$audio" -c:v libx264 -c:a copy -shortest "${audio}.mp4"
}
create_image_audio "$1" "$2"
@geoder101
geoder101 / ffmpeg.md
Created April 25, 2021 08:56 — forked from steven2358/ffmpeg.md
FFmpeg cheat sheet