Hibernation is a feature of Microsoft Windows Operating System which was primarily designed for laptops. When a PC goes into hibernation it takes a snapshot of all your files and windows and saves that snapshot to your hard drive before shutting down. The next time you start your PC or laptop, your PC starts up faster, retrieves the snapshot from the disk and pops up before the monitor almost instantly where you left it.

There are several ways to enable or disable hibernation in Windows 10. These are discussed below.

Continue Reading ...

 

I ran into a situation while developing a website where I needed to get a specific part of URL. Think of a URL, http://localhost/testjs/index.html. I want to extract both the base URL and the root URL which are,

Continue Reading ...

 

I have been thinking about how to access to my localhost in windows from Android/Apple devices. Every now and then, web developers bump into the problem of accessing localhost sites/apps from their mobile devices.

As a general practice, all files of a website are uploaded to remote server (generally under a subdomain named "demo") and tested using various devices and browsers. Whenever any file goes under any change, it is again uploaded to remote server for testing. This is certainly time consuming and tiresome task.

Continue Reading ...

 

The VCF file extension is related to many personal management and e-mail programs like Microsoft Outlook. VCF format is an universal standard for storing personal or business contacts, such as name, e-mail, social networks, address, or phone numbers. These files are frequently used for import and export of contents between two programs or devices and their respective address books. They can also be sent as e-mail attachments.

Continue Reading ...

 

FontStyle is an enumeration you can Or them together to add or Xor to remove.

i.e.

to add underlining to existing style:

textBox1.Font = new Font(textBox1.Font, textBox1.Font.Style | FontStyle.Underline);

Continue Reading ...