An interactive version of a Reingold–Tilford tree. Click on the nodes to expand or collapse.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create node-1 | |
$ docker-machine create -d virtualbox \ | |
--virtualbox-memory 2048 \ | |
node-1 | |
$ eval $(docker-machine env node-1) | |
$ docker node update --label-add type=db node-1 | |
$ docker swarm init --advertise-addr x.x.x.x | |
# Create overlay network |
This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.
The script is here:
#!/bin/bash
convert $1 -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 $2