Skip to content

Instantly share code, notes, and snippets.

View mhuisi's full-sized avatar

Marc Huisinga mhuisi

  • Lean FRO
  • Munich, Germany
View GitHub Profile
@mhuisi
mhuisi / swt1.txt
Last active August 1, 2017 13:06
Überblick Softwaretechnik I (KIT)
Versionskontrolle:
- Produkt: Ergebnis eines Herstellungsprozesses
- Produktlinie: Menge verwandter Produkte
- Software-Element:
- Bestandteil von Produkt/Produktlinie
- Eindeutig identifiziertbar durch systemweiten Bezeichner
- Änderung am Software-Element resultiert in Bezeichner-Änderung
- Arten:
- Quellelement: Manuell generiert
- Abgeleitetes Element: Automatisch generiert
@mhuisi
mhuisi / parse_gpgga.py
Created April 29, 2015 20:12
Function to parse a GPGGA string, extracting latitude, longitude and altitude.
from collections import namedtuple
GPS = namedtuple("GPS", ["latitude", "longitude", "altitude"])
__CARDINALS = {"N": 1, "S": -1, "E": 1, "W": -1}
def __parse_geo_location(geo_location, degree_digits, cardinal):
"""
Parses a geographic location into degrees,
geo_location being the location to parse,