Giter Site home page Giter Site logo

javascript-workout's Introduction

#Javascript Workout

Interactive presentation built with electron & nodejs. (Using electron 2.0.5 on node 8.5.0)

installing

CXXFLAGS="-mmacosx-version-min=10.9" LDFLAGS="-mmacosx-version-min=10.9" yarn

building

npm run develop

running

Presentation:

npm run presentation

Server (optional):

npm run server

People can surf to http://REPLACE_WITH_YOUR_IP:5000 and follow the slides on their screen.

##spark core (heartrate)

To link a spark-core to your local cloud, do the following after installing the particle-cli:

  1. Identify the spark core: press mode until blue > run particle identify
  2. Put the spark core into DFU by pressing mode + reset, release reset while holding mode for about 3 seconds (until led flashes yellow)
  3. Handle the server key: particle keys server default_key.pub.pem 192.168.2.1
  4. cd into core_keys
  5. Place core into DFU
  6. particle keys save INPUT_CORE_ID_HERE
  7. reset the core

You will need to flash the firmware (spark/pulsesensor-udp) to the spark-core:

  1. particle compile core src/spark-pulse-udp --saveTo dist/spark-pulse-udp.bin
  2. particle flash --usb dist/spark-pulse-udp.bin

https://github.com/chuank/spark-protocol

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.