Skip to content

Instantly share code, notes, and snippets.

Working from home

Ekaitz Zárraga ekaitz-zarraga

Working from home
View GitHub Profile
ekaitz-zarraga / usb_hid_keys.h
Created Oct 27, 2017 — forked from MightyPork/usb_hid_keys.h
USB HID Keyboard scan codes
View usb_hid_keys.h
* USB HID Keyboard scan codes as per USB spec 1.11
* plus some additional codes
* Created by MightyPork, 2016
* Public domain
* Adapted from:
ekaitz-zarraga /
Created May 24, 2018 — forked from lelandbatey/
Whiteboard Picture Cleaner - Shell one-liner/script to clean up and beautify photos of whiteboards!


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:

convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"