(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| """ | |
| Example: | |
| conda activate environment | |
| CUDA_VISIBLE_DEVICES=0 python job_listener --job-dir jobs/ | |
| See the JobListener class for more detail. | |
| """ | |
| import signal | |
| import os |
| import cookie from 'react-cookie'; | |
| import Router from 'next/router'; | |
| import { create } from 'apisauce'; | |
| // Authenticate with a JWT retrieved through some API call. | |
| export const authenticate = token => { | |
| cookie.save('userToken', token, { path: '/' }); // Stores token for later auth check. | |
| Router.push('/profile'); // Navigates. | |
| }; |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.