Skip to content

Instantly share code, notes, and snippets.

View bvolpato's full-sized avatar
🐢
focus

Bruno Volpato bvolpato

🐢
focus
View GitHub Profile
@bvolpato
bvolpato / whiteboardCleaner.md
Created April 14, 2016 20:20 — 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 "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"

Results

@bvolpato
bvolpato / Contract Killer 3.md
Created April 14, 2016 20:11
The latest version of my ‘killer contract’ for web designers and developers

Contract Killer

The popular open-source contract for web professionals by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: March 15th 2016
  • Original post

@bvolpato
bvolpato / dropkick.sh
Created March 31, 2016 01:55
Turn off spy cams in airbnb rentals
#!/bin/bash
#
# DROPKICK.SH
#
# Detect and Disconnect the DropCam and Withings devices some people are using to
# spy on guests in their home, especially in AirBnB rentals. Based on Glasshole.sh:
#
# http://julianoliver.com/output/log_2014-05-30_20-52
#
# This script was named by Adam Harvey (http://ahprojects.com), who also
@bvolpato
bvolpato / capture.sh
Created March 18, 2016 00:04 — forked from abahgat/capture.sh
Capture a screenshot of a window via command line
screencapture -iW /path/to/output.png