Skip to content

Instantly share code, notes, and snippets.

View endafarrell's full-sized avatar

Enda Farrell endafarrell

View GitHub Profile
@endafarrell
endafarrell / icu.py
Created June 7, 2020 18:12
Fix for pyicu's `AttributeError: 'module' object has no attribute 'Locale'`: overwrite the contents of `/usr/local/lib/python2.7/dist-packages/parsedatetime//pdt_locales/icu.py` with this
# -*- encoding: utf-8 -*-
"""
pdt_locales
All of the included locale classes shipped with pdt.
"""
import datetime
try:
@endafarrell
endafarrell / .block
Last active April 8, 2017 16:48
A simple walk-though of building sliced concentric arcs using d3.v4.
license: cc-by-4.0