I use TextMate on Mac OSX Mountain Lion to write notes. One thing I find myself needing a bunch is to insert the current date and time so I can track specific events. For instance if I am writing an article for Question-Defense.com and I am doing the initial formatting in TextMate, which is a typical scenario for me, I might take ten screenshots and I like to note the current date/time in case I get pulled away from the article writing for something else. So having a keyboard shortcut that outputs the current date/time is really valuable so I don’t have to type it out by hand. Below I describe how to install a OSX Service that will provide various date/time outputs via Keyboard Shortcuts. The OSX Service called WordService also provides a bunch of extra awesome services which I briefly touch on below as well.
Following up to the article written yesterday you will likely have also received this error if you also received the error regarding the apt-mirror.lock file when attempting to mirror a repository on Ubuntu Linux using apt-mirror. The current error relates to the fact that a skel directory does not exist in the root directory of the repo you are attempting to create. Below the error is described in more detail as well as instructions for fixing it by creating the skel directory.
When setting up your own repository on Ubuntu Linux using apt-mirror you may run into an error letting you know that the apt-mirror.lock file could not be created. This is likely because a var directory does not already exist in the root of the repository you are creating. Use the information below to create the var directory and resolve the apt-mirror.lock problem.
When setting up a NFS server its nice to be able to test from your desktop to verify things are working properly. In the current scenario I setup NFS on a BackTrack Linux server and needed to test it quickly from OSX to make sure NFS mounts were advertising properly. Below are a couple quick commands to first display the available NFS mounts and second to mount the NFS drive on OSX to verify functionality.