start new:
tmux
start new with session name:
tmux new -s myname
ffprobe -v quiet -print_format json -show_format -show_streams "lolwut.mp4" > "lolwut.mp4.json" |
dhcp-script=/etc/detect_new_device.sh
Reference:
Custom format for displaying bytes as kb
, mb
, gb
or tb
.
Response to a few places on the internet: https://productforums.google.com/forum/#!topic/docs/x_T_N-yRUYg And here: https://stackoverflow.com/questions/1533811/how-can-i-format-bytes-a-cell-in-excel-as-kb-mb-gb-etc
Here is one that I have been using:
[<1000000]0.00," KB";[<1000000000]0.00,," MB";0.00,,," GB"
#!/usr/bin/env bash | |
set -o errexit | |
echo $(date):Random read | |
fio --filename=test --sync=1 --rw=randread --bs=4k --numjobs=1 \ | |
--iodepth=4 --group_reporting --name=test --filesize=10G --runtime=300 && rm test | |
echo $(date):Random write | |
fio --filename=test --sync=1 --rw=randwrite --bs=4k --numjobs=1 \ |
This guide aims to provide an updated overview on installing PostgreSQL 13 within a QNAP NAS for use as a database inside Davinci Resolve.
The previous guide(s) created by QNAP are somewhat irrelevant as Davinci Resolve, Container Station and QTS/QuTS have since undergone major upgrades.
These original guides are linked below for reference:
# This documents how you would take a Debian 12 cloud image and make a Proxmox template out of it. | |
# This script isn't really meant to be executed, but more as a reference and copy/paste for each step. | |
# Enjoy! | |
# Download the image | |
mkdir -p ~/debian-bookworm-build/original && cd ~/debian-bookworm-build/original | |
wget 'https://cloud.debian.org/images/cloud/bookworm/20240717-1811/debian-12-genericcloud-amd64-20240717-1811.qcow2' | |
cd .. |