Skip to content

Instantly share code, notes, and snippets.

@ecancino
ecancino / monoid.js
Created May 10, 2017 16:38
DrBoolean monoids
const Sum = x =>
({
x,
concat: ({x: y}) => Sum(x + y),
inspect: () => `Sum(${x})`
})
Sum.empty = () => Sum(0)
const Product = x =>
@Trefex
Trefex / OVH_README.md
Last active January 23, 2020 20:11
How I setup my VPS on ovh-com

Config is 2vCPU, 2 GB RAM and running Debian 7 on 64 bits.

apt-get update
apt-get upgrade
apt-get install htop

Add localadmin user

adduser localadmin

apt-get install sudo