-
as seen on Super User
- Search for 'Super User'
Greetings,
I am running PSPad (a Windows programming editor) on OSX/Snow Leopard using Wine 1.1.35
I want to associate various file extensions (.php, .js, .html) with PSPad.exe
OSX Finder does not allow this association -- I can only associate file types with $.app items in Applications.
How do…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a web endpoint that displays an image of a string... When the following code is run (in tomcat) it spawns a java icon in the taskbar on OSX. Not sure if it is a problem, or whats going on. Looking for some sort of explination
@RequestMapping("/text/{text}")
public void textImage(HttpServletResponse…
>>> More
-
as seen on Super User
- Search for 'Super User'
I have a FAT32 partition on my HDD. When using OSX, it is mounted to /Volumes/MEDIA. After a recent upgrade to Mavericks, spotlight is having trouble indexing it, eating up almost all of my system resources, and I cannot get the indexing to stop:
[jay-mba-osx ~]% sudo mdutil -v -a -i off
/:
Indexing…
>>> More
-
as seen on Super User
- Search for 'Super User'
Hi,
I've run into some problems with how I've got user home directories set up on our system here.
Our server is an XServe, using Open Directory to manage the user accounts.
The majority of our workstations are OSX, but there are a few running Linux (Centos 5.3), and, as time goes on, we expect…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm trying to connect to a webserver that's running on my mac OSX 1.6. I'm able to connect to it locally using http://127.0.0.1:8888/myapp but when I attempt to connect to it using my machine's local IP address (http://192.168.1.15:8888/myapp IP shown below) from the same machine (or another on the…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm still trying to get a handle on Cocoa (both in Obj-C and MacRuby), and I'd really appreciate seeing how to download a file with ASIHTTPRequest (or without it) and MacRuby. Ideally, I'd like to be able show the progress inside a progress bar too.
Must use a cocoa method for downloading, since…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Well, my fisrt question was a bit too general so i ll try again and hope this one is better.
The way i see it is:
Ruby-MacRuby or IronRuby or Rails
Obj-c-Mac Development
So Ruby has clearly more potential in desktop and web platforms and now with MacRuby, OSX native (and commercial) apps are on the…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am trying to use an external Obj-C class in my MacRuby project, but I can't figure out how to import it. Specifically, I want to use ObjectiveResource inside a MacRuby 0.5 project (since ActiveResource doesn't work - yet).
I have gotten as far as the 'framework' command in MacRuby, but it only…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a NSTextField within a Window and I created a very simple MacRuby delegate:
class ServerInputDelegate
attr_accessor :parent
def textDidChange(notification)
NSLog notification.inspect
parent.filter
end
end
And I have tried setting the control's delegate:
I…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Anyone know why this works in Objective-C but not in MacRuby?
Objective-C Version:
CLLocation *loc = [[CLLocation alloc] initWithLatitude:38.0 longitude:-122.0];
NSLog(@"Lat: %.2f", loc.coordinate.latitude);
NSLog(@"Long: %.2f", loc.coordinate.longitude);
[loc release];
// Results:
// 2010-04-30…
>>> More