HTML 5 VS Flash

Hello Guys,

Please suggest me what I use HTML 5 or Flash. But I think HTML 5 is better. B'coz we can easily optimize site which can create in HTML 5. Search engine crawler can also read your content.
but in Flash site you can use only Meta's.
am i right??

Woocommerce sale flash badge not showing in products page [closed]

the problem that I have is this. I am just helping someone with their woocommerce/wordpress website, I am not very experienced with it but they need some urgent help. Basically, they want to show a badge whenever a product is on sale. I just found the way to do it and it is working fine, but only in the single product page. In the page of a single product, in the related products it shows the badge in the discounted products. But in the general products page it does not show anything. This is the code I got for the single product pages:

function sales_badge( $  text, $  post, $  product ) {         return $  tagType = '<span class="onsale"><img style="max-width: 150px;" src="sale.jpg"></span>'; } add_filter('woocommerce_sale_flash', 'sales_badge', 99, 3 );  

For the theme we are using: Astra and Elementor. I have tried everything and in google but could not find anything related with this. FYI: we are not using any plugin for this and we do not plan to.

USB flash drives sharing on computer network [closed]

https://en.wikipedia.org/wiki/USB

https://en.wikipedia.org/wiki/Computer_network

Can we share USB flash drives on a computer network?

Example : USB flash drives connected to a local Windows/Mac/Linux os machine is part of the computer network. The contents of the USB flash drives to be shared with other computers.

Can this be implemented?

Can I use Flash of Genius on an initiative roll?

The Artificer’s Flash of Genius says:

When you or another creature you can see within 30 feet of you makes an ability check or a saving throw, you can use your reaction to add your Intelligence modifier to the roll.

On the one hand, an initiative roll is an ability check, which means that it’s eligible for Flash of Genius. However, it’s not clear whether I would have my reaction available as initiative is being rolled. So, can I use Flash of Genius to add to an initiative roll? Does it make a difference if I’m surprised?

USB Flash Disk with block-chain

I am thinking of buying USB flash disk with Security Element(stores Private-Key/Secret-Key/X.509-Certificates) and some encrypted data(8 Megabyte). The disk has to be protected against cloning and possibly maintains logs of insert history with UNIX timestamp & USB Host ID when inserted.

I found YubiKey & NitroKey, but they does not have additional storage. Is there a USB Device like that satisfy above requirements.

(Or) Is there any cost effective SoC+Security Element Over USB with flash storage available to implement my requirement using Opensource?

Thanks

Woocommerce Variable Product – Show ‘Sale!’ Flash

I’m trying to get the woocommerce sales flash to appear when a variable product is on sale.

It seems that woocommerce have done this on purpose, because if for example, a variable product has small, medium and large sizes and only one is on sale, a sale flash would appear on the archive page or single product page which could potentially cause confusion for the user when they select a variation only to see that it’s not on sale.

I have a project I’m working on where the client wants the sale flash to display even if one variation is on sale. I feel like I’m missing something here…

Any help is appreciated

Is there a option to protect a USB stick from being infected other than flash drives with hardware protection?

I would like to protect my flash drives to being infected when I put it in another computers or devices. After some research, I found that I will not be able to reach this level of protection by using only software solutions (correct me if I’m wrong).

However, I don’t have a flash drive with hardware protection and my only way to get one is importing (it will not be cheap). I also found that SD card’s switches against writing is not in a hardware-level, so I kinda have to trust that a potentially infected computer will respect it, which is not a good idea.

So, my question is: is there a trustful way (using USB) to put my files into another computer without my USB stick (flash drive or SD card) being infected?

Why after dd’ing ISO file to entire USB flash device, only the first partition match the ISO checksum?

I use dd to “burn” an ISO file to USB stick:

dd bs=4M if=/mnt/media/ISO/Fedora-Workstation-Live-x86_64-31-1.9.iso   of=/dev/sdd conv=fdatasync  status=progress 

Now I can see several partitions has been created:

sdd      8:48   1   1.9G  0 disk  ├─sdd1   8:49   1   1.8G  0 part /run/media/alex/Fedora-WS-Live-31-1-9 ├─sdd2   8:50   1  10.6M  0 part  └─sdd3   8:51   1  22.2M  0 part  

Why only sdd1 matches the ISO checksum, not an entire drive? I checked files on other partitions, they contain this ISO related files..