I’ve got a custom Magento 2 module that is causing issues on newly created products. All of the existing ones seem to be okay. I’m running Magento 2.3.4 in my template: /app/design/frontend/MySite/MyTheme/Magento_Catalog/templates/product/view/attributes.phtml < ?php $_helper = $this->helper('MagentoCatalogHelperOutput'); $_product = $block->getProduct() ?> $block->getChildBlock("MyBlock")->setData("my_data", $_product); echo $block->getChildHtml('MyBlock', false); The line that reads […]
Blog
I have an app running at startup with raspberry pi I set /etc/dhcpcd.conf to use static IP, but it doesn’t work, it keeps on changing I also have an app that starts up automatically So now I cannot SSH into it, and I cannot check or change the IP manually […]
I am trying to convert a VirtualBox VM, but Parallels returns the error PRL_ERR_CANT_CONVERT_OTHER_VENDOR_VM when attempting to run the conversion. I read that this might be due to the hard disk image having an .hdd extension instead of a .vdi. Is this true and if so is there a workaround?
I have a local KDE Neon installation on my separated SATA SSD. I want to use this SSD for dual-boot and VM. I tried to add the disk to the VM, by using the physical disk feature. However, no matter what settings I use(controllers, partition/whole disk), the VM fails to […]
When installing a file with the -D option to include creation of parent directories, how do you specify the user, group, and mode to use for the created directories? This is in the context of an RPM spec file, e.g.: %install install -m 750 -D %{_sourcedir}some/path/functions.sh %{buildroot}/opt/some/path/functions.sh %files %defattr(640, root, […]
NGINX is a high-performance HTTP server as well as a reverse proxy. Unlike traditional servers, NGINX follows an event-driven, asynchronous architecture. As a result, the memory footprint is low and performance is high. If you’re running a Node.js-based web app, you should seriously consider using NGINX as a reverse proxy. […]
Insphpect is a new code analysis tool that identifies poor Object-Oriented design practices that lead to inflexible code. For example, singletons and global variables, amongst others. In some cases, Insphpect can even offer automated corrections by generating a patch which will remove the bad practice from your code entirely! This […]