Implement a single page application using React. Keep your code in version control, create a public GitHub repository.
Please don't use Next.js!
- Use the GitHub v4 GraphQL API to fetch information about a given user's repositories
ARG BASE_IMAGE=nvcr.io/nvidia/l4t-base:r32.4.2 | |
FROM ${BASE_IMAGE} | |
# | |
# install prerequisites - https://docs.nvidia.com/deeplearning/frameworks/install-tf-jetson-platform/index.html#prereqs | |
# | |
RUN apt-get update && \ | |
apt-get install -y --no-install-recommends \ | |
python3-pip \ | |
python3-dev \ |
FROM nvcr.io/nvidia/tensorflow:20.01-tf2-py3 | |
RUN apt-get update && \ | |
apt-get install -y libsm6 libxext6 libxrender-dev && \ | |
pip install opencv-python | |
COPY . . | |
# RUN echo "Downloading weights..." && \ | |
# wget -O weights/yolov3.weights https://pjreddie.com/media/files/yolov3.weights && \ |
# source: https://www.howtogeek.com/220462/how-to-find-and-change-your-mac-address-on-os-x/ | |
# Find MAC Address | |
ifconfig en0 | grep ether | |
# Change it | |
sudo ifconfig en0 ether aa:bb:cc:dd:ee:ff | |
# This will generate and set a new MAC address for en0 every time you run it. | |
# The changes made from both these commands will be reverted when you restart, so this is not permanent. |
// a/a.js | |
class A { | |
constructor(b) { | |
this.b = b | |
} | |
foo() { | |
this.b.bar() | |
} |
Logs are an important source to get insights what's happening when your code runs. It can help to understand how the application works. It can also help to discover errors, but there is no one need to look at this output immediately, it's available for later analysis if needed. Although, it is possible to set up alerts based on logs.
Here we need to ask ourself, what kind of information can help us to find issues and to understand the call chain, data flow in an application?
I hereby claim:
To claim this, I am signing this object:
The bootcamp can provide a learning path for a new team member to get familiar with the basic concepts of Node.js and web services. As a mentor you will be responsible to guide the student along the way.
'use strict' | |
const expect = require('chai').expect | |
const objectid = require('objectid') | |
const request = require('super-request') | |
const User = require('./user') | |
const server = require('./server') // your http server | |
describe('GET /api/v1/user/:userId', () => { | |
let userId |
'use strict' | |
const ambientlib = require('ambient-attx4') | |
function ambientSensor (port) { | |
return new Promise((resolve, reject) => { | |
const ambient = ambientlib.use(port) | |
ambient.on('ready', () => { | |
console.log('connected to ambient module') |