Skip to content

Instantly share code, notes, and snippets.

View foosel's full-sized avatar
🐙
Working full-time on OctoPrint!

Gina Häußge foosel

🐙
Working full-time on OctoPrint!
View GitHub Profile
@foosel
foosel / psu-holder.scad
Created September 16, 2013 16:29
Bracket for mounting the stock PSU that comes with the Ultimaker beneath the printer
psuX=65;
psuY=170;
psuZ=40;
wall=3;
screw=2.8;
earsX=10;
earsY=40;
zBlocker=6;
@foosel
foosel / webcamDaemon
Created July 28, 2013 17:44
Adjusted webcamDaemon for OctoPi that does not hang
#!/bin/bash
vcgencmd version
while true; do
if [ "`vcgencmd get_camera`" = "supported=1 detected=1" ]; then
logger "Starting webcam"
pushd /home/pi/mjpg-streamer-experimental
LD_LIBRARY_PATH=. ./mjpg_streamer -o "output_http.so -w ./www" -i "input_raspicam.so -d 100"
popd
fi
@foosel
foosel / README.md
Last active December 18, 2015 09:18
Bus Pirate v3.6 case, created in OpenSCAD

Case for Bus Pirate v3.6 (Dangerous Prototypes/Seeedstudio version)

Case for Bus Pirate v3.6

This is a case for the Bus Pirate v3.6 from Dangerous Prototypes as listed on Thingiverse to be printed on a 3D printer.

In order to compile this file to an STL you'll need OpenSCAD and also the file oshw.scad which you can find here on Thingiverse.

// ==UserScript==
// @name Soup.io vi keys
// @namespace http://foosel.org/snippets/userscripts
// @include http://*.soup.io/*
// @description Enables jumping from post to post on soup.io by using the vi keys (j for next, k for previous; n and p are supported as well).
// ==/UserScript==
window.addEventListener("keydown", KeyCheck, true);
function scrollDown() {
var postOffset = 50;