The bash script below is a code that make audio files or input audio video to be spectrum
#!/usr/bin/env bash
spectrum_mode="combined"
spectrum_slide="scroll"
x=0 # place x coord drawtext
y=0 # place y coord drawtext
file='input.m4a' # input files
{ | |
"monkey": { | |
"chuu": { | |
"height": 145 | |
}, | |
"field": { | |
"height": 147 | |
}, | |
"ti": { | |
"height": 154.94 |
#!/usr/bin/env bash | |
source cmdHandler.sh | |
echo 'hello' | |
function test (){ | |
local args=$1 | |
echo "Test args: $args" | |
} | |
while true; do | |
read -p "> " maininput | |
# only use the first args (group) |
#!/usr/bin/env bash | |
# better read statements | |
function get_input() { | |
read -p "$1: " value | |
echo $value | |
} | |
cols="$(tput cols)" # better than $COLUMNS | |
PLUGIN_NAME=$1 |
#!/usr/bin/env bash | |
# Helper function to get user input | |
function get_input() { | |
read -p "$1: " value | |
echo $value | |
} | |
# Get plugin name from command line argument | |
PLUGIN_NAME=$1 |
{ | |
"qotd": [ | |
{ | |
"question": "What is the capital city of Vietnam?", | |
"answer": "Hanoi" | |
}, | |
{ | |
"question": "What is the official language of Vietnam?", | |
"answer": "Vietnamese" | |
}, |
<?php | |
declare(strict_types=1); | |
namespace ExamplePlugin; | |
use pocketmine\command\Command; | |
use pocketmine\command\CommandSender; | |
use pocketmine\plugin\PluginBase; | |
use pocketmine\utils\TextFormat; |
⠀⣞⢽⢪⢣⢣⢣⢫⡺⡵⣝⡮⣗⢷⢽⢽⢽⣮⡷⡽⣜⣜⢮⢺⣜⢷⢽⢝⡽⣝ | |
⠸⡸⠜⠕⠕⠁⢁⢇⢏⢽⢺⣪⡳⡝⣎⣏⢯⢞⡿⣟⣷⣳⢯⡷⣽⢽⢯⣳⣫⠇ | |
⠀⠀⢀⢀⢄⢬⢪⡪⡎⣆⡈⠚⠜⠕⠇⠗⠝⢕⢯⢫⣞⣯⣿⣻⡽⣏⢗⣗⠏⠀ | |
⠀⠪⡪⡪⣪⢪⢺⢸⢢⢓⢆⢤⢀⠀⠀⠀⠀⠈⢊⢞⡾⣿⡯⣏⢮⠷⠁⠀⠀ | |
⠀⠀⠀⠈⠊⠆⡃⠕⢕⢇⢇⢇⢇⢇⢏⢎⢎⢆⢄⠀⢑⣽⣿⢝⠲⠉⠀⠀⠀⠀ | |
⠀⠀⠀⠀⠀⡿⠂⠠⠀⡇⢇⠕⢈⣀⠀⠁⠡⠣⡣⡫⣂⣿⠯⢪⠰⠂⠀⠀⠀⠀ | |
⠀⠀⠀⠀⡦⡙⡂⢀⢤⢣⠣⡈⣾⡃⠠⠄⠀⡄⢱⣌⣶⢏⢊⠂⠀⠀⠀⠀⠀⠀ | |
⠀⠀⠀⠀⢝⡲⣜⡮⡏⢎⢌⢂⠙⠢⠐⢀⢘⢵⣽⣿⡿⠁⠁⠀⠀⠀⠀⠀⠀⠀ | |
⠀⠀⠀⠀⠨⣺⡺⡕⡕⡱⡑⡆⡕⡅⡕⡜⡼⢽⡻⠏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ | |
⠀⠀⠀⠀⣼⣳⣫⣾⣵⣗⡵⡱⡡⢣⢑⢕⢜⢕⡝⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ |
<?php | |
echo "Hello World!"; | |
?> |