Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/perl
use strict;
use warnings FATAL => 'all';
use utf8;
use open qw(:std :utf8);
use Class::Date qw(date);
use Perl6::Form;
#!/bin/sh
echo ''
date "+%Y-%m-%d %H:%M:%S"
echo ''
cal
echo ''
#!/usr/bin/perl
use strict;
use warnings FATAL => 'all';
use 5.010;
use Data::Dumper;
my $letter = 'a';
my $tmp_filename = '';
#!/usr/bin/perl
use strict;
use warnings FATAL => 'all';
use feature 'say';
sub with_prototype () {
return 100;
}
$ ping -c 5 ivan.bessarabov.ru
PING ivan.bessarabov.ru (95.85.3.93): 56 data bytes
64 bytes from 95.85.3.93: icmp_seq=0 ttl=52 time=73.432 ms
64 bytes from 95.85.3.93: icmp_seq=1 ttl=52 time=100.685 ms
64 bytes from 95.85.3.93: icmp_seq=2 ttl=52 time=123.455 ms
64 bytes from 95.85.3.93: icmp_seq=3 ttl=52 time=146.247 ms
64 bytes from 95.85.3.93: icmp_seq=4 ttl=52 time=66.649 ms
--- ivan.bessarabov.ru ping statistics ---
5 packets transmitted, 5 packets received, 0.0% packet loss
$ curl -v -I https://ivan.bessarabov.ru
* About to connect() to ivan.bessarabov.ru port 443 (#0)
* Trying 95.85.3.93... connected
* successfully set certificate verify locations:
* CAfile: none
CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS alert, Server hello (2):
vagrant@tmp:~/DancerTestProblem$ prove -l
t/croak.t .. 1/?
# Failed test ''
# at t/croak.t line 12.
# '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
# "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
# <html>
# <head>
# <title>Runtime Error</title>
# <link rel="stylesheet" href="/css/error.css" />
vagrant@tmp:~/DancerTestProblem$ prove -l
t/croak.t .. 1/?
# Failed test ''
# at t/croak.t line 12.
# 'GLOB(0x25b0758)'
# doesn't match '(?^:done)'
# Looks like you failed 1 test of 1.
t/croak.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
bessarabov@lol:~/Dropbox/git/App-Comparator$ time perl -Ilib bin/comparator
Name Releas- ▼ Latest Latest # pass fail na un-
PAUSE::Permissions NEILB 2013-12-06 0.07 7 506 3 6 0
Module::Locate NEILB 2013-12-16 1.78 16 554 0 0 0
Net::Dict NEILB 2013-12-23 2.13 18 351 7 0 0
Template::Plugin::HTTP::UserAgent NEILB 2013-12-29 0.06 6 311 0 8 0
Constant::FromGlobal NEILB 2014-01-07 0.05 5 493 0 0 0
Lingua::EN::Numbers NEILB 2014-01-12 1.06 8 460 0 0 0
HTML::Summary NEILB 2014-01-19 0.019 9 317 0 0 0
Apache::OneTimeURL NEILB 2014-01-22 1.32 6 0 0 0 0