Skip to content

Instantly share code, notes, and snippets.

View serge-gaia's full-sized avatar

Serge Le Breton serge-gaia

  • Gaia Resources
  • Australia
View GitHub Profile
@staltz
staltz / introrx.md
Last active November 14, 2024 11:27
The introduction to Reactive Programming you've been missing
@jams2
jams2 / libgeos.py
Created December 2, 2019 14:53
Fixing Django/GEOS compatibility
"""The version regex in django/contrib/gis/geos/libgeos.py fails on
the latest homebrew geos install at time of writing, with message:
django.contrib.gis.geos.error.GEOSException: Could not parse version info string "3.8.0-CAPI-1.13.1 "
The trailing whitespace is the culprit. Add a r'\s?$' to the end of the pattern.
"""
version_regex = re.compile(