Skip to content

Instantly share code, notes, and snippets.

View GeneralMine's full-sized avatar
🐧
CS Student at TUM

Marvin Raiser GeneralMine

🐧
CS Student at TUM
  • Technical University of Munich
  • Munich / Stuttgart
  • 09:28 (UTC +02:00)
View GitHub Profile
@LilithWittmann
LilithWittmann / autobahn.md
Last active January 14, 2025 12:25
autobahn.md
@BrendonKoz
BrendonKoz / leaflet-darkmode.md
Last active April 27, 2025 20:02
Automatic Dark Mode for Leaflet.js
// Leaflet JS - note the *className* attribute
// [...]

L.tileLayer('https://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png', {
    attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',
    className: 'map-tiles'
}).addTo(map);

// [...]
@lnksz
lnksz / tumcolors.md
Last active January 23, 2025 09:12
INOFFICIAL RGB and HEX color codes of TUM colors

INOFFICIAL Colors for Presentation (from 2017)

Name HEX RGB
Main colors
#0065bd TUMBlue #0065bd 0,101,189
#000000 Black #000000 0,0,0
#ffffff White #ffffff 255,255,255
Secondaries
#005293 DarkBlue #005293 0,82,147
@helo9
helo9 / xfoil.py
Last active January 4, 2025 04:24
use python to run xfoil analysis
# -*- coding: utf-8 -*-
import os
import numpy as np
import subprocess as sp
import re
def polar(afile, re, *args,**kwargs):
"""calculate airfoil polar and load results