« Last post by datahell on September 15, 2025, 21:18:36 »
Done! I just released Milestone Counter version 1.1 with component Directory support. Note: At the bottom of the parameters I added an additional parameter from where you can optionally select a specific Directory category.
« Last post by datahell on September 15, 2025, 19:38:22 »
And the worst part is that there are many libraries with the same name! Some of them work, some others not. As a beginner I advise you to find recent tutorials and use the instructions step by step to replicate the final result. Afterwards you modify the source code to customize it and learn coding. Start with simple thinks like relays, buttons, LEDs, sensors like temperature, humidity, serial communication (eg arduino - arduino), LED displays, etc. You can even buy a starters kits for Arduino. Raspberry Pi on the other hand is something else, you need to have a Linux background. System administration, network, ssh console, etc.
« Last post by seadhna on September 15, 2025, 15:21:48 »
Hi datahell, just wondering if it might be possible to include "directory listings" as an automatic number in the milestone counter module. (i.e. the total number of listings inside the directory component)
« Last post by xmanhattan on September 15, 2025, 09:51:19 »
Still experimenting. I find it strange that while using components like the time module, DS3232RTC, that I had to download various libraries in order to get it to work. I finally did but I don't understand why there can be so many different libraries for various components. I stopped during the summer and as it becomes cooler, I will start again. Hopefully, I will create an idea to complete.
« Last post by xmanhattan on September 14, 2025, 09:58:16 »
Hello Datahell, Luckily, I keep busy with different things including the Arduino, Raspberry, and Python, to keep thinking about the practical side of their use in the home. I found the following links useful on the subject. https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy I used this one to create the additional script tag to keep everything proper by taking a link such as https://cdn.userway.org/widget.js and entering it into the link below. This gave me the completed link except for my id. https://www.srihash.org/ All the best, Petros
« Last post by datahell on September 13, 2025, 22:04:48 »
Solved, but just to clarify some things.
Files integrity checksum (sha256) makes sense if you use a CSP policy. Additionally nonce tells the browser to ignore this script. Using these options is strongly recommended for external scripts and css files. CSP (Content Security Policy) tells the browser what to consider safe. If the safe check by the browser fail then the browser doesn't load that resource/code.