In a terminal session I can use date -u to get
Mon Mar 16 03:34:39 2009 UTC
However, I'd like to include the offset. I'm modifying a TextMate tab trigger so that I can insert the full date including the local offset, in standard UTC format. I believe that would be in the following form:
Mon Mar 16 03:34:39 2009 UTC -0500
So, as you c...
I have a document-based application and I have sub-classed NSDocument and provided the required methods, but my document needs some extensive clean-up (needs to run external tasks etc). Where is the best place to put this? I have tried a few different methods such as:
close
close:
canCloseDocumentWithDelegate:shouldCloseSelector:contex...
So I'm trying to add support for OS X's CDSA API to a tool that uses client-side certificates for identification and authentication.
I've figured out how to get the SecCertificateRef pointers to certificates that the current user has stored in the Keychain using SecIdentitySearchCreate()/SecIdentitySearchCopyNext()/SecIdentityCopyCertif...
My design-house client needs version control to keep all their new source code I'm writing for them. Subversion seems like a good pick,
All their servers are OSX.
Does anyone know of a good OSX server manager for SVN similar to visual SVN for Windows?
The reason i'm looking for one is because I get the feeling their IT guy is apprehen...
Apparently Mac keyboards don't have an Insert key (or maybe they do but I can't find it). How can I get to insert mode in vim on a Mac?
...
I know that the iPhone SDK requires Leopard, i.e. ~900mHz G4+ w/ 512MB RAM. And I've used XCode in the past, so I have a good idea of how that performs. But I've never used the iPhone emulator included with the SDK, and I'm wondering what kind of CPU/memory resources it needs to run smoothly.
I would just download it and see for mysel...
I want to take a stab at tinkering with an Eclipse standard functionality so I would like to build Eclipse under OS X 10.5. I have downloaded the source bundle, unpacked it, and found that I need to fill out a build.properties file which I have done like (with Java 6 as the default JVM)
J2SE-1.4=/System/Library/Frameworks/JavaVM.framew...
I maintain a couple of boxes that run Mac OS X Server. One of the great things about it is that I can use SuperDuper! to clone volumes. For example, I can take a snapshot of the entire boot volume before I apply software updates, and if something goes horribly wrong I can roll back to the snapshot. Or I can clone to an external drive and...
I need to assist my computer-challenged aunt with setting up a new printer to her OS 10.3.9 system. In the past, I've used TeamViewer on Windows, which is dead simple easy to use...which is what I need in this case.
I know TeamViewer has an OS X version, but it requires at least 10.4.
Anyone know of a VERY simple to connect remote "ass...
I have an Xcode project and needed to change the name of the product it builds. I went through the project files with a fine-toothed comb and thought I had made every change possible. The last step was to grep all files in the project folder for occurrences of the old name. It comes up clean.
But after a build grep finds a file which...
I'm trying to find an API to control iTunes on OS X. I found the following:
http://developer.apple.com/sdk/itunescomsdk.html
I imagine on OS X, what I need is built in, but I have no idea where the API is documented?
Thanks in advance for any help.
...
Is there a way to convert logs from YM for mac to Adium ?
Thanks
Cezar
...
I am used to using SQL Management Studio Express on Windows and was wondering if there were any good ones with similar functionality and price (free) for Mac OS X.
...
The Mac's OS X iMovie has built-in share options (like YouTube, iTunes, MobileMe, etc.). I currently develop a video-oriented content management system, and I would like to add "share" functionality to iMovie for my CMS, even if the installation is painful or 'hacky'. There does not seem to be an API, but maybe there is? Or maybe the ...
I'm getting started with shoes and the nks docs tell me two write a script and then launch it like this:
> shoes myapp.rb
the shoes executable is in the Shoes.app I installed. Thus, shoes is not in my path so I can't do this.
Tried symlinking shoes into /usr/local/bin but I get this error when I try to start it.
> shoes myapp.rb
FSP...
I've got a user reporting crashes in my Mac OS X application, and their console logs report the following:
Symbolication warning: error parsing FDE at 0x100052649 in:\n
Does anyone have any insight into what this might be? I assume that somehow the symbols have been stripped from my app in a way that gets in the way of Mac OS X's cras...
Any way to have a NSButton title to wrap when it's width is longer than the button width, instead of getting clipped?
I'm trying to have a radio button with a text that can be long and have multiple lines. One way I thought about having it work is to have an NSButton of type NSRadioButton but can't get multiple lines of text to work.
...
Our RCP application logs a fair bit, but only INFO and above are output to console.
On windows/linux this is ok, but on OSX all logging seems to be passed to syslogd, which then decides what to log and not log, this means handling thousands and thousands of FINEST log messages, this makes syslogd use 140% cpu and gobble up memory. After...
I'm developing some desktop software for a client to resell. The client wants to restrict the software so that the registration code will be specific to one and only one computer.
Besides using the MAC from the network card, does anyone have any other techniques (that work on both Windows and Mac OS X) for uniquely identifying a comput...
I'm using this code to make my Java program open a (visible) CMD window:
try {
String line;
Process p = Runtime.getRuntime().exec("cmd /C start \"Render\" \"" + myPath + "\\punchRender.cmd\"");
BufferedReader input =
new BufferedReader(new InputStreamReader(p.getInputStream()));
...