Recently in Note To Self Category

OS X Tip: Get Current Airport IP

I got a bit of help from the denizens of IRC (crschmidt, kpried) in creating a little bit of shell code that, when run, will get the current IP address of en0 (on my Powerbook that’s the Airport) and 1) put it on the clipboard, and 2) print it out. This should go on one line in your .bash_profile.

alias ip='/sbin/ifconfig en1 inet | grep inet | sed -e "s/.inet (.) netmask.*/1/" | tr -ds "n" "" | tee /dev/tty | pbcopy; echo'

If you’re running tcsh, modify as necessary.

Note To Self

Don’t cut off a cop in an unmarked SUV who’s driving his daughter to school in the morning. Bad idea.

I thought the street I was turning onto was two-lane at that point, and thought I was turning into the near lane - it was only after he slowed dramatically that I realized he had no where to turn into…. D’oh!!!

Anyway, when he asked if I knew why he’d pulled me over, I honestly told him that I’d cut him off, and apologized sincerely. He took my license and went back to radio it in - that’s when I noticed the young girl in the passenger seat in my rear-view mirror. Crap, I thought. I cut off a cop with his daughter in the car. I’m dead.

Fortunately he let me off with a warning. Whew. Thanks God.

Installing MovableType on Panther

Coloring, Geek Style

Having, with Panther, gotten a command-line with easy to turn on coloring of directory listings, I went in search of something that would tell me what colors I could use.

I found the resource I needed, of course, in the ls(1) man page.

BTW, my LSCOLORS variable is now cxfxhxhxbxhxhxBxbxdxdx, and looks like:

Boxes and Arrows How-To: Creating a Controlled Vocabulary.

Stylesheet fixes

Well, I’ve fixed some bugs in my redmonk stylesheets, as well as those for a client.

I’m not sure where I picked it up, but I had the idea that inherited styles were separated by a “>”, as in:

.someClass > .childClass {...}

This worked in the browsers (Chimera and Safari) I do most development in, as well as IE6/Win. However, it was freaking out IE5/Win.

I found out at webreview’s browser style support reference (via css.nu) that inherited styles are declared so:

.someClass .childClass {...}

After fixing that, the styles are now being rendered properly. Now, I wonder where I got the idea that there was supposed to be a “>” in there, and why were several popular browsers rendering it properly?

Explaining Conversant

Conversant: remember “groupware”, “information management”.

Notes: The Sid of the Future

I’m going to need to udpate Sid to support the new weblog plugin API - this stuff is too good to pass up.

I’ll also need to support the RSD work that Daniel, Seth, and Brent have been hashing out over on Truer Words.

Test post for new weblog II blog

Hm. Can an admin-only post be added to a weblog?

Peter Merholz reviews Emergence:

As we begin to tackle woollier projects like employee-contributed intranets or peer-to-peer systems, notions of control are pretty much thrown out the window.

Note to Self: Find and read this book.

R.E.M. Says:

About this Archive

This page is an archive of recent entries in the Note To Self category.

Mac OS X News is the previous category.

Politics is the next category.

Find recent content on the main index or look in the archives to find all content.

OpenID accepted here Learn more about OpenID