| tags |
|---|
remux |
List mkv tracks
mkvmerge -i <videofile>
| # rclone mount command with optimal settings for Plex on Gdrive using VFS. | |
| rclone mount gcrypt: ~/mnt/gdrive --allow-other --allow-non-empty --cache-db-purge --buffer-size 128M --use-mmap --dir-cache-time 72h --drive-chunk-size 256M --timeout 1h --vfs-cache-mode writes --vfs-read-chunk-size 128M --vfs-read-chunk-size-limit 1G --no-modtime |
| #!/bin/bash | |
| # Hardware test on Solidrun Hummingboard Pulse. | |
| #usage: hwtest [log] | |
| # -------------------------------------------------------------------------------- | |
| black=$(tput setaf 0); red=$(tput setaf 1); green=$(tput setaf 2); yellow=$(tput setaf 3); | |
| blue=$(tput setaf 4); magenta=$(tput setaf 5); cyan=$(tput setaf 6); white=$(tput setaf 7); | |
| on_red=$(tput setab 1); on_green=$(tput setab 2); on_yellow=$(tput setab 3); on_blue=$(tput setab 4); | |
| on_magenta=$(tput setab 5); on_cyan=$(tput setab 6); on_white=$(tput setab 7); bold=$(tput bold); | |
| dim=$(tput dim); underline=$(tput smul); reset_underline=$(tput rmul); standout=$(tput smso); | |
| reset_standout=$(tput rmso); normal=$(tput sgr0); alert=${white}${on_red}; title=${standout}; |
| apiVersion: monitoring.coreos.com/v1 | |
| kind: PrometheusRule | |
| metadata: | |
| labels: | |
| app.kubernetes.io/component: exporter | |
| app.kubernetes.io/name: kube-prometheus | |
| app.kubernetes.io/part-of: kube-prometheus | |
| prometheus: k8s | |
| role: alert-rules | |
| name: kubernetes-rules |
| #!/bin/bash | |
| # General Config | |
| SSH_PORT=1022 | |
| TIMEZONE="America/New_York" # run timedatectl list-timezones | egrep -o "Asia/B.*" to get the list | |
| # File system tools | |
| sudo apt install lvm2 | |
| # Networking tools | |
| sudo apt install vnstat bwm-ng -y |
| import os | |
| import json | |
| import time | |
| import glob | |
| import psutil | |
| import logging | |
| import subprocess | |
| import configparser | |
| import filelock |
| apiVersion: monitoring.coreos.com/v1 | |
| kind: PrometheusRule | |
| metadata: | |
| labels: | |
| app.kubernetes.io/name: kube-prometheus | |
| app.kubernetes.io/part-of: kube-prometheus | |
| prometheus: k8s | |
| role: alert-rules | |
| name: kubernetes-monitoring-rules | |
| namespace: monitoring |
| # ~/.bashrc: executed by bash(1) for non-login shells. | |
| # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
| # for examples | |
| # If not running interactively, don't do anything | |
| case $- in | |
| *i*) ;; | |
| *) return;; | |
| esac |
Used command line for years now, only to know the web GUI exist ! This is great to monitor stuffs that are ongoing instead of having to tmux into each rclone instance to know the progress. I still use Autorclone with my Google SA account to bypass the 750GB limit.
.\rclone.exe rcd --rc-web-gui --rc-user admin --rc-pass password --rc-serve --rc-web-gui-no-open-browser
rclone rcd --rc-web-gui --rc-user admin --rc-pass password --rc-serve --rc-web-gui-no-open-browser
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| name: hello-world | |
| namespace: default | |
| spec: | |
| replicas: 1 | |
| selector: | |
| matchLabels: | |
| app: hello-world |