Skip to content

Instantly share code, notes, and snippets.

✈️
I may be slow to respond.

Bjørn Erik Pedersen bep

✈️
I may be slow to respond.
Block or report user

Report or block bep

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@bep
bep / hugo-on-android.md
Last active Sep 25, 2019
Run Hugo on an Android phone
View hugo-on-android.md

First install Termux

Then there are two options:

Build from source

Open the Termux terminal on your Android device and copy-and-paste the commands listed below and hit ENTER:

@lelandbatey
lelandbatey / whiteboardCleaner.md
Last active Dec 21, 2019
Whiteboard Picture Cleaner - Shell one-liner/script to clean up and beautify photos of whiteboards!
View whiteboardCleaner.md

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

You can’t perform that action at this time.