how do I find where a executable is present in macosx?
I have a command called youtube-dl .. but dont know where it is installed.. i can run it from shell.. how do i find where it is installed ? which youtube-dl doesnt say anything.. ...
I have a command called youtube-dl .. but dont know where it is installed.. i can run it from shell.. how do i find where it is installed ? which youtube-dl doesnt say anything.. ...
I have created a PLIST. The structure of the PLIST is like this <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://10.87.145.105:8080/copy/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>title</key> <string>Sample</string> <key>title.short</key> ...
Is it possible to send a Growl message in a C program? ...
I don't at all like the default colorings on Mac OS X, but I love them on Ubuntu. What config files govern these things? I'm hoping I can just copy the relevant files from Ubuntu onto Mac OS X. ...
Im trying to create a 'tree' using and xml source with dashcode for a webapp. My record set (as an example) is similar to a Used Car Lot: *where I have 100 cars *I have multiple of the same kinds of cars, but still varying makes and models What I'd like to do is have a stacklayout/dataArrays with a a table handle something like *Ford...
Here is my situation. I am testing out Varnish on my local box (I'm doing some stuff related to page caching that would be a big pain to push to staging every time). Everything works fine, except whenever I submit a form, I get an ActionController::InvalidAuthenticityToken exception. Varnish is running on localhost at port 6081, and Thi...
I was wondering how to make a menubar application, what are the requirements for that to do so? I saw a simple application for the menubar was to open links using your Internet Explorer, I want to create something similar to that. This is the application I like to make similar. ...
I'd like to start creating a few apps for the mac and iPhone for personal interest, but I'm not sure which is the better place to start. Both seem to have a fair bit in common: objective-c, cocoa, xcode, etc. so I would assume that there are a lot of transferable skills. My question is: which is the easier starting point? Creating a sm...
Trying to write a program that allows users to control a program via global shortcuts. I already have a working version on windows using pyHook but can't figure out how to capture global input on a Mac. The other questions I have read here so far mostly seemed to be about Linux not Mac. (which is why I'm asking) Is there any way to do th...
Py2app will create the app for python2. But for python3? Has anyone succeeded in creating an app for python3 script? Any clue would be helpful for my script in creating that. ...
Hi, Does anyone know if precompiled headers are supported when using Clang++ 2.0? I've installed Xcode 4 Developer Preview 2 which includes a Clang++ build that reports its version as "Apple clang version 2.0 (tags/Apple/clang-108.3))", but trying to replicate the basic PCH usage example at http://clang.llvm.org/docs/UsersManual.html#pr...
Okay, this one seems to me a bit weird. Any help would be greatly appreciated. I recently implemented code that I found here to get the MAC address. The funny thing is that is prints to the console (in addition to the MAC address) something like the following: <CFData 0x317df0 [0xa03e9ee0]>{length = 6, capacity = 6, bytes = 0x001f5bd...
I am trying to create a serial number checker in an app that I am writing, and it uses cryptography to encode the name and entered number against what it actually should be. I am familiar with the SHA1CryptoServiceProvider used in C#, but is there anything like this in Objective-C? Here is sample code from C# that I want to convert to...
Hi Everyone, I'm currently building an app that needs to be runnable on Tiger, Leopard and Snow Leopard. I'm working in Xcode 3.2.3 and my machine has OS 10.6.4. What parameters do I need to change for the separate builds? In the old Xcode I could just change the tab in the upper left hand corner from 10.4 to 10.5. Now there are just ...
Hello, I'm looking for a way to simulate a mouse move event in Mac OS X 10.6. It would have to be defined in mouse units (rather than pixels — that is important!) I need this for an experiment which basically consists of drawing lines. Any ideas are welcome. Thank you! ...
I'm trying to port an application I've written in Qt from the windows platform to the Mac OS X platform. The application is relatively simple: It queries the user for a document (either MS Word, or OOo Writer document). It than launches that that document inside the respective application, and than replaces various text elements with o...
Hello, in iPhone I do UIViewController viewDidLoad and write some setup code to setup the view. But how can I do that in NSViewController? I've tried with loadView but it doesn't work... Maybe I do something wrong I don't know... PS: I've just started with OSX / iOS programming, so sorry if I ask something stupid :( ...
I have reinstalled snow leopard (10.6.4) and it's fully updated. Running java -version gives me: Java version "1.6.0_20" Java(TM) SE Runtime Environment (build 1.6.0_20-b02-279-10M3065) Java HotSpot(TM) Client VM (build 16.3-b01-279, mixed mode) I have installed a fresh version of eclipse (helios, 3.6, build: 20100617-1415). I create...
Windows lets you develop a filter driver to catch file I/O's on VFS. But I can't seem to find something similar for Mac. It does have something called Filter Schemes, but those are for HFS+. Anyone know if there is a way for me to intercept file I/O's on Mac without using programs like MacFUSE? ...
Getting up to speed with Cocoa iPhone/Mac development, I know the difference between atomic and nonatomic properties, and the performance difference with nonatomic, but every definition of IBOutlet properties I've seen specifies nonatomic, over the default atomic. I've not been able to find an explanation of whether this is a requirement...