Tech

SSH Port Forwarding

Posted on

SSH Port Forwarding All too frequently, after people setup a firewall to protect themselves, they discover it sometimes keeps them out as well. There are several solutions to consider when this comes up: 1. Poke holes in the firewall with firewall rules (if the firewall is under your control). 2. Use a virtual private network […]

Tech

Launch Apps With Root Permissions

Posted on

Launching Carbon applications with root privileges Older Carbon applications have to be run via LaunchCFMApp because they are in the wrong binary format for Mac OS X, so LaunchCFMApp handles the necessary translation. To launch a Carbon application directly (without using open), one has to actually run LaunchCFMApp, giving it the application as an argument: /System/Library/Frameworks/Carbon.framework/Versions/Current/Support/LaunchCFMApp […]

Tech

Final Cut Remover

Posted on

There is a really nice app by Digital Rebellion that removes FCSvr, Final Cut Studio and a host of other apps and files. Check it out here. One thing I noticed is that the app does not remove the fcsvr local user. This is mentioned in Apple’s “best practices” document. sudo dscl localhost delete /Local/Default/Users/fcsvr

Tech

QT Ref files

Posted on

Making a Reference Movie from a Text File (XML) You can also create a .qtl reference movie by typing three lines of text using a text editor or word processor. Actually, you can copy and paste the first two lines because they’re always the same. The syntax may seem a little cryptic, but the process […]

Tech

Using Diff

Posted on

Two useful flags you can specify when comparing files are -b (ignore blanks) and -i (ignore case). You can use them separately or in combination. The ignore blanks feature is especially useful when you’re comparing the source code for two programs, since indentation changes are rarely significant. For example, here’s how you might compare two program files, ur2cool.c and ur2cool.backup: diff […]