top of page
Linux - run the same URL parallelly using curl
Below command will run the URL https://your-website-url/path 150 times parallelly with post data. In the below example, I have just added...
Bilal Malik
Feb 22, 20231 min read
8 views
0 comments


Configure PHP Xdebug in VSCODE
My PHP and Xdebug Version $ php -v PHP 7.4.21 (cli) (built: Jul 1 2021 16:09:23) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0,...
Bilal Malik
Jul 11, 20211 min read
12 views
0 comments
Split file by line number - Ubuntu
We can run the below command to split the large file in Ubuntu. split --numeric-suffixes=1 --additional-suffix=.csv -l 100 original.csv...
Bilal Malik
Jul 5, 20211 min read
2 views
0 comments


Capture queries in Mysql
We can check all the executed queries in Mysql using the below commands. Enable Query Log: SET GLOBAL general_log = 'ON'; SET GLOBAL...
Bilal Malik
Jun 26, 20211 min read
9 views
0 comments


ToastMaster Stage Transitions
I have just listed the stage transitions that happened in the ToastMaster Meeting. I'm using the below abbreviations in the below mindmap...
Bilal Malik
Jun 12, 20211 min read
15 views
0 comments


VSCODE - Magento 2 Development
Please check this link for installing vscode. Vscode configuration optimization Exclude the large folder from the file watcher to reduce...
Bilal Malik
May 13, 20211 min read
19 views
0 comments


Install or Upgrade or Uninstall VSCODE in Ubuntu 20.04
We can install the Vscode in the below two ways. Installation Method 1: Run the below command to install the VScode. sudo snap install...
Bilal Malik
May 13, 20211 min read
8 views
0 comments


Magento 2 EE - Target rule indexer took a long time to complete?
I have faced one issue in Magento 2.3.2 EE, that is whenever I added catalog related product rule in Admin -> Marketing -> Related...
Bilal Malik
May 5, 20211 min read
10 views
0 comments


How to find which JS triggers page scroll?
On my site, whenever I clicked the checkbox that time ajax request called and scrolled a page. I was looking to find which javascript...
Bilal Malik
Apr 26, 20211 min read
15 views
0 comments
Switch PHP version in Ubuntu & Apache
For example, if you are using the PHP 7.2 version and you are looking to switch the version to PHP 7.4. We need to update the PHP version...
Bilal Malik
Apr 25, 20211 min read
29 views
0 comments


Print one screen in dual monitor - Ubuntu 20.04
Please go to keyboard shortcuts Settings -> Devices -> Keyboard -> Keyboard Shortcuts -> Screenshots For me as per the above keyboard...
Bilal Malik
Apr 25, 20211 min read
10 views
0 comments
Magento 2 - Why upsell section is displaying bundle products?
I faced one strange issue, that is we didn't add any upsell rule and we didn't add any upsell products in the prodcut via admin. But...
Bilal Malik
Apr 3, 20211 min read
20 views
0 comments
Check TTFB from Ubuntu terminal
We can print the TTFB multiple times by using the below command in the ubuntu terminal. for i in {0..3}; do echo -n "$i :: "; curl...
Bilal Malik
Feb 19, 20211 min read
13 views
0 comments
Magento 2.4.2 .htaccess changes...
I have just noticed, In Magento 2.4.2 release, the Magento root folder .htaccess file changed completely compared to the 2.4.1 release. ...
Bilal Malik
Feb 11, 20211 min read
38 views
0 comments
Magento 2 CMS block with the same ID already exists
I have seen the below error when I open cms block grid something went wrong with processing the default view and we have restored the...
Bilal Malik
Oct 29, 20201 min read
174 views
0 comments
How to generate bearer token - Magento 2 REST API
We can generate the admin bearer token using the below command. Please run the below command in the terminal to generate a token. curl...
Bilal Malik
Sep 29, 20201 min read
50 views
0 comments
Magento 2 script tag and available options in layout xml
We can add a script via layout XML file in Magento 2. The below format will stop the HTML parse until js downloaded and executed. <script...
Bilal Malik
Aug 22, 20201 min read
81 views
0 comments
How to update multiple products using Magento 2 REST API
We can able to update multiple products in the single Magento REST API request using bulk endpoints. Also, before using the Bulk API to...
Bilal Malik
May 12, 20202 min read
1,162 views
0 comments
What is requireJS AMD in Magento2
Simply we can say, below format is the AMD module. define(['jquery'] , function ($) { return function () {}; }); Module Vs AMD module 1....
Bilal Malik
Apr 19, 20201 min read
17 views
0 comments
Find the top ten IP list from the apache access log file
We can use the below command to find the top ten IP list from the apache access log in ubuntu awk '{ print $1}' access.log | sort | uniq...
Bilal Malik
Apr 1, 20201 min read
50 views
0 comments
bottom of page