This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# From frew | |
shutter -s -e -o ~/tmp/screen.png | |
tesseract ~/tmp/foo.png stdout | xclip -selection clipboard |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use Data::Dumper; | |
my @a = ( 'b', 'c', 'f' ); | |
my @b = ( 'a', 'd' ); | |
my @c = ( 'c', 'd', 'e' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'; |