I've found the "open" command in Mac OS X very handy in the command line. From "man open":
Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Friday, June 8, 2012
Linux equivalent of the Mac OS X "open' command
Sunday, June 3, 2012
Easiest way to activate PHP and MySQL on Mac OS 10.6 (Snow Leopard) or 10.7 (Lion)?
What is the easiest way to activate PHP and MySQL on Mac OS 10.6 (Snow Leopard)?
Friday, June 1, 2012
Finding current executable"s path without /proc/self/exe
It seems to me that Linux has it easy with /proc/self/exe. But I'd like to know if there is a convenient way to find the current application's directory in C/C++ with cross-platform interfaces. I've seen some projects mucking around with argv[0], but it doesn't seem entirely reliable.
Thursday, May 24, 2012
How-to articles for iPhone development and Objective-C
I am looking for an introduction into developing for the iPhone. Any recommendation? I do not speak Objective-C either, so tutorials on that would not hurt either.
Sunday, May 20, 2012
Easiest way to simulate no free disk space situation?
I need to test my web app in a scenario where there’s no disk space remaining, i.e. I cannot write any more files. But I don’t want to fill my hard drive with junk just to make sure there’s really no space left. What I want is to simulate this situation withing a particular process (actually, a PHP app).
How to learn how to program?
I would like to know the best methods for learning to program. I've been directed towards the Python language because I was told it is good for beginners. I ultimately want to make games for OS X/iPhone.
Sunday, April 22, 2012
Is there a tool to diff/merge/sort localizable strings files?
Localizable strings file which are used for Apple/iPhone apps localization have the following format:
Tuesday, April 3, 2012
How to obtain MAC address of WiFi network interface?
It seems the java.net.NetworkInterface implementation of android does not have a
Thursday, March 1, 2012
Key-Value-Observation — Looking for a more elegant solution to respond to value changes
I've run into a frustrating feature of KVO: all notifications are funneled through a single method ( observeValueForKeyPath:.... ), requiring a bunch of IF statements if the object is observing numerous properties.
Saturday, February 25, 2012
Java - Get first and last name of user
Here is my situation.
I am writing a program that will store a database. Currently, the way of identifying the user is by their computer user name. I am very desperate here, so any ideas will work. I am looking for ANY method (doesn't always need to work) for BOTH OSX and Windows computers that will somehow fetch the user's first and last name.