dailyexpenses.info


http://dailyexpenses.info/ helps you to track when, where and why you have spent your money.

Using PowerShell to convert upper case string to lower case

FTP User Isolation in IIS 6.0

http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/b63de8ef-e3c5-456d-a8ca-7af4198819d4.mspx?mfr=true

Zipping large file with winrar

It took around 6 hours to zip 21.5 GB file and resulting rar file size is 4GB. It took around 18 minutes to extract zipped file. The file is a SQL server database backup.

Test Webservice with GUI

http://www.soapUI.org.

Converting file length into User friendly format (GB, MB, KB, Bytes)

Use following function to convert file length in bytes to user friendly format


private string FormatByteSize(long length)
{
const int KB = 1024;
const int MB = 1024 * KB;
const int GB = 1024 * MB;
if (length > GB)
{
return (length / GB).ToString("0.00") + " GB";
}
else if (length > MB)
{
return (length / MB).ToString("0.00") + " MB";
}
else if (length > KB)
{
return (length / KB).ToString("0.00") + " KB";
}
return length.ToString()+" Bytes";
}

Silverlight Calculator

Calculator built using silverlight


Source Code can be found here