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
  • 01:14 (UTC +02:00)
View GitHub Profile
@LilithWittmann
LilithWittmann / autobahn.md
Last active October 26, 2023 12:11
autobahn.md
@BrendonKoz
BrendonKoz / leaflet-darkmode.md
Last active June 4, 2024 03:20
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 July 25, 2024 11:52
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 November 26, 2023 02:53
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