In an Admin Controller Class, How do I check if the admin user is logged in, then redirect to the login page if not logged in, then return to the previous controller after login? A cut down version of my script as follows. use MagentoFrameworkViewResultPage; use MagentoFrameworkControllerResultRedirect; class Index implements […]
Monthly Archives: December 2023
I’m trying to download all 608 videos from this channel (https://www.youtube.com/@EndoJunts). However, when I use yt-dlp to download the channel, I only see 594 videos. This is the argument I used yt-dlp -P D:musicRapYoutubeEndoJunts -f 233 https://www.youtube.com/@EndoJunts I’ve noticed the same issue with trying to download other Youtube channels as […]
I have this Home Office edition of MS Excel for Mac and I was playing with Google Sheets earlier, chiefly with the GOOGLEFINANCE function, when it occurred to me that Apple Numbers might have a similar function. And indeed it does, but Numbers is kind of clumsy and I’ve never […]
I own a Lifebook U749 and I would like to add a second hard drive, unfortunately I do no have a service manual and cannot check if this is feasable, I tried to put a Sabrent SSD PCIe NVME “M” key size 2242 in the slot that you can see […]
I need to run GUIs from a Linux server (which I do not have sudo for) for work. Being on a Windows 11 computer, I set up a WSL with Ubuntu-22.04, and succesfully followed these steps to display Linux GUIs on my Windows system: xeyes and other related programs work […]
Programmed BIOS chip with a chip purchased from eBay (didn’t solder to the board, but using the ch341 programmer) Copied the bios file from the eBay chip to the on board chip, the first respond with a high speed fan, no display. Again I programmed the chip with back up […]
I’m not sure when it started not working or if it ever worked. Helping a friend out with their website. I’m going to assume it was working at some point. I looked in the logs while refreshing the page and only got the error below. Magento ver. 2.3.4 Opensource not […]
I’m looking for a code which i can use to update msi product stock. with different source code and quantity. I want to update product stock having msi enabled.
I need to add a dropdown as the one in the image. The current dropdown, shown in the image, contains some of my attributes. However, I need to add an additional dropdown for other attributes which is identical to the one in the image. Can someone help? Please let me […]