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
  • Fraunhofer IAO, Code+Design Initiative
  • Stuttgart/Munich
  • 05:34 (UTC +01:00)
View GitHub Profile
@LilithWittmann
LilithWittmann / autobahn.md
Last active October 26, 2023 12:11
autobahn.md
@BrendonKoz
BrendonKoz / leaflet-darkmode.md
Last active September 25, 2024 19:25
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 October 27, 2024 19:26
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 October 18, 2024 16:19
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