Whenever I try turning on my laptop, the display works fine, but every time I press the Sign In Button (after entering my password), the screen goes all black, and the only thing there is my cursor. I have this problem on my Acer Laptop (Windows 11). I tried restarting […]
Monthly Archives: January 2025
I have 2 remote workstations both using Windows 11 and both running same version 1.4.3.6 of UltraVNC as service. On one computer I can connect successfully but on the other it gives the error “This server does not have a valid password enabled”. The ini file was initially different but […]
Imagine we have default nginx installation. It is located in docker. To set up nginx I used different image from basic nginx:latest, so logs are written into /var/log/nginx/* files. In basic image (nginx:latest) these files are links to /dev/stdout and /dev/stderr. I think, can I create such file, which can […]
I managed to automount an external encrypted SSD using fstab, crypttab and the noauto and x-systemd.automount and the disk shows in Nemo. With the options user and users I can easily use it and unmount it using Nemo. Let’s say the mountpoint is /media/usb. Now, how can I achieve automatic […]
I’ve an extension which adding an extra fee for specific payment method. It’s appear in a row like shipping cost ( ex: extra fee – $5 ). What I’m looking for is to update the subtotal directly if there is an extra fee. Can I achieve that ? Thanks in […]
I have a php variable which stores datetime in this format. next_run=”2025-01-17 09:41:26″ “y-m-d hh:mm:ss” I want to convert it into two custom formats. 1:- in this format the month name and day in numbers “Jan 17” 2:- in this format, this means 17 is the ay number in a […]
I created a observer : <?php namespace VendorModuleObserver; use MagentoFrameworkEventObserver; use MagentoFrameworkEventObserverInterface; use MagentoFrameworkAppRequestInterface; use PsrLogLoggerInterface; class SaveRefToQuote implements ObserverInterface { protected $logger; protected $request; /** * Constructor * * @param LoggerInterface $logger * @param RequestInterface $request */ public function __construct(LoggerInterface $logger, RequestInterface $request) { $this->logger = $logger; $this->request = […]
I would like to hide some articles in a certain category. So far I have solved this using a plugin: di.xml: <type name=“MagentoCatalogModelLayerCategoryCollectionFilter”> <plugin sortOrder=“1” name=“Vendor_Modulename::aroundProductCollection” type=“VendorModuleNamePluginCatalogCollectionFilter”/> </type> <?php namespace VendorModuleNamePluginCatalog; use MagentoCatalogModelLayerCategoryCollectionFilter as CategoryCollectionFilter; use MagentoCatalogModelResourceModelProductCollection as ProductCollection; use MagentoCatalogModelCategory as Category; class CollectionFilter { public function afterFilter( CategoryCollectionFilter […]
In GraphQL, if we enter wrong field name in search, its will suggest the alternative fields in the response. It creates some security issues in production. So we plan to disable that feature. unfortunately adobe commerce not having the out of box feature. Query: { products( filter: { sku: { […]