diff --git a/ADD.html b/ADD.html new file mode 100644 index 0000000..c3066b5 --- /dev/null +++ b/ADD.html @@ -0,0 +1,60 @@ + + + + + + + + + + + +
+ + + + diff --git a/ALEF1.html b/ALEF1.html new file mode 100644 index 0000000..61f7fa0 --- /dev/null +++ b/ALEF1.html @@ -0,0 +1,60 @@ + + + + + + + + + + + +
+ + + + diff --git a/ALEF2.html b/ALEF2.html new file mode 100644 index 0000000..727e300 --- /dev/null +++ b/ALEF2.html @@ -0,0 +1,60 @@ + + + + + + + + + + + +
+ + + + diff --git a/ASTRO.html b/ASTRO.html new file mode 100644 index 0000000..5d177f5 --- /dev/null +++ b/ASTRO.html @@ -0,0 +1,60 @@ + + + + + + + + + + + +
+ + + + diff --git a/KIVUN.html b/KIVUN.html new file mode 100644 index 0000000..7dd540a --- /dev/null +++ b/KIVUN.html @@ -0,0 +1,60 @@ + + + + + + + + + + + +
+ + + + diff --git a/MATH.html b/MATH.html new file mode 100644 index 0000000..abcdd57 --- /dev/null +++ b/MATH.html @@ -0,0 +1,60 @@ + + + + + + + + + + + +
+ + + + diff --git a/MULTI.html b/MULTI.html new file mode 100644 index 0000000..e85105b --- /dev/null +++ b/MULTI.html @@ -0,0 +1,60 @@ + + + + + + + + + + + +
+ + + + diff --git a/READ.html b/READ.html new file mode 100644 index 0000000..e73c949 --- /dev/null +++ b/READ.html @@ -0,0 +1,60 @@ + + + + + + + + + + + +
+ + + + diff --git a/SHEVER.html b/SHEVER.html new file mode 100644 index 0000000..6d60a0f --- /dev/null +++ b/SHEVER.html @@ -0,0 +1,60 @@ + + + + + + + + + + + +
+ + + + diff --git a/THINK1.html b/THINK1.html new file mode 100644 index 0000000..1914c47 --- /dev/null +++ b/THINK1.html @@ -0,0 +1,60 @@ + + + + + + + + + + + +
+ + + + diff --git a/THINK2.html b/THINK2.html new file mode 100644 index 0000000..30a0e85 --- /dev/null +++ b/THINK2.html @@ -0,0 +1,60 @@ + + + + + + + + + + + +
+ + + + diff --git a/TRON.html b/TRON.html new file mode 100644 index 0000000..f88354d --- /dev/null +++ b/TRON.html @@ -0,0 +1,60 @@ + + + + + + + + + + + +
+ + + + diff --git a/docker/nginx/Dockerfile b/docker/nginx/Dockerfile new file mode 100644 index 0000000..d7ea506 --- /dev/null +++ b/docker/nginx/Dockerfile @@ -0,0 +1,16 @@ +ARG ALPINE_VERSION=3.18 + +FROM alpine:${ALPINE_VERSION} as alpine + +RUN apk add --no-cache openssl nginx bash tzdata ca-certificates + +COPY default.conf /etc/nginx/http.d/default.conf + +COPY scripts/gen-self-signed-cert.sh /gen-self-signed-cert.sh +COPY scripts/start.sh /start.sh + +WORKDIR / + +RUN chmod +x /start.sh + +CMD ["/start.sh"] diff --git a/docker/nginx/Makefile b/docker/nginx/Makefile new file mode 100644 index 0000000..1cb5d17 --- /dev/null +++ b/docker/nginx/Makefile @@ -0,0 +1,4 @@ +all: + echo OK +build: + podman build -t nginx-self-signed . diff --git a/docker/nginx/default.conf b/docker/nginx/default.conf new file mode 100644 index 0000000..45a88d2 --- /dev/null +++ b/docker/nginx/default.conf @@ -0,0 +1,19 @@ +server { + listen 80 default_server; + listen [::]:80 default_server; + listen 443 ssl; + listen [::]:443 ssl; + ssl_certificate /etc/ssl/certs/self-signed.crt; + ssl_certificate_key /etc/ssl/private/self-signed.key; + + # Everything is a 404 + location / { + root /var/lib/nginx/html; + index index.html index.htm; + } + + error_page 500 502 503 504 /50x.html; + location = /50x.html { + root /var/lib/nginx/html; + } +} diff --git a/docker/nginx/scripts/gen-self-signed-cert.sh b/docker/nginx/scripts/gen-self-signed-cert.sh new file mode 100755 index 0000000..78fd57d --- /dev/null +++ b/docker/nginx/scripts/gen-self-signed-cert.sh @@ -0,0 +1,37 @@ +#!/usr/bin/env bash + + +DOMAIN_NAME="$DOMAIN}" +DAYS_VALID=3650 + +CERT="0" +KEY="0" + +CERT_FILE="/etc/ssl/certs/self-signed.crt" +KEY_FILE="/etc/ssl/private/self-signed.key" + +stat "${CERT_FILE}" +if [ "$?" -eq "0" ];then + CERT="1" +fi + +stat "${KEY_FILE}" +if [ "$?" -eq "0" ];then + KEY="1" +fi + +if [[ "${KEY}" -eq "0" || "${CERT}" -eq "0" ]];then + +echo "Creating self-signed certificate valid for ${DAYS_VALID} days for domain ${DOMAIN_NAME}" && \ + openssl \ + req -x509 \ + -nodes \ + -subj "/CN=${DOMAIN_NAME}}" \ + -addext "subjectAltName=DNS:${DOMAIN_NAME}" \ + -days ${DAYS_VALID} \ + -newkey rsa:4096 -keyout "${KEY_FILE}" \ + -out "${CERT_FILE}" +else + echo "Certificate and key already exist" + # verify that they both are OK +fi diff --git a/docker/nginx/scripts/start.sh b/docker/nginx/scripts/start.sh new file mode 100755 index 0000000..b6d0a85 --- /dev/null +++ b/docker/nginx/scripts/start.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +DOMAIN="gordi.ngtech.home" + +bash /gen-self-signed-cert.sh "${DOMAIN}" + +nginx -T +nginx -g 'daemon off;' diff --git a/games/ADD.zip b/games/ADD.zip new file mode 100644 index 0000000..96341b9 Binary files /dev/null and b/games/ADD.zip differ diff --git a/games/ALEF1.zip b/games/ALEF1.zip new file mode 100644 index 0000000..3d9a4f1 Binary files /dev/null and b/games/ALEF1.zip differ diff --git a/games/ALEF2.zip b/games/ALEF2.zip new file mode 100644 index 0000000..02f2faf Binary files /dev/null and b/games/ALEF2.zip differ diff --git a/games/ASTRO.zip b/games/ASTRO.zip new file mode 100644 index 0000000..6113594 Binary files /dev/null and b/games/ASTRO.zip differ diff --git a/games/KIVUN.zip b/games/KIVUN.zip new file mode 100644 index 0000000..c49073b Binary files /dev/null and b/games/KIVUN.zip differ diff --git a/games/MATH.zip b/games/MATH.zip new file mode 100644 index 0000000..e628542 Binary files /dev/null and b/games/MATH.zip differ diff --git a/games/MULTI.zip b/games/MULTI.zip new file mode 100644 index 0000000..c10a744 Binary files /dev/null and b/games/MULTI.zip differ diff --git a/games/READ.zip b/games/READ.zip new file mode 100644 index 0000000..6eb60e5 Binary files /dev/null and b/games/READ.zip differ diff --git a/games/SHEVER.zip b/games/SHEVER.zip new file mode 100644 index 0000000..c237a38 Binary files /dev/null and b/games/SHEVER.zip differ diff --git a/games/THINK1.zip b/games/THINK1.zip new file mode 100644 index 0000000..18d0375 Binary files /dev/null and b/games/THINK1.zip differ diff --git a/games/THINK2.zip b/games/THINK2.zip new file mode 100644 index 0000000..433ba5c Binary files /dev/null and b/games/THINK2.zip differ diff --git a/games/TRON.zip b/games/TRON.zip new file mode 100644 index 0000000..9a890ac Binary files /dev/null and b/games/TRON.zip differ diff --git a/games/WORDS.zip b/games/WORDS.zip index 4493ad1..01e49e9 100644 Binary files a/games/WORDS.zip and b/games/WORDS.zip differ diff --git a/software/load-heb.bat b/software/load-heb.bat new file mode 100644 index 0000000..c21f0b7 --- /dev/null +++ b/software/load-heb.bat @@ -0,0 +1,3 @@ +MODE CON LINES=25 +loadheb +rem vga-heb diff --git a/software/loadheb.com b/software/loadheb.com new file mode 100644 index 0000000..c967f6a Binary files /dev/null and b/software/loadheb.com differ diff --git a/software/vga-heb.exe b/software/vga-heb.exe new file mode 100644 index 0000000..d6327f3 Binary files /dev/null and b/software/vga-heb.exe differ