Friday, August 22, 2008

Increasing Torrent speed

Hi,

I know everyone is struggling to peak-up their torrent speed. Here is a complete solution.

I've gone thru this video very recently.





Now, Im getting a download speed of 300kbps. My cousin has a speed of 600kbps.


This is the screens for the basic menu-settings done on my uTorrent

Connection :


Bittorrent:
Queueing:
Go thru the video, and begin a perfect downloading.
This is my download status.


I hope every1 likes it.

Cheers...!!!

Note: This is a video sample from Metacafe. You can find more related videos here

Saving Flash videos from web-page

I know, lot of people Googles for a tool to save the flash video from web-page. Some tools may be trial version, or some may be annoying, by installing ActiveX plugin in ur IE.

A complete solution is available for this. Just download and install Real Player 11 GOLD. Afterwards, whenever you mouse-over a flash video, a small tag pop-ups above the flash-file prompting you to save/download. If u dont, see a prompt, just right-click the flash video, where you see a download option.

This works for, IE7, too. But, not for firefox 3.0(i dont know about the lower version, since IE is my default browser).

Download:
http://rapidshare.com/files/138772418/Real_Player_11.0.9.372_Gold_Premium.rar

YOUTUBE Video download link

Load this URL and enter the youtube video URL. That's all.

http://www.techcrunch.com/get-youtube-movie/

Note: Sometimes you may get invalid URL. In such a situation, check whether you have your country domain attached along with your youtube URL. That means, for India, you'll be having a URL like http://in.youtube***********. To download the video, just remove the country-domain from ur youtube URL & the URL looks like, http://youtube*****

Thats all, Happy Downloading...!!!

Thursday, August 14, 2008

Embedding Conncetion-String in web.config

<?xml version='1.0' encoding='utf-8'?>
<configuration>
<connectionStrings>
<clear />
<add name="Name"
providerName="System.Data.ProviderName"
connectionString="Valid Connection String;" />
</connectionStrings>
</configuration>

Encrypting ConnectionString in web.config

To work-out this sample you need to include System.Web.Configuration namespace.

Code:

using System.Web.Configuration;

// Open web.config file
Configuration config = WebConfigurationManager.OpenWebConfiguration("~");

// Get the ConnectionString section
ConnectionStringsSection section = config.GetSection("connectionStrings") as ConnectionStringsSection;

// Toggle Encryption
if (section.SectionInformation.IsProtected)
{
section.SectionInformation.UnprotectSection();
Response.Write("Connection String Encryption Removed");
}
else
{
section.SectionInformation.ProtectSection("DataProtectionConfigurationProvider");
Response.Write("Connection String Encrypted");
}

// Save changes to web.config file
config.Save();

Note:
Include this code in a Page-Load or in a Button-Click. The code sample toggles encryption-decryption. This is a code sample from MSDN.
 
Best viewed in Internet Explorer 8.