remote

Remote SQL Server 2008 performance

My company has recently put up a demo database on his remote servers to allow some of our partners to test our beta version of the software. We noticed, as expected, some bottlenecks in some parts of the program, in particular on the places in which many queries are done. For example, I have to load customer from database, with all...

Silverlight PRISM loading an external XAP module

Hi, I'm not sure if this is possible, but I am currently loading most of my modules from within the main application assembly, I am trying to now load external XAP modules. I have something like this: ModuleInfo themeModule = new ModuleInfo(); themeModule.ModuleName = "Theme_External"; themeModule.ModuleType = "Theme_External...

Pushing to remote repository after merge "creates new remote heads" - is that bad?

I initialized a Mercurial project on Machine A, committed my changes and uploaded them to a remote repository. Then I cloned that repository on Machine B, committed some additional changes and uploaded them to the same remote repository. In both cases, I uploaded the changes with the same command: hg push https://username:password@do...

Running a program on a remote machine as part of continuous integration

We use TeamCity, nant and psexec to run a command on a remote machine as part of the release packaging. Everything works fine when I run the nant from the console but when running from teamcity psexec hangs (freezes) 50% of the times. I looked through many forums and there seems to be workarounds that increase complexity of the call and ...

mysql remote management

I want to use MySQL Administrator and MySQL Query Browser on a remote mysql server. Should I just change the bind-address to 0.0.0.0 to accept all connections or is there a more secure way. Thanks ...

how to run a command in background using ssh and detach the session

I'm currently trying to ssh into a remote machine and run a script, then leave the node with the script running. Below is my script. However, when it runs, the script is successfully run on the machine but ssh session hangs. What's the problem? Thanks ahead. ssh -x $username@$node 'rm -rf statuslist mkdir statu...

Remote deploy from Eclipse to JBoss AS and integration Eclipse with remote JBoss

Hi, I have following situation. My JBoss server runs on the remote server under some bound address. I would like run Eclipse on my local machine and deploy results of work to the remote server where I could test it and debug it. I'm working on enterprise Java project and I'm normally deploying one ear file. I know how to provide remote...

Remote C++ Development using SSH only inside Eclipse Environment

How do you integrate Remote Systems Explorer and CDT plugin inside eclipse ? What I mean is that you can use Remote Systems Explorer (RSE) plugin to work on C++ code on a remote linux box inside Eclipse but when you try to compile, you basically run a shell command through SSH. The CDT plugin is unable to locate the remote system and of...

Eclipse + remote OC4J server - deploying application

Hi. I would like to deploy web application on a remote OC4J server using Eclipse. Is it possible? I'm using WTP and when adding the OC4J server there is only localhost available. ...

How to detect wether remote computer is running RDP (remote desktop protocol) ?

How do I detect if a remote client is running Remote Desktop Protocol? and it is also accepting remote desktop connections ?? Like Open an port to detect HTTP and send request, receive request headers and see in request headers information about HTTP so I will know the person is running HTTP weather if he changed the port e.g: running H...

C# Query a remote computer for resource usage (i.e. cpu load, ram usage)

Is there some simple way to send out a ping-style message to a remote PC and get back some general facts/figures about the PC in C#? I'd be mostly interested in CPU Load, RAM usage, current running processes, etc. but the more information the merrier (extra info like CPU specs would be cool)! I imagine in an ideal situation it'd be as ...

Implementing Remote Login in Rails

Im trying to allow users to login to a website by verifying if they are registered users of a sister website. Im not really sure what is the best way to implement this. The website which is referred to uses authlogic authentication, so would it be wise to have a REST method that the new website calls to obtain a session token of some sor...

How can you check to see if a file exists (on the remote server) in Capistrano?

Like many others I've seen in the Googleverse, I fell victim to the File.exists? trap, which of course checks your local file system, not the server you are deploying to. I found one result that used a shell hack like if [[ -d #{shared_path}/images ]]; then ... but that doesn't sit well with me, unless it were wrapped nicely in a Ru...

A script to ssh into a remote folder and check all files?

I have a public/private key pair set up so I can ssh to a remote server without having to log in. I'm trying to write a shell script that will list all the folders in a particular directory on the remote server. My question is: how do I specify the remote location? Here's what I've got: #!/bin/bash for file in [email protected]:dir/*...

Remoting - Is an object remote?

How can I determine whether an object is local or remote (using C# remoting)? Both checking in local code if the object is remote or in the object if the code is executed from remote would be okay. ...

BizTalk WMI Remote Wrapper

Hi, I'm using MgmtClassGen.exe from the .Net Framework SDK to generate some WMI wrapper classes for BizTalk artifacts like hosts, host instances, etc. I'm using HostSetting.GetInstances() to get the local hosts (local BizTalk Server). This works fine. I'm now looking for a way to do the same for hosts on another BizTalk machine with a ...

How to remove a remote source from gem remote sources

I have added gemcutter.org to my Rubygems sources, and now I do not know how to remove it. $ gem sources *** CURRENT SOURCES *** http://gemcutter.org http://gems.rubyforge.org/ ...

How do I securely hide database credential in C# application?

Hi, I have a situation that users access remote MySQL server in C# application. Basically, A user using C# application on his/her desktop ->>>> connects to remote ->>>>>>>> [ REMOTE ] How do I securely hide database connection detail? I have few ideas, but I don't think they are safe. Encrypt database connection data into a file a...

How can i connect to remote server for CPU process time monitoring ?

I want to connect to remote server to monitor the cpu process time when i run the stress test. But it always failed, what can i do to successfully connect to remote server ? ...

How to get data from remote database using TSQL?

Is it possible to get data from remote server using JUST TSQL? I mean to do it just with script and without any actions (setting up linked servers and etc) on local server. Need to query something Like this: SELECT * FROM dbo.Users WHERE UserID NOT IN (SELECT UserID FROM [192.168.1.100].dbo.Users) ...