Using Neurosity Crown to do something fun ✨ The Neurosity Crown is a brain computer interface (BCI), basically a wearable EEG device that records brain activity via electrodes. They provide an API with documentation so its pretty easy to get started. Check Neurosity out here: https://neurosity.co/
SailorMoon Pose Signup/Login #machinelearning
Took me a day to finish the above + read on posenet and have it running on a local server. My webcam on my laptop isn’t all that great but should suffice for the time being. Below are steps for the project so far: Use getUserMedia method of the web media API to detect a webcam and get permission from the user to stream video
Plug-n-Play authentication is officially out now!
The project is live here and up for sale here Instructions for setting up are included in the project folder and here https://twitter.com/kauresss/status/1167195585381687296
Conditionally rendering EJS template with res.locals in express.js
This snippet is to conditionally render navbar items based on whether a user is logged in OR not. So toggle the ‘Login’ button to ‘Logout’ if the user is already logged in and vice versa. I admit it took more time that I had anticipated. Primarily because in the beginning I insisted on using a global variable in express to manage the user’s ‘isAuthenticated’ state
New project: Authentication from scratch
New project in progress… Vanilla JS project with: 3 Login strategies 2 password reset strategies Security precautions
Line by Line: Node.js Server
Assembling request handlers for the router in your node.js server
It’s been a long time since I did one of these, I’ve just been too busy with tinkering with JS which is turning out to be my favorite language. This is again from the nodebeginner book by Manuel Kiessling. Anyways after assembling your router,it must route specific requests to their appropriate destinations. In this case the requests such as start and upload are routed to