Skip to content

Instantly share code, notes, and snippets.

View stephenhouser's full-sized avatar

Stephen Houser stephenhouser

View GitHub Profile

Telegraf Technicolor Input Plugin

Telegraf plugin to collect up/down/status from Technicolor Cable Modems.

  1. Make sure Python dependencies are installed; pip install -r reqirements.txt
  2. Move telegraf-technicolor.py in /usr/local/bin or a suitable location to be executed.
  3. Make sure telegraf-technicolor.py is executable; chmod +x telegraf-technicolor.py
  4. Move input.technicolor.conf to /etc/telegraf/telegraf.d or Telegraf configuration location on your system. Adjust any settings, locations, etc. therein as needed, perhaps your measurement names.
  5. Kick Telegraf to reload configuration files.
@stephenhouser
stephenhouser / Telegraf Arris Collection.md
Last active January 4, 2019 22:41 — forked from jceloria/telegraf-arris.py
Telegraf input plugin for Arris TM1602AP2

Telegraf plugin to collect up/down/status from Arris Cable Modems.

@stephenhouser
stephenhouser / 0_NBrowser-docker.md
Last active December 28, 2018 15:52
Nightmare Browser Node Red Container with remote X display (or headless) on macOS

Nightmare Browser Node Red Container with remote X display (or headless) on macOS

Adapted from code node-red-contrib-browser issue #5

Docker image is built with (in case I forget, which I often do):

docker build -t nb-docker .
@stephenhouser
stephenhouser / HamGridSquare.js
Last active September 28, 2019 07:58 — forked from DrPaulBrewer/HamGridSquare.js
find Maidenhead grid square from latitude and longitude
// HamGridSquare.js
// Copyright 2014 Paul Brewer KI6CQ
// License: MIT License http://opensource.org/licenses/MIT
//
// Javascript routines to convert from lat-lon to Maidenhead Grid Squares
// typically used in Ham Radio Satellite operations and VHF Contests
//
// Inspired in part by K6WRU Walter Underwood's python answer
// http://ham.stackexchange.com/a/244
// to this stack overflow question:
EscrevaLolaEscreva Jupyter Notebook
@stephenhouser
stephenhouser / ExtractRussianGrantData
Last active August 31, 2018 18:18
Extract tabular data from Russian website.
Jupyter Notebook to scrape and translate Russian grant website
@stephenhouser
stephenhouser / Python-word-counter
Last active August 18, 2022 01:47
Python Word Frequency Analyzer
Simple Python Word Frequency Analyzer
@stephenhouser
stephenhouser / gh_classroom_collect.py
Last active June 3, 2021 04:26 — forked from robwhess/gh_classroom_collect.py
Script to collect a set of assignments from GitHub Classroom.
#!/usr/bin/env python
#
# This is a simple python script to clone all of the repositories for an
# assignment managed via GitHub Classroom. It has a dependency on the
# requests module, so to use it, you must:
#
# pip install requests
#
# You can run the script with the '-h' option to get info on its usage.
@stephenhouser
stephenhouser / Python-Twitter-OSC
Last active September 28, 2018 18:37
Python-Twitter-OSC
Python example to monitor Streaming Twitter API and send OSC messages when a matching tweet is found.
@stephenhouser
stephenhouser / AXIS-Camera
Last active August 10, 2023 18:04
Controlling AXIS Pan/Tilt/Zoom Web Camera
Pyhton sample code to control an AXIS Pan/Tilt/Zoom web camera.