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 | |
# Set defaults if not provided by environment | |
CHECK_DELAY=${CHECK_DELAY:-5} | |
CHECK_IP=${CHECK_IP:-8.8.8.8} | |
PRIMARY_IF=${PRIMARY_IF:-eth0} | |
PRIMARY_GW=${PRIMARY_GW:-10.0.0.1} | |
BACKUP_IF=${BACKUP_IF:-eth0} | |
BACKUP_GW=${BACKUP_GW:-10.0.0.6} |
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 -u | |
"""Scan serial ports for ping devices | |
Symlinks to detected devices are created under /dev/serial/ping/ | |
This script needs root permission to create the symlinks | |
""" | |
from __future__ import print_function | |
import subprocess | |
from brping import PingDevice | |
from brping.definitions import * |
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
[16:16:39:519] ping.protocol.pingsensor[Debug]: Handling Message: 2300 | |
[16:16:39:519] ping.protocol.ping360[Debug]: Handling Message: 2300 | |
[16:16:39:644] ping.protocol.pingsensor[Debug]: Handling Message: 2300 | |
[16:16:39:644] ping.protocol.ping360[Debug]: Handling Message: 2300 | |
[16:16:39:670] ping.protocol.pingsensor[Debug]: Handling Message: 2300 | |
[16:16:39:670] ping.protocol.ping360[Debug]: Handling Message: 2300 | |
[16:16:39:707] ping.protocol.pingsensor[Debug]: Handling Message: 2300 | |
[16:16:39:707] ping.protocol.ping360[Debug]: Handling Message: 2300 | |
[16:16:39:810] ping.protocol.pingsensor[Debug]: Handling Message: 2300 | |
[16:16:39:810] ping.protocol.ping360[Debug]: Handling Message: 2300 |
This file has been truncated, but you can view the full file.
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
[16:08:30:986] ping.settingsmanager[Debug]: "Load darkTheme with:" true | |
[16:08:30:987] ping.settingsmanager[Debug]: "Load debugMode with:" false | |
[16:08:31:025] ping.settingsmanager[Debug]: "Load replayMenu with:" true | |
[16:08:31:026] ping.settingsmanager[Debug]: "Load enabledCategories with:" 1 | |
[16:08:31:026] ping.settingsmanager[Debug]: "Load enabledCategories with:" 1 | |
[16:08:31:026] ping.settingsmanager[Debug]: "Load logScrollLock with:" true | |
[16:08:31:026] ping.settingsmanager[Debug]: "Load logScrollLock with:" true | |
[16:08:31:033] ping.settingsmanager[Debug]: "Load debugMode with:" false | |
[16:08:31:033] ping.settingsmanager[Debug]: "Load debugMode with:" false | |
[16:08:31:033] ping.settingsmanager[Debug]: "Load debugMode with:" false |
This file has been truncated, but you can view the full file.
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
[16:08:30:986] ping.settingsmanager[Debug]: "Load darkTheme with:" true | |
[16:08:30:987] ping.settingsmanager[Debug]: "Load debugMode with:" false | |
[16:08:31:025] ping.settingsmanager[Debug]: "Load replayMenu with:" true | |
[16:08:31:026] ping.settingsmanager[Debug]: "Load enabledCategories with:" 1 | |
[16:08:31:026] ping.settingsmanager[Debug]: "Load enabledCategories with:" 1 | |
[16:08:31:026] ping.settingsmanager[Debug]: "Load logScrollLock with:" true | |
[16:08:31:026] ping.settingsmanager[Debug]: "Load logScrollLock with:" true | |
[16:08:31:033] ping.settingsmanager[Debug]: "Load debugMode with:" false | |
[16:08:31:033] ping.settingsmanager[Debug]: "Load debugMode with:" false | |
[16:08:31:033] ping.settingsmanager[Debug]: "Load debugMode with:" false |
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
/** | |
This example is targeted toward the arduino platform | |
This example demonstrates the most simple usage of the Blue Robotics | |
Ping1D c++ API in order to obtain distance and confidence reports from | |
the device. | |
This API exposes the full functionality of the Ping1D Echosounder | |
Communication is performed with a Blue Robotics Ping1D Echosounder |
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/sh | |
############################################ | |
# BlueROV2 Chromebook Setup Script [Beta] | |
# Author: Nick Nothom | |
# Date: 20180807 | |
############################################ | |
#Modify necessary settings | |
sudo usermod -a -G dialout $USER |
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
#AutoSSH Ports | |
CORAPORT="2222" | |
MICRAPORT="2223" | |
ONYXPORT="2224" | |
YORKPORT="2225" | |
ZEROPORT="2226" | |
PUSHBOXPORT="2227" | |
#AutoSSH Aliases | |
alias CORA="ssh -p $CORAPORT nick@127.0.0.1" |
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 bash | |
#Enter your username and host here | |
SERVERUSER="" | |
SERVER="" | |
screen -dm -S 'autossh' bash -c 'autossh -M 65520 -o ServerAliveInterval=20 -R 2220:localhost:22 $SERVERUSER@$SERVER' |
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
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../paper-item/paper-item.html"> | |
<link rel="import" href="../paper-button/paper-button.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; |
NewerOlder