Skip to content

Instantly share code, notes, and snippets.

from datetime import datetime
from os.path import exists
from pydriller import Repository, ModificationType
from git import Repo
from airflow.models import DAG
from airflow.operators.python import get_current_context
from airflow.exceptions import AirflowSkipException
from astro import sql as aql
@rossturk
rossturk / gist:1223ae5d57fbcbb4bc32da0d49137ef2
Last active April 22, 2022 07:11
Replace GA tags with Matomo
#!/usr/bin/env python
# SPDX-License-Identifier: Apache-2.0
#
# Algorithm borrowed from https://github.com/merobi-hub/SPDXUpdater
import sys
import os
import re

Keybase proof

I hereby claim:

  • I am rossturk on github.
  • I am rossturk (https://keybase.io/rossturk) on keybase.
  • I have a public key whose fingerprint is FB1D 1BE9 67A8 5DED B0F5 9AD3 319C 0EE9 5EF9 087B

To claim this, I am signing this object: