Posts Tagged Time: varies

Opening an elevated command prompt

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 »

, , , , , , , ,

No Comments

Comparing the contents of 2 directories

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.

Read the rest of this entry »

, , , ,

No Comments

Remotely controlling OS-X via a web page

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.

Read the rest of this entry »

, , , , ,

No Comments

Mixing C++ and Objective-C code using XCode

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.

Read the rest of this entry »

, , , , , ,

No Comments

Technical Procedures is Digg proof thanks to caching by WP Super Cache