This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tile& | |
Active | |
Default* | |
LEFT_CLICK -> isMined? | |
RIGHT_CLICK -> Flag | |
isMined? | |
mined? -> End | |
not_mined? -> Reveal | |
Flag | |
RIGHT_CLICK -> Mark |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Game | |
Board | |
mines generated? | |
isNotGenerated? -> Generate mines | |
isGenerated? -> Reveal | |
Generate mines | |
done? -> Reveal | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
output_folder="padded_audio" | |
mkdir -p "$output_folder" | |
# Function to pad audio file and preserve metadata | |
function pad_audio() { | |
input_file=$1 | |
duration=$(ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 "$input_file") | |
if (( $(bc <<< "$duration < 3600") )); then |