Does anyone know how to uninstall MacRuby? I was using RubyCocoa then decided to try out MacRuby, after installing MacRuby, RubyCocoa has stopped working. So I would like to remove MacRuby, but I cannot find any documentation on how to uninstall it.
...
I am using Flying Saucer (xhtmlrenderer) to create a PDF that contains a hyperlink. When the PDF is viewed in Adobe Reader it looks as expected, but when viewed in Preview.app on the mac it displays a thin black border around the hyperlink.
How do I get Flying Saucer to render the PDF such that this border is not displayed?
From some f...
I have been using Fedora Linux for quite some time now for web development (and for other dev stuff as well). But just recently, someone told me that since I'm doing web development, I might as well use a Mac. I feel like Macs are overrated. Why should I (or should I not) use a Mac?
...
In MacOS Leopard versions prior to 10.5.7, NSOperationQueue was famously buggy.
Does anyone know if this bug applies to the iPhone OS (which also features this API),
and if so to which versions?
...
I'm looking for a way to determine the second frontmost app. Here's what I mean by that.
Let's say I launch three apps in this order: Xcode, Interface Builder, and my application. If I press Command-tab, I should see four applications in the switcher: (from left to right) my application, Interface Builder, Xcode, and Finder.
Let's t...
I run
~ master $ ls -l@
I get
total 3
drwx------+ 41 Masi staff 1.4K Jul 18 03:20 Downloads
drwxr-xr-x@ 18 Masi staff 612B Jul 14 10:41 Dropbox
com.apple.FinderInfo 32B
drwx------+ 54 Masi staff 1.8K Jul 4 20:35 Library
com.apple.FinderInfo seems to be some data-structure.
ls' option @ should display only
...
I would like to know how you can support i386 and ppc architectures for programs at /bin.
I run for instance
bin $ file amber
I get
amber: setgid Mach-O universal binary with 2 architectures
amber (for architecture i386): Mach-O executable i386
amber (for architecture ppc): Mach-O executable ppc
How do programs support i386 an...
When writing an application for MacOSX, using Cocoa/Objective-C, I'd like to be able to store the data entered by the users. There will only be one user per installation at the moment; however, I'd like to get an idea of how storage methods change if it were multiple users per installation.
In the case of 1 user per installation, shoul...
Is it possible to open a terminal window with 3 tabs. Each tab should have different path.
Example:
Tab1: /etc
Tab2: /bin
Tab3: /www/ tail -f file.txt
...
Does anyone know of a good terminal template? I prefere the black one but when I connect to a computer over SSH I get ugly bold fonts with strange collors :).
THX!
...
Is there a good program for "real-time" RSS Growl notifications. I would like to install a Growl alerts for RSS feeds. When a news is published RSS changes and I see an alert.
I tryed OmniGrowl but have problems on my new MacBook Pro.
Thx!
...
How do I get a unique WindowRef from a Qt application that includes docked windows on the Mac?
My code boils down to:
int main(int argc, char* argv[])
{
QApplication* qtApp = new QApplication(argc, argv);
MyQMainWindow mainwin;
mainwin.show();
}
class MyQMainWindow : public QMainWindow
{
//...
QDockWidget* mDock;
MyQ...
Language - Objective-C
I'm using the SoundEffect class to play a short sound. I'm using an NSTimer to call a this method:
- (void)count {
count++;
if (count == 16) {
NSBundle *mainBundle = [NSBundle mainBundle];
SoundEffect *soundEffect = [[SoundEffect alloc] initWithContentsOfFile:[mainBundle pathForResource:@"beep" ofType:@"aif"]]...
Looking for resources and information regarding capturing video from an external webcam on Mac OS X using Java. QTKit seems to only offer this functionality in native code. Any information would be appreciated.
...
I am starting to learn the very basics of ruby on my iMac running Leopard.
The version that is now on my system is ruby 1.8.6
But, I independently also installed ( via MacPorts ) ruby 1.9 because that corresponds to the latest "PickAxe" book.
The installation location for ruby 1.8.6 is in /usr/bin/ruby
The installation location for ru...
Is there any way to replace the bundled Apache and PHP install on OS X Server 10.5? I've got them installed separately at the moment, but it'd be nice if I could use the Server Admin tools with them. I know this is a long shot, but figured it's worth it.
...
Hi,
I'm running an uninstallation script through cocoa app, and I noticed that launchctl command doesn't get executed.
This is the part of the code that calls script (which contains sudo launchctl unload "name of the daemon")
//pFileName is the name of the File
NSString* pPath = [pCurrentBundle pathForResource:pFileName ofType:@"sh"]...
How can I programmatically enable and disable the power to a particular USB port on Linux? Is such a thing even possible? (no -- see below) Mac answers appreciated as well!
I was trying for a BOC (don't pretend you weren't try to get one too!) and ended up with one of these, and would like to get some use out of the thing by hooking it ...
I'm sure there must be a way to do this. As you are probably aware the latest versions of Xcode (and in fact I think all versions of Xcode) on Leopard come with GCC 4.0.1 and GCC 4.2. GCC 4.0.1 is the default system compiler while GCC 4.2 is an optional compiler you can set in the Xcode project settings.
Does anyone know how to set GCC ...
My Leopard system has dtrace built in. I also have Java 6 installed, using the Apple-provided installer:
$ java -version
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03-211)
Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02-83, mixed mode)
Nevertheless, dtrace shows no hotspot probes when listing probes:
$ ...