Overview
https://hometheatrelife.com/best-dlna-media-server-software-streaming-media/
- Jellyfin + FOSS,
- GeeXboX uShare UPnP Media Server
MediaTomb>> Gerbera
Overview
https://hometheatrelife.com/best-dlna-media-server-software-streaming-media/
################################################################################ | |
# sox cheat sheet | |
################################################################################ | |
# Example commands for the sox command-line audio processing tool, | |
# for manipulating or batch processing audio files. | |
################################################################################ | |
# Daniel Jones <[email protected]> | |
################################################################################ | |
################################################################################ |
1.Add “aufs” or “overlay” (or both) to /etc/modules-load.d/modules.conf in your PVE host and reboot. Check it with lsmod | grep -E 'overlay|aufs' | |
2.Use a LXC image with unprivilege features (you can check them here: https://uk.images.linuxcontainers.org/) | |
3.Create the container with unprivilege option, and “keyctl=1, nesting=1” features (Options section in proxmox). | |
4.Maybe you would want to mount an external point into /var/lib/docker (Resources section in proxmox) | |
5.Check this link (https://docs.docker.com/storage/storagedriver/overlayfs-driver/#configure-docker-with-the-overlay-or-overlay2-storage-driver) to change your storage-driver in docker to use aufs or overlay2. | |
6.Install portainer: https://portainer.readthedocs.io/en/latest/deployment.html | |
Voilá… |
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] | |
[ 0.000000] Linux version 5.1.0-rc6 (ubuntu@nanopi-m4) (gcc version 7.4.0 (Ubuntu/Linaro 7.4.0-1ubuntu1~18.04)) #1 SMP PREEMPT Sun Apr 21 22:58:24 UTC 2019 | |
[ 0.000000] Machine model: FriendlyElec NanoPi M4 | |
[ 0.000000] efi: Getting EFI parameters from FDT: | |
[ 0.000000] efi: UEFI not found. | |
[ 0.000000] cma: Reserved 32 MiB at 0x000000007e000000 | |
[ 0.000000] NUMA: No NUMA configuration found | |
[ 0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x000000007fffffff] | |
[ 0.000000] NUMA: NODE_DATA [mem 0x7da92840-0x7da93fff] | |
[ 0.000000] Zone ranges: |
(* | |
HX-2019-03-26-2: | |
The original code is available at | |
https://gist.github.com/ashalkhakov/c3577e97b20020fde31f84447fd1e056 | |
I turned runCommand into a polymorphic function and | |
also made Command a linear datatype (i.e., dataviewtype) | |
AS-2019-03-26: |
(defn heredoc [] | |
(let [delim (.readLine *in*)] | |
(->> (repeatedly #(.readLine *in*)) | |
(take-while #(not= delim %)) | |
(interpose \newline) | |
(apply str)))) | |
; The following lines are read (by the reader) as: | |
; "Look )(\"\\T\na here doc!\n" | |
#=(heredoc)""" |
#!/bin/bash | |
# This script is based on https://unix.stackexchange.com/revisions/480191/9 . | |
# The following changes proved to be necessary to make it work on CentOS 7: | |
# * removed disk info (model, size) - not very useful, might not work in many cases. | |
# * using "bw" instead of "bw_bytes" to support fio version 3.1 (those availible through yum @base) | |
# * escaping exclamation mark in sed command | |
# * the ".fiomark.txt" is not auto-removed | |
LOOPS=5 #How many times to run each test |
#!/bin/bash | |
# This assumes that the ~6GB mojave installer is in the /Applications folder. | |
# If it's not, just open the App Store, search Mojave, and you can download the installer file from there. | |
hdiutil create -o /tmp/mojave.cdr -size 6g -layout SPUD -fs HFS+J | |
hdiutil attach /tmp/mojave.cdr.dmg -noverify -mountpoint /Volumes/install_mojave | |
sudo /Applications/Install\ macOS\ mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/install_mojave | |
mv /tmp/mojave.cdr.dmg ~/Desktop/InstallSystem.dmg | |
hdiutil detach /Volumes/Install\ macOS\ mojave |
# This server demo does a socket hijack in Rack and then saves the socket to a global variable | |
# to prevent it from being GCed when the Puma thread ends. It will then write "BEEP" to each | |
# socket every ten seconds to prevent the connection timing out. During testing, it easily | |
# handled up to 65523 connections, after which it ran into the `ulimit` for open file descriptors. | |
# The bit with the waiting area is there because a normal `Set` is not thread safe and it would | |
# drop socket due to race conditions. The `Queue` is thread safe and will make sure all sockets | |
# are preserved. | |
# run with `rackup -q -p 8000 -o 0.0.0.0 c10k.ru` | |
# testing: install `ab` and then run `ab -c 20000 -n 20000 <ip adress of server>:8000/ |