Market

2011/11/29

Think like a virus!

Not related to L.A.M.P. technologies, but a useful quote to remember if you are a net admin:
As a network administrator, you have to think like a virus.
How can I get into a network?
Which points are the most vulnerable?
Once in, what's the easiest path to destruction?
From the "Windows sources" magazine, July 1997 issue, page 158, "NT admin> Stop network attacks" by David Chernicoff

2011/11/01

How to hide "Mark all as read" in new Google Reader

With the new redesign of Google Reader (the Google+ look-alike), I've noticed a new annoying behavior today.
The "Mark all as read" in now a button that takes and keeps focus. This means that if you press it once with your mouse and, then, go to another group of posts and press space to view the next page, you 'll end to mark all posts in that group as read!!! [because the "Mark all as read" button has got the focus]
The easier work-around solution I've found is to hide that button and use Ctrl-A Shift-A [edited] whenever I want to use the [main] functionality. I know that by hiding all options I miss the option to mark all older than a date as read, but I can live with this instead of marking as read all posts by mistake.

Since I work with Firefox and use Stylish, this hiding is easy. Just add a new recipe, name it something like "hide mark all in GReader" and insert the following in it:
@-moz-document url-prefix(http://www.google.com/reader), url-prefix(https://www.google.com/reader), url-prefix(http://google.com/reader), url-prefix(https://google.com/reader) {
    span#mark-all-as-read-split-button { display: none !important; }
}
and enable the Stylish recipe when you want to feel safe.