Skip to content

Instantly share code, notes, and snippets.

View revgraph.pl
#!/usr/bin/env perl
use strict;
use warnings;
use utf8;
use Net::MQTT::Simple;
use Net::Graphite;
# Setup mqtt connection
@daveol
daveol / gateway-stats.pl
Created Feb 25, 2018
Put lora statistics in graphite
View gateway-stats.pl
#!/usr/bin/perl
package GTG;
use strict;
use warnings;
use Date::Manip;
use JSON::Parse 'parse_json';
use Net::Graphite;
View fping-wait-online@.service
[Unit]
Description=Check online
After=network.target
Before=network-online.target
[Service]
Type=oneshot
ExecStart=/usr/bin/fping %i
[Install]
View keybase.md

Keybase proof

I hereby claim:

  • I am daveol on github.
  • I am dave_o (https://keybase.io/dave_o) on keybase.
  • I have a public key whose fingerprint is 45B1 095C 97FE B5C7 FED4 0983 86F6 952D 633A 5E55

To claim this, I am signing this object:

You can’t perform that action at this time.