Instantly share code, notes, and snippets.

View mortgage_chains.sh
#!/bin/bash
TOTAL=18
CURRENT=1
STL_DIR="stl_chain_files"
PER_SET=5
SET=0
TOTAL_SETS=$((2*TOTAL/(PER_SET + 1)))
OPENSCAD_FILE="Chain_Generator_with_text_tweaked.scad"
View Chain_Generator_with_text_tweaked.scad
// Author: Patrick Bailey (iqless.com)
// Date: 12/11/2018
//
// Notes: This code makes a link of chains
// The chains have text on them
// Either Numbers or you can populate a text
// Array
//
// Code for Archemedian Spiral copied from
// Openscad code for thing 28405
View vibration_dampener_prusa_i3_mk3.scad
/* GNU AGPLv3 (or later at your option)
see bottom for more license info.
please do not remove this notice. */
/* measurements from misumi's 3030 aluminum extrusion data sheet
https://us.misumi-ec.com/pdf/fa/2012/p2_0545.pdf */
foot_height = 15;
//foot_length = 30;
foot_length = 5;
View tole_paint.scad
$fn=100;
//Rows
rows = 3;
//How many paint slots per row
per_row = 2;
//How much higher a row is
//above the prior row
row_height_gain=12;
View timelase_create.py
#!/usr/bin/env python
#
# Script to help create time-lapse videos
#
##################################################
import argparse
import sys, os
import datetime
View create_timelapse.py
#!/usr/bin/env python
#
# Script to help create time-lapse videos
# But done in nasty way so that it works on cygwin while
# Utilizing ffmpeg on windows
# Also will fill in gaps if sequential images are missing
#
##################################################
View ips_example_double_colon_1000.txt
ip_address::240.0.68.185
ip_address::209.214.118.165
ip_address::157.148.254.24
ip_address::195.123.156.190
ip_address::139.195.250.41
ip_address::122.52.182.156
ip_address::20.116.142.0
ip_address::233.55.179.77
ip_address::249.75.117.230
ip_address::116.129.103.30
View ips_example_1000.txt
ip_address 240.0.68.185
ip_address 209.214.118.165
ip_address 157.148.254.24
ip_address 195.123.156.190
ip_address 139.195.250.41
ip_address 122.52.182.156
ip_address 20.116.142.0
ip_address 233.55.179.77
ip_address 249.75.117.230
ip_address 116.129.103.30
View lambda slack relay
var https = require('https');
exports.handler = (event, context, callback) => {
console.log("MYLOG" + JSON.stringify(event))
//Custom Fields sent in from Distilio
var body = JSON.parse(event.body)
var name = body.name
var uri = body.uri