• Error using GRANT with IDENTIFIED by password in MySQL

    Question: I have been using IDENTIFIED BY ‘password’ along with GRANT statement for years in many MySQL versions. However, the same failed in MySQL version 8.0.26 on my new CentOS Stream release 8. Below is the complete error message. What could be the issue? – Tushar. mysql> GRANT ALL PRIVILEGES…

  • Open HTTP 80 and HTTPS 443 ports in firewalld on CentOS 8

    Do you want to open ports HTTP and HTTPS in firewalld? In this tutorial, I will explain how to open ports 80 & 443 in firewalld in CentOS Stream release 8. HTTP and HTTPS protocols are generally used by web servers such as Apache or Nginx. But these ports 80…

  • Error Access denied need PROCESS privilege [MySQL]

    I was trying to back up the database using the MySQL dump command, however, the command failed with an error message ‘Error: Access denied; you need (at least one of) the PROCESS privilege(s) for this operation’. Here’s the complete error message. $ mysqldump -u dbuser -p tg_db > tg_db.sql Enter…

  • How to Blur Image in Microsoft PowerPoint?

    Hope you had read my article on how to blur images in MS Paint and today I’ll explain how to blur an image in Microsoft Powerpoint. In Microsoft PowerPoint, you can blur an image completely, and to blur a particular part of an image, you will need to play with…

  • Detect Shift-Enter keypress in JavaScript

    Here’s a question from one of our readers, Ms. Shikha. I read your article on KeyBoardEvent.keyCode is deprecated and the alternate property .key should be used. While using the .key property, how can I detect the Shift-Enter keypress in JavaScript? How to Detect Shift-Enter Keypress in JavaScript? In my previous…

  • KeyboardEvent.keyCode deprecated! Alternate is .key

    I have been using KeyboardEvent.keyCode property to detect the keys pressed in JavaScript. For example, in one of my applications, I had been using the keyCode property to detect the Enter keypress and execute a corresponding code. Though the code was working fine on all browsers, I recently came to…

  • Create Collapsible Mobile Menu in Divi Theme

    This morning, one of my clients send this message – “Hey, can the website menu be condensed a bit for mobile devices? All the drop-down menu items are getting displayed at the same time hiding the entire webpage behind the menu”. Looking at the screenshot, I understood that the length…

  • SimpleMathJax extension for MediaWiki and Mathoid issues

    I had set up a Math extension in Mediawiki version 1.31.1 for one of my client’s websites. It was working fine for a year and all of a sudden it broke with an error: Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools):…

  • Find number of Lines of Code from GitHub Repository

    How many lines of code did you write? Well, that was the question asked by one of the interviewers in my interview. At that time, I didn’t really know what to answer and I just blindly said it would be around ‘2 Lac lines of code’. Since the question was…

  • Task Manager in Windows 11, six ways to launch it!

    Right-click on the taskbar and click on “Task Manager” to launch the Task Manager in Windows. You are right, but that’s past and not anymore in Windows 11. Windows 11 has moved the Task Manager option from the taskbar right-click menu. But there are six other ways to launch Task…

  • Get back the classic right-click context menu in Windows 11

    Want to bring back the old style of classic right-click context menu in Windows 11? You are not the one who’s missing it and it’s one of the most useful menus that’s now replaced with a shortened and organized one in Windows 11. Well, Microsoft has some reason for it,…

  • Ribbon bar in Windows 11 Explorer, get it back!

    I had recently upgraded my system to Windows 11 and my experience till now is pretty cool. However, a few interesting features that I was using in Windows 10 are removed in Windows 11. For example, a Ribbon bar in the Windows 10 Explorer is replaced with a command bar…

  • How to set HDMI Black Level in Samsung Monitor

    Are you like me who likes to use multiple monitors for desktop PC? And does it drive you crazy when some colors look different on those monitors? Well, it did happen to me when I installed a new Samsung monitor (Model: LF24T352FHWXXL). Yes, some colors were visible properly on my…

  • Error accessing backend service – WSO2 forgot password

    I had configured WSO2 successfully and NGINX reverse proxy is set up as well. However, clicking forgot password link from the publisher or developer portal login pages lands me with the error – Error while accessing the backend service and looking at the wso2carbon.log file reveals more information: “ERROR {org.wso2.carbon.identity.mgt.endpoint.util.client.ApiClient}…

  • Change brand attribute URLs to SEO friendly URLs in WooCoomerce

    I have been using WoodMart WooCommerce Theme for one of my client’s e-commerce websites. The theme had an option to create brand attributes and map products to respective brands. However, the brand attribute URLs were not SEO-friendly. For example, the default URL of one of the brands is –  https://example.com/shop/?filtering=1&filter_brand=royal-canin….

  • Rubygems-update requires Ruby version >= 2.3.0 [Fix]

    I was trying to update rubygems and ended up with an error “Error installing rubygems-update: rubygems-update requires Ruby version >= 2.3.0“. Below is the command used to update RubyGems. # gem update –system Updating rubygems-update ERROR: Error installing rubygems-update: rubygems-update requires Ruby version >= 2.3.0. Here’s my Ruby and Gem…

  • Share Google One storage with your family

    I recently purchased a 100GB Google One Storage plan. In order to share the storage with my family, I created a family group and added my wife’s Google account to it assuming that she would be sharing the Google One storage that I had subscribed to. However my wife came…

  • Using multiple patterns at once with Sed command

    Here’s a question from one of our regular readers Mr. Manish.  His question is, how to use multiple patterns at once with the Sed command in Linux for delete or replace operations. Consider an example file containing the following text. (I’m using the same example the reader asked for). SLURM_CLUSTER_NAME…

  • Setup WSO2 with NGINX Reverse Proxy for custom URLs

    By default, WSO2 interfaces such as Publisher, Developer portal, and Carbon are accessed via port :9443/publisher, :9443/devportal and :9443/carbon respectively. But I don’t suggest offering endpoints with port numbers to the customer for good reasons. So if you are like me and wanted to set up custom proxy paths such…