Skip to content

Instantly share code, notes, and snippets.

Elijah Insua tmpvar

Block or report user

Report or block tmpvar

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
tmpvar / distance.js
Created Feb 21, 2014
cassowary.js distance attempt
View distance.js
// Copyright (C) 1998-2000 Greg J. Badros
// Use of this source code is governed by
// Parts Copyright (C) 2011, Alex Russell (
var DraggableBox = c.inherit({
initialize: function(x, y, w, h) {
this.width = w || 15;
this.height = h || 15;
tmpvar / gist:9441302
Created Mar 9, 2014
crybaby grbl settings
View gist:9441302
$0=36.360 (x, step/mm)
$1=32.000 (y, step/mm)
$2=302.360 (z, step/mm)
$3=20000.000 (x v_max, mm/min)
$4=15000.000 (y v_max, mm/min)
$5=3000.000 (z v_max, mm/min)
$6=200.000 (x accel, mm/sec^2)
$7=200.000 (y accel, mm/sec^2)
$8=75.000 (z accel, mm/sec^2)
$9=200.000 (x max travel, mm)
View js.json
"x": -19,
"y": -14
"x": -4,
"y": -14
tmpvar /
Created Mar 23, 2014
build marlin via Makefile on OSX
# put this file in your Marlin root directory with chmod +x
# run ./ to fetch the preconfigured arduino, unzip it and build against it.
# Requires unzip & wget & make
if [ ! -d "deps" ]; then
mkdir deps
tmpvar / .gitignore
Created Mar 25, 2014
pipe midi events from canary into node over websockets
View .gitignore
tmpvar / denverjs.apxl
Created Apr 1, 2014
keynote format for my denverjs talk
View denverjs.apxl
This file has been truncated, but you can view the full file.
<?xml version="1.0"?>
<key:presentation xmlns:sfa="" xmlns:sf="" xmlns:xsi="" xmlns:key="" key:version="92008102400" sfa:ID="BGShow-0" key:play-mode="interactive" key:kiosk-slide-delay="5" key:kiosk-build-delay="2" key:mode="once">
<key:size sfa:w="1024" sfa:h="768" />
<key:theme-list sfa:ID="NSMutableArray-0">
<key:theme sfa:ID="BGTheme-0" key:name="Theme" key:group-uuid="CD93AFD0-49FA-446A-803C-219DCA2C98C2" key:decimal-tab=".">
<key:size sfa:w="1024" sfa:h="768" />
<key:stylesheet sfa:ID="SFSStylesheet-0">
<sf:vector-style sfa:ID="SFTVectorStyle-0" sf:ident="tabular-default-body-vector-style-id">
tmpvar / gist:9938915
Created Apr 2, 2014
constraint notes
View gist:9938915
Analysis of systems of equations - Serrano [74]
First step of determining whether a system is
over/under/well constrained.
Can be extended to decompose graphs into independently
solvable graphs
The constraint graph
tmpvar / index.js
Created Apr 6, 2014
requirebin sketch
View index.js
// try requiring some modules from NPM and then hit Run
tmpvar / printrbotjr-v1-printbed.js
Created Apr 27, 2014
gcode generator for a 6.35mm sheet of aluminum for a printerbotjr v1 (mounting holes not included)
View printrbotjr-v1-printbed.js
var gcode = [];
var G1 = function(obj) {
gcode.push('G1 ' + Object.keys(obj).map(function(a) {
return a.toUpperCase() + Number(obj[a]).toFixed(3);
}).join(' '));
G1({z: 5});
var offset = 6.35;
You can’t perform that action at this time.