Skip to content

Instantly share code, notes, and snippets.

Spencer Owen spuder

View GitHub Profile
@spuder
spuder / redash.job
Last active May 21, 2020
ReDash Nomad job #nomad
View redash.job
# Based on this documentation
# https://redash.io/help/open-source/setup#-Docker
# https://github.com/getredash/setup/blob/master/data/docker-compose.yml
job "redash" {
# region = ""
datacenters = ["dc1"]
type = "service"
@spuder
spuder / LICENSE
Last active Nov 21, 2019
Script to help recover nomad servers that have lost leadership
View LICENSE
Mozilla Public License, version 2.0
1. Definitions
1.1. "Contributor"
means each individual or legal entity that creates, contributes to the
creation of, or owns Covered Software.
1.2. "Contributor Version"
@spuder
spuder / README.md
Last active Jul 21, 2019 — forked from bastman/README.md
parse erb templates from command line (standalone, cli, json)
View README.md

Goal

  • provide cli command to render erb template
  • template params (bindings) to be provided using json format
  • use inputs from file (template.erb, params.json)
  • use inputs from cli options / parameters
  • render output to stdout OR to file

Why ?

@spuder
spuder / PrintWeek.workflow
Created Jan 21, 2019
Apple Script to print out the entire week in calendar
View PrintWeek.workflow
on run {input, parameters}
--
tell application "Calendar" to quit
delay 2
tell application "Calendar"
activate
end tell
-- Press ⌘P
delay 0.5
View baby-hawk-colby.md
# Betaflight / OMNIBUS (OMNI) 3.2.2 Nov 11 2017 / 00:38:45 (77782e602) MSP API: 1.36
name Babyhawk R

feature -RX_PPM
feature RX_SERIAL
feature RSSI_ADC
feature AIRMODE
feature ANTI_GRAVITY
feature DYNAMIC_FILTER
View mobula7-latest.md

These are almost stock betaflight settings, except I've turned down the P's and D's

# Betaflight / CRAZYBEEF3FR (CBFR) 3.5.3 Nov 14 2018 / 23:20:22 (61d5abf00) MSP API: 1.40

board_name CRAZYBEEF3FR
manufacturer_id 
name spuder

feature -DYNAMIC_FILTER
View HGLRC-lego.md

Rotate Motors

resource motor 1 none
resource motor 2 none
resource motor 3 none
resource motor 4 none
resource motor 1 b01
resource motor 2 a02
resource motor 3 b00
resource motor 4 a03
View Hawk5.md

diff (landons settings)

# Betaflight / OMNIBUSF4 (OBF4) 3.4.0 Jul  8 2018 / 04:23:56 (cce8a59be) MSP API: 1.39

board_name OMNIBUSF4
manufacturer_id AIRB

# name
name 
View Oblivion-spencer.md
# ButterFlight / HELIOSPRING (HESP) 3.5.2 Jun 17 2018 / 21:40:06 (e55b2a7fc) MSP API: 1.40
# IMU-F Version: 107

# name
name SPUDER

# resources
View install.bat
@rem
@rem Author:: Seth Chisamore (<schisamo@chef.io>)
@rem Copyright:: Copyright (c) 2011-2016 Chef Software, Inc.
@rem License:: Apache License, Version 2.0
@rem
@rem Licensed under the Apache License, Version 2.0 (the "License");
@rem you may not use this file except in compliance with the License.
@rem You may obtain a copy of the License at
@rem
@rem http://www.apache.org/licenses/LICENSE-2.0
You can’t perform that action at this time.