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
| #include <iostream> | |
| #include <random> | |
| #include <vector> | |
| #include <chrono> | |
| #include <functional> | |
| #include <algorithm> | |
| #include <cassert> | |
| using namespace std; | |
| using namespace chrono; |
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
| import re | |
| import json | |
| import datetime | |
| import argparse | |
| import requests | |
| def log(msg): | |
| print(f"[{datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')}] {msg}") | |
| def get_traffic(repo, auth, all): |