Subscript and Superscript text
Toggle editor to text from visual.
For subscript
<sub>text</sub>
For superscript
<sup>text</sup>
by dev
Subscript and Superscript text
Toggle editor to text from visual.
For subscript
<sub>text</sub>
For superscript
<sup>text</sup>
by dev
Fix: Could not create the Java Virtual Machine. A fatal exception has occurred. Program will exit.
Open CMD
Check java version
java –version
If get error, search Environment Variables
Edit the system environment variables > Advance > Environment Variables
Double click path within
Click on New and add your java bin path
In my case the is C:\Program Files\Java\jdk-19\bin
Could not create Java virtual machine error on Windows 10 and windows 11
Variable name: _JAVA_OPTIONS
Variable value: -Xmx512M
by dev
How to Install Zip/Unzip in Debian/Ubuntu/Mint
apt install zip apt install unzip
How to Install Zip/Unzip in RedHa/CentOS/Fedora
dnf install zip dnf install unzip
How to Install Zip/Unzip in Arch/Manjaro Linux
pacman -S zip pacman -S unzip
How to Install Zip/Unzip in OpenSUSE
zypper install zip zypper install unzip
by dev
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.globalmainstreamjournal\.com [NC]
RewriteRule ^(.*)$ https://globalmainstreamjournal.com/$1 [L,R=301]
by dev
We can do the change timezone in two ways,
1. Using /etc/localtime File
Check current timezone
date
The /etc/localtime is a link to the original timezone file. Check the symbolic link using the following command.
ls -al /etc/localtime
Output
lrwxrwxrwx 1 root root 32 Oct 8 13:58 /etc/localtime -> ../usr/share/zoneinfo/Asia/Dhaka
The /usr/share/zoneinfo/ directory contains all the timezones.
You can check your zone info. For example, America, Chicago, Los_Angeles, Dhaka etc
ls /usr/share/zoneinfo/America/
Now, create a link with the desired timezone file. America/Chicago
ln -sf /usr/share/zoneinfo/America/Chicago /etc/localtime
Verify the timezone using the date command.
date
That’s All.
2. Using timedatectl command
Check current timezone
date
Use the following command to list all time zones.
timedatectl list-timezones
You can filter the output with the city nearer to you.
timedatectl list-timezones | grep -i Los_Angeles
Set the timezone using the following command.
timedatectl set-timezone America/Los_Angeles
Verify the timezone using the date command.
date
That’s All.