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
import requests, settings, smtplib, logging | |
import xml.etree.ElementTree as ElemTree | |
from bs4 import BeautifulSoup | |
class ISEAPIError(Exception): | |
""" | |
An error with the ISE API call being made. | |
""" | |
pass |
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
-------------------------------------------------------------------------------- | |
-- DS18B20 one wire module for NODEMCU | |
-- NODEMCU TEAM | |
-- LICENCE: http://opensource.org/licenses/MIT | |
-- TerryE 26 Mar 2017 | |
-------------------------------------------------------------------------------- | |
-- Local variables | |
local modname = ... |
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/bash -e | |
# | |
# Improved backup script for Ubiquiti UniFi controller | |
# original source: http://wiki.ubnt.com/UniFi#Automated_Backup | |
# | |
# must contain: | |
# username=<username> | |
# password=<password> | |
source ~/.unifi-backup |
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/perl | |
use strict; | |
use warnings; | |
use Net::SNMP; | |
use Getopt::Long; | |
sub snmp_error { | |
my $session = shift; |