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

Quick and useful Docker commands and configs

docker
Here is a list of some docker snippets that I use daily. Create a tagged image from Dockerfile docker build -t tag_name /path/to/ Run a do
Davide Andreazzini

Update ssh to version 7.5p1

ssh, update, devops
Follow the instructions to update ssh on the latest version. The process requires patching the current source, which is unfortunately not w
Davide Andreazzini

Random project name generator (Simple project)


This is a small project I've done during the lunch break. https://project-name-generator.herokuapp.com/
Davide Andreazzini

Let's encrypt manual mode using DNS record verification

ssl, letsencrypt
Here is the procedure that I've used to create a letsencrypt certificate in manual mode using a DNS record for registration. sudo letsencryp
Davide Andreazzini

Removing the hashbang from react-router navigation


By default, react-router add the annoying and hated hashbang to the URL. import React from 'react'; import ReactDOM from 'react-dom'; im
Davide Andreazzini

Using ARIMA and Box-Jenkins methodology for time series forecast - Part 1

arma, arima, machine learning, box-jenkins, time series
The Box-Jenkins method, named after George Box and Gwilym Jenkins, is an approach used in time series analysis to find the best fit of a tim
Davide Andreazzini

ThreeJS rotating icosahedron with images on vertices


Simple clone of the Stripe element @ https://stripe.com/radar I had some fun replicating the rotating icosahedron of the Stripe page, and in
Davide Andreazzini