I'm working on a linux machine through SSH (Putty). I need to leave a process running during the night, so I thought I could do that by starting the process in background (with an ampersand at the end of the command) and redirecting stdout to a file. To my surprise, that doesn't work. As soon as I close the Putty window, the process is stopped.
Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Thursday, May 31, 2012
Linux: Prevent a background process from being stopped after closing SSH client
Monday, April 16, 2012
Dismissing UIAlertViews when entering background state
Apple recommends dismissing any UIAlertViews/UIActionSheets when entering background state in iOS 4. This is to avoid any confusion on the user's part when he relaunches the application later. I wonder how I could elegantly dismiss all UIAlertViews at once, without retaining a reference to it everytime I set one up...
Entering background on iOS4 to play audio
The documentation is rather poorly written when talking about playing audio in the background. It gives the impression that all you have to do to continue playing the audio that you are currently playing is to just add a key/value pair to the info.plist file and wallah, it's magic.
Sunday, April 8, 2012
iPhone - Setting background on UITableView
Is there any way to set a background view on a UITableViewController?
Thursday, March 8, 2012
Cocos2d adding a background image to a layer?
I just finished reading some of the cocos2d documentation, and as far as I understand to add a background image to a layer you have to do something like:
Monday, February 27, 2012
iOS app: Uploading multiple files in the background
For iOS, I am aware that apps can upload in the background, as according to this thread: Uploading in background thread in iOS
Thursday, February 16, 2012
Android - Running heavy computations in background and returning the result to an Activity
I have implemented some computationaly heavy functions into my application. Depending on the type of input it can take up to several minutes for a thread to return. During this time, I want the user to be able to work with other activities to perform different tasks (i.e. prepare data for the next run). Then, after the Service has finished it's computations, the user should be notified with a Toast that the result is ready and that he should check back to the Activity he started the Service in. Unfortunately I'm stuck at this point.
Wednesday, January 18, 2012
Custom "animate” jQuery function. How to reset step"s "now” variable?
I need to animate the background-position property of an element with jQuery. By following this tutorial, that uses default jQuery animate function, I had no luck.