sudo apt-get install gcc-avr avrdude avr-libc
cd /home/user7/Desktop/grbl8c
make
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fromBase64 = function(str) { | |
return (new Buffer(str || "", "base64")).toString("ascii"); | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fc = require('fc') | |
var center = require('ctx-translate-center') | |
var grid = require('ctx-render-grid-lines') | |
var circle = require('ctx-circle') | |
var ndarray = require('ndarray') | |
var fillArray = require('ndarray-fill') | |
var marchingSquares = require('marching-squares') | |
var surfaceNets = require('surface-nets') | |
// where size is the bin size from 0..1 | |
function createBinner(radius, width, height) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fc = require('fc') | |
var center = require('ctx-translate-center') | |
var grid = require('ctx-render-grid-lines') | |
var circle = require('ctx-circle') | |
var ndarray = require('ndarray') | |
var fillArray = require('ndarray-fill') | |
// where size is the bin size from 0..1 | |
function createBinner(radius, width, height) { | |
var cx = Math.ceil(width/radius) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fc = require('fc'); | |
var center = require('ctx-translate-center'); | |
var poly = require('ctx-render-polyline'); | |
var points = require('ctx-render-points'); | |
var circle = require('ctx-circle'); | |
var bounds2 = require('2d-bounds'); | |
var gridlines = require('ctx-render-grid-lines'); | |
var isect = require('robust-segment-intersect'); | |
var createSDF = require('sdf-polygon-2d'); | |
var area = require('2d-polygon-area'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var toPoly = require('pslg-to-poly') | |
var points = [ | |
// loop 1 | |
[-115, 100], | |
[ 103, 100], | |
[ 107, 50], | |
[-100, -100], | |
// loop 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$0=5.33 (x, step/mm) | |
$1=157.48 (y, step/mm) | |
$2=157.48 (z, step/mm) | |
$3=6000.00 (x v_max, mm/min) | |
$4=2000.00 (y v_max, mm/min) | |
$5=5000.00 (z v_max, mm/min) | |
$6=250.00 (x accel, mm/sec^2) | |
$7=1.00 (y accel, mm/sec^2) | |
$8=100.00 (z accel, mm/sec^2) | |
$9=600.00 (x max travel, mm) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fc = require('fc') | |
var center = require('ctx-translate-center') | |
var min = Math.min; | |
var max = Math.max; | |
var abs = Math.abs; | |
function length(x, y) { | |
return Math.sqrt(x*x + y*y); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
var split = require('split'); | |
var argv = require('optimist').argv; | |
process.stdin.once('data', function() {}); | |
var x = argv.x || 0, | |
y = argv.y || 0, | |
z = argv.z || 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -v "http://npmsearch.com/query?fl=name,description,homepage&rows=200&sort=rating+desc&q=level&pretty=1" |