Skip to content

Instantly share code, notes, and snippets.

View jedjohan's full-sized avatar

Johan Eriksson jedjohan

View GitHub Profile
@jedjohan
jedjohan / platform.drawio
Last active August 21, 2025 19:00
platform.drawio
<?xml version="1.0" encoding="UTF-8"?>
<mxfile host="app.diagrams.net" modified="2025-08-21T18:00:00.000Z" agent="Platform Archit <mxCell id="metadata_split" value="📄 Metadata vs Versions&#xa;Mutable Current State&#xa;Immutable History" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#FFF3E0;strokeColor=#F57C00;strokeWidth=2;fontSize=11" vertex="1" parent="1">
<mxGeometry x="870" y="850" width="170" height="60" as="geometry" />
</mxCell>
<!-- ADR Badges (Logical Diagram) -->
<mxCell id="badge_async_007" value="ADR-007" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#388E3C;fontSize=9;fontStyle=1" vertex="1" parent="1">
<mxGeometry x="890" y="820" width="60" height="18" as="geometry" />
</mxCell>
<mxCell id="badge_transform_006" value="ADR-006" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#388E3C;fontSize=9;fontStyle=1" vertex="1" parent="1">
@jedjohan
jedjohan / löpträning.cs
Last active March 26, 2023 15:54
Löprundor
// skapa lite random löprundor och lägg i en lista
using System;
using System.Collections.Generic;
using System.Linq;
var löprundor = new List<LöpRunda>
{
new LöpRunda(5, 20.3),
new LöpRunda(10, 55),
new LöpRunda(11, 69),
using System;
using System.Collections.Generic;
using System.IO;
using Microsoft.Office.Interop.Word;
class Program
{
static void Main(string[] args)
{
List<string> path = new List<string>(args);