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
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND | |
root 1 0.0 0.0 8356 600 ? Ss 2013 1:23 init [2] | |
root 2 0.0 0.0 0 0 ? S 2013 0:00 [kthreadd] | |
root 3 0.0 0.0 0 0 ? S 2013 1:04 [migration/0] | |
root 4 0.0 0.0 0 0 ? S 2013 4:38 [ksoftirqd/0] | |
root 5 0.0 0.0 0 0 ? S 2013 0:00 [watchdog/0] | |
root 6 0.0 0.0 0 0 ? S 2013 1:00 [migration/1] | |
root 7 0.0 0.0 0 0 ? S 2013 2:31 [ksoftirqd/1] | |
root 8 0.0 0.0 0 0 ? S 2013 0:00 [watchdog/1] | |
root 9 0.0 0.0 0 0 ? S 2013 1:00 [migration/2] |
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": { | |
"and": [ | |
{ | |
"term": { | |
"name": "perl6" | |
} |
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
--blank-lines-before-packages=0 | |
--iterations=2 | |
--no-outdent-long-comments | |
-bar | |
-boc | |
-ci=4 | |
-i=4 | |
-l=78 | |
-nolq | |
-se |
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 Foo; | |
use Moose; | |
with 'MooseX::Getopt'; | |
has foo => ( | |
is => 'ro', | |
isa => 'Int', | |
init_arg => 'bar', |
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
SearchPhaseExecutionException[Failed to execute phase [query], total failure; shardFailures {[_na_][cpan_v1][0]: No active shards}{[_na_][cpan_v1][1]: No active shards}{[_na_][cpan_v1][2]: No active shards}{[_na_][cpan_v1][3]: No active shards}{[_na_][cpan_v1][4]: No active shards}] | |
And when running ES in the foreground: | |
agrant@metacpan-dev:/opt/elasticsearch-0.20.2$ bin/elasticsearch -f -Des.http.port=9900 -Des.cluster.name=testing | |
log4j:ERROR setFile(null,true) call failed. | |
java.io.FileNotFoundException: /opt/elasticsearch-0.20.2/logs/testing.log (Permission denied) | |
at java.io.FileOutputStream.openAppend(Native Method) | |
at java.io.FileOutputStream.<init>(FileOutputStream.java:207) |
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
vagrant@metacpan-dev:~$ ls -l /home/metacpan/ | |
total 32 | |
drwx------ 2 metacpan metacpan 4096 Sep 7 16:48 bin | |
drwxr-xr-x 6 metacpan root 4096 Sep 7 16:48 carton | |
lrwxrwxrwx 1 metacpan metacpan 12 Sep 4 14:49 CPAN -> /mnt/lv-cpan | |
drwxr-xr-x 3 root root 4096 Sep 4 14:48 metacpan-api | |
drwxr-xr-x 2 root root 4096 Sep 4 13:21 metacpan-explorer | |
drwxrwxr-x 5 metacpan metacpan 4096 Sep 4 15:16 metacpan-vmserver | |
drwxr-xr-x 3 root root 4096 Sep 4 14:48 metacpan-web | |
drwxrwxr-x 4 metacpan metacpan 4096 Sep 8 13:15 metacpan-web-socket |
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
vagrant@metacpan-dev:~/metacpan-api$ ./bin/run bin/metacpan release | |
Attempt to reload Sub/Name.pm aborted. | |
Compilation failed in require at /home/vagrant/carton/metacpan-api/lib/perl5/i686-linux/Class/MOP/Mixin/HasMethods.pm line 17. | |
BEGIN failed--compilation aborted at /home/vagrant/carton/metacpan-api/lib/perl5/i686-linux/Class/MOP/Mixin/HasMethods.pm line 17. | |
Compilation failed in require at /home/vagrant/carton/metacpan-api/lib/perl5/i686-linux/Class/MOP.pm line 25. | |
BEGIN failed--compilation aborted at /home/vagrant/carton/metacpan-api/lib/perl5/i686-linux/Class/MOP.pm line 25. | |
Compilation failed in require at /home/vagrant/carton/metacpan-api/lib/perl5/i686-linux/Moose/Exporter.pm line 13. | |
BEGIN failed--compilation aborted at /home/vagrant/carton/metacpan-api/lib/perl5/i686-linux/Moose/Exporter.pm line 13. | |
Compilation failed in require at /home/vagrant/carton/metacpan-api/lib/perl5/i686-linux/Moose.pm line 18. | |
BEGIN failed--compilation aborted at /home/vagrant/carton/metacpan-api/lib/perl5/i686-linux/Moo |
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
+--------------+--------------+------------+ | |
| host | type | results | | |
O==============O==============O============O | |
| api | author | 11,762 | | |
+--------------+--------------+------------+ | |
| api.bm-mc-02 | author | 11,760 | | |
+--------------+--------------+------------+ | |
| api | dependency | 0 | | |
+--------------+--------------+------------+ | |
| api.bm-mc-02 | dependency | 0 | |
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
if ($args ~ "query=([^&]+)" ) { | |
set $query $1; | |
rewrite ^/search$ https://metacpan.org/search?q=$query?; | |
} | |
rewrite ^/perldoc$ https://metacpan.org/module/$args?; | |
rewrite ^/\~([^/]+)/([^/]+)/?$ https://metacpan.org/release/$1/$2; | |
rewrite ^/\~([^/]+)/([^/]+)/(.+)$ https://metacpan.org/module/$1/$2/$3; | |
rewrite ^/src\/([^/]+)/([^/]+)/(.+)$ https://metacpan.org/source/$1/$2/$3; | |
rewrite ^/dist/([^/]+)/?$ https://metacpan.org/release/$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
use strict; | |
use warnings; | |
use DateTime; | |
use Scalar::Util (); | |
BEGIN { *su_reftype = *Scalar::Util::reftype; } | |
print su_reftype( DateTime->now ); |
OlderNewer