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 -S uv --quiet run --script | |
# /// script | |
# requires-python = ">=3.8" | |
# dependencies = ["pandas"] | |
# /// | |
import pandas as pd | |
import json | |
from pathlib import Path | |
def process_log(filename): |
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 python | |
# | |
# Watch the macOS logging system for certain AnyConnect-related events | |
# | |
# EddyG | |
# June 2021 | |
# Createa a venv to run this: | |
# | |
# python3 -m venv aclogwatch (only required once) |