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
<?php | |
/** | |
* Test_Crontab | |
* | |
*/ | |
require 'vendor/autoload.php'; | |
class Test_Batch_Crontab extends PHPUnit_Framework_TestCase |
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/env perl | |
use strict; | |
use warnings; | |
use Encode; | |
use Pod::Simple::PullParser; | |
use File::Slurp qw/ read_dir/; | |
use Text::Xslate; | |
use Plack::Response; | |
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 Qudo; | |
my $qudo = Qudo->new( | |
driver_class => 'Skinny', | |
databases => [+{ | |
dsn => 'dbi:mysql:qudo', |
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 Qudo; | |
my $qudo = Qudo->new( | |
driver_class => 'Skinny', | |
databases => [+{ | |
dsn => 'dbi:mysql:qudo', |
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 Qudo; | |
my $qudo = Qudo->new( | |
driver_class => 'Skinny', | |
databases => [+{ | |
dsn => 'dbi:mysql:qudo', |
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 MyApp::Worker::Santa; | |
use strict; | |
use warnings; | |
use base qw/Qudo::Worker/; | |
sub work { | |
my ($self , $job ) = @_; | |
$job->manager->plugin->{pre_message}->(); |
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 Qudo; | |
use MyApp::Worker::Santa; | |
my $qudo = Qudo->new( | |
driver_class => 'Skinny', | |
databases => [+{ |
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 lib './lib'; | |
package MyApp::Worker::Test; | |
use base qw/Qudo::Worker/; | |
use Data::Dumper; |
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; | |
my $str = 'gist-test'; | |
print $str."\n"; | |
exit; |
NewerOlder