mac

How to install php5 curl in mac osx snow leopard?

How can I install php5 curl module or any other php5 modules in mac osx snow leopard? In Ubuntu 9.04 I am using: sudo apt-get install php5-curl I already tried Googling but can't find some solution. ...

cocoa capture frame from webcam

Hi to all I'm implementing a software to caputre video from webcam. I've seen MyRecorder sample in Apple Dev and it works fine. I've tried to add a button to take a snapshot from video with this code: - (IBAction)addFrame:(id)sender { CVImageBufferRef imageBuffer; @synchronized (self) { imageBuffer = CVBufferRetain(m...

Is there an equivalent of -applicationDidReceiveMemoryWarning: on the Mac

I'm looking for an equivalent to the -(void)applicationDidReceiveMemoryWarning:(UIApplication *)application method that's available on the iPhone. So far I haven't been able to find anything, but I'd like to check before I start writing my own. ...

Getting live data from the iPhone on the Mac

Hi, I'm experimenting with the sensors of the iPhone. At the moment I visualize the data of the accelerometer by logging it to a file, downloading the file via Xcode and loading the file into my Ruby-Processing app. As I'm playing around a lot this process is getting annoying. It would be cool to have a live stream of the data on the Mac...

Cannot assign LinkedList to List, why?

Hi everyone, I'm using Java in Eclipse on Mac OS X 10.5 (JDK Compliance level 5.0) with and I'm getting very strange compilation problems that I wasn't getting before (and I don't think I've updated my compiler or Eclipse, but maybe an update was installed that I wasn't aware of). For example if I have the following line in my code: Li...

AirPort Express Router Remote URL and default username/password

I am using the apple router, i think it is called the AirPort Express. It is the rounded one. Basically I would like to access it to configure my eMule connection. Question is simple: 1) What is the url for remove administration of this router? 2) What is the default username and password? Thanks, -Sergio ...

SVN Commit specific files

Hi all! Is there any way to commit only a list of specific files (e.q. just one of the list of files that SVN wants to commit). I'm working on MAC OS X under Terminal, without any UI. thank you ...

Using an IOService port reference to turn off a device...

Hello, This question relates to IO Kit programming on Mac OS X. I have an IO Service Port reference (io_service_t). Is there an API I can use to make whatever is on the end of that IOService port reference power off? I have tried with all my googling might, but have not found a solution. Any help would be appreciated. Cheers Jan ...

Disable Apple PHP on Mac OS and use XAMPP instead

Hi I've installed XAMPP and I want to use the PHP that comes with it from the command line. So I'm looking to disable the Apple version of PHP and related tools. Anyone know a clean way of doing this, while allowing Apples PHP to be re-enabled again relatively easily? ...

CVS commands have stopped working in MacOS X Terminal

Today, for the first time in several months, I needed to use CVS on the command line on my Mac (MacOS X 10.4), and discovered that the commands no longer work. In response to: cvs diff -u I got: cvs diff: CVSROOT requires a path spec: cvs diff: :(gserver|kserver|pserver):[[user][:password]@]host[:[port]]/path cvs diff: [:(ext|server)...

How to update Numpy on Mac OS X Snow Leopard?

How can I update Numpy into the newest one? Should I download .dmg file from here: http://sourceforge.net/projects/numpy/files/ This .dmg is only for 10.5? I installed numpy using these instructions: http://www.scipy.org/Installing_SciPy/Mac_OS_X My current Numpy is 1.2.1. I'm running on Mac OS X 10.6.1 Snow Leopard. Thanks! ...

Where do I use BackTrace calls on the Mac

I want to get a BackTrace from my crashing C++ Mac application however I am new to the Mac and am not sure how best to go about it. I found a question on stackoverflow that details its usage: getting the current stack trace on mac os x However my problem is that I do not see where the code is meant to live? Does it go in the main.cpp...

TextMate for Java/Maven development

Is anybody doing Java/Maven development with TextMate? Any Bundle I can use for it? I am aware of regular bundles for Maven and Java (to generate part of the code), but are there are any bundles to help list classes methods? (like Eclipse/Netbeans/etc. does). And not the current class methods, but say I have FirstDemo.java which has meth...

Need help with IOSurface & OpenGL for max os x snow leopard application

Apple added the new IOSurface framework as part of the 10.6 Mac OS X firm update. Since this framework relatively new, I haven't found the much need documentation on how to properly use this. I was wondering if there anyone on StackOverflow that can assist me with IOSurface usage. Anyways, this is what I want to do. Right now my applic...

Can I use NSSpeechSynthesizer from JavaScript?

Hi, I have a short and simple question: Can I use NSSpeechSynthesizer or Mac OS's Text-to-Speech engine from JavaScript (if I'm on a Mac using Safari)? And if so: how? Thanks! Johannes ...

How can I download Java SE 1.5 for Mac OS 10.6

I'm searching for a way to download Java 5 for Mac OS 10.6. Where can I find this? Sun's site didn't have it for the Mac, and the Mac site only had it for older versions of OS X. Thanks much. ...

SketchFlow Export to Word File and the Order of Objects

Hi, i have made a prototype in SketchFlow which is found in Expression Blend 3. As my designer can not use the published .exe version (Due to being on a Mac) I have to export the application to Word. This works great apart from the order being somewhat odd. What determines the order in which objects get exported into the Word document ...

What makes it possible to drag-open files on a Mac?

I just noticed that not all icons in the dock allows you to drag files to them. For example, I can drag a file to textedit but not finder. What exactly is it that decides whether or not an application supports an action like that? Just curious. ...

developing a osx deamon that runs before user login using xcode.

Hi I am trying to develop a daemon using objective-C/xcode. I am new to mac world and can I get an idea of what project template to choose in xcode and how to do it. Can I get a simple and basic daemon sample source code ? ...

Can I stop applications from grabbing focus in OS X?

Applications stealing focus is on of my biggest UI pet peeves. There's rarely a good reason for an application that I'm not using to interrupt what I'm doing. Is there a way to disable focus-grabbing globally in OS X? ...