This file contains hidden or 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
| #!/usr/bin/env nodejs | |
| var fs = require('fs'); | |
| var _ = require('underscore'); | |
| var RRD = require('rrd').RRD; | |
| var argv = require('optimist') | |
| .usage('Usage: $0 -b <batvis file> -a <alias file> <destination dir>') | |
| .options('b', {alias: 'batvis', describe: 'File containing output of batadv-vis -f jsondoc', demand: true, string: true}) | |
| .options('d', {alias: 'details', describe: 'File containing details sent by the nodes', demand: true, string: true}) | |
| .argv; |
This file contains hidden or 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
| <?php | |
| require("write_key.inc.php"); | |
| ?> | |
| <!DOCTYPE html> | |
| <html lang="de"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <link href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet"> | |
| <title>Mesh-VPN-Schlüssel eintragen</title> |
This file contains hidden or 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 | |
| set -e | |
| # functions | |
| usage() { | |
| cat <<EOF | |
| Automatically builds gluon images from the latest versions of the repositories. |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Graph-Test</title> | |
| <script src="//code.jquery.com/jquery-1.10.1.min.js"></script> | |
| <script type="text/javascript" src="lib/flot/jquery.flot.js"></script> | |
| <script type="text/javascript" src="lib/flot/jquery.flot.time.js"></script> | |
| <script type="text/javascript" src="lib/flot/jquery.flot.selection.js"></script> | |
| <script type="text/javascript" src="lib/flot/jquery.flot.tooltip.js"></script> | |
| <script type="text/javascript" src="lib/javascriptrrd/binaryXHR.js"></script> |
This file contains hidden or 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 | |
| for rrd in *.rrd; do | |
| since="$(rrdtool dump $rrd|grep -oE '[[:digit:]]{10}'|sort|tail -n1)" | |
| rrdtool create $rrd.new --start "$since" --step 60 \ | |
| DS:upstate:GAUGE:120:0:1 \ | |
| DS:clients:GAUGE:120:0:200 \ | |
| RRA:AVERAGE:0.5:1:120 \ | |
| RRA:AVERAGE:0.5:5:1440 \ | |
| RRA:AVERAGE:0.5:60:720 \ |
NewerOlder