Skip to content

Instantly share code, notes, and snippets.

View LambdaDigamma's full-sized avatar
👨‍💻
Working on cool stuff

Lennart Fischer LambdaDigamma

👨‍💻
Working on cool stuff
View GitHub Profile
@php
$url = "https://www.instagram.com/p/$instagramId";
@endphp
<blockquote
class="instagram-media"
data-instgrm-captioned
data-instgrm-permalink="{{ $url }}"
data-instgrm-version="14"
style=" background:#FFF; border:0; border-radius:3px; box-shadow:0 0 1px 0 rgba(0,0,0,0.5),0 1px 10px 0 rgba(0,0,0,0.15); margin: 1px; max-width:540px; min-width:326px; padding:0; width:99.375%; width:-webkit-calc(100% - 2px); width:calc(100% - 2px);">
@LambdaDigamma
LambdaDigamma / config.yml
Created April 5, 2025 19:13
Openslides Docker Configuration
---
# Name of the generated YAML file.
filename: docker-compose.yml
# The OpenSlides proxy service listens on this address.
host: 0.0.0.0
port: 443
# General global options
disablePostgres: false
@LambdaDigamma
LambdaDigamma / map-example.html
Created December 29, 2022 12:49
Map example
<mgl-map
[style]="'mapbox://styles/lambdadigamma/clc8wtclu000d14p603d2697a'"
[zoom]="[0.5]"
>
<mgl-marker [lngLat]="[-77.036873, 38.907192]">
<div class="w-4 h-4 bg-black rounded-full border-white border-2"></div>
</mgl-marker>
<mgl-marker [lngLat]="[-122.419418, 37.774929]">
<div class="w-4 h-4 bg-black rounded-full border-white border-2"></div>
</mgl-marker>
public enum TransportType: Int, Codable, CaseIterable {
/**
This is the german 'Zug'.
*/
case train = 0
/**
This is the german 'S-Bahn'.
*/