Skip to content

Instantly share code, notes, and snippets.

View shellixa's full-sized avatar

Marius Henker shellixa

View GitHub Profile
@shellixa
shellixa / footnotes.typ
Created September 21, 2025 11:00
Comma separated footnotes in typst
#let footnotes(note, ..additional-notes, separator: [,~]) = {
footnote(note)
for note in additional-notes.pos() {
super(separator)
footnote(note)
}
}
@shellixa
shellixa / main.py
Last active June 7, 2025 20:58
CarSim normal distribution
import numpy as np
import matplotlib.pyplot as plt
import random
random.seed()
def get_parking_duration():
durations = [15, 20, 30, 35, 40, 45, 55, 60, 120, 180]
# return 60
return durations[random.randint(0, len(durations)-1)]
def n_dist(x, mu, sigma):
@shellixa
shellixa / schema.json
Created October 28, 2024 14:09
authentik blueprint schema
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://goauthentik.io/blueprints/schema.json",
"type": "object",
"title": "authentik 2024.8.3 Blueprint schema",
"required": [
"version",
"entries"
],
"properties": {