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
PLAY [DataPacket] *******************************************************************************************************************************************************************************************************************************************
skipping: no hosts matched
PLAY [Genesis] **********************************************************************************************************************************************************************************************************************************************
TASK [Gathering Facts] **************************************************************************************************************************************************************************************************************************************
[DEPRECATION WARNING]: Distribution Ubuntu 18.04 on host rkv-4 should use /usr/bin/python3, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the disco
Stream tester version: v0.9.25-1-g560cf15
Compiler version: gc go1.14.5
Hostname spam-dj-7fd554dcdb-sf5tg OS linux IPs [[10.42.1.151 185.246.209.224]]
Production: true
I0715 19:53:46.171589 1 messenger.go:149] Starting to pull infinite stream from https://edge.playdj.tv/hls/video%2bda1efc6d-79a6-466e-9d47-bfda01698b27/index.m3u8?origin=origin-staging
I0715 19:53:46.172092 1 m3utester.go:752] Waiting for playlist https://edge.playdj.tv/hls/video%2bda1efc6d-79a6-466e-9d47-bfda01698b27/index.m3u8?origin=origin-staging
I0715 19:53:46.890289 1 m3utester.go:820] Got playlist for https://edge.playdj.tv/hls/video%2bda1efc6d-79a6-466e-9d47-bfda01698b27/index.m3u8?origin=origin-staging with 3 variants
I0715 19:53:46.890334 1 m3utester.go:843] variant URI=2_0/index.m3u8?origin=origin-staging
I0715 19:53:46.890384 1 m3utester.go:860] mediaURL=https://edge.playdj.tv/hls/video%2bda1efc6d-79a6-466e-9d47-bfda01698b27/2_0/index.m3u8?origin=origin-staging downloads=[]
I0715 19:53:46.890455 1
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: fluent-bit
namespace: default
labels:
k8s-app: fluent-bit-logging
spec:
selector:
matchLabels:
FROM python:3
RUN pip3 install speedtest-cli
ADD run.sh /run.sh
CMD /run.sh
struct { Version uint8; ASN16 uint16; HoldTime uint16; RouterID uint32; OptsLen uint8 }{Version:0x4, ASN16:0xeaa4, HoldTime:0xb4, RouterID:0xb95d01fe, OptsLen:0x1a}
{"caller":"bgp.go:66","event":"sessionUp","localASN":4211100001,"msg":"BGP session established","peer":"84.17.33.100:179","peerASN":60068,"ts":"2020-05-19T19:07:41.86562341Z"}
{"caller":"bgp.go:98","error":"write tcp 84.17.33.101:53681-\u003e84.17.33.100:179: write: broken pipe","ip":"185.93.1.179/32","localASN":4211100001,"msg":"failed to send BGP update","op":"sendUpdate","peer":"84.17.33.100:179","peerASN":60068,"ts":"2020-05-19T19:07:41.865688155Z"}
{"caller":"bgp.go:72","event":"sessionDown","localASN":4211100001,"msg":"BGP session down","peer":"84.17.33.100:179","peerASN":60068,"ts":"2020-05-19T19:07:41.865712375Z"}
struct { Version uint8; ASN16 uint16; HoldTime uint16; RouterID uint32; OptsLen uint8 }{Version:0x4, ASN16:0xeaa4, HoldTime:0xb4, RouterID:0xb95d01fe, OptsLen:0x1a}
{"caller":"bgp.go:66","event":"sessionUp","localASN":4211100001,
import { randomBytes } from 'crypto'
import anyBase from 'any-base'
const BASE_36 = 'abcdefghijklmnopqrstuvwxyz0123456789'
const SEGMENT_COUNT = 3
const SEGMENT_LENGTH = 4
const hexToBase36 = anyBase(anyBase.HEX, BASE_36)
/**
* Securely generate a stream key of a given length. Goals for stream keys: be reasonably secure
diff -u -N /var/folders/r9/0sdgn78j2msbqzk96v7mttb40000gn/T/LIVE-186358232/apps.v1.Deployment.tenant-livepeer.api /var/folders/r9/0sdgn78j2msbqzk96v7mttb40000gn/T/MERGED-275072855/apps.v1.Deployment.tenant-livepeer.api
--- /var/folders/r9/0sdgn78j2msbqzk96v7mttb40000gn/T/LIVE-186358232/apps.v1.Deployment.tenant-livepeer.api 2020-04-23 17:06:34.000000000 -0700
+++ /var/folders/r9/0sdgn78j2msbqzk96v7mttb40000gn/T/MERGED-275072855/apps.v1.Deployment.tenant-livepeer.api 2020-04-23 17:06:34.000000000 -0700
@@ -7,7 +7,7 @@
{"apiVersion":"apps/v1","kind":"Deployment","metadata":{"annotations":{"livepeer.live/service-suffix":"tenant-livepeer.svc.tenant.chi.local"},"labels":{"livepeer.live/app":"api","livepeer.live/auth-domain":"livepeer.live","livepeer.live/domain":"livepeer-ac.live","livepeer.live/region":"chi"},"name":"api","namespace":"tenant-livepeer"},"spec":{"replicas":3,"selector":{"matchLabels":{"livepeer.live/app":"api","livepeer.live/auth-domain":"livepeer.live","livepeer.live/domain":"livepeer-ac.li
@iameli
iameli / .gitignore
Last active March 13, 2020 00:16
retry test
go-livepeer
go-livepeer-old
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: oom-summoner
name: oom-summoner
spec:
replicas: 1
selector:
matchLabels:
> kubectl top pod
NAME CPU(cores) MEMORY(bytes)
api-694d8f77b4-7hmhp 10m 75Mi
api-694d8f77b4-8k62l 7m 67Mi
api-694d8f77b4-wvl78 53m 72Mi
broadcaster-bulbasaur-5cb6d64fbb-hnzrl 70m 330Mi
broadcaster-charmander-7f78bcb5f4-kv486 108m 293Mi
broadcaster-squirtle-84d7df674b-452s6 6667m 297Mi
broadcaster1-554bd5c5c7-rc2m5 1m 13Mi
external-dns-85646cb9b-5rzg9 24m 19Mi