I sometimes have to transfer files with spaces in the names, I like using a for loop, but the usual way doesn't work. Usual way: for file in `find . -type f|grep .ext$` do /do/something/to $file done To get around this I use a while loop with a read instead. Using the read will read to the end of the line, enclosing within quotes escapes the spaces. Unusual way: find .

A α Alpha A \alpha N ν Nu N \nu

Not really ready yet...just fooling around...

Symptom: iPod is blinking "Do Not Disconnect" even after you've umounted the filesystem.

To create a podcast using php, I added a few things to the feedcreator.class created by http://www.bitfolge.de/rsscreator-en.html.

I have a partition formated vfat on my laptop so that I can access it from both Linux and Windows. I store my iTunes music there, so some of the directories have UTF8 characters.

We installed a new Microsoft Windows 2003 Server with Citrix Presentation Server 4.0. Administrators could login remotely, but regular users were denied with:

"The desktop you are trying to open is currently available only to administrators. Contact your administrator to confirm that the correct settings are in place for your client connection"

You can do this with rdist, but I prefer the rsync method.

You wish to backup a directory on machine A by making a copy on machine B. (In our case, machine B is a netapp, so we get further backup for free).

I've wasted enough time with these seemingly simple tasks to warrant a quick post. The problem is that you've created keys, put the relevant files all over the place, but nothing seems to be working.
  • Permissions

ipaddress to hostname without a single shred of error checking. This code will take an ipaddress as an argument and return the hostname associated with it using gethostbyaddr. It should have more error checking and a lot of other stuff, but this is just to show the base code. Cut and paste away. [includecode#../code/gethostbyaddr.c]