This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
export DIR=$(mktemp -d) | |
cd $DIR | |
git init | |
git config commit.gpgsign false | |
git config user.name Someone | |
git config user.email [email protected] | |
export GIT_AUTHOR_DATE="2000-01-01T12:34:56" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import ipaddress | |
import datetime | |
from confluent_kafka import Consumer | |
from ssl import get_default_verify_paths | |
# The following needs to be available in PYTHONPATH | |
# https://github.com/bwNetFlow/protobuf | |
import flow_messages_enriched_pb2 as api |