blog advertising is good for you


blog advertising is good for you
User login

CLI

Tips and tricks either accessible only by the command line, or that enhance the use of the command line.

Changing File Labels Outside The Finder

How do a figure out if a file has a color label on it (and what it is) in a perl script? Any applescript or shell program to do it would be awesome.

Read the answer...

Launchd Video

There is a video on Launchd on Google Video as part of the Google Tech Talks series. The creator of launchd gives a talk on how to use it and how its going to change as of Leopard 10.5. its pretty informative and useful if you are a sysadmin and supposedly if your a programmer also.

How can one convert CHM (Microsoft help files) to a more usable format such as PDF? I would like to import some of my ebooks into Yojimbo for reference storing.

Read the answer...

Kill Caps Lock

Caps Lock is no longer useful. It was really useful on the typewriter and the author wanted to either make the header of a letter or was really pathetically lazy and wanted to get the whole thing out without messing with proper capitalization. In the computer world, it had its various uses early on when a good deal of things were done primarily in uppercase. Those times, alas, are long gone and the key needs to die a horrible death. While it once mattered, its existence on keyboards today is just a holdover from an evolutionary past, much like the appendix or Bob Dole.

Thus, it is only fitting to excise it from your life and stop letting it mess up everything you type by rANDOMLY TURNING ON WHEN YOU GET NEAR THE A key and your pinky goes flying. There's more »

Entering Odd Characters

In programmes such as mail and pages, is it possible to assign user defined text to a hot key or key board short cut?

For example, each time I have to insert TM I have to go through the edit menu, into special characters and then find it.

Any help would be much appreciated.

Thanks

Read the answer...

Who's Connected to My AFP Share?

How can you tell who has your drives mounted? I work at a small company and we have alot of external drives on differnt computer. To work on something we mount all the drive you need and work, However if you have to restart or shut down you have you call all the other users and see if they are using your drives, is there a program or something that can tell you who is using your drives?

Thanks

Read the answer...

Use TextWrangler to Open Files Over SSH

Hey,

I’m used to Linux, and there you have various kernel modules that allows you to “mount” SFTP drives. Also, in emacs, you can get a mode called tramp, which allows you to edit files over SSH. This is quite useful, and the loss of which, has left me less productive than I was.

Is there any way to replicate this behavior? I’m aware that you can “Edit in external editor” in many FTP/SFTP clients, but that just doesn’t cut it. Am I stuck with the hideous aquamacs on OSX to do my job?

Read the answer...

Copying Software DVDs for Backup Purposes

How do you make a back up copy of your System OSX 10.4 DVD install disk onto another DVD without buying extra software?

Read the answer...

Sometimes my computer grinds to a halt like it’s processing something, but my CPU meters show almost no activity. What else could it be?

Read the answer...

ARD For Free

I’m currently 1000 miles away from a Sawtooth G4. After about 50+ days of being up it finally had to restart (power outage, I assume). The problem was that prior to the restart, I was logged in to my FileVault protected user account.

I now need to access files from said account, but I can’t seem to mount the image to even try to sftp them to me.

Also, it’d be nice to restart some services I had running (i.e. Folding at Home, and Mail.app)

So…here’s my questions.

1. How can I mount a FileVault protected home directory solely through a remote Terminal session? (I assume my computer is at the Login Window.)

2. How can I start Mail via terminal and answer the password prompts that will come up (no sense in starting the app if all it’s going to do is sit there with several password dialog boxes)?

3. Is there a way to remote login to my machine as if I were actually sitting at it using only a remote Terminal session? For instance, if I created a folder via remote terminal session, a user sitting at the machine would see it created before their eyes. Is there a way to have the computer login to the user account, loading whatever programs and running the scripts in my StartupItems folder?

Thanks in advance!

Read the answer...