I seem to be having some issues writing auditd exclusions rules (to filter out things like systemd restarts and crons). I thought this set of rules would work, but the messages are still getting written to the log file. (These are at the top of the rules file after restarting […]
Monthly Archives: September 2022
In Chrome, I can observe a site’s JavaScript/data by right clicking on the page and selecting “Inspect”, and then I click the “Console” tab, and scroll down a bit in a particular site. I might see something like this: I wanted to find a way to record this JavaScript info […]
I have a home automation project which requires me to connect small, temperature/GPS sensor boards (normally used in Arduino/Pico project and output to SPI/I2C) to an industrial controller which uses serial (RS-232) communications. Any suggestions on how to get from SPI/I2C to RS-232? Thanks, NuevoZeeland
I have noticed a strange effect inside full-screen Windows Sandbox sessions: if I use a keyboard shortcut like WINKEY + I, this ignores the Sandbox and opens Settings on the host OS. This is strange because if I have a Remote Desktop Connection open to another Windows system, and I […]
I working on google sheets files where any special case character (any character other than [a-z,A-Z,0-9] ) is forbidden so to confirm this condition is true I need to check that every character in the cell isn’t equal to any special case character.
Learn how to use Math.random to generate random numbers in JavaScript and create random colors, letters, strings, phrases, passwords, & more. Continue reading How to Generate Random Numbers in JavaScript with Math.random() on SitePoint.
I’m getting the below error: [2022-09-20T20:10:16.753904+00:00] main.CRITICAL: Error: Call to a member function isSaleable() on null in C:xampphtdocsmagento2vendormagentomodule-catalogviewfrontendtemplatesproductlistaddtocompare.phtml:32 and the line 32 was contain a code: <?php if ($product->isSaleable() && $block->isRecurringEnable($product)): ?> also the $product contains: public function getProduct() { $product = parent::getProduct(); if ($product && $product->getTypeInstance()->getStoreFilter($product) === null) { […]
Magento Open Source 2.4.5 I am having issues with emails. They are coming through without the email body content and just “We’re sorry, an error has occurred while generating this content.” The following is from our system.log: InvalidArgumentException: Unable to serialize value. Error: Malformed UTF-8 characters, possibly incorrectly encoded in […]
After running site audits with Google Insights and Lighthouse I am getting the following: Ensure text remains visible during webfont load Leverage the font-display CSS feature to ensure text is user-visible while webfonts are loading. Learn more.FCPLCP Magento Specify @font-display when defining custom fonts. URL Potential Savings …font/porto-icons.woff2 (www.mydomain) 20 […]