Change The Default Location For Installing Apps

As the size of hard drives increase, more people are using partitions to separate and store groups of files. XP uses the C:\Program Files directory as the default base directory into which new programs are installed. However, you can change the default installation drive and/ or directory by using a Registry hack. Go to : [...]

Auto End Tasks to Enable a Proper Shutdown

This reg file automatically ends tasks and timeouts that prevent programs from shutting down and clears the Paging File on Exit. 1. Copy the following (everything in the box) into notepad. QUOTEWindows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]“ClearPageFileAtShutdown”=dword:00000001 [HKEY_USERS\.DEFAULT\Control Panel\Desktop]“AutoEndTasks”=”1″ [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control]“WaitToKillServiceTimeout”=”1000″ 2. Save the file as shutdown.reg 3. Double click the file to import [...]

Boot Windows XP fast

Follow the following steps 1. Open notepad.exe, type “del c:\windows\prefetch\ntosboot-*.* /q” (without the quotes) & save as “ntosboot.bat” in c:\ 2. From the Start menu, select “Run…” & type “gpedit.msc”. 3. Double click “Windows Settings” under “Computer Configuration” and double click again on “Shutdown” in the right window. 4. In the new window, click “add”, [...]

Cloud Apprenticeship!

So I was talking to an old friend yesterday about building software, and we both came to the conclusion that there are some things you need to learn: From books From others From doing We then got onto the topic of cloud computing, he works …

Windows Azure and Live ID Auth!

OK, so MattT (thanks for the feedback on my blog too Matt :) ) pinged me and asked if something had changed in the way Live ID auth worked in Windows Azure. He was looking around Bing for some samples, and came across this post but couldn’t get it wo…

Converting Between Timezones

PHP comes with an in-built function to display time in your required format, but what if you want to display date and time according to user’s timezone, that’s where PEAR package Date comes in. Let’s see how we can convert a date in GMT to IST.

Get Visitor IP Address

Put this code in some HTML page. When the user opens that page, the command echo will write its IP address to the page.

Tracing Windows Azure Apps to Storage

So one of the things I like to do, all of the time, is trace. It started when I was a little child, and the rest of the kids could draw really good and stuff, and I couldn’t, so I would get pictures of horses and trace around them… Now that I’m …

Write To File in C#

Create new C# project (Ctrl+Shift+N), and choose Console Application from the Templates menu on the right. The editor will create the main code: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace WriteToFile { class Program { static void Main(string[] args) { } } } Below the using System.Text; add this code: using System.IO; Now, [...]