Skip to content

Instantly share code, notes, and snippets.

View jleader's full-sized avatar

Jeremy Leader jleader

View GitHub Profile
View ocr
# From frew
shutter -s -e -o ~/tmp/screen.png
tesseract ~/tmp/foo.png stdout | xclip -selection clipboard
use strict;
use warnings;
use Data::Dumper;
my @a = ( 'b', 'c', 'f' );
my @b = ( 'a', 'd' );
my @c = ( 'c', 'd', 'e' );
package MyObject;
use Moose;
use Moose::Util::TypeConstraints;
use MooseX::Types::DateTime;
use DateTime::Format::ISO8601;
use namespace::autoclean;
subtype 'DateTime8601',
as 'MooseX::Types::DateTime';