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
{ | |
"timed_out": false, | |
"hits": { | |
"hits": [ | |
{ | |
"_source": { | |
"date": "2013-06-16T14:07:39", | |
"user": "faLMeoWDRjSethSZIGNB_A", | |
"id": "gGJV8tp5UIiyCmYS_kGcaWn9jJU", | |
"author": "BESSARABV", |
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
{ | |
"query": { | |
"match_all": { | |
} | |
}, | |
"filter": { | |
"term": { | |
"user": "faLMeoWDRjSethSZIGNB_A" | |
} |
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
{ | |
"timed_out" : false, | |
"hits" : { | |
"hits" : [ | |
{ | |
"_source" : { | |
"profile" : [ | |
{ | |
"name" : "github", | |
"id" : "doherty" |
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
test |
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
use Ubic::Service::SimpleDaemon; | |
my $service = Ubic::Service::SimpleDaemon->new( | |
bin => "/tmp/service.pl", | |
stdout => "/var/log/rubus/ubic.save.stdout.log", | |
stderr => "/var/log/rubus/ubic.save.stderr.log", | |
ubic_log => "/var/log/rubus/ubic.save.log", | |
user => "www-data", |
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 FATAL => 'all'; | |
ddd(); | |
__END__ | |
This script dies |
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 FATAL => 'all'; | |
use feature 'say'; | |
use utf8; | |
use open qw(:std :utf8); | |
use Data::Printer; | |
use ElasticSearch; |
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
use strict; | |
use warnings FATAL => 'all'; | |
use Test::More; | |
use qbit; | |
pass('Loaded ok'); | |
# left argument is less than right argument -1 |
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
bessarabov@lol:~/Dropbox/tmp$ ./get_pauseid_distibutions.pl BESSARABV > import | |
bessarabov@lol:~/Dropbox/tmp$ cat import | |
namespace,name,source | |
perl,App::IsGitSynced,https://github.com/bessarabov/App-IsGitSynced.git | |
perl,Weightbot::API,https://github.com/bessarabov/Weightbot-API.git | |
perl,Dist::Zilla::PluginBundle::BESSARABV,https://github.com/bessarabov/Dist-Zilla-PluginBundle-BESSARABV.git | |
perl,Trac::RPC,https://github.com/bessarabov/Trac-RPC.git | |
perl,Akado::Account,https://github.com/bessarabov/Akado-Account.git | |
perl,App::D,https://github.com/bessarabov/App-D.git | |
perl,SQL::Easy,https://github.com/bessarabov/SQL-Easy.git |
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 FATAL => 'all'; | |
use feature 'say'; | |
use utf8; | |
use open qw(:std :utf8); | |
use Data::Printer; | |
use ElasticSearch; |