I have a new MSI Katana GF66 12UCO running Windows 10 Home. When I close the lid, I have set that the laptop should hibernate (as opposed to sleep, because when attempting to sleep, the laptop never turns off — only its screen does — which is a separate issue, […]
Yearly Archives: 2024
I have mp3 file and I can not figure out why it stops playing at 15s even thought it is 12 minutes long. ffprobe returns: Duration: 00:12:02.30, start: 0.023021, bitrate: 131 kb/s I figured that there is some sort of “stop” meta tag which is visible in e.g. iTunes I […]
Usually, Matroska files that I open in Google Chrome (e.g. https://www.example.com/example.mkv) are played directly in the browser. However, I noticed that some files do not play in the browser, but a download dialog appears instead. My guess is that this is related to the file size, but I can’t draw […]
Could someone show me an example of a domain that is blocklisted in SORBS (Spam and Open Relay Blocking System)? There are two zones, nomail and baddns, which contain domain names, but I can’t find one.
I have an Ubuntu 22.04 Linux machine that runs some services and heavily uses ZFS file system. I observe some serious discrepancies in memory reporting when using various system tools. For example, the free command shows the following data: # free -gh total used free shared buff/cache available Mem: 125G […]
Magento 2.4.2 Lets say I have a qty of 1 for product X. Now when I try to put a qty of 10 of product X to the cart, the message “The requested qty is not available” is NOT shown. Nothing is added to the cart. When I put a […]
I have been searching how to export the Orders csv that is found in Orders Grid, I have not found anything regarded to that. This is the only file I have found about exporting orders to csv. /var/www/html/emall_dev/vendor/magento/module-reports/Test/Unit/Controller/Adminhtml/Report/Customer/ExportOrdersCsvTest.php But it’s a test file, I don’t know what Test folder means. […]
We have created a custom shipping method using the custom module and trying to save the shipping amount based on the subtotal ex: if subtotal < 25 shipping amount is $5 if subtotal > 25 shipping amount is $0; But the below logic is not working properly all the cases […]
I’ve created an extension , while visiting magento.com/rest/V1/wishlist/1/2 it throws error. here are my files – di.xml <?xml version="1.0" ?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <preference for="YourCompanyWishlistWebServiceApiWishlistManagementInterface" type="YourCompanyWishlistWebServiceModelWishlistManagement" /> </config> webapi.xml <?xml version="1.0" ?> <routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Webapi:etc/webapi.xsd"> <route url="/V1/wishlist/:customerId" method="GET"> <service class="YourCompanyWishlistWebServiceApiWishlistManagementInterface" method="getWishlistForCustomer"/> <resources> <resource ref="anonymous" /> </resources> </route> <route url="/V1/wishlist/:customerId/:productId" method="POST"> […]