mac

How to open a website hosted in MAMP on the Mac?

I've installed MAMP on my Mac. Then, I put my website into the htdocs folder of MAMP. I started the Server. But how can I launch the website in Safari now? What's the URL to the website, when it's named "testsite" for example? ...

MacOSX API for CPU load on each core

How do I get the load on each CPU core on my Mac, just like Activity Monitor does? Is there an API or a command line tool whose output I can parse? ...

Looking for a php debugger that works with ZendOptimizer.so under Mac

Hello, I'm working with an internal crypted php application that requires ZendOptimizer.so to be enabled. Is there any PHP Debugger under Mac that can run in parallel with ZendOptimizer.so. Thanks in advance, ...

Using setters / mutators in dealloc

To be specific, I'm talking about writing a dealloc like so: -(void)dealloc { self.myvar = nil; [super dealloc]; } I understand this goes against Apple's recommendations. I also understand that it can cause issued with KVO as well using the setter on a partially deallocated object. But if I'm making the calls in this order ...

Git changes files on Mac OS X

I just cloned an old repository containing some linux kernel modules (don't ask). If I clone on a linux machine, everything is fine. On my Mac however, someone (presumably Mac OS X) makes binary changes to the modules. I already disabled autocrlf. Here's the output of git diff -p --stat directly after clone: .../kernel/net/ipv4/netfil...

Class in ObjectiveC doesn't seem to recognize inherited messages

I'm learning ObjectiveC with "Programming in Objective C" by Stephen G Kochan and I'm having some difficulties with an example. It creates a simple Fraction class that inherits from Object. That's where I get into trouble, when I try to send messages that are understood by Object instead of Fraction, such as init, alloc or free (see cod...

gedit text editor - mac os x

Hey, Does anybody know if you can setup remote connections in gedit(on mac os x snow leopard), so I don't have to keep ftp'ing up seperately. I know it can be done on Ubuntu but can't figure out how to do it on a mac, if even possible. ...

Is there a way to integrate Xcode with bugzilla?

Is there a way to integrate Xcode with bugzilla (like MyLyn for Eclipse) or so? ...

Installer for a simple Mac OS command-line tool?

How can I build a novice-usable (clickable download) installer for a Mac OS X command-line tool, and where should the binary be installed so that a novice user with no knowledge of shell paths can just open the Terminal app and type "foo" to run the freshly installed foo tool? Can the installer also install documentation so that the use...

Changing Cocoa display name in the app?

How do I change the name that shows up above my app in the Dock on OS X? (I've tried renaming the target and renaming my project. And, I've Googled it.) ...

Installing a module/script in Python on OSX

Hi, I am running Python 2.6.2 in Mac OSX 10.5.8. I am trying to generate scientific graphs for a publication and am experimenting with python/matplotlib to do that. Varun Hiremath created a module called plot_settings.py (link text and I am trying to figure out how to install the module so that I can import it. I'm not sure if easy_in...

Batch convert on Mac OS X html files to UTF-8 with Unix (LF)

I am on a Mac OS X with Snow Leopard. I need to batch convert a lot of .htm files that were originally created on Windows to UTF-8 with Unix (LF) line breaks. I can batch rename all of the files .html with NameMangler. I can do a search/replace of all of the files to update all hyperlinks to reflect the extension change to .html u...

xcode function menu keyboard shortcut

I'm somewhat new to XCode and am very accustomed to using Visual Assist with Visual Studio. In XCode, I see the function menu above the text editor but can't seem to find a keyboard shortcut to pop it down. It seems to require a mouse click. It would be nice to have as this is yet another tool for better code navigation and is easily ...

How to create Package in mono 2.8 its need 'mono.exe'

Hi, I am using "Mono Tools for Visual Studio - 2.8". When I am creating Package of mono it requires 'mono.exe' but it does not exist on my system. How can I get mono.exe OR there is any other way to make Package for the Linux. I want to run my windows application on Linux and Mac. ...

Open link in Firefox via contextual menu using Applescript

I'm new to use Applescript to create services in Snow Leopard. I found myself often trying to open a link in Safari with Firefox. I know there are ways to open a page url with FF but I want to open any link inside a page with FF. I think using Applescript to create a service might be a good idea and so far I found this: openFirefoxURL("...

Data modelling tools for Mac?

Hi! Can someone recommend me some data modelling, data warehouse tool for Mac? ...

Extracting an image from H.264 sample data (Objective-C / Mac OS X)

Given a sample buffer of H.264, is there a way to extract the frame it represents as an image? I'm using QTKit to capture video from a camera and using a QTCaptureMovieFileOutput as the output object. I want something similar to the CVImageBufferRef that is passed as a parameter to the QTCaptureVideoPreviewOutput delegate method. For s...

libsqlite3.dylib security error

I am having trouble with the libsqlite3.dylib library; when I try to run, I am receiving the following error message: dyld: Library not loaded: /usr/lib/libsqlite3.dylib Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security Reason: Incompatible library version: Security requires version 9.0.0 or later, ...

How to "Skin" an application on Mac?

I want to skin an application I wrote, but do not know where to start. Is there anything like DirectShow (stardock.com), DotNetBar etc..for Mac that I can do this? (I do know these examples are for .NET, just using a point of reference. If there is not, is there some source of information that will lead me in the right direction? A...

How to auto-select next row after deleting current row by core data context?

I am using Core Data to manage objects and using a NSTableView to display those objects. The table columns are binded to objects' properties through a NSArrayController. When users click the delete button, all selected objects in the NSTableView will be deleted. Then only remained objects are left in the NSTableView. This works smoothl...