There is a network device for which RouterOS blocks internet access from 20:00 till 09:00. There are some exceptions that should work no matter whether internet access is blocked or not. These exceptions are not IP address ranges but domain names, because IP addresses change constantly. RouterOS allows to add […]
Blog
I have recently acquired a Dell XPS 15 9500, and also have a Dell XPS 13 9370. They are both running Ubuntu 20.04 as a dual boot. I have an access point (private, at home) where the 13 has no problem connecting, but the 15 won’t. The 15 has never […]
In normal command I can execute other commands based on exit code: command.sh && command_if_OK.sh || command_if_fail.sh But I would like to pipe output to log file AND then execute commands according to exit code. Something like this, but obviously it will not work, because the exit code will be […]
So I am using quite a lot of shared calendars with plenty of entries. Sadly default vertical view is very complicated and I literally can’t do required scheduling with that. In the monthly view, the “list” type view is exactly what I need, but with the monthly view, not all […]
Is there something wrong with my PC.? Change between privat and public on the network settings dont help, like wise with changing the physical network adapter MAC. What could it be and how to get it fixed. Its Realtek PCI Family Ethernet drivers and D-Link router. Hope someone can tell […]
In this article, we’ll learn what Google’s zx library provides, and how we can use it to write shell scripts with Node.js. We’ll then learn how to use the features of zx by building a command-line tool that helps us bootstrap configuration for new Node.js projects. Writing Shell Scripts: the […]
Situation: Magento 2.4.2 p1 (but was also like this on earlier versions) We have Magento multistore. So example. I create a configurable product from our imprts (emagic manager(. I set ‘manage stock’ for default value of the configurable product to ‘no’ Now as ‘manage stock’ is a global setting I […]
I am trying to get data from database table, my code of index.php <?php namespace DemoHelloworldControllerPost; class Index extends MagentoFrameworkAppActionAction { protected $_postFactory; public function __construct( MagentoFrameworkAppActionContext $context, MagentoFrameworkViewResultPageFactory $pageFactory, PixelproHelloworldModelPostFactory $postFactory ) { $this->_pageFactory = $pageFactory; $this->_postFactory = $postFactory; return parent::__construct($context); } public function execute() { $post = $this->_postFactory->create(); […]
I want to write a render to add one of the column in the Gird. It needs to retrieve data from the vendor_module_slide_store. I wrote a function to get store_id from that table, by using the key (slide_id). I am appreciate for any help. $this->addColumn( 'store_id', [ 'header' => __('Store […]