I've installed and is running a node.js server on osx. I've dled a chat module and is happily running it. I've altered some pieces and need to restart the server to see the effects.
I only know how to restart by closing the terminal window and then reopneing it and then running node chatdemo.js again.
Any way to restart without closing...
What shell command can i use to launch/open a folder in mac os x?
I will be executing it in .NET
...
I'm trying to implement an actor model of concurrency in Objective-C, because I want to avoid the infamous problems of shared mutable state, locks, semaphores, etc. It can be done, but it takes real discipline to avoid accidentally using shared state.
One way to enforce the shared-nothing rule is to use separate processes instead of se...
for python2.x py2app will do the work. But for python3 code which one is alternate to go ahead?
Or any other way to get single .app file?
...
I have the pid (process identifier) of an arbitrary running process. How can I find the bundle identifier (if any) of the associated application?
...
First some context, I'm using OpenGL/ES exclusively for 2d drawing (eg. glOrtho(0, width, 0, height, -1, 1);). I'm drawing arrays of vertices with glVertexPointer()/glDrawArrays() On OS X vertex coordinates using GLfloat represent exact pixel coordinate values. On iOS I have to "scale" those same GLfloats using the following function (re...
I am using IntellJ IDEA 9.0.2 CE on OS X Snow Leopard. The Services menu never seems to contain any entries, even though I have installed several text services (which do show up in other applications). Is there a way to use these?
I am relatively new to the Mac.
Thanks.
...
Using PackageMaker, how do I check if an application is running and pause the installation if it is?
If it matters, this is not the application I am trying to install that I am checking for since I am installing a plugin.
...
We all love our keyboard shortcuts and on a Windows machine two of my most commonly used combos are Ctrl + left/right or Ctrl-Shift + left/right. I find these speed my development quite a bit.
Now on a Mac you can Cmd + left/right which grabs the whole line. And in some apps Option + left/right will navigate a word at a time. I find in ...
I see the option for specifying three files (left, right, and ancestor), but it doesn't seem to be possible to actually display the ancestor.
The bottom pane shows the result of the merge. I'd rather see what the original content was, so I could understand the context for the left and right sides of the conflict. Is this possible? Fil...
I'm writing a preferences panel and I need to either update or store a password in the System.keychain for others to find. Here's the code I have so far:
Boolean addOrUpdateKey(NSString *service, NSString *key)
{
OSStatus retVal;
SecKeychainRef systemKeychainRef;
SecKeychainItemRef kcItem;
UInt32 pwSize = 0;
char *password = N...
How do I bring another app's window to front on Mac in C/C++?
I have the app's pid.
I found solutions for AppleScript, but I'm not familiar with AppleScript. (and also not with Objective C)
Thanks!
edit: I cannot use Carbon in this program, because it must be a 64 bit binary.
edit2: I'm also interested in Carbon and Cocoa solutions. I c...
Hey guys,
I've developed a small javascript tabbed widget, using jQuery tools.
Every single tab contains a Youtube video and you can switch from one video to the other.
See a sample here: http://www.warriorlabs.net/index.php?/topic/174-lets-play-oblivion/
On Windows + Chrome / IE / Firefox, it loads up quite fast and "tabs things up ...
I see many text editors for Mac OS X that support Lua syntax highlighting, but I have yet to see an example of Lua being used in action in the actual Operating System.
How is Lua being used practically?
...
Is it possible to show a window on top of the full screen flash player or the HTML5 player? e.g. the player that used in Youtube?
...
I'm developing a simple macosx application and it needs to access a remote sqlite database (must be sqlite).
I've been looking for an example on how to do it through ODBC (I don't know if ODBC is the best or easy way).
Does anybody have any idea?
Thanks!
...
I am trying to get Orbited working on OS X 10.6. Installing it in Linux was simple but I have seem to run into a roadblock. After installation when I try to run orbited server I get the following error
Traceback (most recent call last):
File "/opt/local/bin/orbited", line 9, in <module>
load_entry_point('orbited==0.7.10', 'consol...
Hi everyone
Today I was running into problems with eclipse, like every time I closed a project a window popped up saying something like "error saving workspace" and complaining about apache xerces.
I decided to download a fresh install, and now it won't even start. I tried many variants (classic, javase, c++), hoping there was some dis...
It seems that NSTextView does not have the notification DidEndEditing and TextDidChange (which both exist for an NSTextField). Is there any similar functionality I can get out of the NSTextView? If not is there no way to know when the user has edited the text of the NsTextView?
...
I'm creating a DOT graph visualization from a tree-like data structure but am having difficulties setting fixed level depths based upon data type. For example, if I had 4 nodes in a tree and A denotes a specific data type and B represents another it would like Graph_1:
ROOT
...