Tuesday, April 06, 2010

HP BAC (Business Availability Center)

Cool product to work on

Tuesday, August 05, 2008

Unlock Virtual Machine login window under Remote Desktop

If you are stuck up on how to login into Virtual Machine (VM) using Remote Desktop (RD), then here is a solution, for which I was able to figure out.

Windows requires Ctrl+Alt+Del to unlock the login window. However, issuing the same key combinations it would activate your local windows task manager / Windows Security window.

To unlock RD login window you can use Ctrl+Alt+End

However, to unlock VM login window under RD??

its Ctrl+Alt+Insert

isn't it so simple. damp I was not able to find that key combination in Google

Note: I am using Free VM Player, and not VM Workstation, which has an option to unlock login window using key combinations as available under default menu.

Sunday, November 11, 2007


Linux/KDE 4 Really rocks
KDE

Tuesday, August 21, 2007

I was configuring my Rails application/project as instructed in the following article.

10-steps-to-get-Ruby-on-Rails-running-on-Windows-with-IIS-FastCGI

However, at the 10th step, i was not able to view the contents of the about controller. The output would always be "500 Internal Server Error"

I faced similar issue when i first deployed my .NET project in way back 2001/2002.

It boils down to folder permission (security) for the rails project. You have to give permission to IIS_WPG / NETWORK SERVICE.

Hopefully the following steps would resolve your issue. As for me everything is fine after configuring the same.

Step 1: Click start, click Windows Explorer, and select your Rails project folder.

Step 2: Right click -> then select "Sharing and Security"

Note: The above folder should be your rails project root folder.

Step 3: Click Security tab, click ADD, and type IIS_WPG, and then click OK.

Step 4: With IIS_WPG selected, click to select the following check boxes, and then click OK:

* Read and Execute
* List Folder Contents
* Read

Step 5: Open the Sharing and Security dialog box for the <yourrailsproject>\tmp folder, and then grant Full Control to the IIS_WPG group

Step 6: Close all the Sharing and Security dialogs, and restart IIS server.

Issue the following command in the Start->Run command window "iisreset"

Now, fire up your web browser (Firefox :)), and type http://localhost:81/test/about

You should be able to see the message from rails application as " Testing app v1.0 "

If for some reason if you are not able to see, then i suggest that you give Full Control in the Step 4.

Labels: ,

Tuesday, June 05, 2007

Recently I was trying to run python script using C# code. However, I encountered some issues beginning until I found a way to do the same.

Here is the C# code to run python script:

ProcessStartInfo startInfo;
Process process;
string directory;
string pyArgs;
string script;
//Python program name here
startInfo = new ProcessStartInfo("python");
startInfo.WorkingDirectory = directory;
//Python script path plus arguments
startInfo.Arguments = script + " " + pyArgs;
startInfo.UseShellExecute = false;
startInfo.CreateNoWindow = true;
startInfo.RedirectStandardOutput = true;
startInfo.RedirectStandardError = true;
process = new Process();
process.StartInfo = startInfo;
process.Start();
string s;
while ((s = process.StandardOutput.ReadLine()) != null)
{
//do something with s or the output....
}

Windows Live Writer Beta 2 - Here are some of the new features you'll find

New Authoring Capabilities

  • Inline spell checking
  • Table editing
  • Ability to add categories
  • Page authoring for WordPress and TypePad
  • Support for excerpts and extended entries
  • Improved hyperlinking and image insertion
  • Paste Special
Integration and Compatibility
  • SharePoint 2007 support
  • New APIs enabling custom extensions by weblog providers
  • Automatic synchronization of local and online edits
  • Integration with Windows Live Gallery
  • Support for Blogger Labels
Plus...
  • New look and feel
  • Available in 6 languages
  • Improved accessibility and keyboard support
  • Many other frequently requested enhancements!

Windows Live Writer Beta 2 released ....

 

You can download the same from :

> Install_WLWriter

Friday, November 10, 2006


Snap:

Python (IronPython) time to .NET C# DateTime format

 

Today i was trying to use Python (IronPython) time format in .NET, how their was no straight forward way to consume the same in C#.

The trick was to convert the Python time format into .NET format

Here is the code, which i have used:

   1:  i_tmp = os.path.getatime(path)
   2:  t_tmp = localtime(i_tmp)
   3:  tstamp = strftime("%m/%d/%Y %H:%M:%S", t_tmp)



Now you can directly use the same in C# 


   1:  //Sample datetime format from python
   2:  string str = "11/05/2006 23:54:46";
   3:  DateTime dt2 = Convert.ToDateTime(str);



 

.NET Framework 3.0 has been released!

 

The .NET Framework 3.0 has officially been released :-)

For more details, please visit netfx3.com announcement at:

netfx3 blog

Thursday, October 05, 2006

Safe guard your wi-fi network

There is no full proof plan to secure your Network/PC!

I suggest that you follow the check list/ steps to avoid such type of issues

1. Install a good firewall (Agnitum Outpost firewall)

2. Antivirus (Nod32 or Active Virus Shield(free, very good))

3. Configure your router

a) Enable inbuilt firewall in ur router.

b) Disable SSID broadcast (not full proof).

c) Disable DHCP (Config Static IP, and filter)

d) Enable WEP2 (give/choose strong password)

e) If you wifi router supports B & G, then disable B (just a suggestion)

f) Enable SNMP

4. You can monitor your network/wifi router, using a SNMP client (Google for the same)

5. Install a good bandwidth monitor tool/util (Ativa bandwidth monitor)

6. Always use Firefox to access unknown sites (suggested) (IE - trusted sites)

7. Install Antispyware tools (Microsoft has one.)

- Praveen