I am writing an Observer to MagentoCustomerAccountIndex but the Objects from class MagentoCustomerModelCustomer return null when getExtensionAttributes is executed. $customer = $customerFactory->create()->load($customerID); //$customerRepository->get($customerID); $ext = $customer->getExtensionAttributes(); if($ext == null){ throw new Exception(" var ext = null"); } I used CustomerRepository and CustomerFactory to get $customer
Daily Archives: January 16, 2020
Suppose I have a sequence of 32-bit (RGBa) PNG files. Is it possible to compress the RGB channel with one codec and the alpha channel with another? For example, if I had the RGB and alpha as separate PNG files (24 and 8 bit, respectively), I would do something like […]
I’m trying to get the total size of all the JPEGs in a particular folder, but no amount of combinations of options while piping to du seems to make this work: find -type f -iname "*.jpg" | du -sch 166G . 166G total All of them print the total of […]
I recently switched to bash from csh. I normally use Alt-f for forward-word on the command line. Since I’ve switched to bash it prints æ instead. ctrl-v alt-f also shows æ
I have the following configuration: A RPI4 at home behind my firewall with NAT enabled A hosted VM somewhere on the internet I would like to have my own Dynamic DNS service that work as follow: A DNS entry for the domain home.foo.com redirects to my VM The VM intercept […]
I have upgraded to windows 10 1909 through windows upgrade assistant and it download an ESD file size 3.37GB. The upgrade was complete and I removed the ESD file somewhere else from where it was originally downloaded. But suddenly when I connected to the wifi it started using data took […]