Category: JavaScript
-
Proxy another website url on a particular path using cloudflare workers – modify response body
-
JS Notes Object.is vs === Triple EqualTo
Source: Linkedin
-
How to export multiple selected tables in PMA phpmyadmin (but not all tables)
Click on export, and choose “custom” export method. Lets say you want to export first 20 tables only. Open chrome or browser console [ctrl+shift+j], enter the following: For next 20, use 20,50 as arguments in slice function used above.
-
A basic time difference calculator in google script js
In your Google Sheet, Click “Tools” and then choose “Script Editor“. Put the code given below. Don’t forget to use function in your result column as “=dodiff(cell1,cell2)“
-
How to track qty changes in cart?
This is not CMS or software specific. Can be used for shopify, magento, wordpress or any other cart page Assumption: All the cart items have an input field for quantity in case they want to change qty for any item Assumption:All those input fields can be selected using queryselector. Either they have common name attribute…
-
Magento 2 Multi Select click all code – Tax Rates
Put the following code in console.
-
5 ways to redirect your Web page?
Hi Everyone! In this post we will be learning about redirects. And see how you can redirect your web-page. We will see two ways to redirect web-pages: Through your registrars’ Cpanel. Right into your code. Through cPanel redirect feature You can easily redirect your visitors from one page to another with the help of the Redirects feature. …
-
ReactJS: Create your first react app.
React is one of the most in-demand and popular JavaScript library. And the reason is simple it gives you the ability to create complex User Interfaces with minimal and simplified code. In this article we are going to go through the installation process and the process of creating your first react app. Creating a react…
-
NodeJS: JavaScript powering the backend.
Node.js is an open-source, cross-platform JavaScript run-time environment that executes JavaScript code outside of a browser. NodeJS is a JavaScript engine that you can install in your own system. Also, NodeJs makes it possible to use JavaScript in backend development as a backend programming language. (Cool! isn’t it.) You need to know this. Node isn’t…
-
Understanding “this” keyword in JavaScript.
‘Hi Everyone! In this article, we are about to discuss ‘this’ keyword in JavaScript. It is a very important part of object-oriented JS programming. Hence it becomes crucial for serious developers to understand ‘this’ keyword. It is also one of the most confused concepts of JavaScript. What is ‘this’? Understanding ‘this’: To be able to understand what I am…