having successfully started one spiderfoot scan, and exited it by ctrl C, i cannot now restart the server – either by the webgui or by the sfcli.py command. I am running it on kali on a rasberry pi 4. Rebooting the OS does not work; disabling the ufw firewall does […]
Blog
Hayo! I can’t seem to get a ping from the conection (PC1 to PC2 directly connected with a CAT5 factory cable), but arping does just fine. The pocedure as follows: connect PC1 to PC2 via ethernet; start udhcpd on PC1; start udhcpc on PC2; confirm dhcp OFFER and ACK on […]
(1) In Windows 11 there’s a new settings item System -> Power & Battery, which under Power mode gives 3 choices: “Best Power efficiency”, “Balanced”, and “Best Performance”. (2) Moreover, in Control PanelHardware and SoundPower OptionsEdit Plan Settings there’s still the Change advanced power settings dialogue, but this (at least […]
I try to add a few single pixels to this selection and remove some. I know it works with the rectangle select tool when you set it to 1px, but I search for a pencil like solution where I just have to click. It sounds very simple, but I try […]
In Magento 2.4.1 I developed below code to compress the PDF and it was working fine Recently I updated Magento to 2.4.6-p3 and now compression stoped working. app/code/Vendor/CompressPDF/etc.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="MagentoSalesModelOrderPdfInvoice" type="VendorCompressPDFModelSalesOrderPdfInvoice" /> </config> app/code/Vendor/CompressPDF/Model/Sales/Order/Pdf <?php namespace VendorCompressPDFModelSalesOrderPdf; class Invoice extends MagentoSalesModelOrderPdfInvoice { /** * Set […]
<?php namespace AlexAskQuestionControllerSubmit; use AlexAskQuestionModelAskQuestionFactory; use MagentoFrameworkAppActionAction; use MagentoFrameworkAppActionContext; use MagentoFrameworkControllerResultJson; use MagentoFrameworkControllerResultFactory; use MagentoFrameworkDataFormFormKeyValidator; use MagentoFrameworkExceptionLocalizedException; class Index extends Action { public const STATUS_ERROR = 'Error'; public const STATUS_SUCCESS = 'Success'; /** * @var Validator */ private Validator $formKeyValidator; /** * @var AskQuestionFactory */ private $askQuestionFactory; /** * Index […]
We use Magento 2.4.6-p3, php8.2… I want to do mass edit of products attributes in backend grid. After choosing select All – confirmation is visible saying for example: 7565 records found (7565 selected). So, I select Update attribute, do editing and click Save. Unfortunately only first in the line/grid product […]
I want to add Installed version of current extension/module in admin menu like below screenshot. https://i.imgur.com/0P7QZSA.png Note: For creating menus in m2 admin, I am using following code from /etc/adminhtml/menu.xml file. <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Backend:etc/menu.xsd"> <menu> <add id="My_Module::main" title="My Module" module="My_Module" sortOrder="999" parent="Magento_Backend::stores" resource="Magento_Backend::stores" /> <add id="My_Module::storeCredentials" title="Store Credentials" […]
i couldn’t post this on stack overflow since it said it was spam so here it goes Description: When executing sudo apt-get update, I’m encountering errors related to the ‘bookworm-security’ repository. The output of the command includes the following error message. domin@fbi:~$ sudo apt-get update Hit:1 http://packages.microsoft.com/repos/code stable InRelease Hit:2 […]