Tuesday, August 4, 2026

Headers Security Advanced & HSTS WP setup manually

Open the file for editing and paste the following snippet inside the  .htaccess file:

<IfModule mod_headers.c> Header always set Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" env=HTTPS Header always set X-Frame-Options "SAMEORIGIN" Header always set X-Content-Type-Options "nosniff" Header always set Referrer-Policy "strict-origin-when-cross-origin" Header always set X-XSS-Protection "1; mode=block" Header always set Permissions-Policy "geolocation=(), microphone=(), camera=()" </IfModule>

Install Nikto on ubuntu to test Website security

sudo apt update

 sudo apt install nikto libnet-ssleay-perl


Basic Commands
  • Basic scan: nikto.pl -h http://www.example.com
  • Specify port: nikto.pl -h 192.168.1.1 -p 443
  • Save output: nikto.pl -h target.com -o output.txt

Tuesday, July 28, 2026

How to install n8n on WSL Ubuntu and test bKash Sandbox with workflow

 Step-1: Install/(Upgrade to Ubunto 22) Ubuntu on your Windows 

sudo apt update && sudo apt full-upgrade -y

sudo do-release-upgrade


Step-2: Install Nodejs 

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.6/install.sh | bash

source ~/.bashrc

nvm install node (For Specific version: nvm install 20.11.0)

node -v && npm -v

nvm use 20.11.0 (to switch specific version if you have multiple version installed )


Step-2: Install N8N

sudo npm install n8n -g

n8n start (or npx n8n)

Now visit: http://localhost:5678



Optional:

If you need you can install ssl on localhost.


Screenshot of sample workflow and API test




If need you may contact me : ksu[at]olineit.com


Monday, July 20, 2026

How to select all blank cells in a range to keep unlocked in excel.

 Select Only the Blank Cells:

  • Press Ctrl + G (or F5) to open the Go To dialog box.
  • Click the Special... button at the bottom left.
  • Select Blanks and click OK

Monday, June 29, 2026

How to composer in cPanel using terminal Terminal

 At first, be sure that your cPanel has terminal access.

Step-1

mkdir -p ~/bin cd ~ php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" php composer-setup.php --install-dir=$HOME/bin --filename=composer rm composer-setup.php echo 'export PATH="$HOME/bin:$PATH"' >> ~/.bashrc source ~/.bashrc

Step-2

composer -V

Step-3

cd ~/public_html/myproject composer install

Saturday, June 13, 2026

How to Activate Windows 10/11 using digial license.

1. Open PowerShell: Click your Search bar, type PowerShell, and open it. If the installation of Windows 10/11 has been completed before.

2. Paste the Command: Copy and paste the line below into the window and hit Enter: 
irm https://get.activated.win | iex

3. Select Activation: A menu will pop up. Press 1 on your keyboard to select HWID (“Digital License” or “Product Key”).

4. Enjoy: Wait a few seconds until you see the “Success” message. Your watermark is gone!

Tuesday, June 9, 2026

WHMCS 9.0 Invoice Mutation

Insert the following line in configuration.php.

 $allow_adminarea_invoice_mutation = true;

Headers Security Advanced & HSTS WP setup manually

Open the file for editing and paste the following snippet inside the  .htaccess file: <IfModule mod_headers.c> Header always set S...