There’s a program I have where I want to modify certain files within it and then prevent the program itself from modifying those files back to their original state. The program is located in C:Program Files (x86). I thought that by modifying the permissions of the file, I would be […]
Monthly Archives: June 2023
So, running some analysis of network traffic on windows I have also noticed a significant amount of traffic. But running your own Wireshark on any device from Android, to mac Sonoma the same kind of activity is prone, and encrypted so why so secret? Anyway, to mitigate this activity at […]
I am working on a simple side project, a self-hosted POS (Point of Sale) system for small retail businesses. I have decided to use a server/client architecture because it will be easier to separate and manage the backend and frontend. I am certain that this project will not involve the […]
On Edge browser after pressing F11 everything hides and if the mouse hovers the top, the address bar shows up/hides after one long second. Are you able to make it show up/hide immediately with the Windows registry, browser flags, program or in any other way? Using Windows 10 (also using […]
Learn how JavaScript operators work, understanding what they’re for, how to use them, and how they help in building complex expressions. Continue reading Demystifying JavaScript Operators: What Does That Symbol Mean? on SitePoint.
I have upgraded Magento to 2.4.5 and deployed it to a new server. When i browse site JS file is not loading, but css file is loading correctly JS path is like this – https://test.com/jquery.js CSS path is like this – https://test.com/static/version1687893220/_cache/merged/c2f02f3311375ce676a7b8fc512d783c.min.css Also check with disable merge JS file but […]
I have multiple active shopping cart rules on my website, including some older rules. The problem is that Magento validates these rules every time there is an update to the shopping cart or when a customer proceeds to checkout. The method setValidationFilter() calls getNoCouponCodeSelect() from the class vendor/magento/module-sales-rule/Model/ResourceModel/Rule/Collection.php, which is […]
When I am trying to compile, then I am getting Below error: Namespace not defined properly you can see proper command running here : www-data@robert-php-fpm:/var/www/html$ bin/magento setup:di:compile -v Compilation was started. Repositories code generation... 1/9 [===>------------------------] 11% < 1 sec 109.0 MiB In FileClassScanner.php line 201: [MagentoSetupModuleDiCodeReaderInvalidFileException] Namespace not defined […]
I have a Magento 2.4.3 multi-store and I am currently creating categories programmatically, with the following code: $category = $objectManager->create('MagentoCatalogModelCategory', ['data' => ["name" => $refCat['name'], "is_active" => $refCat['active'], "include_in_menu" => $refCat['menu'], "parent_id" => $parentID, "store_id" => $refCat['store_id']]]); $category->setCustomAttributes(["display_mode" => "PRODUCTS", "custom_use_parent_settings" => true, "is_anchor" => "1"]); $repository = $objectManager->get(MagentoCatalogApiCategoryRepositoryInterface::class); $repository->save($category); […]