Posts

Showing posts from March, 2019

Change ownership of directory and all contents to a new user from root

Use the chown command to change file owner and group information. adduser haank passwd haank # set the password chown -R haank /var/www/html/ -R is used for Recursive.

Steps to add Hibernate option in Windows 10 start menu

Image
If you are not going to use your computer for a few hours, it is a good idea to put it to sleep (also known as standby mode) to save power. When you select Hibernate, the computer saves the current state of the system from the computer's RAM to the hard disk, then shuts down. When the computer is restarted, instead of going through the typical boot sequence, the previously saved state is automatically loaded into the RAM. Let’s see how to enable Hibernation mode on Windows 10: Open Control Panel and navigate to Hardware and Sound > Power Options. Click Choose what the power buttons do. Next click the Change Settings that are currently unavailable link. This will allow you to change shutdown options. Check the Hibernate (Show in Power menu). Click on Save changes and that’s it. Now you should have Hibernate option available in the Start Menu.

Failed parsing 'srcset' attribute value since it has an unknown descriptor.

Error : Failed parsing 'srcset' attribute value since it has an unknown descriptor. dropped srcset candidate "<url>" srcset spaces My Code : <picture>    <source media="(max-width: 768px)" srcset=" https://locahost/wp-content/uploads/2019/01/image banner.png ">    <img class="js-lazy-image" src=" https://locahost/wp-content/uploads/2019/01/image banner1.png "       style="width:100%;height:100%"> </picture> when i am using the above code in my HTML page, I got those above Chrome errors  on my website: A simple 10 min research, I found the below solution. and the problem was caused by a space in the image path URL. Solution : <picture>    <source media="(max-width: 768px)" srcset="https://locahost/wp-content/uploads/2019/01/image-banner.png">    <img class="js-lazy-image" src="https://locahost/wp-content/uploads/2019/01/image-banner1.png...