Skip to content

Instantly share code, notes, and snippets.

View Pezmc's full-sized avatar

Pez Cuckow Pezmc

View GitHub Profile
@Pezmc
Pezmc / fake-scan-automator.sh
Last active October 6, 2023 08:26 — forked from andyrbell/scanner.sh
Make a pdf look scanned with macOS automator as a quick action
#!/bin/bash
# This script takes a PDF or list of PDFs and outputs a file(s)
# named <file>_scanned.pdf that looks like it has been scanned
#
# Requires imagemagic and popper to be installed (brew install imagemagick poppler)
#
# Accepts: a list of files
# Usage: ./<scriptfilename> pdf1.pdf pdf2.pdf
#
# To use as a macOS automator quick action you need to:
@Pezmc
Pezmc / hack.sh
Created March 31, 2012 10:55 — forked from erikh/hack.sh
Osx for Pez
#!/usr/bin/env sh
##
# Customised for personal use, some things changed.
#
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh