From 766bc77e252e9662a4bde06a7ccfaf7ba27b6ee0 Mon Sep 17 00:00:00 2001 From: Mike Phares Date: Sat, 16 Nov 2024 09:21:18 -0700 Subject: [PATCH] decreased the slide speed --- .gitignore | 2 ++ .vscode/mklink.md | 5 ++++ .vscode/tasks.json | 12 --------- admin | 1 - index.html | 8 +++--- index.lighttpd.html | 52 ++++++++++++++++++++++++++++++++++++++ slideshow/index.html | 2 +- slideshow/index.json | 4 +-- slideshow/scripts/index.js | 6 ++--- 9 files changed, 69 insertions(+), 23 deletions(-) delete mode 160000 admin create mode 100644 index.lighttpd.html diff --git a/.gitignore b/.gitignore index a7bcbeb..a22b4b0 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,5 @@ Images-c9dbce3b-Results Results sync.ffs_db + +NGINdeX.io \ No newline at end of file diff --git a/.vscode/mklink.md b/.vscode/mklink.md index 527524a..d8a78a3 100644 --- a/.vscode/mklink.md +++ b/.vscode/mklink.md @@ -16,3 +16,8 @@ ln -s /var/log/nginx /var/www/html/log-nginx cp -R /home/syncthing/Immich/upload/thumbs/fc9fd5a1-d1b3-4080-a21c-daf9b1c24593/ /var/www/html/Images-c9dbce3b-Results/thumbs ls -la /var/www/html/Images-c9dbce3b-Results ``` + +```bash +mklink /J "L:\Git\www\NGINdeX.io" "L:\Git\NGINdeX.io" +mklink /J "L:\Git\www\Images-c9dbce3b-Results\thumbs" "D:\7-Question\Images-c9dbce3b-Results\thumbs" +``` diff --git a/.vscode/tasks.json b/.vscode/tasks.json index a658ee1..ca3077b 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -1,18 +1,6 @@ { "version": "2.0.0", "tasks": [ - { - "label": "File-Folder-Helper AOT s Set metadata", - "type": "shell", - "command": "& L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net7.0/win-x64/publish/File-Folder-Helper.exe .kanbn", - "problemMatcher": [] - }, - { - "label": "File-Folder-Helper AOT s M tasks", - "type": "shell", - "command": "& L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net7.0/win-x64/publish/File-Folder-Helper.exe s M .kanbn/tasks", - "problemMatcher": [] - }, { "label": "Kanbn Console", "type": "npm", diff --git a/admin b/admin deleted file mode 160000 index be05b0f..0000000 --- a/admin +++ /dev/null @@ -1 +0,0 @@ -Subproject commit be05b0f61d3fcf796dae4cc3f89f8540b2359325 diff --git a/index.html b/index.html index fba8ecd..4503df2 100644 --- a/index.html +++ b/index.html @@ -11,10 +11,10 @@
-

Slideshow

-

Slideshow (Last)

-

Slideshow (Time)

-

Slideshow (No Sleep)

+

Slideshow

+

Slideshow (Last)

+

Slideshow (Time)

+

Slideshow (No Sleep)

diff --git a/index.lighttpd.html b/index.lighttpd.html new file mode 100644 index 0000000..4639602 --- /dev/null +++ b/index.lighttpd.html @@ -0,0 +1,52 @@ + + + + +Welcome page + + + +
+ +
+

You should replace this page with your own web pages as soon as possible.

+ Unless you changed its configuration, your new server is configured as follows: +
    +
  • Configuration files can be found in /etc/lighttpd. Please read /etc/lighttpd/conf-available/README file.
  • +
  • The DocumentRoot, which is the directory under which all your HTML files should exist, is set to /var/www/html.
  • +
  • CGI scripts are looked for in /usr/lib/cgi-bin, which is where Ubuntu packages will place their scripts. You can enable cgi module by using command "lighty-enable-mod cgi".
  • +
  • Log files are placed in /var/log/lighttpd, and will be rotated weekly. The frequency of rotation can be easily changed by editing /etc/logrotate.d/lighttpd.
  • +
  • The default directory index is index.html, meaning that requests for a directory /foo/bar/ will give the contents of the file /var/www/html/foo/bar/index.html if it exists (assuming that /var/www/html is your DocumentRoot).
  • +
  • You can enable user directories by using command "lighty-enable-mod userdir"
  • +
+

About this page

+

+ This is a placeholder page installed by the Ubuntu release of the Lighttpd server package. +

+

+ This computer has installed the Ubuntu operating system, but it has nothing to do with the Ubuntu Project. Please do not contact the Ubuntu Project about it. +

+

+ If you find a bug in this Lighttpd package, or in Lighttpd itself, please file a bug report on it. Instructions on doing this, and the list of known bugs of this package, can be found in the + Ubuntu Bug Tracking System. +

+
+
+ + + diff --git a/slideshow/index.html b/slideshow/index.html index cffe24d..41dd7e0 100644 --- a/slideshow/index.html +++ b/slideshow/index.html @@ -21,7 +21,7 @@ - + \ No newline at end of file diff --git a/slideshow/index.json b/slideshow/index.json index d18189b..6e6864a 100644 --- a/slideshow/index.json +++ b/slideshow/index.json @@ -1,9 +1,9 @@ { - "ImageInterval": 9123, + "ImageInterval": 21234, "JsonInterval": 59000, "ImageZero": "images/1x1_00000000.png", "DataDirectoryX": "../.random", "DataDirectory": "../Images-c9dbce3b-Results/F)Random/c9dbce3b/[]", "RootX": "../.original", "Root": "../Images-c9dbce3b-Results/thumbs" -} \ No newline at end of file +} diff --git a/slideshow/scripts/index.js b/slideshow/scripts/index.js index 6ca35ef..b1987bc 100644 --- a/slideshow/scripts/index.js +++ b/slideshow/scripts/index.js @@ -24,7 +24,7 @@ if (window.location.href.indexOf('time') > 0) { time.innerText = mm + '-' + dd + '.json'; } - var url = _DataDirectory + '/' + mm + '-' + dd + '.json?nocache=2024-05-12-14-48'; + var url = _DataDirectory + '/' + mm + '-' + dd + '.json?nocache=2024-11-16-09-19'; console.log(url); $.getJSON(url, function (data) { console.log('success', data.length); @@ -167,7 +167,7 @@ } if (window.location.href.indexOf('last') > 0) { - var url = '../log-nginx/access.log?nocache=2024-05-12-14-48'; + var url = '../log-nginx/access.log?nocache=2024-11-16-09-19'; $.get(url, function (data) { var arrayOfUrl = []; var arrayOfIndex = []; @@ -196,7 +196,7 @@ document.addEventListener('keyup', getInput, false); - var url = '../slideshow/index.json?nocache=2024-05-12-14-48'; + var url = '../slideshow/index.json?nocache=2024-11-16-09-19'; console.log(url); var _ = $.getJSON(url, function (data) { console.log(url + ' downloaded successfully');