I have just downloaded and extracted the Oracle SQLDeveloper in MAC OS X. Until then, when I am establishing a connection using the HR (default) as the username and password, ORCL for the SID... the test result always show "test failed the network adapter could not establish the connection". Any insights...
regards prinsipeluha
...
I have a cronned "cp *.html" command that runs every minute on an OSX box. The source files are regenerated from a database and written to the source directory just fine. The cp command usually picks them up and refreshes the copies in /Library/WebServer/Documents (this is for a quick-and-dirty internal website that monitors one of our...
Creating a simple public/private keypair, such as through ssh-keygen does not create a file I can import into Keychain Access. Does anyone know how to create a new keypair for iPhone development?
...
Hi. I want to fetch the machine's serial number key. Does any body help me on how to fetch the machine's serial number?
...
I'd actually just like to know the number of mouse buttons a laptop has (Apple: 1, Hackintosh: 2), but I'm guessing the answer to this would be interchangeable with the answer to the more general question above.
Edited to clarify about counting built-in mouse buttons:
I'm aware you can use an external two-button mouse or control-click, ...
Hey guys, just installed on my Mac Snow Leopard OSX:
Mono 2.6 and Monodevelop 2.2
I've created a simple C# Console App:
public static void Main (string[] args)
{
Console.WriteLine ("Hello World!");
Console.Read();
}
When I start to type "Console" intellisense works perfectly.
When I run the app in Debug mode...
Hi
I am trying to build toolchain for Linux on Mac.
I configure ct-ng as specified in docs/MacOS-X.txt(except that i use GNU soft from MacPorts and my partition is already case-sensitive). However when I try to build i get a lot of errors in shell files that looks like:
[ERROR] called from '/Users/xxx/tmp/crosstool-ng-1.5.2/scr...
Hello All,
I am using following code to fetch the path of the application. It works for all cases but fails for front row.
CFStringRef cfStrAppShortName = NULL;
FSRef appRef;
CFURLRef cfAppUrlRef = NULL;
CFBundleRef cfAppBundleRef = NULL;
CFDictionaryRef cfAppDictRef = NULL;
CFStringRef cfStrAppBundleName = NULL;
OSErr osErr;
c...
In a cocoa app of mine, there is a method that does some operations on a sqlite database's schema that could be destructive, so first we make a rollback copy of the database, and if there's an error, we call the following method to replace the db file with the rollback file. Note that I definitely want the db file replaced with the rollb...
I observed the following behavior while working with the perl code base (on branch maint-5.004):
bash-3.2$ git status | grep modified
# modified: configure
bash-3.2$ git reset --hard
HEAD is now at 9a4fb7e copy over bleads .gitignore
bash-3.2$ git status | grep modified
# modified: Configure
bash-3.2$ git reset --hard
H...
Is there a Api, that can lock the screen as the menu thing you can add from keychain preferences?
...
I could not find a way in the documentation to tell an NSButton to resize its image to fill up the whole button. Is there a way to do this programatically?
...
I want to write a C++ program that spawns off a thread to execute a .dmg file and monitor its completion (success/fail) on Snow Leopard. Would this be as trivial as fork/exec a shell script on Linux? Would I need a 3rd party C++ library to interface .dmg files?
...
Assuming a superficial knowledge exists, how might one go about forcing a mastery of Emacs?
Assume also that said person currently uses Aquamacs but falls back on Mac OS X-isms far too often. This person is serious (this time for sure), and needs some advice.
...
Hi,
I have an application that includes a WebView, which automatically displays PDFs in WebKits WebPDFView. When the user hovers above the lower portion of the document, an overlay appears that enables zooming, opening in Finder and saving the PDF in the download folder.
I would like to implement the latter, but I have no idea how to g...
I'm working on the book "programming in objective c 2.0" and im not understanding why this program is not working. basically i need to build a program to convert a fahrenheit value to a celcius one.
I figured to just solve it very simply without objects and just use a straight procedural methodology, any way the problem I'm having is th...
Hello all,
I'm observing NSWorkspaceDidDeactivateApplicationNotification notification to get the application that has just lost focus. I'm ending up with an instance of NSRunningApplication which you get from the userInfo dictionary key - NSWorkspaceApplicationKey - of the notification object.
I was thinking that I'd be able to get the...
What's the best way to set up symbolic links to current installs, e.g python -> python2.6?
I've just installed python2.6 through Macports at /opt/local/bin/python2.6, I'd now like to set up a symbolic link called python here /usr/local/bin/. I then want to be able to add this line at the beginning of my pythons scripts so it knows wher...
I read that that class NSWindows has some of its own events, but I could not find a list of all them. I believe there is an event that occurs when the window becomes deactivated.
Does such an event exist?
...
I'm writing a build script to compile and package my app, and I'd like a nice way to get the full path name of the .app created. I can't find any command line tools other than xcodebuild, which doesn't appear to have much in the way of inspecting an Xcode project. My full compile command is
xcodebuild -sdk iphoneos2.2.1
so it'll build...