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
// Copyright (c) 2013-2014 Beebotte <[email protected]> | |
// This program is published under the MIT License (http://opensource.org/licenses/MIT). | |
///////////////////////////////////////////////////////////// | |
// This code uses the Beebotte API, you must have an account. | |
// You can register here: http://beebotte.com/register | |
///////////////////////////////////////////////////////////// | |
var mqtt = require('mqtt') |
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
#!/usr/bin/python | |
# Copyright (c) 2013-2014 Beebotte <[email protected]> | |
# This program is published under the MIT License (http://opensource.org/licenses/MIT). | |
############################################################ | |
# This code uses the Beebotte API, you must have an account. | |
# You can register here: http://beebotte.com/register | |
############################################################# |
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
# configuration settings to be used with server_activity.py | |
# Modify as required. | |
# Not a beebotte user? register now on http://beebotte.com/register | |
_accesskey = 'YOUR_API_ACCESS_KEY' | |
_secretkey = 'YOUR_API_SECRET_KEY' | |
_period = 60 # send resource records every minute | |
# The network interface to report | |
_ifname = 'eth0' |
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
#!/usr/bin/env python | |
# coding: utf8 | |
############################################################ | |
# This code uses the Beebotte API, you must have an account. | |
# You can register here: http://beebotte.com/register | |
############################################################ | |
import os | |
import time |
NewerOlder