From ac90ab7c69b35546135cacf9ed2ed98261047dac Mon Sep 17 00:00:00 2001 From: pdp8 Date: Wed, 16 Aug 2023 15:25:17 +0200 Subject: mail and social --- .gitignore | 2 + html.rb | 2 +- html/540px-PDP-8_.jpg | Bin 0 -> 84238 bytes html/about.html | 7 +++ html/code.html | 1 + html/contact.html | 15 +++++++ html/head.html | 15 +++++++ html/pdp8.png | Bin 0 -> 723 bytes html/pictures.html | 22 ++++++++++ html/robots.txt | 2 + html/slideshow.js | 80 ++++++++++++++++++++++++++++++++++ html/style.css | 108 ++++++++++++++++++++++++++++++++++++++++++++++ html/tail.html | 11 +++++ mail.rb | 38 ++++++++++++++++ music.rb | 41 ------------------ pictures.py | 52 ---------------------- snippets/540px-PDP-8_.jpg | Bin 84238 -> 0 bytes snippets/about.html | 7 --- snippets/code.html | 1 - snippets/contact.html | 15 ------- snippets/head.html | 15 ------- snippets/pdp8.png | Bin 723 -> 0 bytes snippets/pictures.html | 22 ---------- snippets/robots.txt | 2 - snippets/slideshow.js | 80 ---------------------------------- snippets/style.css | 108 ---------------------------------------------- snippets/tail.html | 11 ----- social.rb | 31 +++++++++++++ video-metadata.rb | 31 ------------- 29 files changed, 333 insertions(+), 386 deletions(-) create mode 100644 .gitignore create mode 100644 html/540px-PDP-8_.jpg create mode 100644 html/about.html create mode 100644 html/code.html create mode 100644 html/contact.html create mode 100644 html/head.html create mode 100644 html/pdp8.png create mode 100644 html/pictures.html create mode 100644 html/robots.txt create mode 100644 html/slideshow.js create mode 100644 html/style.css create mode 100644 html/tail.html create mode 100755 mail.rb delete mode 100755 music.rb delete mode 100755 pictures.py delete mode 100644 snippets/540px-PDP-8_.jpg delete mode 100644 snippets/about.html delete mode 100644 snippets/code.html delete mode 100644 snippets/contact.html delete mode 100644 snippets/head.html delete mode 100644 snippets/pdp8.png delete mode 100644 snippets/pictures.html delete mode 100644 snippets/robots.txt delete mode 100644 snippets/slideshow.js delete mode 100644 snippets/style.css delete mode 100644 snippets/tail.html create mode 100755 social.rb delete mode 100755 video-metadata.rb diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..73baf4d --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +mail +cookies.txt diff --git a/html.rb b/html.rb index 5b8a9e2..fd944bd 100755 --- a/html.rb +++ b/html.rb @@ -4,7 +4,7 @@ require 'erb' MEDIA_DIR = '/srv/media' MEDIA_URL = 'https://media.pdp8.info' WWW_DIR = '/srv/www/pdp8-test' -SNIPPETS = File.join(File.dirname(__FILE__), 'snippets') +SNIPPETS = File.join(File.dirname(__FILE__), 'html') def nav(cat) html = '