Typescript yarn init yarn add express npx tsc —init yarn add typescript ts-node yarn add @types/express npx ts-node src/index.ts Docker docker build image -t projectName docker image ls docker image rm projectid docker run -p portFrom:portTo projectName docker container ls -a docker container rm containerID docker ps -a (docker images...
Part I here. Haven't done react before, so headed over to React's getting started. And since I did not use create-react-app, that tutorial on add react in 1 min obviously does not apply.. But it's really not too bad. :) here we go! Add Babel packages to transpile jsx code...
Yep, not using create-react-app, instead creating a webapp using webpack and React and deploying on Heroku. VERY long read. Getting started with webpack. So I started off with the webpack's documentation to understand how webpack maps project modules and generates bundles for automatic compilation and reducing manual build time. Create...
not sketching stones and rocks for now.. hah.
The day I'm tasked to read the whitepaper in mandarin...
Over the past 2 years, only 3 books got me reading until their end. The first, titled Mountain Beyond Mountains by Dr. Paul Farmer, a book chuck into my hands by a close friend. Unbeknownst to me, it was the book that inspired and got me moving out of nursing...
Listened to this podcast while commuting https://twimlai.com/twiml-talk-269-advancing-autonomous-vehicle-development-using-distributed-deep-learning-with-adrien-gaidon/ A research scientist in Toyota working on deep learning simulation for high image resolution needed to learn dev-ops to scale their testing. Tools used: docker, kubernetes, Beegfs. Why beegfs though? He did mention that there were db that could store up to 700gb...
The distance detector with LED and buzzer Tutorial for above is here. Tried the first time and fried my usb-c, wasn't reading that I needed to ground them... Now it works :) Adjusted the frequency much higher for nicer sounding tones. Tried to use the frequency for notes C -...
Having some time to myself to play with some new sensor, the circuit is pretty straight forward, waiting for my raspberry pi in the meantime.. SensorVCC >> 5VGND >> GNDOUT >> pin 3 /* Crash Collision Sensor Detection Module * */ int ledPin = 13; // choose the pin for...
Companies that does vulnerability scanning https://www.reddit.com/r/sysadmin/comments/bnf4um/vulnerability_scanning/ Encrypted Database and todosFrom the discussions, when a company has a encrypted database(s)- It needs to be backedup- backups needs to be tested and verified using a snapshot on a separate vm instance- if it was encrypted, the generated keys need to be saved-...