Skip to content

Instantly share code, notes, and snippets.

View bendoerr's full-sized avatar

Ben Doerr bendoerr

View GitHub Profile
@bendoerr
bendoerr / shadowrun.t
Created June 4, 2020 22:12
Complex Troll Dice Functions for Shadowrun
\ Shadowrun 5 Collected Functions
\call fSimple(12)
\call fSimpleLimit(12,4)
\call fSimpleEdgePush(12,5)
\call fSimpleEdgeReroll(12,4)
\ Opposed Test Examples
\ <pool>, <limit/edge>, <opposing pool>, <opposing limit>
\call fOpposed(12,10)
@bendoerr
bendoerr / guardian-sword.ino
Created May 6, 2018 01:22
Arduino code that runs the NeoPixel strip in my Guardian Sword
#include <Adafruit_NeoPixel.h>
#ifdef __AVR__
#include <avr/power.h>
#endif
#define PIN 4
Adafruit_NeoPixel strip = Adafruit_NeoPixel(90, PIN, NEO_GRB + NEO_KHZ800);
void setup() {
@bendoerr
bendoerr / # node - 2017-10-27_15-12-24.txt
Created October 27, 2017 19:29
node on macOS 10.12.6 - Homebrew build logs
Homebrew build logs for node on macOS 10.12.6
Build date: 2017-10-27 15:12:24
@bendoerr
bendoerr / # node - 2017-10-27_15-12-24.txt
Created October 27, 2017 19:19
node on macOS 10.12.6 - Homebrew build logs
Homebrew build logs for node on macOS 10.12.6
Build date: 2017-10-27 15:12:24
@bendoerr
bendoerr / combat
Last active August 31, 2021 22:20
Shadowrun Troll Scripts and Functions
#!/bin/zsh
autoload -U colors && colors
echo
echo Shadowrun 5e Combat Test
echo
# ==============================================================================
# Setup

The Menu

Apps

Fn'ing Grilled Guack

Made from Grilled Avocado's, Grilled Corn, Grilled Red Onion, Grilled Plum

### Keybase proof
I hereby claim:
* I am bendoerr on github.
* I am bendoerr (https://keybase.io/bendoerr) on keybase.
* I have a public key whose fingerprint is 858D A277 20A3 C33B F700 5C43 C6F9 F256 0FF3 43F8
To claim this, I am signing this object:
body {
font-family: Helvetica, arial, sans-serif;
font-size: 14px;
line-height: 1.6;
padding-top: 10px;
padding-bottom: 10px;
background-color: white;
padding: 30px;
color: #333;
}
@bendoerr
bendoerr / photoMasterRename.groovy
Created January 23, 2013 19:51
Little dodad to rename my master photos.
#! /usr/local/bin/groovy
@Grab('commons-io:commons-io:2.4')
@Grab('com.drewnoakes:metadata-extractor:2.6.2')
@GrabExclude('xerces:xercesImpl')
import java.text.SimpleDateFormat
import org.apache.commons.io.monitor.*
import com.drew.imaging.ImageMetadataReader
import com.drew.metadata.exif.*

The Gardenet of Things Project

Abstract

To bring technology to my garden using cheap electronics like the Arduino and Rasberry Pi in a connected independent way.

Garden Monitors