I'm trying to use the Optiflag package in my Ruby code and whenever I try to do the necessary require optiflag.rb, my program fails with the standard no such file to load -- optiflag message. I added the directory with that library to my $PATH variable, but it's still not working. Any ideas?
...
Hi all,
We're trying to get SMB volume listings in our OS X application, and have been using NMBLookup, as suggested by Apple, to get listings. However, more often than not, we're not able to get a full listing of available SMB volumes using the tool. We've got a good benchmark in that we can see the full listing the Apple Finder gets, ...
Is there a keyboard shortcut to restore a minimised application window from the Dock?
Almost all Apple Mac OSX applications respond to the Apple+M command which minimises the current application window to the Dock, which is fine.
I can then use Alt+Tab to cycle through my running applications - including the minimised application, but ...
I want to test the web pages I create in all the modern versions of Internet Explorer (6, 7 and 8 beta) but I work mainly on a Mac and often don't have direct access to a PC.
...
I've recently had a need to do a bit of lisp editing and I found the nifty Ready Lisp package for OS X, which is great, except Aquamacs automatically uses a proportional font (which is idiotic, IMHO) and I want to change it to a monospace font. However, I'm not really much of an EMACS user, and the preferences menu in Aquamacs is less th...
When I downloaded Skype, I noticed that, in place of a normal "disk image" icon, there was a custom icon, and when I double clicked on the icon, the window used a colorful image as the background, prompting me to drag the skype icon into the applications folder.
How can I do that with my applications?
Thanks,
Jason
...
I would like to monitor a log file that is being written to by an application. I want to process the file line by line as, or shortly after, it is written. I have not found a way of detecting that a file has been extended after reaching eof.
The code needs to work on Mac and PC, and can be in any language, though I am most familiar with...
If Java application requires certain JRE version - how can I check its availability on Mac OS X during installation?
...
Emacs: C-U (79) # a pretty 79 character length divider
VIM: 79-i-# see above
Textmate: ????
Or is it just assumed that we'll make a Ruby call or have a snippet somewhere?
...
How can I poll disk activity in Applescript? Check to see if disk X is being read, written, or idle every N seconds and do something.
...
From time to time am I working in a completely disconnected environment with a Macbook Pro. For testing purposes I need to run a local DNS server in a VMWare session. I've configured the lookup system to use the DNS server (/etc/resolve.conf and through the network configuration panel, which is using configd underneath), and commands lik...
I'm trying to convert old QuickTime framework code to the 64-bit Cocoa-based QTKit on OS X, which means that I can't drop down to the straight C function calls at any time. Specifically, I'm trying to find a way to write QuickTime VR movies with QTKit, as they require some special metadata to set the display controller. How can I do th...
Possible Duplicates:
ipod touch / iphone development on Windows?
iPhone development on Windows
I don't have a mac, but I wish to develop iPhone applications on Windows platform. Is this possible?
...
When trying to use libxml2 as myself I get an error saying the package cannot be found. If I run as as super user I am able to import fine.
I have installed python25 and all libxml2 and libxml2-py25 related libraries via fink and own the entire path including the library. Any ideas why I'd still need to sudo?
...
I want to dynamically hide/show some of the columns in a NSTableView, based on the data that is going to be displayed - basically, if a column is empty I'd like the column to be hidden. I'm currently populating the table with a controller class as the delegate for the table.
Any ideas? I see that I can set the column hidden in Interface...
Mac OS X ships with apache pre-installed, but the files are in non-standard locations. This question is a place to collect information about where configuration files live, and how to tweak the apache installation to do things like serve php pages.
...
I am a Windows guy with an ASP.NET background but I have a hosted Linux server (dedicated) on the Internet, and meanwhile I'm spending more and more time on my Mac. I want to start doing web app and web service (iPhone-to-Internet services) development on the Mac, as well as some server development on my Windows laptop, and then deploy o...
What should I type on the Mac OS X terminal to run a script as root?
...
I'm trying to have the same KDE Konsole experience within Mac OS X.
Here's my (overly complicated?) setup:
I have Control and Command swapped at the System Preferences level. (Can't live without this)
Parallels lets you, at the Parallels application level, also reverse Control and Command. So I can undo the System Preferences settin...
Apple's CoreGraphics library defines two functions for describing an arc.
CGPathAddArc adds an arc based on a center point, radius, and pair of angles.
CGPathAddArcToPoint adds an arc based on a radius and a pair of tangent lines.
The details are explained in the CGPath API reference. Why two functions? Simple convenience? Is one ...