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.
Blog
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 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
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.
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 […]
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) { […]
I am using a custom theme built off of Amasty’s Jet Theme. I am trying to use the grouped product type to sell parts from a schematics image. The idea is to have the schematic full width across the top of the product page, with all of the grouped items […]
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 […]
I want to add custome validation for example firstname who user can’t use number But i don’t know why it doesn’t work I have create a module and create a file in view/frontend/web/js/validation.Js with below code : define([ 'jquery', 'jquery/ui', 'jquery/validate', 'mage/translate' ], function($){ 'use strict'; return function() { $.validator.addMethod( […]