I am trying to identify a /dev/video camera by the USB vendor:product IDs and I learned that the sysfs has that information, e.g.: cat /sys/class/video4linux/video0/device/input/input17/id/vendor cat /sys/class/video4linux/video0/device/input/input17/id/product However, as you can see, in my example I have the child .../input/input17/... and that number seems to be different for all the […]
Yearly Archives: 2020
How is it possible to defend against 0-day exploits? Is it possible that something can infect everything connected to the internet?
Computer goes dark as though the power was cut, reboots. No blue screens – no warnings. At first I thought it was the power supply and then a local shop tested that and said it was good. Memory test good. I changed out the motherboard and went so far as […]
I accidentally formatted the UEFI partition on my computer and things got very complicated because almost every single bootrec command gave me an error. I successfully was able to restore it using a flash drive with Windows 10 and following this tutorial: https://www.youtube.com/watch?v=tCSx5XefsEc. The problem now is that I lost […]
Hi people! I am an experienced (jack of all trades) web master, but fairly shallow knowledge. One of my sites is using 5.6 and I need to bring it into 7 as modules (WP) are dropping support for 5. I tried to find an easy resource for 5->Upgrades. Ideally an […]
I have created data patch, After I run setup:upgrade it does the job but never finishes setup upgrade command . https://i.imgur.com/Mhilmgd.png https://i.imgur.com/GtUDbLV.png the Data patch itself looks like that < ?php declare(strict_types=1); namespace DevAllExtensionSettingConfigSetupPatchData; use MagentoFrameworkExceptionLocalizedException; use MagentoFrameworkExceptionNoSuchEntityException; use MagentoFrameworkExceptionStateException; use MagentoFrameworkSetupPatchDataPatchInterface; use MagentoEavSetupEavSetup; use MagentoEavApiAttributeRepositoryInterface; use MagentoCatalogModelProductRepositoryIn; use MagentoFrameworkApiSearchCriteriaBuilder; […]