Skip to content

Instantly share code, notes, and snippets.

View herrriehm's full-sized avatar

Sebastian Riehm herrriehm

  • Aachen, Germany
View GitHub Profile
@herrriehm
herrriehm / brew2md.sh
Last active January 9, 2020 09:00
dump installed brew formulae to markdown list
brew info --json --installed | jq -r '.[] | "* [" + .name + "](" + .homepage + "): " + .desc' > brew.md
### Keybase proof
I hereby claim:
* I am herrriehm on github.
* I am herrriehm (https://keybase.io/herrriehm) on keybase.
* I have a public key ASDalhXLlv9QMzbjF-DvPGaukL8DFmJDaiaoBZlXt4hv_Ao
To claim this, I am signing this object:

Description

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

Results