Skip to content

Instantly share code, notes, and snippets.

View simoncollins's full-sized avatar

Simon Collins simoncollins

  • Brisbane, Australia
View GitHub Profile
@simoncollins
simoncollins / README.md
Last active August 29, 2015 14:04
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
simoncollins / hello1.js
Last active December 29, 2015 10:29
Testing Testing
alert('Hello Tester');
@simoncollins
simoncollins / gist:6034200
Last active December 19, 2015 23:19
An introduction to the internals of a Git repository by building up a basic initial commit using Git's lower level plumbing commands.
# References:
# http://git-scm.com/book/ch1-3.html
# http://git-scm.com/book/en/Git-Internals
# Create a directory for our repository
mkdir test
# Initialise an empty git repository in the directory
git init