Skip to content

Instantly share code, notes, and snippets.

View zoffixznet's full-sized avatar
💭
😂

Zoffix Znet zoffixznet

💭
😂
View GitHub Profile
#!/usr/bin/env perl
use strict;
use warnings;
use Mojo::UserAgent;
use Data::Dumper;
use 5.020;
use Mojo::DOM;
my $d = Mojo::DOM->new("<div class=\"section even\"><h1>UTC-12</h1><div class=\"cloud scloud w90\"><ul><li id=\"c0\"><a class=\"s1 country multizone bold\" href=\"U.S._Minor_Outlying_Islands\" onmouseout=\"hvr(0)\" onmouseover=\"hvr(0,1)\">Illes Perif\x{e8}riques Menors dels EUA</a>
Stage start : 0.000
Stage parse : Killed
make: *** [CORE.setting.moarvm] Error 137
Command failed (status 512): make
Failed running /home/zoffix/perl5/perlbrew/perls/perl-5.20.2/bin/perl Configure.pl --backends=moar --gen-moar --git-reference=/home/zoffix/.rakudobrew/bin/../git_reference --make-install at /home/zoffix/.rakudobrew/bin/rakudobrew line 57.
main::run("/home/zoffix/perl5/perlbrew/perls/perl-5.20.2/bin/perl Config"...) called at /home/zoffix/.rakudobrew/bin/rakudobrew line 377
main::build_impl("moar", undef, "") called at /home/zoffix/.rakudobrew/bin/rakudobrew line 113
t/vim_colour.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/7 subtests
Test Summary Report
-------------------
t/vim_colour.t (Wstat: 256 Tests: 7 Failed: 1)
Failed test: 4
Non-zero exit status: 1
Files=1, Tests=7, 16 wallclock secs ( 0.04 usr 0.00 sys + 13.94 cusr 0.93 csys = 14.91 CPU)
zoffix@ZofMain:/tmp/tmp.kp4DRBh6nj/perl6-mime-types$ panda install .
==> Installing MIME::Types from a local directory '.'
==> Fetching MIME::Types
==> Building MIME::Types
==> Testing MIME::Types
t/mime.t .. ok
All tests successful.
Files=1, Tests=5, 2 wallclock secs ( 0.01 usr 0.01 sys + 2.02 cusr 0.07 csys = 2.11 CPU)
Result: PASS
==> Installing MIME::Types
$ panda install Text::VimColour
==> Fetching Text::VimColour
==> Building Text::VimColour
==> Testing Text::VimColour
t/vim_colour.t .. ok
All tests successful.
Files=1, Tests=7, 15 wallclock secs ( 0.04 usr 0.00 sys + 13.93 cusr 0.97 csys = 14.94 CPU)
Result: PASS
==> Installing Text::VimColour
Failed to copy '/var/www/tmp/p6high.xtatik.org/.panda-work/1449084519_1/lib/Text/VimColour' to '/home/zoffix/.rakudobrew/moar-nom/install/share/perl6/site/sources/BF910D4415C643998A88BA4D769B08F4F62116BD': Failed to copy file: no such file or directory
$ ls /home/zoffix/.rakudobrew/moar-nom/install/share/perl6/site/sources/
005415F8F10DCD9AD8E8FCC88956EED1709AC6C5 44D982901576F0C3F3B2090CD2EA2AF72BC73FA5 93418432357AB4D677AB54189951FB3F27213EF8 C5CCE7811A75094BA8C62F2868976E66072C5E4C
056E9784DD5AE588D64204EE5DA9D4164FBA6578 49099C0BA8321ADD0B54529408469E72D1D7A16B 975933ACECE39F1E7F45C8462A36E4BEC4FE8886 CC2BE56BE519159C9EB79B69D4081564A2B8BA41
07F336F7AA00E9602BDCED40D06DDB5C55D1FF0D 4C4640A86FE0851D83E08A2A7062B8ECB631E786 98871F12D2B967E779106E83594ECC82FEB36C08 CC939032B318A04989E71203F5F826AC99BA3841
0A03E3721D3B9209D109C00B7CE94FB00BA91982 53EBF424B0F490AE32852554D1C98C843C4E5B85 9C7F6F95349E5499FD167EC7459F9AA689F9F617 CD8250117807E629263B3EAC46BC319E87D6A24A
0E0A02272DEAE188495CC32121B8E4AD81887F01 5AB349BCECA562DD73D76899709001BD2E6D0690 9E891778C8654EF9CCEB3D97CCF6E7B8B2FA686B D15C25309A0B81ED36C3440D93E8BD026B506FFE
12B68170FA24305B63B92A632210E0C23C383DF2 5EAEA5C5A0441F334B76128A966FD67BEC7EA848 A31E8BDCF4F2327336F9C9F2A613E2B1
use v6;
my $css = q:to/END/;
<!--
pre { white-space: pre-wrap; font-family: monospace; color: #000000; background-color: #ffffff; }
body { font-family: monospace; color: #000000; background-color: #ffffff; }
* { font-size: 1em; }
.Constant { color: #0000c0; text-decoration: underline; }
.Comment { color: #c00000; font-weight: bold; }
.Special { color: #c000c0; font-weight: bold; }
.Identifier { color: #804000; text-decoration: underline; }
use v6;
my $css = q:to/END/;
<!--
pre { white-space: pre-wrap; font-family: monospace; color: #000000; background-color: #ffffff; }
body { font-family: monospace; color: #000000; background-color: #ffffff; }
* { font-size: 1em; }
.Constant { color: #0000c0; text-decoration: underline; }
.Comment { color: #c00000; font-weight: bold; }
.Special { color: #c000c0; font-weight: bold; }
.Identifier { color: #804000; text-decoration: underline; }
#!/usr/bin/env perl
use strict;
use warnings;
use 5.022;
use Mojo::Util qw/slurp decode encode/;
my $line = 1;
my $code = join "\n", map sprintf('%2d %s', $line++, $_),
Saw 1 occurrence of deprecated code.
================================================================================
Method chars-supply (from IO::Socket::Async) seen at:
spy-bot.pl6, line 9
Please use Supply instead.
--------------------------------------------------------------------------------
Please contact the author to have these occurrences of deprecated code
adapted, so that this message will disappear!