Skip to content

Instantly share code, notes, and snippets.

Avatar

Jeremy Leader jleader

View GitHub Profile
View ocr
#!/bin/bash
# From frew
shutter -s -e -o ~/tmp/screen.png
tesseract ~/tmp/foo.png stdout | xclip -selection clipboard
View ovid-puzzle.pl
#!/usr/bin/perl
use strict;
use warnings;
use Data::Dumper;
my @a = ( 'b', 'c', 'f' );
my @b = ( 'a', 'd' );
my @c = ( 'c', 'd', 'e' );
View MyObject.pm
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';
You can’t perform that action at this time.