mac

Mac OS X web sharing and Django

I created a web app with Django and I have it running on localhost (http://127.0.0.1:8000/), my question is, how can I make it available to the world, using Mac OS X's web sharing or something? Thanks! ...

Single user mode in mac

I want to use the mac in single user mode. I want to use ctags and cscope in that mode. Could anyone help me with the setups required for this. Thank you. All i know is how to go to the single user mode so please tell me in a simple and easy to understand method. My mac is version 10.6(snow leopard) ...

Beginning mac software development

i recently downloaded the iphone sdk which came with xcode. what i wanna know from ur experience is that aside from iphone development is app development for mac making any money from anyone? ive been a web developer for a long time and wanna get into software development primarily on apple devices. what type on applications are in deman...

Mac Based Python GUI Libraries

Hello all, I am currently building a GUI based Python application on my mac and was wondering could anyone suggest a good GUI library to use? I was looking at python's gui programming faq and there was a lot of options making it hard to choose. I am developing on snow leopard and cross-platform is not essential (if it makes a differen...

ruby 1.9 -- Gem is there but it says its not?

I just installed 1.9 on my 10.6 OSX, and it runs as the "ruby1.9" command. So I'm trying to do: sudo rake1.9 install But it keeps telling me Jeweler (or a dependency) not available. Install it with: gem install jeweler rake aborted! no such file to load -- git However, if I type: gem1.9 list The jeweler gem is clear as day righ...

How can I write a startup script for Mac OS X?

I have created a jar file in java, and I want to make the application automatically start during system boot up. I found I have to write a shell script for that. What should be that shell script look like? Is there anything else I have to do to make an application automatically start at boot up? ...

sudo rake with parameters

Is: sudo rake install -- --with-mysql-dir=/usr/local/mysql/ a valid terminal command? I try to run this but it doesn't seem to pass in the variable correctly.. However something like this works fine: sudo gem install do_mysql -- --with-mysql-dir=/usr/local/mysql/ ...

How to read the content of an other app's text field on OS X?

For a project I must create a little buddy app that will read the content of one of the main app's text fields. Is there a way to get to the contents of a window/control (I'm interested in the text of the text field) on OS X? Something like GetDlgItemText() on Windows where I just pass the control's global handle and will get the contr...

Ruby for romance? How to update a script from itself.

My wife enjoys it when I use my geek abilities to be "romantic" so I had an idea for a ruby script to install on her Mac that would send her quotes and little notes from me throughout the day. I already figured out that I'll be using GeekTool to run a script in the background and I'll use growlnotify to display the messages. Now what I n...

NSArrayController initialization

I am having trouble getting an core-data backed NSArrayController to work properly in my code. Below is my code: pageArrayController = [[NSArrayController alloc] initWithContent:nil]; [pageArrayController setManagedObjectContext:[self managedObjectContext]]; [pageArrayController setEntityName:@"Page"]; [pageArrayController s...

Two macs. One iPhone Developer License. Possible?

I work for a company that is interested in building iPhone apps. However, we are not clear on one issue: Does the iPhone developer certificate work on more than one computer at a time? ...

Mac application hangs on ReadPipe from USB device

I took /Developer/Examples/IOKit/usb/USBSimple Example and modified it so that it actually transfers some data to (and hopefully soon from) the device. Here's my transferData function (commented): void transferData(IOUSBInterfaceInterface245 **intf, UInt8 inPipeRef, UInt8 outPipeRef) { IOReturn err; CFRunLoopSourceRef cfSource;...

Textmate and vim modes

Hello. It is possible to emulate vim modes, macros and bindings in textmate? ...

Using GWT with Mac OS X Leopard

Hi I'm just starting out with GWT but I can't even run the getting started example without getting the following error: Invalid memory access of location 0x10 eip=0x93624148 I am aware of the "java hosted mode 32 bit" stuff, anyway I tried every combination I could think of and still could not get away with that error. I tried: U...

Install zip extension for PHP --enable-zip on Mac OS X

I'd like to install the following but am not sure where I should add --enable-zip? Is there more to it than putting it in php.ini ? http://www.php.net/manual/en/zip.installation.php ...

Sending commands and strings to Terminal.app with Applescript

Hi, I want to do something like this: tell application "Terminal" activate do script "ssh [email protected]" -- // write user's password -- // write some linux commands to remote server end tell For example to log in to the server, enter the password, and then login to mysql and select a DB. I type that every day and it would be...

Mac eclipse xdebug firefox issue

I have worked with eclipse, firefox, and xdebug for months now on a linux-ubuntu machine. recently i moved to a mac 10.6 and set up all these programs and they all work fine until I try to run xdebug using firefox as the default browser in eclipse. It will work, but the browser must be close other wise it will prompt a message saying C...

Looking for software which can build PHP scripts into Mac executables

I found roadsend and phc but failed to install either one of them. Is there any other software that can build PHP scripts into Mac applications? ...

Winqual for Mac OSX

Hello, is there a way to see applications crashes of our mac-application like we can using error reports using Microsoft's WinQual for windows applications? Thank you! Regards Uwe ...

How to insert customize check condition (eg JRE Check) in Package Maker, Mac

Hi I am using Mac 10.6 i.e. snow leopard. I used Package Maker to create installer for my own application. The installer works fine. My application wants minimum JRE 1.6 (Java Runtime Environment). I want if my system do not have JRE1.6 or higher then the user should not be able to install the software. The system should show an error me...