osx

cvs for Mac OSX

is there a place I can get just the cvs executable for OSX as a standalone binary? I don't want to go through the whole rigamarole of having to download XCode just to get cvs, which I don't use, except the source for flickrj is only published via a cvs repository. ...

reconstructing symbols stripped from Mach-O binary

Using Mac OS X 10.5 I'm trying to figure out how to use dtrace to track the execution of a Mach-O binary. However, it seems the symbols have all be stripped out so any attempts to put use probes based on internal class/method names fail. I was able to use class-dump to dump the classes, method names and the address they are implemented...

Can not catch event Load Complete when loading a pdf file in Mac OS X

On my WinXP, everything just work fine. But when testing on a Mac OS X, the loadComplete event never fire. Please help ! ...

What is a good regular expression tester for OS X?

I'm looking for a GUI based RegExp tester in the vein of rubular.com, or this javacript expression tester here, for OS X, to help me when writing regular expressions. It would be really handy for it to work in more than one language (i.e. Python, Javascript, or Ruby). Other than using MacVim's own find as you type tool, or a commandlin...

Can Java load Mac OSX bundles/frameworks/ or dylib? How can it be done?

Can Java load Mac OSX bundles/frameworks/ or dylib? How can it be done? ...

OSX Audio: use Garage Band Plug-ins in my own app

Hello everybody! I'm writing a little app for the Mac, that involves recording a voice. In GarageBand, and in Logic for that matter, there is a plug-in called Speech Enhancer. Is there any way I can piggyback on this plug-in, offering those users that have GB or Logic installed the comfort of noise cancellation and equalizing the built-i...

Bash in Emacs + OSX not finding gems installed via terminal.app?

I am running bash in emacs on osx and its pulling gems from a different place then terminal.app in bash: which gem /usr/bin/gem in terminal: which gem /opt/local/bin/gem How do I change the bash to match terminals? ...

Emacs + Mac OSX and changing default font

how I can change default font to Monaco with antialiasing on Emacs 23. Where I can find dedicated binary for Emacs 23.1 for cocoa with antialised font settings? ...

ltrace equivalent for osx?

osx has the really powerful dtrace/ktrace/dtruss tools - however i'm not willing to invest the time necessary to learn dealing with them right now. what's the easiest way to get the equivalent functionality of linux ltrace (and possibly strace) on OSX? ...

Elevating rights to use mach_inject

How do you elevate user rights to root using the Authorization API so that it is possible to use mach_inject? ...

Basic questions about Assembly and Macs

Okay. I want to learn how to assemble programs on my Mac (Early 2009 MBP, Intel Core 2 Duo). So far, I understand only that Assembly languages are comprised of direct one-to-one mnemonics for CPU instructions. After some Googling, I've seen a lot of terms, mostly "x86" and "x86_64". I've also seen MASM, NASM, and GAS, among others. Corr...

grab frequent username from 'last' command in unix - with exceptions

If I run this on OS X: last -10 | awk '{print $1}' I get: chop chop chop chrihopk reboot shutdown chop chop chop chrihopk How do I use sed or awk to obtain the most frequent user 'chop'? ADDITIONAL EDIT TO QUESTION: Our local admin account interferes with the results (username: support) and often we have a new starter on a clie...

Setting up an ftp server on OSx server edition

Can anyone direct me to a link that explains how to setup an ftp server on OSx server edition? I searched for awhile and didn't find anything very useful. ...

Emacs 23 on OS X - use multiple instances or emacsclient?

Hi all, I wonder if anyone has any recommendations as to setup of emacs 23 on OS X. I have been using Linux/Windows for a while and there, I would just open many instances of emacs and they were self-contained - for instance, I could have two separate files in separate frames, each with their own R, Python, and/or shell running. I think ...

Does Mac X11 have the XTEST extension?

So I moved some X programs down to the mac, and I'm getting Error: XTEST extension unavailable on '(null)'. from xdotool. Does OS X X11 come with XTEST? If not, is there a way to add it? ...

Access audio from any application on Mac OS X

I want to access the audio from any application in Mac OS X, just like AirFoil does. But I can't understand how to do it... AirFoil requires a restart of the application. This might be a clue to how it does it... What is it that require the app to restart? Is it to hijick it, or to gain rights in some way to communicate with the app? I'...

Getting the unsaved dot on a Swing Mac OSX app with quaqua LAF

I am trying to make it so my app shows the unsaved dot in my swing windows when running on Mac with quaqua LAF. When I say unsaved dot, I mean in mac apps when you modify something, the red dot in the upper left changes from an empty red circle, to a circle that is mostly filled in with a darker red. Is there some flag I can set to ma...

Detecting multitouch iPhone-like "tap" on MacBookPro

After a period of iPhone work, I'm once again working on normal Cocoa apps on my MBP and I miss the "tap" gesture. I know that I can turn on the incredibly annoying "Tap to Click", feature in the Trackpad control pannel, but I don't want a click, I want a tap. I know it's probably not mac canon, but is it possible to receive this multi-...

Run terminal command on startup of netbeans in mac osx

Hey, does anybody know of a good way to run a command in the terminal when you startup netbeans in mac osx? Either as an option in netbeans or as a feature of mac osx? I'd like automatically sync my local files with a remote folder on startup of netbeans, so I'd like to run an rsync command when netbeans starts up. Otherwise I forget and...

Generating C++ BackTraces in OS/X (10.5.7)

I've been utilizing backtrace and backtrace_symbols to generate programmatic stack traces for the purposes of logging/diagnosis. It seems to roughly work, however, I'm getting a little bit of mangling and there are no accompanying file/line numbers associated with each function invocation (as I'd expect within a gdb bt call or something...