Source i (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
Become a Fan
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:

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


Ratings & Comments

5 Comments

deabru

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/

k3ks

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

RazZziel

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.

Xanadu

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...

RazZziel

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)}

Pling
0 Affiliates
Details
license
version 0.1
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

Other Plasma 4 Extensions:

Icon Tasks deb build
N00bun2
last update date: 13 years ago

Score 4.3

Prayer Times Plasmoid
riyad
last update date: 13 years ago

Score 5.2

KPrayertime4 Islamic Prayer Times
ahaq
last update date: 15 years ago

Score 4.4

Hostinfo
mgraesslin
last update date: 13 years ago

Score 4.7

Monitor QuadCore Russian
kuchumovn
last update date: 16 years ago

Score 5.0

blaKjaK
werevire
last update date: 15 years ago

Score 5.0