My text editor of choice for PHP work is Panic's Coda. But for Ruby on Rails, its autocomplete feature is continuously in my way and ROR's standardization on 2 space tabs does not play well with Coda's settings. I've been going back to TextMate for ROR work, but was wondering if there were better options.
...
My Java.app broadcasts a packet on the network as soon as it starts up. Everytime I start this app, the Mac asks me do I want to allow network connections blah..blah.. Can I use info.plist or something to allow network access to this app and not bother the user who has trustingly downloaded and installed my app.
Thanks
...
I am using a mac. When I use the "rm" command it can only remove files. The "rmdir" command only removes empty folders. If you have a directory with files and folders with files and folders in them and so on. Is there anyway to delete all the files and folders without all the strenuous command typing? Remember, I am using the mac bash sh...
Hi there
I'm fairly new to Rails and the Mac, and doing my first deploy...
I'm trying to set up my rails app on a brand new Apple mini-server running OXS1.6 (Snow Leopard). It is currently running fine on my new iMac i7 (same OS).
I start mongrel with this command:
mongrel_rails start -e production -p 3000 -d -a 127.0.0.1 --debug
A...
Hello everyone!
I am trying to use Netbeans 6.7 (on a Mac) to create C++ applications. I started out with the standard "Hello World," just to test if everything was working correctly. First try std and could not be found. So I tried reinstalling the developer tools on my Mac OS X disk. After that Netbeans updated its c++ compiler info,...
What is the best choice for webcam video/image capture under Mac OSX with C/C++? It seems that Apple recommended QTKit, but it is a Objective-C library. Any sample code to do the job?
...
I'm not getting the -(void)keyDown callback on my inherited NSOpenGLView (note that mouseMoved does not work either though I do setAcceptsMouseMovedEvents:YES, but that is not an issue yet). It implements
- (BOOL)acceptsFirstResponder
{
return YES;
}
but still no luck. My knowledgeable friend implied that it might have something t...
I used packagemaker to package a App, now I want to add another app with a option, if user check the option , it can be installed automatically, because another app will be packaged with packagemaker, so I didn't include it with a folder with packagemaker, how to do it ? Thank you !!!
...
Hey all
I'm trying to run a java jar file from the command line and within the the execution it gives a path. Withing this path their are spaces and this is causing the issue.
ie
foreach($paths as $path):
$f = `java -jar /OCR/ocr.jar /Folder/$path /ocr/output.txt`;
echo "<pre>$output</pre>";
endforeach;
If you can see the space in b...
Is anybody knows any API that can help to distinguish Mac OS X "Server edition" from "Desktop edition"?
My application should know on which edition of Mac OS X it currently running. (Server or Desktop)
...
I would like to emulate the default shadow applied to NSWindows with a CALayer shadow. I can't quite figure out the exact values for the the following properties though:
theLayer.shadowOffset = ?;
theLayer.shadowRadius = ?;
theLayer.shadowOpacity = ?;
I assume that the shadowColor is black (the default).
Does anyone have an idea wha...
Hi,
I wrote an XML RPC server in python and a simple Test Client for it in python. The Server runs on a linux box. I tested it by running the python client on the same linux machine and it works.
I then tried to run the python client on a Mac and i get the following error
socket.error: (61, 'Connection Refused')
I can ping and ssh i...
Hi, I've been looking at adding iCal support to my new application and everything seemed just fine and worked on my Mac OS X 10.6 Snow Leopard development machine without a hitch.
Now it looks like depending on what is in your calendar the very simple query below:
- (NSArray*) fetchCalendarEventsForNext50Minutes {
NSLog(@"fetchCalend...
Hello All,
I am very new to the Mac platform and Objective-C in general and in my application I would like to know how to determine that a user is logging out and perform some actions prior to this. Any info or pointers for this will be greatly appreciated.
Regards,
-Jim
...
I am profiling a C program using Mac's Shark which shows that some of CPU time goes to "blkclr" in "mach_kernel". What does this kernel function do? I speculate it is related to memory allocation, but I am not sure. I have googled for some time, but could not find the answer, either. Does someone know this? Thanks in advance.
...
playaudio() dies because there's no /dev/dsp.
None of the outputs from saveaudio() in various formats seem to be playable in QuickTime or VLC.
Ideal of course would be something like playaudio(), saving a file and playing it is a work-around that's hideously sub-optimal, but better than nothing.
...
I am on a Mac with Snow Leopard (10.6.3). I hear that the assembly language I work with has to be valid with the chipset that you use. I am completely new to this I have a basic background in C and Objective-C programming and an almost strong background in PHP. I have always wanted to see what assembly is all about.
The tutorial I'l...
I have inserted a video from youtube into a DIV tag, used the actual "embed" code found on youtube site. and used jquery to show/hide the div.
when activated, the flash video shows perfectly in the div, when clicked it plays as usual
the only problem i have is when someone using a Mac, and clicks on play, the flash video disappears.
thi...
NSResponder has a method you override called - indent:, but unsure when it would normally be activated.
...
Any ideas?
In [1]: from selenium.firefox.webdriver import WebDriver
In [2]: d=WebDriver()
---------------------------------------------------------------------------
Exception Traceback (most recent call last)
/usr/local/selenium-read-only/<ipython console> in <module>()
/opt/local/Library/Frameworks/P...