Skip to content

Instantly share code, notes, and snippets.

Chris Christensen christianchristensen

Block or report user

Report or block christianchristensen

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View CloudTabs.py
import json
import sqlite3
import zlib
# ~/Library/Safari/CloudTabs.db
# Ref: https://www.reddit.com/r/mac/comments/89qx5n/iphone_safari_tabs_into_text_list_via_icloud/
db = sqlite3.connect('CloudTabs.db')
tabs = []
View ampl-freebsd.txt
http://ampl.com/try-ampl/download-a-free-demo/#linux -> http://ampl.com/demo/ampl.linux64.tgz
https://www.freebsd.org/doc/handbook/linuxemu-lbc-install.html ->
$ uname -a
FreeBSD d630 11.1-RELEASE FreeBSD 11.1-RELEASE #0 r321309: Fri Jul 21 02:08:28 UTC 2017 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC 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
View README-Ubiquiti-UAP-AC.md

Configuration

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
snmp.community=public
snmp.status=enabled
View BBB-FreeBSD.md
View Template-App-Alarm-Decoder.xml
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>3.2</version>
<date>2017-02-26T04:08:53Z</date>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
View GFLT100.md

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

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

WG
RB
View Motorola_SB6141_cmSignalData.py
#!/usr/bin/env python
# Parser for Motorola SB6141 Signal page
# Motorola_SB6141_cmSignalData.py <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-1.0.6.16-SCM00-NOSH
# 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
View traceroute.md

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)

Standards:

You can’t perform that action at this time.