flowchart LR
a[Cellular Dongle<br />Huawei E3372h-608] --> |USB| b[Raspberry Pi]
b-->|Ethernet| c[Billion Router<br />BiPAC 7800NXL]
c-->|Ethernet/WiFi| d[Home Broadband]
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 glob | |
from collections import defaultdict | |
import subprocess | |
from os import path | |
def main(dest = ''): | |
recordings = defaultdict(list) | |
for file in glob.glob(f'GH{"[0-9]" * 6}.MP4'): | |
chapter = file[2:4] |
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
# Simulate a fairly realistic "bad network" (e.g. bufferbloat, | |
# flaky Wi-Fi, LTE from a brick building) to help find bugs | |
# in code that never expects network responses to arrive out of order. | |
# Run with `sudo ruby network-chaos.rb` and stop with control-C. | |
# Test with: | |
# | |
# $ ping 1.1.1.1 | |
# PING 1.1.1.1 (1.1.1.1): 56 data bytes | |
# Request timeout for icmp_seq 0 |
OlderNewer