This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Script informed by the collectd monitoring script for smartmontools (using smartctl) | |
# by Samuel B. <samuel_._behan_(at)_dob_._sk> (c) 2012 | |
# source at: http://devel.dob.sk/collectd-scripts/ | |
# TODO: This probably needs to be a little more complex. The raw numbers can have more | |
# data in them than you'd think. | |
# http://arstechnica.com/civis/viewtopic.php?p=22062211 | |
# can be add to /etc/crontab like this, and node_exporter will see it automatically: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! dynamically change favicon from CSS (does not work on Internet Explorer and Safari) | |
* | |
* use with: | |
* <link id='linkCSS' href='my.css' type='text/css' rel='stylesheet' /> | |
* <link id='favicon' rel="shortcut icon" href="../images/favicon.png" type="image/png" /> | |
* | |
* my.css can contain: | |
* #favicon { background-image: url(any valid URL); } | |
*/ |