Hugo van Kemenade hugovk
- Helsinki, Finland
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"
Auto-deploying built products to gh-pages with Travis
This is a set up for projects which want to check in only their source files, but have their gh-pages branch automatically updated with some compiled output every time they push.
Create a compile script
You want a script that does a local compile to e.g. an
out/ directory. Let's call this
compile.sh for our purposes, but for your project it might be
npm build or
gulp make-docs or
make or anything similar.
out/ directory should contain everything you want deployed to
gh-pages. That almost always includes an