www.flickr.com

Main

May 12, 2007

CAPS LOCK

You know, sometimes when I'm at home on my Mac I just hit CAPS LOCK over and over, just to see the little green light go on and off inside the key. It's pretty magical. It's not quite the same on a PC because the little light is all the way over on the other side on a PC keyboard.

Some people call this procrastination. I call this enjoying the finer things in life.

April 12, 2007

How To Filter Or Block Certain Text Messages With T-Mobile

  1. Go to T-Mobile.com.
  2. Click on "My T-Mobile" in the upper right hand corner.
  3. Enter your user name and password. If you don't have one, you should register. It lets you pay your bill online and upgrade your phone and crap too.
  4. Click on "Communication Tools."
  5. Click on "Create spam and keyword filters."
  6. Click on "Create filter."
  7. Construct the filter accordingly. It's pretty basic logic. Mine reads:
      If the [FROM] field [CONTAINS] [XXXXXXXXXX], Then [DO NOT SEND TO HANDSET BUT FORWARD TO] [my@emailaddress.com].
    You can edit all of the stuff in brackets. In this example, XXXXXXXXXX is someone's 10-digit number who keeps sending me unwanted text messages. my@emailaddress.com is, of course, my email address.
  8. Click "Save." You are an information management master!
As far as I can tell, T-Mobile doesn't publish a document or anything on how to do this, or whether or not it's even possible, but they will tell you about it if you call support. I don't think other carriers let you do this. It's pretty cool that T-Mobile does. Yet another reason they rule.

March 14, 2007

How To Convert Man Pages To Plain Text

After bashing my head against my desk for at least an hour trying to print a UNIX "man" format manual page on a Windows printer, I finally found the solution. I am writing it here so, in 6 months when I go to do this again, I can remember how to do it! Also it seems like "convert man pages to plain text" finds only a painful few references on Google, even though you'd think this would be a common enough thing to want to do. Anyhow here's what you do:

    % man <command> | col -bx > <filename>

Once you run this, just FTP the file you created to a Windows box and print like normal through a text editor like Crimson Editor. It won't have the bold text or underlines or any of that crap, but who needs that anyway?

Incidentally, I finally found my solution (in a roundabout way) here, but that information was Linux-specific, and rather indirect. I've tested the above command on SecureOS and Sun Solaris, and I would imagine it would work on Mac OS as well. If you're on a Mac though you can probably just print the page directly.

Powered by
Movable Type 3.2