Skip to content

Instantly share code, notes, and snippets.

View NiccoMlt's full-sized avatar

Niccolò Maltoni NiccoMlt

View GitHub Profile
@NiccoMlt
NiccoMlt / ZooKeeper.md
Created November 1, 2021 15:05
My personal (still WIP) notes on ZooKeeper architecture (in Italian)

Apache ZooKeeper

Apache ZooKeeper è un servizio di configurazione distribuito pensato per la coordinazione di applicazioni cloud in ambienti distribuiti ad alta affidabilità.

Offre uno spazio di archiviazione chiave-valore gerarchico e distribuito, utilizzato principalmente per:

  • servizi di configurazione distribuiti
  • servizi di sincronizzazione
  • servizi di naming
  • leader election
@NiccoMlt
NiccoMlt / url-color-thief.js
Last active October 14, 2021 07:18
Infer color palettes from a webpage on Node.js leveraging Microsoft Playwright and node-vibrant
/*
* The MIT License (MIT)
* Copyright © 2021 Niccolò Maltoni
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
@NiccoMlt
NiccoMlt / keybase.md
Created March 12, 2021 15:42
keybase.md

Keybase proof

I hereby claim:

  • I am niccomlt on github.
  • I am niccomlt (https://keybase.io/niccomlt) on keybase.
  • I have a public key ASC6jDX1fx1VpGt1YWrsNyhNmltNnBNJ_m9FVjveYy1L6go

To claim this, I am signing this object:

@NiccoMlt
NiccoMlt / Confronto IDE C#.md
Created December 13, 2020 17:57
Confronto IDE C#
@NiccoMlt
NiccoMlt / PresentazioniInMarkdown.md
Last active May 18, 2021 15:50
Presentazioni in Markdown

Presentazioni in Markdown

Pandoc

Pandoc è una libreria Haskell per convertire formati di markup tra loro.

Pandoc permette di utilizzare il linguaggio Markdown (e altri) per generare presentazioni nei seguenti formati:

@NiccoMlt
NiccoMlt / build.gradle
Created March 29, 2019 11:26
Gradle buildscript for Spark shell scripts - Unibo BigData course 2019
plugins {
// Apply the scala plugin to add support for Scala
id 'scala'
}
group 'it.unibo'
version '1.0-SNAPSHOT'
def javaVersion = JavaVersion.VERSION_1_7
def scalaBinaryVersion = "2.11"
@NiccoMlt
NiccoMlt / build.gradle.kts
Created March 8, 2019 18:08
Gradle buildscript for Hadoop executable - Unibo BigData course 2019
/*
* Gradle buildscript to compile jars for execution on Hadoop and HDFS.
*
* This buildscript was written by Niccolò Maltoni on 08/03/2019 during laboratory lesson of Big Data.
*/
plugins {
`java-library`
}