Update 2024-02-14 07:51 OpenBSD/amd64-x13

This commit is contained in:
c0dev0id
2024-02-14 07:54:31 +01:00
parent b55e6a3616
commit 9624895938
373 changed files with 19074 additions and 3045 deletions

24
.bin/OLD/foldergal.sh Executable file
View File

@@ -0,0 +1,24 @@
#!/bin/sh
CORES=4
H=320
W=320
mkdir -p .thm
ls *.jpg | xargs -n1 -P$CORES -I{} convert {} -thumbnail $Hx$W\> .thm/{}
(
echo "<html><head><title>$(basename $PWD)</title></head><body>"
for _file in *.jpg
do
(
echo "<html><head><title>$_file</title></head><body>"
echo "<center><h1>$_file</h1>"
echo "<b><a href=../index.html>Back to Index</a></b><br><br>"
echo "<img style='max-width: 90%; max-height: 90%;' src=../$_file></center>"
echo "</body></html>"
) > .thm/$_file.html
echo "<a href=\".thm/$_file.html\"><img height=$H src=\".thm/$_file\"></a>"
done
echo "</body></html>"
) > index.html