osx

finding tcp version

How can I find the version of TCP running on my MacOsX? ...

eclipse galileo is failling to publish to tomcat on mac!

Hello good fellas i've posted a similar question here sometime ago and found the solution by downloading the new eclipse 3.5 (galileo).i believe this is a difference case since 1- i'm on a macbook pro now os x 10.5.0 2- using the springsource tool suite 2.2 (which is base on eclipse galileo 3.5.1 i think) i registered tomcat successful...

springsource ide on macos sts.app,eclipse.app

in my springsource sts folder, i have eclipse.app and sts.app ? what is the different executing each ? should be the same right? ...

How to get an string representation from an NSDecimal without any formatting?

For example, I have an NSDecimal myDecimal. Lets say it represents something like "-1234567.89" How can I get a clean string representation of that decimal without any beautification / formatting? No localization? Floating point symbol = . and rest only numbers from 0 to 9, and eventually an - if it is negative? I need that string in st...

Is it possible to have PackageMaker build an installer without "packaging" the content at build time?

I have content to be installed, but it's file and folder layout is determined by the brittle, old, Windows installer. I can't fundamentally alter the structure, and I'd prefer not to alter it at all. I can't put it in a PackageMaker package and somehow get the Windows installer to figure out how to read it, for example. Is there a way t...

Java on OS X: How to provide operations in the Services menu (NSServices)

The goal is that a Java app provides contextual menu functions for files as seen in the Finder, thru the Services menu, on OS X 10.6 (Snow Leopard). Is that possible from within Java code, or do I need to write a stub in ObjC which then talks to the Java app (via a socket)? Any sample code around? ...

View iPhone's PVRTC images on OS X

I need to view some of PVRTC-compressed textures from iPhone application (*.pvr) on OS X. Is there a viewer or format converter? ...

applescript + shell script problem

I'm writing a script to keep track of missing frames in a render (thousands of image files). to find the numbered frames in the sequence I do this: set thecontents to every paragraph of (do shell script "while IFS= read -r -d '' file; do echo \"$file\"|sed -E \"s|.*[^[:digit:]]0*([[:digit:]]+)\\..*|\\1|\" ; done< <(find \"" & thefolderP...

Insert a Newline in Excel Formula (MacOS)

I am using MS Excel on a Mac. I have a formula. Guests!A1 & " " & Guests!B1 & I WANNA PUT NEWLINE HERE Guests!C1 ... How do you do this???? Thx! ...

Updating Value in Core Data

Hi all, I'm trying to write a simple stock check program, and I have a Table View binded to Core Data. The table has 3 columns: Model, Price and Quantity In Stock. I have a NSTextField and a NSButton underneath this, so that the user can enter the quantity they wish to buy, and when they click "add to cart", the program should fetch the...

How can I get the full list of running processes on a Mac from a python app.

I want to get the list of running processes on the Mac, similar to what you get from 'ps -ea' I have tried os.popen('ps -ea') but this only lists a small subset of the processes, presumably those owned by the owning shell. Other options I have tried are 'sh -c /bin/ps -ea' 'bash -c /bin/ps -ea' 'csh -c /bin/ps -ea' Running as root vi...

Modify all HTTP traffic on an OS X

Imagine an application that while running injects a "Hello world" message on every web page you visit. How do I monitor and modify all HTTP traffic happening on an OS X machine? Monitoring and modifying all browser traffic would be good enough as well. Solution can be language agnostic; Python would be awesome. ...

How do I make OS X 10.6 compile JSON::XS as 32-bit instead of 64-bit?

I compiled Perl 5.10.1 under OS X 10.5. It was compiled as a 32-bit program. I have since upgraded to OS X 10.6. My version of Perl 5.10.1 continues to work fine, but I just tried to compile JSON::XS and got errors like the following: Can't load '/Users/cowens/.cpan/build/JSON-XS-2.26-clO6XX/blib/arch/auto/JSON/XS/XS.bundle' for m...

Menu of app in Status Bar wont work on Snow Leopard

I have an application that sits in the status bar on the Mac. It has a menu that lets you look at the app version, change some settings and quit the app. I built it on Leopard and it works fine on Leopard. On Snow Leopard, I can see the app in the status bar and clicking on it shows the menu items. But clicking items in the menu doesn'...

Adding something to jna.library.path on OSX

I need to added a bin directory to jna.library.path to get Rococoa working on OSX but I can't seem to figure out how to do so. Inside java when I call System.getProperty("jna.library.path"); it returns null so this won't give me a clue about where to place the bin directory. Any ideas? ...

Compiling Bochs on Mac os x Snow Leopard

Hi there, Was someone able to compile the Bochs simulator under Snow Leopard. Leopard worked fine for me but under Snow Leopard I get alot of problems related to the Carbon library... Ok, some more information was request. I compile with make on the shell; stanard build process coming with the bochs sources I was successfully able to ...

ZIP file created with SharpZipLib cannot be opened on Mac OS X

Argh, today is the day of stupid problems and me being an idiot. I have an application which creates a zip file containing some JPEGs from a certain directory. I use this code in order to: read all files from the directory append each of them to a ZIP file using (var outStream = new FileStream("Out2.zip", FileMode.Create)) { ...

how can I fix xcode compiling everything all the time ?

Hi, I've started to use XCode and it seems to work, well, most of it. The annoying thing is it compiles all the source files, even those that didn't change, each and every time. I'm getting the grips with openframeworks and I waste time compiling the openframeworks source files every time although they don't change. Here are my IDE a...

Are there any HTTP/HTTPS interception tools like Fiddler for mac os X?

Hi all, I would want to ask you if you know any application like fiddler but for mac os x , i need to debug some requests from google earth in mac os x. i used to do it with fiddler on windows but now i don't know ho to do them in mac. Thanks in advance. ...

CSS: Safari on Mac doesn't adhere to my Submit Button style

I have applied the following CSS to a FORM submit button: font:normal 15px helvetica,arial,sans-serif; padding:6px; On Windows, regardless of the browser (IE/Firefox/Chrome), this increase the FORM submit button and give the button spacing padding of 6px. However, on OS X (Mac), the form submit button is not stylized at all. Meaning,...