pacmd load-module module-null-sink sink_name=rtp format=s16le channels=1 rate=16000
pacmd load-module module-rtp-send source=rtp.monitor
This sets up a multicast socket for RTP streams. When I tested this was 224.0.0.56:46136
#!/usr/bin/env bash | |
# | |
# Makefile:jeff | |
# | |
# Video encoding, subtitles conversion, etc. tasks for "Time Bomb" | |
# | |
# TODO(jeff): Swap out use of ffmpeg in favor of x264 for encoding. | |
# | |
# mp4box -add previews/mpeg2/ch4_doggy-pounding.mp2 chapter4_doggy-pounding.mp4 |
# Create mount points for decrypted sparse bundle disk image and full Apple disk image. | |
sudo mkdir /mnt/bundle /mnt/dmg | |
# Ensure loopback kernel module is loaded. | |
lsmod | grep ^loop || sudo modprobe loop | |
# Decrypt and FUSE-mount sparse bundle disk image. Trailing options help with debugging. | |
sudo sparsebundlefs <ENCRYPTED_SPARSE_BUNDLE_DISK_IMAGE> /mnt/bundle -s -f -D | |
# Note partition 2's "Start" and "Size" values. |
This service will use the same remote name you specified when using rclone config create
. If you haven't done that yet, do so now.
Next, create the mountpoint for your remote. The service uses the location ~/mnt/<remote>
by default.
mkdir ~/mnt/dropbox
Warning
|
This is unsupported and has the potential to corrupt your data. Proceed at your own risk. |
Choose an existing stable kernel branch, e.g. SCALE-v5.15-stable.
DISCLAIMER: This is an unofficial guide. If you mess things up then you may lock yourself out of TrueNAS or even worse, make it unusable. There's also no guarantee that this works in the future.
Currently the easiest way to access kubectl
is through ssh and k3s tool. If
you have ssh access enabled then you can ssh to your TrueNAS server and use it
#!/bin/bash | |
set -e -o errexit -o pipefail -o nounset | |
################################### | |
# This script can be used by itself, but it's recommended that you read | |
# a tutorial on Proxmox forum first: https://forum.proxmox.com/threads/hey-proxmox-community-lets-talk-about-resources-isolation.124256/ | |
################################### | |
# Do not modify these variables (set by Proxmox when calling the script) | |
vmId="$1" |
# Sourced from https://gist.githubusercontent.com/badp/672546/raw/4c6bc7dee6d547d8a7f002ce95c9a66363108f6e/spam.py | |
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
# Licensed under MIT license: http://www.opensource.org/licenses/mit-license.php | |
import os, subprocess, sys | |
# thanks: Martin-Éric Racine, Roger Pate | |
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=433960 | |
# http://chat.askubuntu.com/rooms/3/conversation/spam-py |
#!/bin/bash | |
set -e -o errexit -o pipefail -o nounset | |
################################### | |
# This script can be used by itself, but it's recommended that you read | |
# a tutorial on Proxmox forum first: https://forum.proxmox.com/threads/hey-proxmox-community-lets-talk-about-resources-isolation.124256/ | |
################################### | |
# Do not modify these variables (set by Proxmox when calling the script) | |
vmId="$1" |