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
+ ./configure --disable-programs --disable-doc --disable-sdl2 --disable-iconv --disable-muxers --disable-demuxers --disable-parsers --disable-protocols --disable-encoders --disable-decoders --disable-filters --disable-bsfs --disable-postproc --disable-lzma --enable-gnutls --enable-libx264 --enable-gpl --enable-nonfree --enable-protocol=https,rtmp,file --enable-muxer=mpegts,hls,segment --enable-demuxer=flv,mpegts --enable-bsf=h264_mp4toannexb,aac_adtstoasc,h264_metadata,h264_redundant_pps --enable-parser=aac,aac_latm,h264 --enable-filter=abuffer,buffer,abuffersink,buffersink,afifo,fifo,aformat --enable-filter=aresample,asetnsamples,fps,scale --enable-encoder=aac,libx264 --enable-decoder=aac,h264 --extra-cflags=-I/root/compiled/include '--extra-ldflags=-L/root/compiled/lib ' --prefix=/root/compiled --enable-cuda --enable-cuvid --enable-nvenc --enable-filter=scale_cuda --enable-encoder=h264_nvenc --enable-cuda-nvcc
install prefix /root/compiled
source path .
C compiler gcc
Nov 18 17:27:39.983 INFO Graph Node version: v0.16.1 (0c790a78a 2019-11-13)
Nov 18 17:27:39.983 INFO Starting up
Nov 18 17:27:39.983 INFO Trying IPFS node at: http://ipfs.default.svc.cluster.local/
Nov 18 17:27:39.991 INFO Creating transport, url: http://parity-archive.default.svc.cluster.local, network: mainnet
Nov 18 17:27:39.999 INFO Successfully connected to IPFS node at: http://ipfs.default.svc.cluster.local/
Nov 18 17:27:40.001 INFO Connecting to Postgres, conn_pool_size: 10, url: postgresql://postgres%40mcw-subgraph:HIDDEN_PASSWORD@mcw-subgraph.postgres.database.azure.com:5432/subgraph
Nov 18 17:27:42.078 INFO Connected to Postgres, url: postgresql://postgres%40mcw-subgraph:HIDDEN_PASSWORD@mcw-subgraph.postgres.database.azure.com:5432/subgraph, component: Store
Nov 18 17:27:42.078 INFO Connecting to Ethereum..., network: mainnet
Nov 18 17:27:42.085 INFO Connected to Ethereum, network_version: 1, network: mainnet
Nov 18 17:27:42.093 INFO Waiting for other graph-node instances to finish migrating, compon
@iameli
iameli / app.js
Last active May 28, 2024 16:03
polyfill for running express app from a cloudflare worker
import express from "./express-poly";
import Router from "express/lib/router";
import cardcoreApp from "@cardcore/server/dist/router";
import creds from "./azure-sql.json";
import CosmosDB from "./cosmosdb";
import slackNotify from "./slack-notify";
import { v4 as uuid } from "uuid";
import { version } from "../version.json";
import pkg from "../package.json";
import stringify from "json-stable-stringify";
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
livepeer.live/service-suffix: tenant-livepeer.svc.tenant.chi.local
labels:
livepeer.live/app: broadcaster
livepeer.live/auth-domain: livepeer.live
livepeer.live/domain: livepeer-ac.live
livepeer.live/region: chi
{
"id": "f88865cc-5cd4-4030-b7e3-b612c73717d4",
"kind": "stream",
"name": "camcast",
"wowza": {
"sourceInfo": {
"fps": 25,
"width": 1920,
"height": 1080
},
profiles:
- fps: 25
width: 1280
height: 720
bitrate: 2200
- fps: 25
width: 852
height: 480
bitrate: 1222
- fps: 25
example-data
I0203 18:28:57.120111 7 livepeer.go:205] ***Livepeer is running on the offchain network***
I0203 18:28:57.120847 7 db.go:316] Initialized DB node
I0203 18:28:57.120892 7 census.go:217] Compiler: gc Arch amd64 OS linux Go version go1.13.4
I0203 18:28:57.120900 7 census.go:218] Livepeer version: 0.5.3-685a797b
I0203 18:28:57.120908 7 census.go:219] Node type orch node ID orchestrator-1080-55b4b4794-gnrtk
I0203 18:28:57.121156 7 livepeer.go:296] ***Livepeer is in off-chain mode***
I0203 18:28:57.121259 7 livepeer.go:773] ***Livepeer Running in Orchestrator Mode***
I0203 18:28:57.121308 7 mediaserver.go:142] Transcode Job Type: [{P240p30fps16x9 600k 30 426x240 16:9} {P360p30fps16x9 1200k 30 640x360 16:9}]
I0203 18:28:57.121383 7 webserver.go:68] CLI server listening on 0.0.0.0:7935
I0203 18:28:57.121398 7 cert.go:83] Private key and cert not found. Generating
@iameli
iameli / example.js
Last active February 9, 2020 01:33
function getData(id) {
if (cachedData[id]) {
return cachedData[id];
}
return fetch(`https://example.com/${id}`);
}
I0214 23:13:53.775981 1 livepeer.go:205] ***Livepeer is running on the offchain network***
I0214 23:13:53.776834 1 db.go:316] Initialized DB node
I0214 23:13:53.776905 1 census.go:217] Compiler: gc Arch amd64 OS linux Go version go1.13.4
I0214 23:13:53.776916 1 census.go:218] Livepeer version: 0.5.4-d3085b61
I0214 23:13:53.776925 1 census.go:219] Node type orch node ID orchestrator-1070-dualcore-5ff5866499-85tpr
I0214 23:13:53.777216 1 livepeer.go:297] ***Livepeer is in off-chain mode***
I0214 23:13:53.777298 1 livepeer.go:774] ***Livepeer Running in Orchestrator Mode***
I0214 23:13:53.777612 1 webserver.go:68] CLI server listening on 0.0.0.0:7935
I0214 23:13:53.778241 1 mediaserver.go:142] Transcode Job Type: [{P240p30fps16x9 600k 30 426x240 16:9} {P360p30fps16x9 1200k 30 640x360 16:9}]
I0214 23:13:53.778499 1 cert.go:83] Private key and cert not found. Generating