Sunday 17 May 2015

Speed Up your Internet

Tired of using the same slow internet? Do you get bored when you wait for the browser to show the webpages? Yeah, I know, you are BORED or on the other hand IRRITATED. Today, in this technological age, when you are using a internet connection that has much lower speed and also may sometimes disconnects are more than irritating for everyone.

Yeah, for everyone. Some may not know, because they are fond of using speed internet connections. But keep them in front of a computer with slow connection. I am sure that they may throw the PC or Laptop in anger or he/she is an angel and have the patience to wait. But about 3/4th of the world doesn't have the patience. They want speed internet in their hands. Internet without disconnection, and user friendly.

For that you may need to get a more priced internet connection. But I have some tips to speed up your internet connection that you are using now. Well, for a matter of fact, I only know that some of this will work, but there is no harm in trying, Is there?

01. Contact your Internet Service Provider
This is actually one of the best way to know why our internet connection is slow. Maybe, there is a breakage of a wire or over-traffic in the cable. So before doing anything, contact your service provider and ensure why your internet connection is slow. If it is the problem of the service, they will surely try to correct the problem because customers are the valuable asset of the service provides. Without you all, no company can grow.

You may be staying far off from the providers and as farther you go, that much slow the connection becomes. So if you call and tell the providers your problem, they can amplify the power and you can have fast internet connection.

02. Optimize your Browser
You may not know that all browsers are not the same. Each browser has it's own functionalities and functionalities. So it is best to see the performance of most browser before standing onto one. There are some people that still use Internet Explorer because they don't know about most browsers. They may get slow internet connection and may sometime complain the providers. Complaining about anything doesn't prove anything. Change the browser to what we are comfortable with and that will provide us with the best options.

Browsers like Google Chrome, Mozilla Firefox  and Opera have better functionalities than most of the others. They do have better features and that enable us to use the internet to its best configuration. But you can check the other browser and check with what you are most comfortable to use. Google Chrome use only a small memory and can be used in sites having JavaScript of Flash files and Mozilla Firefox has many features like blocking JavaScript files or advertisements and Opera has compression technology especially for slow connections

03. Optimize your Device
If you are using a modem, you can optimize it to the best settings allowing you to use more efficient and better internet connection. Changing your settings can sometimes lead to damage or change to your network. So I advice you to ask the help of those who actually know how to change the settings. Don't try it for yourself, if you don't know. It may lead to damage and you may not get any network after that. If you want to learn how, be in the supervision of one who knows about it.

If you are using a router, you can also optimize it to the best setting. You can also place it to the place where you get more coverage and also keep in mind that there should be a direct connection between your PC and the router. Also avoid interference from other wireless devices. in fact keep them a little distance away from the path between the router and computer so that it may not interfere with the network passage.

You can also optimize your Internet service package to better options. You can upgrade to the better package. Buy the one in which you are comfortable with and gives you more access. Don't buy anything that have no range near your home. You can also do a speed test to know how much network you are getting. If it slow, try it on another computer and if it is slow on that computer also, contact the ISP or if it not, configure you PC to the best standards.

04. Prevent Illegal Access
If you are using a wireless connection, make sure that no one is stealing from it. When someone else or many people share a single connection, the speed of the internet can get a lot more slow. Maybe you think that it is the problem of the network. But always be in mind to check that no one has cracked the code and is accessing it without you knowing.

The more people that shares your connection, the more slow it gets. Maybe you just gave it to only one of your friends thinking that he/she will only access it for a limited period of time. But once he/she gets the password, they may share it with their friends which in turn may share to other people. You may only think that only your friend knows the password, but in turn, now the whole neighbourhood knows it. So it's best to find out the statistics of who all are using your wireless connections. And furthermore, be sure to add a WEP password to stop unauthorised users from using your Internet connection or if you can, set up WPA encryption.

05. Check the Bandwidth Usage
There are many application that may use your bandwidth. These may be the program updates or other web applications. These may all run in the background without you knowing. Some of them, may also be assigned to do automatically when the system turns on. So these application may use up all or some of the network in which you have.

So it is best to find out what all applications are running in the background and turn off all which are of no use to you at that time. Sometimes plug-ins in your browser can also take up more bandwidth and memory. So I advice not to put a lot more plug-ins or add-ons in your browser. Keep only that you require and delete all the other. Even it is enabled or not. The plug-ins needs to be loaded and that may take up some of your speed allowing you only a little of the network you actually have.

I also advice you to close the tabs in which you are not looking. Even if you don't do anything, the page is automatically refreshing as new content is published at all times. So that pages even if you are not using consumes a part of your network. So it is best to close the tabs which are not lloking at the time.

06. Scan your PC
Virus attack can also affect your computer which in turn affects your network. Virus are programs that are designed to damage or steal data inside a computer. You may not know whether it is inside the computer, until it is executed. So when it is activated, it may do the work it is supposed to leading to the damage to all your work, morever your programs.

So it is best to prevent viruses and trojans from entering the PC. Install good antivirus and scan your PC at all possible time (at least once a month) and that may find all the virus inside your PC and also prevent other virus, malware or spywares from entering the PC throught the internet connection. As it is said - "Prevention is better than Cure".

07. Take Good Care of your PC
Sometimes, slow internet means not a good PC. Speed and memory of your PC can also affect your network connection. From time to time, browsers and other web applications are updating and they require more and more menory and processing. So dealing with an old computer, this may lead to slow network and even slower computer. So it is best to upgrade our PC first before implementing the network on our computer.

Sometimes it may also be slow on new computers due to over memory usage. People may put a lot of programs at a time such as playing games, listening music, browsing and chatting, working on a photo or audio or video and all at the same time. This leads to over usage of our memory. Our RAM and CPU are just a chip and tha may really get heated up due to over usage. So it is best to close some of the programs and allow the memory to be processed at an equal rate, so that we can use the PC efficiently.

Sometime you may also need to defragment and cleanup your PC, to remove junk files and clean up for better and efficient PC. Uninstall unused programs and check the free space of your hard drive. A full hard drive will slow your computer. You should also turn off the computer when not in use. Give the computer time to rest, so that it will function better.

Monday 4 May 2015

Protect Files & Folders in Windows

Locking a folder is sometimes important for us. Maybe we have some files that we don't want others to get their hands into. Those files may be important for us or for our work and those in the wrong hand may sometime leads to a miserable life to us. But remember that there is no 100% protected folder. One way or another computer specialists can break into that, but most of them won't bother when they see that it is password protected.

So it is important to lock or hide these folders from others. here are some steps which you can use for ensuring the security of your folder.

Method 1: Create a Multiple User
You can use a user for yourself, so that no one can log in into your account. You can create a Guest account for others so that they can use the computer without using your personal documents.

  1. Go to Control Panel.
  2. Click User Accounts
  3. Select "Create a password for your account".
    1. Type in a "New password" then "Confirm New Password". You can also give a "Password Hint" so that you can remember your password.
    Method 2: Create a Password Protected Folder
    You can create a password to protect your folder. Here are the steps: 

    Note: This also may sometime leads to missing of your files. So if you are a beginner. Make sure you try this out with some random files before doing with the real one, so no harm for your real data.

    1. First, you need to ensure the folder that you want to lock. If you don't have one, create one by Right Click - New - Folder . 
    2. Create a new text document by Right Click - New - Text Document. Type in the following code.
    3. cls 
      @ECHO OFF 
      title Folder Private 
      if EXIST "HTG Locker" goto UNLOCK 
      if NOT EXIST Private goto MDLOCKER 
      :CONFIRM 
      echo Are you sure you want to lock the folder(Y/N) 
      set/p "cho=>" 
      if %cho%==Y goto LOCK 
      if %cho%==y goto LOCK 
      if %cho%==n goto END 
      if %cho%==N goto END 
      echo Invalid choice. 
      goto CONFIRM 
      :LOCK 
      ren Private "HTG Locker" 
      attrib +h +s "HTG Locker" 
      echo Folder locked 
      goto End 
      :UNLOCK 
      echo Enter password to unlock folder 
      set/p "pass=>" 
      if NOT %pass%== PASSWORD_GOES_HERE goto FAIL 
      attrib -h -s "HTG Locker" 
      ren "HTG Locker" Private 
      echo Folder Unlocked successfully 
      goto End 
      :FAIL 
      echo Invalid password 
      goto end 
      :MDLOCKER 
      md Private 
      echo Private created successfully 
      goto End 
      :End
      
    4. Change the "PASSWORD_GOES_HERE" in the code and change it to your desired password.
    5. Save the text document as lock.bat (remember to save in .bat batch extension)
    6. Run the batch file by double-clicking on it and that will create a folder named Private. This is the place where you will store all you important data. Bring all your important data into the folder.
    7. Run the batch file again. This time it will ask whether you really want to lock the folder. Press "Y" and hit Enter. You can see that the folder disappears.
    8. To get the folder back. Run the batch file again and enter the password. Then the folder reappears. 
    9. This is a simple process of locking your folder. But if you forget your password and you know some basic knowledge of computer, then don't worry.
    10. Just go to the "Folder Options" and uncheck the boxes for “Show hidden files, folders, and drives” and “Hide protected operating system files”.
    11. The other step is to Right Click on the batch file and click Edit, and you can view your password in the code. So be sure to take the batch file from other's hands.
    Method 3: Encrypt your folder
    Windows come with option to protect your folder by encrypting it. Encryption means the process of encoding messages or information in such a way that only authorized parties can read it.

    Windows XP/Vista/7/8
    1. Select the file or folder that you want to encrypt. 
    2. Right Click on it and click Properties. Click the Advanced option.
    3. Check "Encrypt contents to secure data" option. You can see that the folder becomes green in colour.
    4. Click Apply and then Ok.
    5. If you want to reverse the process and decrypt the folder. Then select the folder. 
    6. Right Click on it and click Properties. Click the Advanced option.
    7. Unheck "Encrypt contents to secure data" option. 
    8. Click Apply and then Ok.
    Windows Server
    1. Select the file or folder that you want to encrypt. 
    2. Right Click on it and click Properties. Click the Advanced option.
    3. Check "Encrypt contents to secure data" option. You can see that the folder becomes green in colour.
    4. Click Apply and then Ok.
    5. If you want to reverse the process and decrypt the folder. Then select the folder. 
    6. Right Click on it and click Properties. Click the Advanced option.
    7. Unheck "Encrypt contents to secure data" option. 
    8. Click Apply and then Ok.
    9. Now click Start - Run (Windows Key + R) and type mmc. 
    10. Microsoft Management Console (MMC) Window opens.
    11. Click File - Add/Remove Snap-In - Certificates - click Add - My User Account - click Finish - click Ok.
    12. In console root, click Certificates - Current User - Personal - Certificates - Right click Administrator - All Task - Export - click Next - select Yes, export the private key - click Next - Personal Information Exchange - PKCS #12 (.PEX) - check "Include all certificates in the certification path if possible" & "Delete the private key if the export is successful" - click Next - set Password - set the location to save the key - set Key file name - click Next - click Finish - click Ok. Then the message "Export was Successful" will open.
    13. Log off the system. Log in again.
    14. Double click the key - click Next - click Next - Give Password - check "Mark the key as exportable. This will allow you to back up or transport your key at a later time" & "Include all extended properties" - click Next - click Next - click Finish. Then the message "Import was Successful" will open.
    Method 4: Password Protect Compressed Folders
    You can also compress a folder and give a password to it.
    1. Select the folder. Right click and click "Add to Archive" (if you are using Winrar). Compress the folder.
    2. Go to Advanced tab. Click on Set Password. Enter any password and for additional protection check mark 'Encrypt file names'.
    3. Click Ok.
    4. Then delete the original file.
    Method 5: Create an Invisible Folder
    If you like, you can create an invisible folder, so no one knows where your folder is. 
    1. Right click on the folder and select Rename
    2. Press Alt and type 0160 (Alt + 0160). This will create a blank space. Unlike the space, it is a valid filename.
    3. Now change the icon. Right-click on the folder. Select Properties and then select the Customize tab. Click "Change Icon" and select a blank icon. 
    4. Your folder is now hidden, but can be known when the user drags a selection box across the screen.
    Method 6: Download a Third-Party Software
    You can also download some software that allows you to password protect your folder. These help you in ensuring the safety of your folder. But like I said before, you can be 100% sure, whether your folder is safe or not. But it is the best to prepare that facing the worst. here are some name of some third-party softwares that you can use.
    1. Protected Folder
    2. Folder Lock
    3. Folder Guard
    4. Folder Password Lock
    5. Folder Protect
    6. LocK-A-FoLdeR
    7. Folder Protector
    8. Folder Lock Lite

    Friday 1 May 2015

    Bootstrap Website

    Creating a website with Bootstrap is easy and fun. If you know HTML and CSS or have a basic knowledge to code them, then you wont have much a problem to code in Bootstrap. Bootstrap used both HTML and CSS properties for designing. It commonly uses the HTML5 doctype.

    You should always remember to put the HTML5 doctype declaration and also the lang attribute at the starting of the webpage.

    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="utf-8">
    </head>
    <body>
    Body content......
    </body>
    </html>
    
    Bootstrap is mainly used to create mobile responsive web pages. The good point is that you don't have to view the same big desktop page in your mobile. You don't have always minimize and maximize anytime you want to click a link or view the text. Mobile-first styles are actually a part of the Bootstrap core framework. But in order to get proper mobile rendering you have to add the following meta code in the head section.

    <meta name="viewport" content="width=device-width, initial-scale=1">
    
    • "width=device-width" - This part sets the width of the page to follow the width of the device.
    • "initial-scale=1" - This sets the initial zoom level when the page is first loaded.
    Bootstrap also requires a container to wrap site contents. But remember that you cannot put one container inside another. There are mainly two container classes.
    • ".container" - This provides with a fixed width responsive container.
    • ".container-fluid" - This provides with a full width container spreading across the entire width of the viewport.
    Container
    For Example:
    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
    <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
    </head>
    <body>
    <div class="container">
    <h1>My Bootstrap Webpage</h1>
    <p>I love learning Bootstrap.</p>
    </div>
    </body>
    </html>
    
    Container-Fluid
    For Example:
    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
    <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
    </head>
    <body>
    <div class="container-fluid">
    <h1>My Bootstrap Webpage</h1>
    <p>I love learning Bootstrap.</p>
    </div>
    </body>
    </html>
    

    CSS Links

    Links are found in every document. Links are used to click their way from one page to another page. With CSS, we can style links to make them decorative and colorful.

    Styling Links

    Links can be styled with any CSS property such as color, font-family, background etc. In addition, links can be styled differently depending on what state they are in.

    The four link states are:
    • a:link - a normal link, or an unvisited link
    • a:visited - a link that the user had visited
    • a:hover - a link when the user mouses over it
    • a:active - a link at the moment it is clicked
    For example:
    a:link {color:#FF0000;}
    a:visited {color:#00FF00;}
    a:hover {color:#FF00FF;}
    a:active {color:#0000FF;}
    

    Text Decoration

    The text-decoration property is mainly used to remove the underline from the links.

    For example:
    a:link {text-decoration:none;}
    a:visited {text-decoration:none;}
    a:hover {text-decoration:underline;}
    a:active {text-decoration:underline;}
    

    Background Color

    The background-color property is used to specify background color for the links.

    For example:
    a:link {background-color:#0000FF;}
    a:visited {background-color:#FF00FF;}
    a:hover {background-color:#00FF00;}
    a:active {background-color:#FF0000;}
    

    HTML Forms

    HTML Forms are used to create different kinds of user inputs.

    HTML <form> Tag

    HTML <form> tag is used create an HTML form to pass user inputs and data to the server. AN HTML form can contain input elements like text fields, checkbox, radio-buttons, submit-buttons, and more. A form can also contain select lists, textarea, fieldset, and label elements.

    The <form> elemts can contain one or more of the following elements.
    • <input>
    • <textarea>
    • <button>
    • <select>
    • <option>
    • <optgroup>
    • <fieldset>
    • <label>
    For example:
    <form action="form.asp" method="get">
    First name: <input type="text" name="fname">
    Last Name: <input type="text" name="lname">
    <input type="submit" value="Submit">
    </form>
    

    HTML <input> Tag

    The most important form element is the input element. The <input> element is used to select user information. It specifies an input field where the user can enter data. The input element can vary in different ways, depending on the type attribute. It can be of text types, checkbox, password, radio button, submit button and more.

    Text Fields
    The text fields are used to create a one-line input field to enter text into.

    For example:
    <form>
    First name: <input type="text" name="fname">
    Last Name: <input type="text" name="lname">
    </form>
    
    Password Field
    The password field are used to create a one-line input field to enter the password. The characters inside the password field are masked that is, it will be shown as asterisks or circles.

    For example:
    <form>
    Password: <input type="password" name="pwd">
    </form>
    
    Radio Button
    The radio buttons are used to create a radio button which allows the user to select only one of a limited number of choices.

    For example:
    <form>
    <input type="radio" name="sex" value="male">Male
    <input type="radio" name="sex" value="female">Female
    </form>
    
    Checkboxes
    The checkbox are used to create checkboxes that allows the user to select multiple number of options of a limited number of choices.

    For example:
    <form>
    <input type="checkbox" name="web" value="HTML">Hyper Text Markup Language
    <input type="checkbox" name="web" value="CSS">Cascading Style Sheets
    </form>
    
    Submit Button
    A submit button is used to send form data into the server. The data is sent to the page specified in the form's action attribute. The file defined in the action attribute does some action the data it receives.

    For example:
    <form>
    First name: <input type="text" name="fname">
    Last Name: <input type="text" name="lname">
    <input type="submit" value="Submit">
    </form>
    

    HTML <textarea> Tag

    The <textarea> tag is used to define a multi-line text input control. A text area can hold an unlimited number of characters, and the text is rendered in a fixed-width font. The size of the textarea can be specified by the cols and rows attributes, or using CSS height and width properties.

    For example:
    <textarea rows="4" cols="20">
    The <textarea> tag is used  to define a multi-line text input control.
     The size of the textarea can be specified by the cols and rows attributes 
     or using CSS height and width properties.
    <textarea>
    

    HTML <label> Tag

    The <label> tag defines a label for an <input> element. The <label> tag does not render as anything special for the user. However, it provide a usability improvement for mouse users, because if the user clicks on the text within the <label> element, it toggles the control.

    For example:
    <form>
    <label for="male">Male</label>
    <input type="radio" name="sex" id="male" value="male">
    <label for="female">Female</label>
    <input type="radio" name="sex" id="female" value="female">
    </form>
    

    HTML <fieldset> Tag

    The <fieldset> tag is used to group related elements in a form. It draws a box around the related elements.

    For example:
    <form>
    <fieldset>
    <legend>Personalia:</legend>
    Name: <input type="text" size="30">
    Email: <input type="text" size="30">
    </fieldset>
    </form>
    

    HTML <legend> Tag

    The <legend> tag is used to specify a caption for the fieldset element.

    For example:
    <form>
    <fieldset>
    <legend>Personalia:</legend>
    Name: <input type="text" size="30">
    Email: <input type="text" size="30">
    </fieldset>
    </form>
    

    HTML <select> Tag

    The <select> tag is used to create a drop-down list.

    For example:
    <select>
    <option value="HTML">HTML</option>
    <option value="CSS">CSS</option>
    <option value="JavaScript">JavaScript</option>
    <option value="jQuery">jQuery</option>
    </select>
    

    HTML <optgroup> Tag

    The <optgroup> tag is used to group related options in a drop-down list. It is used when you have a long list of options, and it helps to group realted options, ehich is easier to handle for a user.

    For example:
    <select>
    <optgroup label="Designing">
    <option value="HTML">HTML</option>
    <option value="CSS">CSS</option>
    </optgroup>
    <optgroup label="Scripting">
    <option value="JavaScript">JavaScript</option>
    <option value="jQuery">jQuery</option>
    </optgroup>
    </select>
    

    HTML <option> Tag

    The <option> tag is used to define a option in a drop-down list.

    For example:
    <select>
    <option value="HTML">HTML</option>
    <option value="CSS">CSS</option>
    <option value="JavaScript">JavaScript</option>
    <option value="jQuery">jQuery</option>
    </select>
    

    HTML <button> Tag

    The <button> tag is used to create a clickable button. Inside the button element, we can put contents like text or images.

    For example:
    <button type="button">Click Me!</button>
    

    HTML5 <datalist> Tag

    The <datalist> tag is used to specify a list of pre-defined options for an input element. The datalist element is used to provide an autocomplete feature on input element. Users can see a drop-down list of pre-defined options as they input data.

    For example:
    <input list="browsers">
    <datalist id="browsers">
    <option value="Google Chrome">
    <option value="Mozilla Firefox">
    <option value="Safari">
    </datalist>
    

    HTML5 <keygen> tag

    The <keygen> tag specifies a key-pair genator field used for forms. When the form is submitted, the private key is stored locally, and the public key is sent to the server.

    For example:
    <form action="form.asp" method="get">
    Username: <input type="text" name="username">
    Encryption: <keygen name="security">
    <input type="submit" value="Submit">
    </form>
    

    HTML5 <output> tag

    The <output> tag represents the result of a calculation.

    For example:
    <form oninput="x.value=parseInt(a.value)+parseInt(b.value)">0
    <input type="range" id="a" value="50">100
    +<input type="number" id="b" value="50">
    =<output name="x" for="a b"></output>
    </form>