The default setting "/Applications/Firefox.app/Contents/MacOS/firefox-bin" tries to start a new instance of Firefox every time, which is refused blatantly by Firefox if there is already one.
Then I tried to use the "open" magic and set it to:
Name: Firefox
Location: /usr/bin/open
Parameters: -a /Applications/Firefox.app %URL%
which s...
I need recommendations for a good (free) development notepad to work in on my new macbook, mainly for PHP, AJAX etc.
...
Is there a set of string attributes I can specify that will draw the text at an angle when I call:
[label drawAtPoint:textStart withAttributes:attributes];
...
I aim to have a list of lines where I use the word NB in my notes.
Pseudo-code
open -a Firefox `ack -a NB`
However, I cannot make Firefox to understand parameters from terminal.
The output of Ack is a text-file, so it should be somehow redirected to Firefox.
I run unsuccessfully
open "http://`ack -a NB`"
I get in Firefox's addre...
I want to create a softlink to a file that doesn't exist (using ln -s ...).
In Finder, this appears with a blank-page icon because I believe it tries to find the target, which doesn't exist, and hence can't pull a real icon.
Is there any way using Finder I can have this link show as non-blank?
...
This one is for Java programmers on Mac.
How do I catalog Java API documents using Quicksilver? Wouldn't it be nice if you could lookup API documents with a few key strokes?
...
Is there an equivalent function to SendMessage in the Mac OS?
...
Mac OS X development is a fairly new animal for me, and I'm in the process of porting over some software. For software licensing and registration I need to be able to generate some kind of hardware ID. It doesn't have to be anything fancy; Ethernet MAC address, hard drive serial, CPU serial, something like that.
I've got it covered on W...
Hi,
I am new to MacOS development. I would like to know how developer navigate code in a large code base on MacOS? E.g. webkit? I have webkit (c++) built in XCode, but the source code navigate is not that great.
I am looking for something like Java source code navigation in eclipse. e.g. display class hierarchy, e.g. caller of a parti...
OS X's Keychain has a Password Assistant feature that suggest passwords based on user criteria (e.g. Length = 18 and FIPS-181 compliant).
I want to access this feature via bash. My specific interest is requesting generation of a password with my desired length and complexity attributes, then adding that password item to a specific keyc...
We use SVN here at the office and I'm experimenting with using git-svn for myself.
I created a directory in /usr/local/code/git and did my checkout to /testco.
I used the commands given in the man page, git svn clone , where is my repo.
It goes through a few hundred lines of all the files in the SVN trunk, but when its done the direc...
--edit--
What application development frameworks/component models for Linux and Mac OS X are analogous to Windows Communication Foundation & COM, which provide high level IPC mechanisms for manipulating/communicating with software applications?
By high level communication model I mean RPC, publish/subscribe, etc.
I'm writing software ...
I managed to get a set of images loaded using Python.
I'd like my script to take this series of images (in whatever format I need them), and create a video from them. The big limit in all this is that I am looking for something easy and simple to install. Ideally, using the standard OS X installation procedure:
download .dmg
click
m...
Hopefully this is not considered "Not programming related"...
I'm an experienced C/C++/Java programmer (Also many others, but not relevant) and I'm trying to program for a mac. I've tried learning things piecemeal by looking things up as I need them online. However, I've been finding that frustrating lately. So, I decided that I want a ...
How can I get emacs 23 working nicely in multi-tty mode on OS X?
I've added (server-start) to my .emacs, and have discovered that running /Applications/Emacs.app/Contents/MacOS/bin/emacsclient -n ~/myfile.txt will open it in my emacs.app, but it doesn't bring emacs to the front.
So, how can I get emacs.app to come to the front when I r...
Python's os.path.getctime on the Mac (and under Unix in general) does not give the date when a file was created but "the time of the last change" (according to the docs at least). On the other hand in the Finder I can see the real file creation time so this information is kept by HFS+.
Do you have any suggestions on how to obtain the fi...
I have a strange problem with opencv running on an Ubuntu.
I installed OpenCV from the apt sources. And most of the Examples work fine.
But in my programs, which are working with Mac OS, no windows are created.
The following code is showing a window and an image in this on my Mac but not on my Ubuntu powered machine
import time
from o...
I'm looking for a custom disk image creation app that I can integrate into the build process for my app (which means I need to be able to run it from the command line if possible).
My desired features are that it will size the image for me, let me set the location of my icons when the image is opened, set a custom background/icon, etc.
...
I want to test a website on mac, my client telling that there is something not working well on mac browsers.
I have windows pc and don't know any friend near me has mac to test on it.
Where i can find something like a virtual machine for mac to run mac from a pc.
And if its not possible, do you have any smart idea to solve my problem
...
Does MAMP come with the PHP CLI installed? I am trying to run a script from the command line, but using a Mac, with MAMP, and not knowing much about PHP CLI is making it difficult.
How should I set up my environment so that I can use the PHP CLI with MAMP?
...