Posts Tagged Time: varies
Opening an elevated command prompt
Posted by Adam in Changing Settings, Linux, OS X, Windows on Sunday November 29, 2009
WARNING: Please read before continuing ▼
Difficulty: Easy
Time: varies
Last Updated: 29th November 2009
Applies to: OS X, Windows, *NIX
Often when performing system administration, you will come across a command that needs to be run as a more priviliged user. Depending on what operating system you use, the procedure for opening an elevated command prompt varies. Read the rest of this entry »
Comparing the contents of 2 directories
Posted by Adam in Fixing Errors, Linux, OS X, Uncategorized on Monday November 9, 2009
WARNING: Please read before continuing ▼
Difficulty: Easy
Time: Varies
Last Updated: 9th November 2009
Applies to: OS X, and Linux
Sometimes, you can end up with multiple copies of a directory from different times. If the number of files is small, then comparing the contents is easy. With large directories, telling the difference between them can be nearly impossible.
Remotely controlling OS-X via a web page
Posted by Adam in OS X, Programming on Saturday October 24, 2009
WARNING: Please read before continuing ▼
Difficulty: Expert
Time: varies
Last Updated: 24th October 2009
Applies to: OS X
Applescript is a scripting language provided by OS X that has the ability to automate significant portions of the system.
PHP has the ability to, given the right configuration, make arbitrary system calls, including applescript.
Using the two together, one can remotely control a number of functions on an OS X system via a web page.
Mixing C++ and Objective-C code using XCode
Posted by Adam in OS X, Programming on Tuesday October 20, 2009
WARNING: Please read before continuing ▼
Difficulty: Expert
Time: varies
Last Updated: 20th October 2009
Applies to: Objective-C
With the release of the iPhone SDK and the growing popularity of OS X, Objective-C is becoming the language of choice for a significant amount of projects.
One inescapable fact in the programming world is the existence of legacy code. Moving to a new language typically means porting or rewriting existing code entirely in the new language. In the case of Objective-C, most existing C and C++ code can be used directly.