Skip to content

Instantly share code, notes, and snippets.

🌾
What is code?

Matthew Conlen mathisonian

View GitHub Profile
View ocr-shot.sh
#!/bin/bash
set -e
CONTENTS=$(tesseract -c language_model_penalty_non_dict_word=0.8 --tessdata-dir /usr/local/share/ "$1" stdout -l eng | xml esc)
hex=$((cat <<EOF
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
@staltz
staltz / introrx.md
Last active Apr 22, 2019
The introduction to Reactive Programming you've been missing
View introrx.md
You can’t perform that action at this time.