Skip to content

Instantly share code, notes, and snippets.

View AKAMEDIASYSTEM's full-sized avatar

AKA AKAMEDIASYSTEM

View GitHub Profile
@dacioromero
dacioromero / gopro.py
Created March 25, 2021 06:07
Script to stitch together GoPro recordings with FFmpeg
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]
@pnc
pnc / network-chaos.rb
Created October 15, 2021 16:06
Simulate network chaos on macOS
# 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
@hraftery
hraftery / gateway-pi.md
Last active October 26, 2023 21:08
Gateway-Pi : connecting a HiLink cellular dongle to a Billion router

The Job

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]

The Why