Skip to content

Instantly share code, notes, and snippets.

@NickNothom
NickNothom / designer.html
Last active August 29, 2015 14:23
designer
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../paper-button/paper-button.html">
<polymer-element name="my-element">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
<link rel="import" href="../polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
@NickNothom
NickNothom / designer.html
Last active August 29, 2015 14:28
designer
<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;
@NickNothom
NickNothom / autossh
Created October 20, 2017 01:54
Autossh Client
#!/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'
@NickNothom
NickNothom / .bash_aliases
Created October 20, 2017 02:05
Autossh Server
#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"
@NickNothom
NickNothom / BlueROV_Chromebook_Setup.sh
Created August 7, 2018 21:10
BlueROV Chromebook Setup
#!/bin/sh
############################################
# BlueROV2 Chromebook Setup Script [Beta]
# Author: Nick Nothom
# Date: 20180807
############################################
#Modify necessary settings
sudo usermod -a -G dialout $USER
@NickNothom
NickNothom / ping1d-simple-hardware-serial.ino
Last active September 20, 2019 03:20
Blue Robotics Ping Arduino Hardware Serial Example
/**
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
@NickNothom
NickNothom / gist:16f4afa59c70436b18de76c30e2806cc
Created November 6, 2019 00:32
Ping360 Stops Responding
This file has been truncated, but you can view the full file.
[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
@NickNothom
NickNothom / gist:c914d5cfb62eec1751d2b4b96ac475ee
Created November 6, 2019 00:32
Ping360 Stops Responding
This file has been truncated, but you can view the full file.
[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