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
streamserver@streamserver1:~$ cat .config/pipewire/pipewire.conf.d/custom.conf | |
# | |
# Sources | |
# | |
context.modules = [ | |
{ | |
name = libpipewire-module-roc-source | |
args = { | |
local.ip = 0.0.0.0 | |
resampler.profile = low |
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
{ | |
"nodes": [ | |
{ | |
"version": "4.15.0-0.okd-2024-03-10-010116", | |
"payload": "registry.ci.openshift.org/origin/release@sha256:46b462be1e4c15ce5ab5fba97e713e8824bbb9f614ac5abe1be41fda916920cc" | |
}, | |
{ | |
"version": "4.16.0-0.okd-scos-2024-08-21-155613", | |
"payload": "registry.ci.openshift.org/origin/release-scos@sha256:da2090348121bf291bbcdc3293099154dae3e827bfec000e816456a8acaa3bf7" | |
} |
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
Current System Time: Fri Jul 12 21:31:28 2024 | |
Ethernet32/1 | |
Current State Changes Last Change | |
------------- ------- ----------- | |
Interface state down 3 2:17:44 ago | |
Transceiver 100GBASE-CWDM4 20 0:22:44 ago | |
Transceiver SN CRCL20190NDXP | |
MAC Rx Local Fault true 29 0:23:03 ago | |
MAC Rx Remote Fault false 30 0:23:03 ago | |
BCM56960-TSCF line |
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 paho.mqtt.client as mqtt | |
from time import sleep | |
import json | |
import random | |
DEVICES_TOPIC = 'zigbee2mqtt/bridge/devices' | |
lamps = [] | |
action = "" |
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
kvm03 ~ # ovn-nbctl --no-leader show srvlab-mgt | |
switch e967808f-71b3-4681-a1c8-dc6661f56a41 (srvlab-mgt) | |
port 3402dfd3-8512-4b94-9ab8-28d920acbf88 | |
addresses: ["52:54:00:44:d0:de dynamic"] | |
port b4b92f7a-26cb-44b5-9ba9-05527f2518bb | |
addresses: ["52:54:00:28:8b:ca dynamic"] | |
kvm03 ~ # ovn-nbctl --no-leader show srvlab-headscale | |
switch 8173cf96-f515-49ef-865a-385fcba4ab3b (srvlab-headscale) | |
port b90ab7d4-c919-4831-973f-473b5ee1e5e4 |
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
_execute_multiple_choice() { | |
local cmd | |
local prefix | |
local choices | |
if [[ "$#" -eq "2" ]]; then | |
cmd="$1" | |
prefix="" | |
choices="$2" | |
elif [[ "$#" -eq "3" ]]; then |
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
12:03:33.758 [inf] roc_pipeline: receiver: removing session | |
12:03:33.931 [inf] roc_pipeline: receiver: creating session: src_addr=10.1.0.111:34407 dst_addr=0.0.0.0:12001 | |
12:03:33.931 [dbg] roc_packet: delayed reader: initializing: delay=2205 | |
12:03:33.931 [dbg] roc_fec: of decoder: initializing: codec=rs m=8 | |
12:03:33.931 [dbg] roc_audio: depacketizer: initializing: n_channels=2 | |
12:03:33.931 [dbg] roc_audio: watchdog: initializing: max_blank_duration=96000 max_drops_duration=96000 drop_detection_window=14400 | |
12:03:33.935 [dbg] roc_audio: resampler: initializing: window_interp=128 window_size=32 frame_size=640 channels_num=2 | |
12:03:33.935 [dbg] roc_audio: latency monitor: initializing: target_latency=2205 in_rate=44100 out_rate=48000 | |
12:03:33.935 [dbg] roc_packet: router: detected new stream: source=1983058060 flags=0x8u | |
12:03:33.935 [dbg] roc_audio: depacketizer: ts=320 loss_ratio=0.00000 |
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
I 0286:02:30:56.67 00077 ports: port 22 in Trk2 is now off-line | |
I 0286:02:31:00.88 00435 ports: port 22 is Blocked by LACP | |
I 0286:02:31:01.56 00435 ports: port 22 is Blocked by STP | |
I 0286:02:31:01.56 00076 ports: port 22 in Trk2 is now on-line | |
I 0287:13:18:47.64 00077 ports: port 22 in Trk2 is now off-line | |
I 0288:00:41:57.28 00435 ports: port 22 is Blocked by LACP | |
I 0288:00:41:57.30 00435 ports: port 22 is Blocked by STP | |
I 0288:00:41:57.30 00076 ports: port 22 in Trk2 is now on-line |
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
#!/usr/bin/env bash | |
source venv/bin/activate | |
echo "Starting to save ROC" | |
gst-launch-1.0 alsasrc ! audio/x-raw,channels=2,rate=48000 ! audioconvert ! audioconvert ! queue min-threshold-bytes=96000 max-size-bytes=192000 ! opusenc bitrate=128000 inband-fec=true frame-size=20 ! oggmux max-delay=100 ! filesink location=roc.opus >/dev/null & | |
gstpid="$!" | |
sleep 30 |
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
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: helloworld | |
spec: {} |
NewerOlder