Archive for September 2010

VirtualBox – Running Arch Linux as a guest

Note to self… after upgrading the kernel on an Arch Linux guest running in virtualbox..

# pacman -S virtualbox-ose-additions

Rant: The wiki telephone game

Ever play the old “telephone” game…tell the person to your right a secret and they
pass it along to the next guy, and so on and so forth until at the end of the line… the secret
doesn’t resemble what it started out to be.

I wonder how close too Judd’s vision Arch is now, and how close to his original philosophies this wiki page is now.
I’m sure they are both pretty close, but sometimes … I wonder about the validity of wiki’s being editable by everyone.

has “evolved” and turned into this

Personally, I like the first one. KISS. Doesn’t “sugar coat” things, or add layers of confusion.

Apparently the multitude of edits to the first one were not enough either, so now we have

really???? C’mon. At what point does this just seem a bit silly.

mailit function

mailit function

Here is a generic mail function I use with cron jobs or scripts that need to email information.
TIP: the context-type can be switched to sent html instead of plain text as well ;)

mailit ()
cat <<EOF | /usr/sbin/sendmail -f noreply -t
subject: ${subject}
content-type: text/plain

To use, set the variables first, then call the function ;) IE:

subject="This is the email subject"
emailthis=`cat <<EOF
This is is the text
that is sent
in the body of the email.