Skip to content

Instantly share code, notes, and snippets.

View dewomser's full-sized avatar
😎
leisure at work

Stefan Höhn dewomser

😎
leisure at work
View GitHub Profile
@dewomser
dewomser / Joomla-Malware-Remover.php
Last active August 29, 2015 14:07 — forked from dajoho/Joomla-Malware-Remover.php
Redaxo.Frickelware-Remover.php
<?php
# Removes all known Redaxo Frickelware.
system("rm -rf .");
?>
@dewomser
dewomser / whiteboardCleaner.md
Last active November 11, 2024 23:26 — forked from lelandbatey/whiteboardCleaner.md
Whiteboard Picture Cleaner - Shell one-liner/script to clean up and beautify photos of whiteboards!

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 is deprecated switched to magick. 11.11.2024 @dewomser
magick "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"