Skip to content

Instantly share code, notes, and snippets.

View fessyfoo's full-sized avatar

Fess fessyfoo

  • OpenTable
  • Los Angeles / San Francisco
View GitHub Profile
@fessyfoo
fessyfoo / ESK8-Btn-2025-02-03.yml
Created February 12, 2025 17:10
model file for using an mt12 with an esk8 uses the back button to switch between 4 "modes"
semver: 2.10.0
header:
name: "ESK8 Btn"
modelId:
0:
val: 1
1:
val: 1
telemetryProtocol: 0
thrTrim: 0
@fessyfoo
fessyfoo / connecting_crates.scad
Last active May 11, 2019 04:42
Customizable interconnecting slotted mini-crates by slumou https://www.thingiverse.com/thing:3548943/files
// Customisable interlocking slotted crates
// Hussein Suleman
// 7 April 2019
// Height of the crate
height = 20;
// Width of the crate (0=use item diameter/width)
width = 0;
# deprecated in favor of https://github.com/fessyfoo/PlaterPartsCount
2016/08/15 23:43:56 http: multiple response.WriteHeader calls
fatal error: concurrent map read and map write
goroutine 44 [running]:
runtime.throw(0x87e380, 0x21)
/usr/local/go/src/runtime/panic.go:547 +0x90 fp=0xc822507230 sp=0xc822507218
runtime.mapaccess2(0x715a20, 0xc8213fb410, 0xc8203be840, 0x4, 0x65e40e)
/usr/local/go/src/runtime/hashmap.go:343 +0x5a fp=0xc822507278 sp=0xc822507230
reflect.mapaccess(0x715a20, 0xc8213fb410, 0xc8203be840, 0xc8213fb410)
/usr/local/go/src/runtime/hashmap.go:993 +0x35 fp=0xc8225072a8 sp=0xc822507278
RSpec.configure do |c|
# c.before :each do
# # Change autosign from being posix path, which breaks Puppet when
# # we're pretending to be on Windows
# Puppet[:autosign] = true
# end
c.before :each do
# Work even if you don't specify facts
@fessyfoo
fessyfoo / copy-partition-table.sh
Created February 12, 2013 18:51
copy partition tables from one disk to another using sfdisk
#!/bin/sh
bail () {
echo "$@"
exit 1;
}
test -z "$2" && bail "Usage: $0 FROMDEV TODEV"
set -x