Skip to content

Instantly share code, notes, and snippets.

View Lilyheart's full-sized avatar

Lily Romano Lilyheart

  • Georgia Tech Master's Student
  • Lewisburg, PA, USA
View GitHub Profile
@Lilyheart
Lilyheart / ##title.md
Last active October 17, 2019 21:13
Add traveltime widget to OpenHAB

OpenHAB traveltime widget

# Open for more files
npm init
npm install express ejs body-parser --save
npm install mongoose --save
npm install passport passport-local passport-local-mongoose express-session --save
var myArray = [1, 2, 3];
var item = 4;
myArray.push(item); //works
var items = [5, 6, 7];
myArray.concat(items): //doesn't work
myArray = myArray.concat(items); // have to do this instead