Skip to content

Instantly share code, notes, and snippets.

Chris Christensen christianchristensen

View GitHub Profile
import json
import sqlite3
import zlib
# ~/Library/Safari/CloudTabs.db
# Ref:
db = sqlite3.connect('CloudTabs.db')
tabs = []
View ampl-freebsd.txt -> ->
$ uname -a
FreeBSD d630 11.1-RELEASE FreeBSD 11.1-RELEASE #0 r321309: Fri Jul 21 02:08:28 UTC 2017 amd64
# pkg install linux_base-c7
# kldload linux64
# kldstat
Id Refs Address Size Name
1 8 0xffffffff80200000 1f67a88 kernel
2 1 0xffffffff82221000 3c93f linux64.ko


NOTE: ultimately configuring the device directly caused instability; I had to use the UniFi controller to provision with the option of SNMP enabled to actually get this to work...

BZ.v3.7.58# grep -i snmp /tmp/system.cfg
View Template-App-Alarm-Decoder.xml
<?xml version="1.0" encoding="UTF-8"?>

Model: GFLT100 HW: 2.0 Date: Dec. 8th 2013

UART / Serial connection (pinouts next to fiber I/O, C45, C46, J5):

#!/usr/bin/env python
# Parser for Motorola SB6141 Signal page
# <tablename> <column>
# Specify the tablename to return all available (Zabbix LLD format) Bonding Channel Values
# Specity tablename and column to return a specific value for the table and channel
# Data based on Model Name: SB6141, Firmware Name: SB_KOMODO-
# Downstream: Frequency, Signal to Noise Ratio, Downstream Modulation, Power Level
# Upstream: Frequency, Ranging Service ID, Symbol Rate, Power Level, Upstream Modulation, Ranging Status
# Signal Stats (Codewords): Total Unerrored Codewords, Total Correctable Codewords, Total Uncorrectable Codewords

Traceroute notes

Other useful data from traceroute metrics and storage...

traceroute source - mean.awk, median.awk

mtr -l - raw format is useful for programmatic processing (/ht @mattstock)


You can’t perform that action at this time.