This post has been made to test various features.
Some syntax highlighting
JavaScript
function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
async function onClickEffect(btn, style) {
btn.removeClass("btn-light");
btn.addClass(style);
await sleep(250);
btn.removeClass(style);
btn.addClass("btn-light");
}
JSON
{
"text": " Experience proves this.",
"segments": [{
"id": 0,
"seek": 0,
"start": 0.0,
"end": 2.0,
"text": " Experience proves this.",
"tokens": [50364, 28503, 25019, 341, 13, 50464],
"temperature": 0.0,
"avg_logprob": -0.4622415815080915,
"compression_ratio": 0.7419354838709677,
"no_speech_prob": 0.03434836119413376}],
"language": "en"
}
Shell Script
#!/bin/sh
mkdir /media/NexusBackups/files/
ls -la .
rsync -avz --partial --progress --no-owner --no-group --chmod=Du=rwx,Dgo=rx,Fu=rw,Fgo=r --exclude='/proc' --exclude='/dev' --
exclude='/sys' --exclude='/mnt' --exclude='/media' --exclude='/lost+found' --exclude='/boot' --exclude='/swapfile' --exclude=
'/run' --exclude='/tmp' -e ssh nexus:/ /media/NexusBackups/files/