Code Monkey home page Code Monkey logo

cusp-gx-6004-c's Introduction

Scripts and documentation for hosting IoT and Microservices class at NYU CUSP

The repo contains two directories, IoT and server.

As Phil Karlton said -- There are only two hard things in Computer Science: cache invalidation and naming things

Anyways, the IoT directory contains:

  • Helper Scripts: for prepping, flashing and ad-hoc monitoring the Pi

    • create_config.py -- Prepping the Raspberry Pi (using raspberrypi-ua-netinst ) with dynamically generated ssh keys, IP addresses (more on this a little later).
    • flash_image.py Copying the required setup (netinst files from setup sub directory) and configuration files to the plugged-in micro sd-cards.
    • Monitoring scripts -- simple ssh and ping tests to make sure that when powered on, the Pi's are connected to the access point as passed into the (configuration file when prepping the Pi).
  • presentation: This directory contains scripts and documents that are created in the class.

    • cheat_sheets -- some markdown files with handy linux commands
    • codes -- different scripts and python modules for performing sensing and uploading data to the server.
    • plots -- some intermediate plots generated for the presentation
  • setup: Containing setup files for ua-netinst

    • raspberrypi-ua-netinst-v1.5.1 -- v1.5.1 of installer (support until Pi 2B)
    • raspberrypi-ua-netinst-v2.3.0 -- v2.3.0 of installer (support until Pi 3B+)

The server directory contains scripts and modules for serving the ssh and vpn keys to students for interacting with the Pis and a dashboard for visualizing the uploaded data.

More information can be found in IoT and server directories.

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.