remote

local vs remote socket connections on iphone

I want to send OSC messages from iphone to another programme (max/msp) by creating and connecting to a udp socket. this works from the iphone simulator, i.e. when both apps are running on the same computer but not when i install the app on the phone itself. I think the problem could be with specifying the IP of the remote computer. I am...

Preview a git push

How can I see which commits are actually going to be pushed to a remote repository? As far as I know, whenever I pull master from the remote repository, commits are likely to be generated, even if they're empty. This causes the local master to be 'forward' even if there is really nothing to push. Now, if I try (from master): git cher...

Is it possible to run a batch script remotely on a Windows machine from Linux without installing ssh?

I am looking for a way in Linux to run a batch script on a remote Windows machine. I already searched some forums and the Internet and found e.g. this question. It seems that the easiest way so far is using ssh. But do Linux or Windows also offer some built-in tools to solve this problem (something like at-command for Linux-to-Windows)...

Online MySQL database in Objective-C

I'm writing a game for iPhone, and I want an online leaderboard using mySQL, which i'm very familiar with. How do I implement this in my app? I would assume there's a framework/library i need to obtain? ...

how can I deliver remote content via web service?

We have multiple websites under different domains that need to receive our banner ads. We have a server app, in PHP, that returns the HTML for a randomly-generated banner ad. Out of concern for the client side, I don't want to use an iframe nor do I want to include the jquery library because of the weight - I also do not want to duplica...

Java RMI - UnicastRemoteObject: what is the difference between exportUnicastRemoteObject() and extend UnicastRemoteObject()?

hi there! i'm preparing for an exam and I'm having a question that I hope someone here could answer me. Its about RMI and remote objects. I wonder why there is so much difference between these two implementations. one is extending the UnicastRemoteObject whereas the other is exporting the object as an UnicastRemoteObject. I don't really ...

Access a windows Box remotely...

I have an interesting situation and here it is: My intention is to access a computer/desktop remotely, but there are some constraints. There are 2 machines. MC1 & MC2 respectively. Both of different networks. MC1 is behind a NAT. its has local IP addressing 192.168.x.x. MC2 is on a separate network. MC1 can access MC2 using its (MC2s)...

control a users USB device via a webpage? Possible?

Hi Guys, I'm wondering if there is a way to create an asp.net webpage that will connect a visitors USB device to an application on the windows bases server? This way we avoid having to install a software on the visitors computer to control a USB device update that they purchase form us. All they have to do is visit our update page, pl...

Follow pids across machines (ssh)

Hey I am basically trying to write a pstree-like command except that it should follow processes across machines. What I mean is that if I run this : $ ssh $node sleep 1000 Then the command should display something like this : ssh $node -- ($node) sleep 1000 And if I'm running : $ ssh $node ssh $node sleep 1000 ssh $node---($nod...

passing parameters to remote beanshell

Hello, I need to pass parameter to remote beanshell script which is run through java -cp bsh-2.0b4.jar bsh.Remote http://10.0.0.1/beanshell script.bsh p1 p2 p3 call. Is it somehow possible to read params 'p1', 'p2' and 'p3' from within the script.bsh? p.s. Local params passing through bsh.args works fine, but it's unusable with rem...

jquery remote validation

i have 3 remote validation in my form and 3 of them works with no errors in firefox console. the 3rd one is not working properly in IE. IE gives me the error "object doesnt support this property" this gives an error in IE check.php: < ?php $sql="select * from people where email = '".$email."'"; $row=mysql_query($sql,$db_connection)...

Using Android app to interact with a Windows application

I'll come up with any excuse to get a chance to write my first Android application. I've never done much with it except for a couple of tutorials. I've got a Windows application that controls a device, and the computer isn't necessarily right next to it. I think it would be great to be able to use my Droid to issue the device commands...

What rarely used debugging tools you found useful ?

What rarely used debugging tools you found useful ? My recent debugging situation on Visual Studio required trapping the breakpoint on fresh built 32-bit DLL, which was loaded by GUI-less executable, which was spawned by COM+ server on remote x64 machine, which was called through RPC from actual GUI. As usual, all worked well on all 32 b...

connecting to remote database

what is the best architecture to connect to a remote mysqlserver (database) from java swing standalone client app over the internet without using middle server ...

programming an universal remote control

I have a remote control RM200 and I want to program it so I can detect key presses and send them to applications. Now, which API can I use in Windows? HID usb API? IRDA API? I'm confused. My remote is an IRDA remote but sometime I read that I can program this device with HID USB API???? ...

Remotely restart a linux service from local Windows or Mac machines

Sometimes my media server does not update its database, the only way to fix it is to restart the daemon. I would like users to be able to simply run an executable or script to do so without revealing any login information to them (which might result in inadvertent headaches). I feel the easiest way to do this would be to have an exec...

Program to synchronize data and schema in two SQL server 2005 database

Hi all. I need a software that let me compare and synchronize two database on two different server. I found this, and was great until i deploy the site and put the database online. Now I can't connect to remote server. The standard port of SQL server is opened to my IP. Anyone use it? Do I miss something? Does anyone know a better soft...

Cross-continent remote Java Debugging

When attaching the debugger in an IDE (IntelliJ or Eclipse) to a JVM running in another continent (london to new york) the lag is unbearable. I've waited in excess of 10 minutes for IntelliJ to populate my stackframes and fill out objects before giving up when hitting a breakpoint. (note: ive never seen a fully populate debug state when ...

Launch VLC in Java and connect to it via rc interface

I've already seen this thread, but I'm still having an issue: http://stackoverflow.com/questions/1731299/starting-vlc-player-in-java It appears the Java bindings for VLC are no longer under active development and do not support everything possible on the command line anyway. Given the following code, I can't launch VLC from a Java appl...

Remote stream multiple files in SOLR

I want to use SOLR's remote-streaming facility to extract and index the content of files. This works fine if I pass stream.file=xxx as a parameter to the http GET method. However, I have a lot of these, and want to batch them up (i.e. not have to have a GET per file). Is there a way I can do this in SOLR? e.g. I'd like to be able to ...