Client side routing explained

javascript, JS, routing
Client side routing explained React router is the defacto standard for client side routing in React SPA application. To understand how Reac
Davide Andreazzini

Use face-api.js on node js

tensorflow, facedetection, face, neuralnetwork
Face-api.js is a great library that uses tensorflowjs to do face recognition, face detection, face landmarks, and other stuff with faces...
Davide Andreazzini

ASCIICAM

javascript, JS, webcam, ascii
Simple webapp that turns your webcam into ASCII art. code is available on github at https://github.com/david1983/ascii_cam I've done this in
Davide Andreazzini

Javascript game in less then 1kb


Code golf winner of the js1k2010 .language-javascript{ white-space: pre-wrap!important; /* Since CSS 2.1 */ white-space: -m
Davide Andreazzini

Hadoop-spark-kafka-zookeeper docker compose

spark, hadoop, kafka, docker
Docker compose is awesome, especially if you need to spin up your local development environment. the following is the docker-compose I use a
Davide Andreazzini

Not an Hotdog


I love the silicon valley tv series. and lately I've been doing some machine learning and deep learning studies, so what's the most famous i
Davide Andreazzini

Backslash and pipe on a US keyboard set as UK

keyboard, keyboard layout, backslash, pipe
This is for anyone in the UK, stuck with a US layout keyboard!!! Recently I bought a cheap mechanical keyboard from the US, even though the
Davide Andreazzini

Fast line count


The following is a simple bash script used to calculate the number of lines in ginormous text files ( like 20G CSV). #!/bin/bash # get the l
Davide Andreazzini

DAGs visualization using dagre-3d


Directed Acyclic Graphs are directed graphs, that have a topological ordering, a sequence of the vertices such that every edge is directed f
Davide Andreazzini

Sleep-sort in javascript


Sleep sort is a joke sorting algorithm. Sleep sort spawns off one process for each argument. Each process waits for n milliseconds, then pr
Davide Andreazzini