Skip to content

Instantly share code, notes, and snippets.

View techninja's full-sized avatar
👋
Hello there!

James Todd techninja

👋
Hello there!
View GitHub Profile

Privacy Policy

James Todd built the Bean Data app as an Open Source app. This SERVICE is provided by James Todd at no cost and is intended for use as is.

This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.

If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy.

The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which are accessible at Bean Data unless otherwise defined in this Privacy Policy.

@techninja
techninja / todo.md
Last active July 5, 2020 18:24
Remaining TODOs for CNCServer on the path to v3

Current TODOs for CNCServer on the path to v3

Render pipeline

  • Make a hash data attached to each render target within the render grouping for the item.
  • With hash against each settings item on the final, (plus width/height), should prevent re-renders when needed
  • Allow moving of stage item (bounds change, but w/h don't) to move rendered group.
  • Raster: Get resolution size down working for big images (calculate DPI from bounds scale).
  • Pass cncserver specific tmp dir over as part of filler/vectorizer utils so we don't need that in implementors.
@techninja
techninja / robopaint_remote_test.html
Created January 7, 2018 22:32
RoboPaint Remote mode file send example
<!DOCTYPE html>
<html>
<head>
<title>RoboPaint Remote Example App</title>
<meta charset="UTF-8">
<script type="text/javascript" src="http://code.jquery.com/jquery-2.1.0.min.js"></script>
</head>
<body>
<script type="text/javascript">

Keybase proof

I hereby claim:

  • I am techninja on github.
  • I am techninja (https://keybase.io/techninja) on keybase.
  • I have a public key whose fingerprint is BA3D BEA8 C6E7 5EBE D934 E9B9 5D4E C748 7646 B245

To claim this, I am signing this object:

@techninja
techninja / gist:7897262
Created December 10, 2013 20:04
Quick and tiny Spark board Arduino code for @makersylvia's AR drone hack at RobotsConf 2013
Servo myservo;
void setup()
{
myservo.attach(D0); // attaches the servo on pin 0 of the Spark board
Spark.function("claw", claw); // Spark API function registration
}
void loop()
@techninja
techninja / gist:7846575
Created December 7, 2013 18:23
Quick node.js http "service" with low dependencies for sending serial code
var serialport = require('node-serialport');
var http = require('http');
var path = require('path');
console.log('loaded sp');
var port = '/dev/ttyO3';
console.log('opening' + port);