Considered this submission as a PASS case.
Submitted tech challenge:
Pros:
- API endpoints naming follows problem statement.
- Clean and tidy code.
- Demonstrated well use of existing frameworks/libraries.
Considered this submission as a PASS case.
Submitted tech challenge:
Pros:
| <?php | |
| namespace App\DistanceApi\Api; | |
| /* | |
| |-------------------------------------------------------------------------- | |
| | Request Class | |
| |-------------------------------------------------------------------------- | |
| | | |
| | This class is used when querying your API. |
npm -v in a terminal window.npm install -g react-native-cli| # Stream Video with OpenCV from an Android running IP Webcam (https://play.google.com/store/apps/details?id=com.pas.webcam) | |
| # Code Adopted from http://stackoverflow.com/questions/21702477/how-to-parse-mjpeg-http-stream-from-ip-camera | |
| import cv2 | |
| import urllib2 | |
| import numpy as np | |
| import sys | |
| host = "192.168.0.220:8080" | |
| if len(sys.argv)>1: |
| """ | |
| ledctrl.py | |
| A simple example for communicating with a Raspberry Pi from you phone's | |
| browser. Uses the Bottle Python web framework, and jQuery AJAX. | |
| Author: Mahesh Venkitachalam / electronut.in | |
| """ |
| #!/usr/bin/env python | |
| """ | |
| Very simple HTTP server in python. | |
| Usage:: | |
| ./dummy-web-server.py [<port>] | |
| Send a GET request:: | |
| curl http://localhost |