Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env bash
# script name: findtty.sh
# author: Jerry Davis
#
# this little script determines what usb tty was just plugged in
# on osx especially, there is no utility that just displays what the usb
# ports are connected to each device.
#
# I named this script findtty.sh
@lanhed
lanhed / SimpleCanvasTestWithEaselJS.html
Created April 3, 2012 06:38
Simple Canvas test with EaselJS
<!doctype html>
<html>
<head>
<title>Canvas</title>
<script type="text/javascript" src="easeljs-0.4.1.min.js"></script>
<script type="text/javascript">
var stage;
var logo;
var g;
@lanhed
lanhed / SimpleCanvasTest.html
Created April 3, 2012 06:32
Simple Canvas test
<!doctype html>
<html>
<head>
<title>Canvas</title>
<script type="text/javascript">
var canvas;
var context;
var logo;
var logoX = 0;
var logoY = 0;