Skip to content

Instantly share code, notes, and snippets.


Simon Collins simoncollins

  • Brisbane, Australia
View GitHub Profile
simoncollins /
Last active Aug 29, 2015
Sending messages to Tessel

This shows how to send messages to a connected Tessel over USB and how to log messages that the Tessel writes to console.log().

You'll need to do a tessel push tessel-code.js to push the script to the Tessel first as it seems you can only have one connection at a time (unless there's another way I'm not aware of).

Then run node host-code.js to send the message to Tessel. You should see Tessel log back the message it received.

simoncollins / hello1.js
Last active Dec 29, 2015
Testing Testing
View hello1.js
alert('Hello Tester');
simoncollins / gist:6034200
Last active Dec 19, 2015
An introduction to the internals of a Git repository by building up a basic initial commit using Git's lower level plumbing commands.
View gist:6034200
# References:
# Create a directory for our repository
mkdir test
# Initialise an empty git repository in the directory
git init