Entries Tagged as 'miscellaneous'

Friday, December 12th, 2008

New Hampshire Electric Coop Outage Status

The New Hampshire Electric Coop has a nice integration with Google maps to display their outage status. The visualization is nice and succinct. There are mouse-over features to drill down into town-level data, including how many customers are affected and when they expect to have service returned.
There is also a nice table with the same [...]

Thursday, December 4th, 2008

Linux/Unix rename multiple files trick

All credit for this wonderful trick belongs to my co-worker Adam.
If you need to replace a common string in multiple files to another common string, you can use the rename command.
rename _from_ _to_ filename
so rename a b a*.log
would change a1.log to b1.log and a2.log to b2.log
further, if you want to remove that common string, you [...]

Wednesday, December 3rd, 2008

Get full command name from ps

Tired of seeing only some of the command/process information when you type ps?
For example, typing
ps -aux
will fill only to the edge of your screen.
If your screen is less than 132 characters wide, you can expand your line to that mark with
ps -auxw
and excess will wrap to the next line.
However if you just want [...]