Install tart to get a ubuntu VM with nested vert.
brew install cirruslabs/cli/tart
tart clone ghcr.io/cirruslabs/ubuntu:latest ubuntu
tart run ubuntu --nestedSSH in
| import json | |
| import traceback | |
| from mitmproxy import ctx, http | |
| def response(flow: http.HTTPFlow) -> None: | |
| assert flow.response is not None | |
| assert flow.response.content is not None | |
| if (flow.request.method, flow.request.host) != ("POST", "gql-fed.reddit.com"): | |
| return |
Install tart to get a ubuntu VM with nested vert.
brew install cirruslabs/cli/tart
tart clone ghcr.io/cirruslabs/ubuntu:latest ubuntu
tart run ubuntu --nestedSSH in
| // ============================================================================= | |
| // diagnostics.zig: Generic union(enum) Diagnostics error | |
| // payloads library | |
| // | |
| // MIT LICENSE (C) 2026 Shane Creighton-Young | |
| // | |
| // Project Link: https://gist.github.com/srcreigh/1d05f1e74150e9c50938c1b6e7bcdff6 | |
| // | |
| // HOW TO USE | |
| // - Read the article https://srcreigh.ca/posts/error-payloads-in-zig/ |