Skip to content

Instantly share code, notes, and snippets.

View iameli's full-sized avatar
💭
Beep boop

Eli Mallon iameli

💭
Beep boop
View GitHub Profile
==================================
RS256 - generateKeyPairSync("rsa", {"modulusLength":4096})
==================================
"Web-standard" variation (1734 bytes):
eyJhbGciOiJSUzI1NiIsImp3ayI6eyJrdHkiOiJSU0EiLCJuIjoidjh6MnFIRGRneFpBUVNIekx6OFJjZEtsOUl0WWgxWlktZVQ5VUJXMno2M0pkNkZDTG5UT3RqSTFmZ2RKQjh1bWhnRHlSNktrV1FOUkItcXBKNWFMRjlTSUNEU3d5U1h2TTNKV3ViLVk5VlFlRlRIVFRrOThHUDltUTVtQmttc0o3ZUphWUExODRGWm1RSWZVSkl2M0JGQjVNamdTcGp4bjJnTEVhZDl0Zk1rZWVxQ05OQm83WThxM01STWViLXFPMjJCbUJOT2dEWFkwTUZoYlpkRDVxeHd2OFJCMGZXZEZsSVBFTUpMMEFjZnc0OThOYVphUnllWnM5THJ6cWJKbkRhWktLYWJVNFFSdjRZVDlsRmdoQmY4VkhGTkp6UVR2YkZyYUEwaWJoLUtxc2hMc3JXc2ZUVEZVZjJ3TUpvN1dGZVUwS3VUWlVsZkd6VTFhai1GdUxrS3NYMW03cThxZWl1ZVpUMmk4LWg5Vy1NaWJWVTRrc3BHMnJwZkllMHA5alk3NzJidW03S29kc05BTU80azVWOWlQMEVZbTVmS3NidzlxOGtXYUYyZlRucGVrM0xXb2R1dXhuNVhvc015SnRETzRFRGxDS1BvZzhmdDZYa0RnUFNEcUV4dzZIenAzcWdHaFRFbU1TWkJwWWtScGVhbE9YcFQwOVZwTFpJUjJ1RmZPc0JEckxYc2U1V1lSR2VPWFdaaXl4YVhXR0FCSW1Cbjdaa0NlSDQ5LS1tUWtnc3h0UWZEbmU1WVZVUVBiNWt4bkRDRHlPZGkycllOVGU5Y0RfSHJzaz
@iameli
iameli / stuff.txt
Last active September 12, 2022 14:17
I0912 11:30:10.243842 1 m3utester2.go:1066] Downloading segment seqNo=85 url=https://lon-prod-catalyst-0.lp-playback.studio/hls/video+79c1tfwflqh9kfaz/2_1/chunk_196934.ts?msn=85&mTrack=0&dur=2000&sid=2737868673 try=0
I0912 11:30:10.244167 1 m3utester2.go:1124] Download https://lon-prod-catalyst-0.lp-playback.studio/hls/video+79c1tfwflqh9kfaz/3_1/chunk_196934.ts?msn=85&mTrack=0&dur=2000&sid=2737868673 result: 200 OK len 517940 timeStart 3m16.934s segment duration 1.999s took=213.22195ms
I0912 11:30:10.244201 1 m3utester2.go:816] 3_1/index.m3u8?mTrack=0&iMsn=79&sessId=2737868673 seqNo 85 name=chunk_196934.ts?msn=85&mTrack=0&dur=2000&sid=2737868673 latency is 5.461208619s speedRatio is 2.731970294647324
I0912 11:30:10.244274 1 m3utester2.go:1066] Downloading segment seqNo=85 url=https://lon-prod-catalyst-0.lp-playback.studio/hls/video+79c1tfwflqh9kfaz/0_1/chunk_196934.ts?msn=85&mTrack=0&dur=2000&sid=2737868673 try=0
I0912 11:30:10.244305 1 m3utester2.go:1066] Downloading segment s
// To execute Go code, please declare a func main() in a package "main"
package main
import (
"fmt"
"math/rand"
"time"
)
FROM ubuntu:20.04
RUN apt update
RUN DEBIAN_FRONTEND=noninteractive apt install -y cmake build-essential git
RUN git clone -b dtls_srtp_support --depth=1 https://github.com/livepeer/mbedtls.git /build/mbedtls \
&& cd /build/mbedtls \
&& mkdir build \
&& cd build \
&& cmake .. \
This file has been truncated, but you can view the full file.
# HELP go_gc_duration_seconds A summary of the pause duration of garbage collection cycles.
# TYPE go_gc_duration_seconds summary
go_gc_duration_seconds{quantile="0"} 0.000115071
go_gc_duration_seconds{quantile="0.25"} 0.000177301
go_gc_duration_seconds{quantile="0.5"} 0.000279508
go_gc_duration_seconds{quantile="0.75"} 0.000507681
go_gc_duration_seconds{quantile="1"} 0.016513284
go_gc_duration_seconds_sum 1.9076242890000001
go_gc_duration_seconds_count 6868
# HELP go_goroutines Number of goroutines that currently exist.
This file has been truncated, but you can view the full file.
livepeer-ci: file format mach-o arm64
SYMBOL TABLE:
0000000004004000 l F __TEXT,__text _runtime.text
0000000004004000 l F __TEXT,__text _go.buildid
0000000004004070 l F __TEXT,__text _internal/cpu.Initialize
00000000040040c0 l F __TEXT,__text _internal/cpu.processOptions
0000000004004700 l F __TEXT,__text _internal/cpu.indexByte
0000000004004750 l F __TEXT,__text _internal/cpu.doinit
livepeer-local: file format mach-o arm64
Mach header
magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
MH_MAGIC_64 ARM64 ALL 0x00 EXECUTE 27 4576 NOUNDEFS DYLDLINK TWOLEVEL PIE
Load command 0
cmd LC_SEGMENT_64
cmdsize 72
segname __PAGEZERO
livepeer-ci: file format mach-o arm64
Mach header
magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
MH_MAGIC_64 ARM64 ALL 0x00 EXECUTE 25 3232 NOUNDEFS DYLDLINK TWOLEVEL PIE
Load command 0
cmd LC_SEGMENT_64
cmdsize 72
segname __PAGEZERO
This file has been truncated, but you can view the full file.
474b-prominent-turkey
f134-living-caterpillar
a347-visiting-tristan da cunha
7fba-yammering-antarctica
c1a5-unaware-seahorse
a202-physical-gambia
0c35-fiscal-tortoise
fa26-labour-horse
bc97-passive-sawfish
6fe8-giant-tapir
@iameli
iameli / gist:c2821e31215de37f5e687bda52206810
Created July 8, 2021 19:34
very slow segment transcoding
I0708 19:30:28.104708 1 mediaserver.go:766] Got push request at url=http://lax.livepeer.monster/live/REDACTED/5.ts ua=curl/7.64.1 addr=10.42.2.11:57448 bytes=4338100 dur=8333 resolution=
I0708 19:30:28.567497 1 mediaserver.go:361] Stream authentication for url=http://lax.livepeer.monster/live/REDACTED/5.ts dur=462.536095ms
I0708 19:30:28.567782 1 broadcast.go:200] Starting session refresh manifestID=REDACTED
I0708 19:30:28.567879 1 rpc.go:234] Connecting RPC to https://sin-staging-livepeer-orchestrator-0.livepeer.monster:443
I0708 19:30:28.567911 1 rpc.go:234] Connecting RPC to https://tpa-staging-livepeer-orchestrator-0.livepeer.monster:443
I0708 19:30:28.567953 1 rpc.go:234] Connecting RPC to https://rkv-staging-livepeer-orchestrator-0.livepeer.monster:443
I0708 19:30:28.568002 1 rpc.go:234] Connecting RPC to https://fra-staging-livepeer-orchestrator-0.livepeer.monster:443
I0708 19:30:28.568049 1 rpc.go:234] Connecting RPC to https://ord-staging-livepeer-orche