Skip to content

Instantly share code, notes, and snippets.

View spuder's full-sized avatar

Spencer Owen spuder

View GitHub Profile
@spuder
spuder / README.md
Last active March 1, 2017 15:16
Dashing cookbook

Working cookbook for dashing

https://github.com/benbria/dashing-chef

First you need to install RVM. This installs sitewide as root, which really is a bad idea unless no one else uses this machine.

sudo apt-get update; apt-get install curl -y
command curl -sSL https://rvm.io/mpapis.asc | gpg --import -
\curl -sSL https://get.rvm.io | sudo bash
@spuder
spuder / LICENSE.txt
Last active December 3, 2023 12:07
python script to generate .pdf and .gerber files from a kicad project
MIT License
Copyright (c) [spuder] 2022
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@spuder
spuder / format.ps1
Created November 10, 2016 19:34
Formats empty volumes on windows
Write-Host "Initializing and formatting raw disks"
$disks = Get-Disk | where partitionstyle -eq 'raw'
## start at F: because D: is reserved in Azure and sometimes E: shows up as a CD drive in Azure
$letters = New-Object System.Collections.ArrayList
$letters.AddRange( ('F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z') )
Function AvailableVolumes() {
$currentDrives = get-volume
@spuder
spuder / f5.md
Last active January 26, 2019 00:06
f5 powershell cmdlets

Add-PSSnapin iControlSnapin;

Api docs https://devcentral.f5.com/wiki/iControl.APIReference.ashx

Authenticate to F5

if ( (Get-PSSnapin -Name iControlSnapin -ErrorAction SilentlyContinue) -eq $null ) {Add-PsSnapin iControlSnapin -ErrorAction Stop}
$F5Connected = ((Get-F5.iControl).initialized -and (Get-F5.iControl).ConnectionInfo.hostname -eq $LoadBalancer)
if ($F5Connected) {
    Write-Verbose "F5 connection already initialized"
@spuder
spuder / README.md
Last active January 8, 2017 05:15
Spencers Eachine 180 Tilt Rotor Cleanflight Config

These are my actual configs.

To see stock tiltrotor 180 configs see this gist

I had to order a replacment flight controller. The replacement I ordered looked dirty and used. It also didn't sync with fly sky transmitter and spun motors on arm).

Changes from stock

  • Do not spin motors
  • iBus
  • RX_PARALLEL_PWM