I’m building a small SOC/home‑lab and I’m struggling with the networking in VirtualBox. I’d like some advice on the correct way to wire this so that: All lab VMs live on their own subnet(s), not directly on my home LAN. Lab machines can reach the Internet through pfSense which would […]
Yearly Archives: 2026
I have a script that goes like this: #!/bin/bash # https://stackoverflow.com/a/821419 set -Eeuo pipefail _SUBJECT='Taskwarrior ghistory.daily' _TO='me@me.me' _TMP2=$(mktemp /tmp/tmp.XXXXXXXXXX.log) _TMP=$(mktemp /tmp/tmp.XXXXXXXXXX.png) _CMD="/usr/bin/unbuffer /usr/bin/task rc:${HOME}/.config/task/taskrc ghistory.daily -minut_45 end.after:tomorrow-1wk 2> '${_TMP2}'" /usr/bin/timeout 10s /usr/bin/bash -c "${_CMD}" | ${HOME}/go/bin/textimg -o ${_TMP} # tee /dev/tty | echo "${_CMD}" | mutt -a "${_TMP}" -s "$_SUBJECT" […]
I am facing after an issue after upgrading version magneto 2.4.3 to 2.4.5 When I run this command I got error php bin/magento setup:di:compile Deprecated Functionality: Return type of Zend_Config::count() should either be compatible with Countable
In Magento 2 I have two stores with “add store code in url” option enable. Store code 1 = “fr” Store code 2 = “es” I want to automatically add default store code in url: Redirect http://mywebsite.com to http://mywebsite.com/fr/ Actually when I visit http://mywebsite.com I stay to this url and […]
I want to get the below data of all products by SQL Query. SKU Product name Website Attribute set Quantity per source Sellable quantity visibility Price Status I have used this extension: https://github.com/degdigital/magento2-customreports This extension has functionality to get the CSV report by SQL query. So I want to get […]
I’m trying a PUT on Magento 2 REST API through Postman like this: https://domain/rest/V1/products/IP_X With only a price change on the JSON content. I’m getting the following error message: { "message": ""%fieldName" is required. Enter and try again.", "parameters": { "fieldName": "product" } } The REST API spec indicates the […]
I want to remove the wishlist products that are added to the cart. I’ve followed this link: Keeping wishlist items for keeping the wish list items after being added to the cart.i have set my $delete to true as shown in the code below but the product isn’t removed from […]