Showing posts with label How to. Show all posts
Showing posts with label How to. Show all posts

Online Body Mass Index Calculator - How to Calculate My BMI

Want to calculate your BMI? We shall see what is BMI and how to calculate it. Body Mass Index (BMI) is a measure of body fat based on your weight with respect to your height.



where weight is in kilograms and height in centimeters.

BMI can be used to tell whether you are underweight, normal, overweight or obese. You can calculate your Body Mass Index here using our online BMI calculator.



Weight (in kg):
Height (in centimeters):

How to Take Screenshots in LYF Android Phones like Flame, Water, Wind, Earth etc

Want to know how to take a screenshot in LYF android phones. Popular android phones from LYF are Flame, Wind, Water, Earth etc. Toke capture the screen of a LYF phone as an image, you  just have to press and hold the power button (screen lock button) and volume down button together for a few seconds.

The screen will flash indicating that a screen-shot is taken. The screen shot can be seen in the notifications.

How to Make Hibernate Shortcut in Windows

Do you want to hibernate your Windows computer? Are you searching for a way to enable hibernate option in your computer. Here we will tell you a simple trick to make a hibernation shortcut on your desktop. To enable hibernation in your Windows computer (Windows 7, Windows 8 or Windows 10), simply follow the given instructions:

  1. Right click on Desktop
  2. Select New -> Shortcut
  3. Type shutdown /h in the given textbox
  4. Click Next button
  5. Type a name for the shortcut (eg:hibernate now)
  6. Click Finish button.

Now a new shortcut will appear on your Windows desktop. Open it to hibernate the computer immediately.

How to Make Restart Shortcut in Windows

Here we will see how to create a restart shortcut. To make a shortcut for restart option on desktop, follow the given instructions:


  1. Right Click on Desktop.
  2. Select New > Shortcut
  3. In the text box, type: shutdown /r /t 1
  4. Click Next.
  5. Give a name like 'Restart' for the shortcut .
  6. Click Finish.



How to Schedule a Shutdown in Windows

You can schedule a shutdown in Windows. We will see how to plan a shutdown in your windows computer. It works for Windows 7, Windows 8 and Windows 10. To arrange or organize an automatic shutdown in your Windows computer, we use a run command. Once you set up a shutdown, when the specified time period is elapsed, you computer will shut down. Follow the given instructions to schedule an auto shutdown.


  1. Open Run dialog box from start menu (or by pressing Windows key + R).
  2. type shutdown /s /t sec in it.
    Here sec is the amount of time in seconds to be elapsed before shut down.
  3. Press Enter or click OK.
  4. You will be notified that a shutdown is scheduled.
  5. It is done.
An example is:
shutdown /s /t 600
Here after 600 seconds (10 minutes), the computer will turn off. The following video will show you.



How to Create Shutdown Shortcut in Windows

You can make a shortcut file which when opened, instantly shuts down Windows Operating System. This works in Windows 7, Windows 8 and Windows 10. Here we will see how to create a shutdown shortcut in Windows. To make a shutdown shortcut on desktop, follow the given instructions.

  1. Right click on desktop.
  2. Select New -> Shortcut
  3. Type shutdown /p  in the text box
  4. Click Next button
  5. Give a name for the shortcut, like 'Shutdown' or 'Turn off'.
  6. Now Click Finish.
  7. No you will get a shortcut file on desktop
If you open this shortcut file, your computer will shutdown instantly. You will lose your unsaved works. So close all applications properly before shutdown.

How to Create Logoff (Sign Out) Shortcut in Windows

You can create a shortcut file which when opened, instantly logs out or sign out the current user account from Microsoft Windows Operating System. This works in Windows 7, Windows 8 and Windows 10. To make a Log out shortcut on desktop, follow the given instructions.


  1. Right click on desktop.
  2. Select New -> Shortcut
  3. Type shutdown /l  in the textbox
  4. Click Next button
  5. Give a name for the shortcut, like 'logoff', 'logout', 'signout' etc.
  6. Now Click Finish.
  7. No you will get a shortcut file on desktop
If you open this shortcut file, you will be logged out from your Windows computer. Remember, it is not shutting down. Just logging out. But, you will lose your unsaved works. In another post, we will see how to make shutdown, restart and hibernate shortcuts in windows.


How to Hard Reset Lenovo Tab 2 (A7-10, A7-20, A7-30, A7-40 and A7-50 tablets)

This post explains how to hard reset Lenovo tablet  called Lenovo tab 2. There are many variants for Lenovo tab 2. Some of them are Lenovo tab 2 A7-10, A7-20, A7-30, A7-40, A7-50 tabs. These Lenovo tablets follow a common method for hard reset. We will tell you how to hard reset Lenovo tab 2. This post also answers the following questions too:

  • How to factory reset Lenovo tab 2
  • How to erase all data on Lenovo tab 2
  • How to boost speed of Lenovo tab 2
  • How to unlock locked Lenovo tab 2
  • How to remove pattern lock of Lenovo tab 2
  • How to restore Lenovo tab 2 if password is lost or forgotten
Here, we will see how to hard reset Lenovo tab 2 A7-30 A3300. All other versions of Lenovo tab 2 mentioned above can be reset similarly. But we recommend to watch the following video before you proceed.




NB: Don't forget to backup everything important including contacts and files.

Steps:


  1. Open Settings
  2. Select Backup and Restore
  3. Select Factory Data Reset
  4. Read the information on the screen carefully, then click Reset Tablet
  5. Enter Lock-screen password if asked
  6. Click Erase Everything



How to Edit 'hosts' File in Windows - Why to Edit It?

default contents of hosts file shown in screenshot of hosts file
Windows host file screenshot
There is a file named 'hosts' located in the following path: C:\Windows\System32\drivers\etc. For me, C is the Windows installation drive. Replace it with your Windows installation drive. The file can be found in the same path in Windows 7, Windows 8 and Windows 10. This file is used to map host names to IP addresses.

Why use hosts file

As said earlier, the hosts file is used to map domain name (actually host names) to IP some address. The file contains many lines starting with # symbol. Those lines are comments. Within the comments you can see some examples showing how to use the hosts file. Each line (not comments) should contain an IP address followed by a space and a host name. The format is:

IP_address<space>Host_name

When you access the host with given host name using your browser or any other application, before looking for the host name in your Internet Domain Name Service (DNS), your computer looks in the hosts file first. If there is an entry for the hostname the IP address provided in its line is used to access the website.

In the example given by Microsoft, rhino.acme.com is redirected to 102.54.95.97. Similarly x.acme.com is redirected to some other IP.

Why 127.0.0.1 ?

127.0.0.1 is the loop back address. It is the IP of your own computer. It is corresponding IP for localhost. localhost is the host name used to represent the computer from which we are accessing network (means our own computer). It is same to use 127.0.0.1 or localhost. But you cannot redirect a host name to another host name in hosts file. You should use an IP. When you redirect some host name to 127.0.0.1, actually you are redirecting the access to your own computer, which means blocking access to that host name

Uses of hosts file

As we have seen, the uses of hosts file are:
  • Redirecting one host (or website) to another using an IP
  • Blocking websites completely (by redirecting to 127.0.0.1)
Some people use hosts file to prevent pirate software accessing the vendors website to avoid auto update. We won't recommend piracy. Find a free software alternative if you cannot afford buying it.

How to Root Your Samsung Galaxy S4 Android Phone

Root Samsung Galaxy S4:

Everyone roots their Android phones. Samsung, Sony, HTC, every android phones are now being rooted. And you want to root your Samsung Galaxy S4 phone? Yeah, that is why you are in search of tutorial on how to root Samsung Galaxy S4. Okay, but there are some requirements.

Things to remember before you root your phone:
  • Rooting will nullify the warranty of your phone
  • If your phone bricks, we are not responsible for it.

Requirements to root Samsung Galaxy S4

The main requirements to do rooting of your Samsung S4 phone i9500 or i9505 are:
  • USB Data Cable 
  • Download Odin flashing software
  • Download USB Driver file
  • Download Root File

Using System calls in C Program to rename a Directory in Linux

C Program to rename a directory in Unix or Linux operating systems using system call rename().

#include<stdio.h>
main()
{

Creating A Process in Linux (UNIX) - fork() Example Program

The system call fork() is used to  create a new process in UNIX based operating systems and Linux systems. The fork() system call creates a child process when called from a parent process. Unix will make an exact copy of the parent's address space and give it to the child. Therefore, the parent and child processes have separate address spaces. Here is a C program which uses the fork() system call to create a process during execution. The program is commented well for better understanding.

Program

/*The program (parent process) reads an array from the user.
It sorts it in descending order.

How to Fix Internal Errors 2501, 2502 or 2503 While Installing from .msi files in Windows

In Windows 8, you can see an error 2501, 2502 or 2503 when you try to install any application program or game from some .msi (Microsoft Installer) files. You can see the same error when you try uninstall some applications or games. The error message is like the one shown below:

How to solve or fix internal error 2501 2502 or 2503 appeared installing or uninstalling from an msi (.msi) (Microsoft Installer package) file MSI encountered unexpected error problem hot fix troubleshoot compatibility
Internal error 2502

How to Launch an html file (web page) using Autorun

Here in this post we will see how to launch a .html  file automatically from a CD or DVD using Windows AutoRun feature. If you are new to Autorun, please read this post: What is AutoRun and AutoPlay ? How to Set it ?

If you want to know more about autorun commands, please read this post: How to Make a AutoRun CD or DVD Using Autorun.inf

The open command used in tte autorun.inf file cannot launch an html file (web page ) directly. Instead, we can open the webpage through some application.

How to Make a AutoRun CD or DVD Using Autorun.inf

In this post we will see how to setup autorun on a CD or Pen drive using Autorun.inf file. If you are planning to create a CD with autorun (launch a file automatically on insertion of disc), this post will be helpful for you. If you are not much familiar with AutoRun, read the following post, to get an idea about autorun feature:  What is AutoRun or AutoPlay and How to Set it?

Now, we see how to make an autorun CD.

How to make tables using HTML code

In HTML (Hyper Text markup Language), <table> tag is used to create tables. Table is basically meant to represent data in tabular form. But people also use tables to design webpages, especially when they want to divide the web pages into some equal blocks. Now we will start with the basics of table tag. The table starts with a <table> tag and ends with the HTML tag </table>. Whatever comes in between <table> and </table> is either the data in the table or further HTML codes to design the table. These two tags help only to inform the starting and ending of the table.

What is AutoRun and AutoPlay ? How to Set it ?

AutoRun or AutoPlay is a feature of Microsoft Windows operating Systems which causes a certain file to be opened automatically when a Compact disc is inserted or a thumb drive is connected. Windows provide us some AutoPlay options to choose from. It can be chosen in the 'properties' of the CD Drive. You might have noticed that when we insert the CDs of Softwares or some movies some application will be launched automatically. In most cases, it may be one with a menu or a movie player. Such AutRuns are designed by the software vendors. Similarly, we can also design an autorun for a CD we burn or even for a pen drive.

How to Download Youtube Videos - Easiest Method

how to download youtube video videos using any browser safari mozilla firefox opera chrome internet explorer in any operating sytem including windows xp 7 8 8.1 Linux Mac and in any device including computer (pc or laptop), Java, android or symbian mobile devices of Nokia samsung or sony
Download Youtube videos on any browser any platform
In this post, we will see how to download any youtube video easily without using any software. This method can be used in computers and any mobile phones without installing any application software. You can apply this method in any internet browser. Actually this is an online youtube video downloader method. A website will give you direct download links to your youtube video in various formats and sizes.

C Program To Represent Directed or Undirected Graph Using Adjacency Matrix

C program to represent directed or undirected graph using Adjacency matrix.

#include<stdio.h>
#include<conio.h>
#define max 20
int adj[max][max]; //Adjacency matrix
int n;  //Denotes number of nodes in the graph
void main()
 {

How to hard Reset Nokia E6 - 00

In this post, we will see how to hard reset Nokia E6-00, simply Nokia E6. Hard reset will erase all the
Nokia E6 00 how to hard reset Nokia phone using key combination star green dial button 3
Nokia E6 - 00
data on the phone memory. You should backup your contacts and other important data before doing it. You should have enough battery charge before you hard reset your phone. Now to hard reset the phone, you have three options. You can solve most of the software problems (if any) with the phone by just doing a hard reset. To hard reset your phone, there are three methods. I recommend the second method.

Method 1:

Hard Reset with Software Menu:

Go to Menu and navigate as follows:
Menu -> Settings -> Phone -> Phone management -> Factory settings -> Delete data and restore
Nokia E6 will ask for the security code. Enter it. The default security lock code is: 12345. If you have changed it, enter your security code.