carl moonan | the dude abides

How to rebuild Apple launch services menu via command line on Mac OS X 10.5

In finder when you right click on a file the popup menu has an option called "Open With". This lists all of the applicable applications that can process this file. If this list becomes too large or contains duplicates you can remove the applications and then rebuild the list using the following command line. To rebuild the list open a terminal and enter this command: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain ...

How to configure Apple Remote Desktop remotely via command line on Mac OS X 10.5

Apple Remote Desktop can do many things, by default each machine has the services built in but not started. You can use VNC based clients to connect and manage. The Apple client is not free but very functional and both require some services to be running on the machine you are trying to connect too. Leaving these services on by default is great if you ...

How to enable c# bundle on TextMate 1.5.7 and Mac OS X 10.5

TextMate can do just about most things brilliantly. Here is an example of how to get a working c# editor environment on the mac. On Windows you can use E Text Editor as its compatible with TextMate bundles if you do not have VisualStudio available. There may be other bundles out there for example here and these may well link into the mono runtime. But this ...