Skip to content

Instantly share code, notes, and snippets.

@csulfrian
csulfrian / conventional-commits-cheatsheet.md
Created September 12, 2024 23:35 — forked from qoomon/conventional-commits-cheatsheet.md
Conventional Commits Cheatsheet

Conventional Commit Messages

See how a minor change to your commit message style can make a difference.

Tip

Have a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs

Commit Message Formats

Default

@csulfrian
csulfrian / gnss_regex.py
Last active February 23, 2023 07:33
Regex search patterns for finding GNSS Latitude & Longitude in a string. Includes DD, DDM, & DMS variants.
# For Decimal Degrees (DD)
dd_regex = r"""(-*\d{1,3}.\d+°*[NnSsWwEe]*)"""
# For Degrees, Decimal Minutes (DDM)
ddm_regex = r"""(\d{1,3}°*\s*\d{1,2}.\d+[`\']\s*[NnSsWwEe]*)"""
# For Degrees, Minutes, Seconds (DMS)
dms_regex = r"""(-*\d{1,3}°\s*\d{1,2}[`\']\s*\d{1,2}.*\d+[\"″][NnSsWwEe]*)"""
# test coordinates