Skip to content

Instantly share code, notes, and snippets.

View spuder's full-sized avatar

Spencer Owen spuder

View GitHub Profile
Process: WindowServer [277]
Path: /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/Resources/WindowServer
Identifier: WindowServer
Version: 600.00 (451.4)
Code Type: X86-64 (Native)
Parent Process: launchd [1]
Responsible: WindowServer [277]
User ID: 88
Date/Time: 2021-03-01 10:41:43.651 -0700
@spuder
spuder / redash.job
Last active January 6, 2021 01:58
ReDash Nomad job #nomad
# 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 May 22, 2023 17:10
Script to help recover nomad servers that have lost leadership
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 July 21, 2019 19:17 — forked from bastman/README.md
parse erb templates from command line (standalone, cli, json)

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 January 21, 2019 03:01
Apple Script to print out the entire week in calendar
on run {input, parameters}
--
tell application "Calendar" to quit
delay 2
tell application "Calendar"
activate
end tell
-- Press ⌘P
delay 0.5
# 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

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

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

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 
@spuder
spuder / Oblivion-spencer.md
Last active August 9, 2018 03:01
TBS oblivion
# 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