- Ctrl-A - go to the beginning of the line
- Ctrl-E - go to the end of the line
- Up Arrow - bring up the previous command in the command history
- TAB - autocomplete commands or files or directories
- Install Arduino IDE
- Node.js
- Use nvm to install Node.js
- Johnny Five -
npm install johnny-five, Windows:npm install johnny-five --msvs_version=2012 - Firmata - check first: does Firmata exist? If not, install it
- Hello world LED example
This file contains hidden or 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
| /* | |
| JS Workshop | |
| */ | |
| // Variable assignment | |
| var name = "Jenn"; | |
| var age = 5; | |
| var sentence = name + " is " + age + " years old."; |
This file contains hidden or 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
| import { Component } from '@angular/core'; | |
| @Component({ | |
| selector: 'my-app', | |
| template: '<h1>Hello World</h1>' | |
| }) | |
| export class AppComponent { | |
| } |
This file contains hidden or 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
| import { Component } from '@angular/core'; | |
| @Component({ | |
| selector: 'my-app', | |
| template: '<h1>Hello World</h1>' | |
| }) | |
| export class AppComponent { | |
| } |
This file contains hidden or 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 playSound = require('play-sound'); | |
| var path = require('path'); | |
| var _ = require('lodash'); | |
| var player = playSound(); | |
| var chords = [ | |
| ['c3', 'd3', 'e3', 'g3'], | |
| ['a2', 'b2', 'c3', 'e3'], | |
| ['c3', 'd3', 'e3', 'g3'], | |
| ['a2', 'b2', 'c3', 'e3'], |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html xmlns = "http://www.w3.org/1999/xhtml"> | |
| <head> | |
| <meta http-equiv="content-type" content="text/html; charset=utf-8" /> | |
| <!-- polyfill --> | |
| <script src="../inc/shim/Base64.js" type="text/javascript"></script> | |
| <script src="../inc/shim/Base64binary.js" type="text/javascript"></script> | |
| <script src="../inc/shim/WebAudioAPI.js" type="text/javascript"></script> | |
| <!-- midi.js package --> | |
| <script src="../js/midi/audioDetect.js" type="text/javascript"></script> |