How to create Disk Partition without formatting the HDD

Windows 7 has made it easy to create disk partition without formatting a hard disk. Also you don't have to delete or move your data to do so. To create a partition you should have enough free space to create a new partition and your disk fragmentation should be very less. 


To partition a drive open a computer management tool. To open computer management window type "compmgmt.msc" in Run window and hit enter. On Computer Management window Select "Disk Management" option, which will display different disk and drives present on your computer. 




From the displayed disk drives choose from which drive you want to create new partition. Choose such a drive that should have maximum free space available. Now select the drive and right click will show below options






Choose "Shrink Volume", which will calculate the space available for new drive and will display dialog shown below. Now as shown below specify the space that you want to allocate for new drive, it should be less that the Size of available shrink space. 
    


Click Shrink and your new partition will be created in some time. 

How to start Automatic Windows Update in Windows 7 and 2008 R2

Windows updates keep your computer updated with all latest updates ( defect fixes and features ) available for windows as well as some of the other software. You can enable the automatic windows update so that you don't have to keep track of those. 
Follow below steps to enable automatic windows update:


Open Control Panel from Start Menu. On Control Panel window select "System and Security"  as shown above. On "System and Security" window click "Turn automatic update on or off" link. 


On the Update setting window Select "Install updates automatically" also choose a install update time such that your computer should be up and running with internet connection at that time. So that windows can download and install updates. Click OK and you are done. 



How to display file extension in Windows 7 in explorer

Windows 7 by default does not display file extension while listing files in explore window. You can change this behavior easily. Open any explorer window. From menu click "Tools" menu. Under "Tools" menu select "Folder Options..."  as shown below.



On folder options dialog select "View" tab. On "View" tab uncheck the check box with text "Hide extensions for known file types."


Now check your explorer window.. it should be displaying extensions for all the files listed. 
   

How to display full folder path in taskbar for opened folders in Windows 7

Windows 7 by default  display's only folder name on the taskbar. If you have too many folders open, then it becomes difficult to recognize the folder is from which drive. 



You can change this to display full folder path on taskbar easily. 
On any explorer window oepn Tools menu, and select Folder Options as shown below.



On the Folder Options dialog box select Views tab. Now Select the check box in front of text "Display the full path in the title bar (Classic theme only) " option as shown below.


   Now look at the task bar. It will be displaying full path for every folder opened. These steps are also applicable for Windows 2008 R2. 

Golang: Http POST Request with JSON Body example

Go standard library comes with "net/http" package which has excellent support for HTTP Client and Server.   In order to post JSON ...