Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/perl
use warnings;
use strict;
use Imager;
my $h = shift || 6;
my $w = shift || 25;
my @col =
(
@beanz
beanz / day04.jq
Created December 4, 2019 08:30
Advent of Code 2019, Day 4 in jq
#!/bin/sh
exec jq -r --raw-input --slurp \
'def part1(r):
range(r[0];r[1]+1) | tostring |
select((. | length) == 6) |
select(. | test("(.)\\1")) |
split("") |
select(.[0] <= .[1] and
.[1] <= .[2] and
30.60 KJN 40x40 extrusions 3 x 1m
ITM02633
http://www.aluminium-profile.co.uk/acatalog/8mm_Slot_ITM_Profile.html
31.00 200m filament from faberdashery
78.33 Grabercars bearings
9 x Dual 623 Wide V Roller - fits both 3mm and 8mm T-Slot extrusions
http://3d.grabercars.com/?product=dual-623-wide-v-roller-fits-both-3mm-and-8mm-t-slot-extrusions
3 x Delrin V-Groove Idler Pulley – 8mm I.D.
@beanz
beanz / rrd-xxl-mount.scad
Created May 14, 2014 22:11
Mount for reprapdiscount xxl lcd on a metric cerberus
part = "model"; // 'left', 'right' or 'model'
angle = 25;
roundness = 2;
inset = 2;
depth = 90;
thickness = 20;
screw_diameter = 3*1.2;
screw_head_diameter = 5.5*1.2;
// screw_head_height = 3 * 1.2;
$fn = 30;
@beanz
beanz / mount.scad
Created March 19, 2014 08:06
Simple spacer for rostock extruder
include <config.scad>;
use <metric-cerberus.scad>;
hole = 45;
$fn=12;
difference() {
union() {
cube([hole+5,30,8], center = true);
for (i=[-1,1]) {
@beanz
beanz / hollow_box.stl
Created May 8, 2012 19:39
20x20x5 hollow box with 1mm walls
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.