I want to count the number of files and folders contained within a given root folder, potentially excluding certain subfolders. According to this accepted answer, the basic structure of the command should be find <root> -path <exclude> -prune -o -name '*.txt' -print Since I am interested in all files, regardless […]
Rubin
I have a web server that uses a additional restful server in a different port. I would like to allow traffic to the restful server only after a connection to the main server has been established. To accomplish that I use the following rules -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED […]
Context: I have a Windows Server 2022 VM where Jenkins generates nightly builds. Jenkins checks out the repository and produces an ISO file as an artifact. I need to boot that ISO and run an automated test script (e.g., /mnt/workspace_devel/test/test_run.sh) inside the OS that starts from the ISO. Nested virtualization […]
I have a relatively high quality SanDisk USB 3.0 flash drive. I have had it for a while (years). Can these flash drives be interrogated either under Windows, Linux, or macOS to disclose any firmware information regarding lifespan left? Will they just fail outright, or will there be signs before […]
A closer look at why clean optimized Magento extensions keep your store stable secure and ready for growth Continue reading on Medium »
I’m trying to get viewModel in two areas inside phtml. I’m getting an error (Fatal Error: 'Uncaught Error: Call to a member function getviewmodelText() on null). My code for ViewModel is : Phtml file : $viewModel = $block->getViewModel(); $heelDetail = $viewModel->getviewmodelText($item); Default.xml : <referenceContainer name="content"> <block name="size"> <arguments> <argument name="viewModel" […]
I try to relaying my favorite radio station using Icecast in my network. I’ve got a hint from the Icecast developer Marvin Scholz for a configuation that should work, but it doesn’t. The URL of the radio station (mp3 stream) is https://stream.radio1.ch/128k (it’s https, port 443), here his configuration: <relay> […]