DEFCON

Plasma 4 Extensions

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
5 .0
Description:

DEFCON level indicator, that executes an arbitrary command in a loop, updating the warning level depending on the output.

The command must output a number between 1 and 5.
Last changelog:

11 years ago

0.1: Initial SAFE release (Shitty Artwork Featureless and Evil)

deabru

11 years ago

With nagios and more, this guy uses a simple heuristic to decide how worried we should be, and what level should be set.

His blog:

http://blog.iwebsolutions.co.uk/2009/07/knowing-the-network/

Report

k3ks

11 years ago

Can't see a real use for this plasmoid for now but i think it should be easy possible to find one.
Funny idea :)

Report

Xanadu

11 years ago

It's possible to parse the real one out of this page:

http://www.freerepublic.com/~defcon/

It's a pretty clean page. If I was better with awk and friends, I'd just paste the line here, but alas...

Report

C

RazZziel

11 years ago

It's not very elegant but I think it will do the job

a=`wget -qO - http://www.freerepublic.com/~defcon/ | grep -oP "We are now at DefCon level: (<[^>]+>){2}[1-5]"`;echo ${a:(-1)}

Report

C

RazZziel

11 years ago

Haha, same for me, I don't really know how this can be any useful but I started writing it anyway so it's done when I come up with a use case.

Maybe it could be used with a script that counts the number of emails in your inbox and estimates your "work-to-do level", or something alike.

Report

11 years ago

0.1: Initial SAFE release (Shitty Artwork Featureless and Evil)

12345678910
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.1
updated Aug 08 2009
added Aug 08 2009
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0