Creating a Picture Log with HTML index - html

I have a large hard drive full of photos/videos all organized into folders by events or years, which works for me. However, I want a way to just view them all in total just organized by date. Is there any way to easily code it into some sort of an HTML index that takes all the pictures without having to manually write the source to each picture. (Im not planning on hosting it or anything)
I assume this can't happen, so is there an easy way/program to grab all photos/videos from folders within folders and paste them all into one folder?

You didn't tell us which OS you are using. I will show you the way under Windows10.
open an explorer-window
move to the root-directory of your photos/videos
in the upper right there is a search-window.
lets presume your videos have the format mp4. Enter *.mp4 and press [enter]
you will get all videos including all videos in your sub-directorties in one plain list
press [ctrl]-a (this will select all videos), [ctrl]-c (copy all videos) or [ctrl]-x (mark all for deletion), move to the new spot in your directory-structure and press [ctrl]-v (copies all selected videos to this spot).
Alternatively you can open a second explorer-window, move to the new spot and move all videos with your mouse from one window to the other. Please note that it may take some time for the OS to do the work if the amount of files is real big.
repeat this for all video- and picture-formats.
That way you need no programming at all.
It can easily be done in linux too but I don't have the correct commands at hand at the moment. HTH.

Related

Game show buzzer screens

I'm doing a training class right now and one of the games I plan on doing is a Jeopardy style of Q & A. The problem I'm trying to figure out is the buzzer. My idea is to use the projector as the question board I control. The trainees would go to an HTML page with nothing more than a single button. They would turn their monitors around to face me up front. As soon as I read the question they would click the button and it would change their screens the color red.
The button and background color change is easy enough, I got that. There are two problems I'm facing: 1) I need it so that they can't click the button until I'm done reading the question - this one isn't as important, I can just make up a rule. 2) Only the fastest person will have a red screen. To show me who clicked first. The others' buttons will be disabled.
I just have no idea how to even Google these two things. Like: "Disable button for other users"...? Or maybe, "only one click"...?
Any direction to search is appreciated. Eventually, I'd like to add other aspects to like the presenter could click an "incorrect button" then it would clear the screen and enable all the buttons again, for the answer steal.
You can do it with modern WebSocket or applications interact via TCP. However, WebSocket may be overkill for the simple application with a few teams. I faced the same problem before and developed a simple solution with PHP using Flock to write into a shared file on disk. Only request from one team gets the chance to write into that file. Stick to not to use WebSocket, the web page on client site does some polling to receive the "restart" signal from the server for the new question/round. It can run in LAN, different team gets different site, i.e. http://[server-ip]/team1, http://[server-ip]/team2.
You can have control over the round: allow them to press button/ restart, start a new question in http://[server-ip]/admin.
Further improvement can be made in several ways to facilitate your needs (i.e. assign team name, register team, use database instead of a flock file). The code is available here : https://github.com/minhhn2910/buzzergameshow

Java - Libgdx : Save & Load a screen

my game is about stories, you make choices and it will lead you to other screen like a novel in which you are the hero, I realised I need a save system, I want to save the last screen a player was on and load it when he click on load button in main menu :
like this
I found the class FileHandle but I don't know how to link it with my gamescreens. How am I supposed to code "save the last screen the player is on" and "load the last screen the player was on"
Thanks for your knowledge sharing
You should have a look at the libGDX wiki.
Specifically:
File Handling
and
Preferences
If you only need to save the last page the user was on, Preferences might be your best option. You can easily save primitive data types, such as the index of the last screen, or the title, or however you have your content set up.
use the Preference to save the game state in libgdx . which will store the data in devices internal memory. by using the preference you can save anything say example the score of the player. I have answered for the same kind of question in below link .please go through it once. I hope you will get the solution.
Creating an Android save file on the local storage of the device?

Windows phone back button task preview

On the windows phone when you press and hold the back button a collection of tiles will appear that represent apps that were recently run or are running in the background. Generally the tiles will show a preview of the app in the visual state it was in when it last navigated away from. I have seen some apps however that will show their logo on this tile regardless of the state the app was in when navigated away from. I have been beating my head against the internet trying to find how this is done. Perhaps I am missing the proper terms to search for in order point myself in the correct direction. Does anyone know how to accomplish swapping the back button history preview image or perhaps help me find the correct search terms to locate help on this?

How to create links based on changing text on the screen

I am trying to figure out a way to create links to point to help files in my application based off the text on the screen.
Lets say my application reports the status of a car if it is running or not. If it is running everything is ok, but if it is not running it will display a reason such as:
In Park
Door is open.
Shut off.
Flat tire
When it displays the reason on the main page I want it to have a link pointing to the help file which will include a resolution to get the car back up and running.
The problem I am having is the the reasons change on the fly and update in real time. The resolutions for the problems are all different.
To give some background, the application is asp.net web application. I tried searching the web and I tried linking it to a simple page which had the links to the correct pages but that requires more user involvement. I want it to be click the problem and bring it right to the page.
Any information or suggestions would be great.
Thanks

Open Window that has been put in tab or other options?

I'm hoping that someone may be able to help me out.
My Home page (Home.html) has a link to a mp3player located at (mp3.html)
On the mp3player page there is a link back to Home.html
If the user clicks on the link to the Mp3 player I would like for the music to continue to play even if the link to home.html is pressed.
What I would like to avoid is having multiple tabs from being opened if the user would re-click one of these links.
Also I would like to have the appropriate page to open when it's link is pressed instead of being locked in a tab and not displaying.
The mp3 player isn't affected by being refreshed.
I would prefer not to have different tabs open if at all possible.
This really got me stumped. I've tried different things out only to either be stuck choosing a tab or loosing the music from playing.
Thank you.
You can program your site with AJAX, so index page won't be reloaded but supplemented by content loaded be demand - Google Mail is a good example. Not a task for beginner, though.
You can use HTML frames (see examples) and load index and player at the same time in one tab. Very easy and may fit your needs, but makes your site harder to link to.
I'd go with the AJAX version as well, it's a nicer user experience. If there's a player somewhere in another tab, that's pretty annoying for the user to find if he wants to turn it off or change a track. Check out the Sixtyone and how they're solving the problem.