Saturday, December 24, 2016

Missing 1920x1080 resolution in linux

You may have to update your grub file in order to enable the custom resolution in the below file:
$sudo nano /etc/default/grub
Find and remove # from GRUB_GFXMODE line and replace with your required resolution, so it will look like this
GRUB_GFXMODE=1920x1080
Save and exit (Press Cltr+x ,y and enter).
Run below command and reboot.
$sudo update-grub
$sudo reboot

Unzip or extract .zip file in linux

In order to unzip a .zip file in linux (Ubuntu) type this in terminal:
$unzip file_name.zip -d destination_folder
For example, to extract a file named HelloWorld.zip to my current directory:
$unzip HelloWorld.zip -d .
Here . represents current directory, you can give a path to the directory to extract into.
If you see "command not found", you need to install zip command by typing:
$sudo apt-get install unzip

Similar to this, you can zip a file by below command:
$zip filename.zip filename
To install command zip type:
$sudo apt-get install zip

Java 8 TLS 1.3 Support: Fix “Client Requested TLS 1.3” SSL Errors Without Upgrading to Java 11

If your Java 8 application recently started failing HTTPS or API calls, you’re not alone. More services are enforcing TLS 1.3 only connectio...