Thursday, February 25, 2010

listing physical disks on RHEL

/usr/sbin/lvmdiskscan and /sbin/pvscan, you are my new best friends.

cat /proc/cpuinfo -- we're still buddies. Don't worry.

Tuesday, February 9, 2010

meta refresh that IE can use

I'm constantly forgetting this. IE needs the "URL=" in the meta-refresh tag, else it chokes on it.

<meta http-equiv="refresh" content="0;URL=http://www.example.com" />

Also, as this Stack Overflow thread notes, IE may disable meta refresh entirely in its security settings.

For this and many other reasons, it's best to use an Apache (or whatever webserver you're using) redirect.