view release on metacpan or search on metacpan
lib/DNSQuery/Validator.pm view on Meta::CPAN
=cut
sub validate_timeout {
my ($timeout) = @_;
return (0, "Timeout is required")
unless defined $timeout;
return (0, "Timeout must be numeric")
unless $timeout =~ /^\d+$/;
return (0, "Timeout must be at least $MIN_TIMEOUT second(s)")
if $timeout < $MIN_TIMEOUT;
return (1, undef);
}
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Install/Fetch.pm view on Meta::CPAN
if (eval { require LWP::Simple; 1 }) {
LWP::Simple::mirror($args{url}, $file);
}
elsif (eval { require Net::FTP; 1 }) { eval {
# use Net::FTP to get past firewall
my $ftp = Net::FTP->new($host, Passive => 1, Timeout => 600);
$ftp->login("anonymous", 'anonymous@example.com');
$ftp->cwd($path);
$ftp->binary;
$ftp->get($file) or (warn("$!\n"), return);
$ftp->quit;
view all matches for this distribution
view release on metacpan or search on metacpan
script/govproc-pericmd view on Meta::CPAN
Need to be root to be able to setuid.
=back
=head2 Timeout options
=over
=item B<--timeout>=I<s>
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Install/Fetch.pm view on Meta::CPAN
if (eval { require LWP::Simple; 1 }) {
LWP::Simple::mirror($args{url}, $file);
}
elsif (eval { require Net::FTP; 1 }) { eval {
# use Net::FTP to get past firewall
my $ftp = Net::FTP->new($host, Passive => 1, Timeout => 600);
$ftp->login("anonymous", 'anonymous@example.com');
$ftp->cwd($path);
$ftp->binary;
$ftp->get($file) or (warn("$!\n"), return);
$ftp->quit;
view all matches for this distribution
view release on metacpan or search on metacpan
script/httpstatus view on Meta::CPAN
403 => 'Forbidden',
404 => 'Not Found',
405 => 'Method Not Allowed',
406 => 'Not Acceptable',
407 => 'Proxy Authentication Required',
408 => 'Request Timeout',
409 => 'Conflict',
410 => 'Gone',
411 => 'Length Required',
412 => 'Precondition Failed',
413 => 'Request Entity Too Large',
script/httpstatus view on Meta::CPAN
],
500 => 'Internal Server Error',
501 => 'Not Implemented',
502 => 'Bad Gateway',
503 => 'Service Unavailable',
504 => 'Gateway Timeout',
505 => 'HTTP Version Not Supported',
506 => 'Variant Also Negotiates', # RFC 2295
507 => 'Insufficient Storage', # RFC 2518 (WebDAV)
508 => 'Loop Detected', # RFC 5842 (WebDAV)
509 => 'Bandwidth Limit Exceeded (Apache Web Server/cPanel)', # unofficial
script/httpstatus view on Meta::CPAN
511 => 'Network Authentication Required', # RFC 6585
520 => 'Unknown Error (Cloudfare)', # unofficial
521 => 'Web Server Is Down (Cloudfare)', # unofficial
522 => 'Connection Timed Out (Cloudfare)',# unofficial
523 => 'Origin Is Unreachable (Cloudfare)', # unofficial
524 => 'A Timeout Occurred (Cloudfare)', # unofficial
525 => 'SSL Handshake Failed (Cloudfare)',# unofficial
526 => 'Invalid SSL Certificate (Cloudfare)', # unofficial
527 => 'Railgun Error (Cloudfare)', # unofficial
530 => [
'Site is frozen (Pantheon)', # unofficial
script/httpstatus view on Meta::CPAN
403 Forbidden
404 Not Found
405 Method Not Allowed
406 Not Acceptable
407 Proxy Authentication Required
408 Request Timeout
409 Conflict
410 Gone
411 Length Required
412 Precondition Failed
413 Request Entity Too Large
script/httpstatus view on Meta::CPAN
403 Forbidden
404 Not Found
405 Method Not Allowed
406 Not Acceptable
407 Proxy Authentication Required
408 Request Timeout
409 Conflict
% httpstatus 500
Internal Server Error
view all matches for this distribution
view release on metacpan or search on metacpan
403 => 'Forbidden',
404 => 'Not Found',
405 => 'Method Not Allowed',
406 => 'Not Acceptable',
407 => 'Proxy Authentication Required',
408 => 'Request Timeout',
409 => 'Conflict',
410 => 'Gone',
411 => 'Length Required',
412 => 'Precondition Failed',
413 => 'Request Entity Too Large',
449 => 'Retry with', # unofficial Microsoft
500 => 'Internal Server Error',
501 => 'Not Implemented',
502 => 'Bad Gateway',
503 => 'Service Unavailable',
504 => 'Gateway Timeout',
505 => 'HTTP Version Not Supported',
506 => 'Variant Also Negotiates', # RFC 2295
507 => 'Insufficient Storage', # RFC 2518 (WebDAV)
509 => 'Bandwidth Limit Exceeded', # unofficial
510 => 'Not Extended', # RFC 2774
403 Forbidden
404 Not Found
405 Method Not Allowed
406 Not Acceptable
407 Proxy Authentication Required
408 Request Timeout
409 Conflict
410 Gone
411 Length Required
412 Precondition Failed
413 Request Entity Too Large
403 Forbidden
404 Not Found
405 Method Not Allowed
406 Not Acceptable
407 Proxy Authentication Required
408 Request Timeout
409 Conflict
% httpstatus 500
Internal Server Error
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Install/Fetch.pm view on Meta::CPAN
if (eval { require LWP::Simple; 1 }) {
LWP::Simple::mirror($args{url}, $file);
}
elsif (eval { require Net::FTP; 1 }) { eval {
# use Net::FTP to get past firewall
my $ftp = Net::FTP->new($host, Passive => 1, Timeout => 600);
$ftp->login("anonymous", 'anonymous@example.com');
$ftp->cwd($path);
$ftp->binary;
$ftp->get($file) or (warn("$!\n"), return);
$ftp->quit;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/karr/Cmd/Handoff.pm view on Meta::CPAN
use App::karr::Role::Output;
use App::karr::Task;
use App::karr::Config;
use Time::Piece;
with 'App::karr::Role::BoardAccess', 'App::karr::Role::Output', 'App::karr::Role::ClaimTimeout';
option claim => (
is => 'ro',
format => 's',
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Install/Fetch.pm view on Meta::CPAN
if (eval { require LWP::Simple; 1 }) {
LWP::Simple::mirror($args{url}, $file);
}
elsif (eval { require Net::FTP; 1 }) { eval {
# use Net::FTP to get past firewall
my $ftp = Net::FTP->new($host, Passive => 1, Timeout => 600);
$ftp->login("anonymous", 'anonymous@example.com');
$ftp->cwd($path);
$ftp->binary;
$ftp->get($file) or (warn("$!\n"), return);
$ftp->quit;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/MadEye/Plugin/Agent/DJabberd.pm view on Meta::CPAN
my $select_timeout = $conf->{select_timeout} || 3;
my $sock = IO::Socket::INET->new(
PeerAddr => $host,
PeerPort => $admin_port,
Timeout => $open_socket_timeout,
);
unless ($sock) {
return "Cannot open Socket to $host:$admin_port : $!";
}
$sock->blocking(0);
view all matches for this distribution
view release on metacpan or search on metacpan
scripts/mailmake view on Meta::CPAN
_die( "No SMTP host specified. Use --smtp-host (or --print to output the message instead)." );
}
my %smtp_opts = (
Host => $opts->{smtp_host},
Timeout => $opts->{smtp_timeout} // 30,
);
$smtp_opts{Port} = $opts->{smtp_port} if( defined( $opts->{smtp_port} ) );
$smtp_opts{SSL} = 1 if( $opts->{smtp_tls} );
$smtp_opts{StartTLS} = 1 if( $opts->{smtp_starttls} );
$smtp_opts{Username} = $opts->{smtp_user} if( defined( $opts->{smtp_user} ) );
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Install/Fetch.pm view on Meta::CPAN
if (eval { require LWP::Simple; 1 }) {
LWP::Simple::mirror($args{url}, $file);
}
elsif (eval { require Net::FTP; 1 }) { eval {
# use Net::FTP to get past firewall
my $ftp = Net::FTP->new($host, Passive => 1, Timeout => 600);
$ftp->login("anonymous", 'anonymous@example.com');
$ftp->cwd($path);
$ftp->binary;
$ftp->get($file) or (warn("$!\n"), return);
$ftp->quit;
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Install/Fetch.pm view on Meta::CPAN
if (eval { require LWP::Simple; 1 }) {
LWP::Simple::mirror($args{url}, $file);
}
elsif (eval { require Net::FTP; 1 }) { eval {
# use Net::FTP to get past firewall
my $ftp = Net::FTP->new($host, Passive => 1, Timeout => 600);
$ftp->login("anonymous", 'anonymous@example.com');
$ftp->cwd($path);
$ftp->binary;
$ftp->get($file) or (warn("$!\n"), return);
$ftp->quit;
view all matches for this distribution
view release on metacpan or search on metacpan
script/mojopaste view on Meta::CPAN
["cs"]);p(v({keywords:N,cStyleComments:!0}),["java"]);p(v({keywords:y,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]);p(v({keywords:P,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]);p(v({keywords:...
hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]);p(v({keywords:E,cStyleComments:!0,regexLiterals:!0}),["javascript","js"]);p(v({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,...
p(C([],[["str",/^[\S\s]+/]]),["regex"]);var Y=D.PR={createSimpleLexer:C,registerLangHandler:p,sourceDecorator:v,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",PR_NOCODE:"nocode",PR...
return b.innerHTML},prettyPrint:D.prettyPrint=function(a,d){function g(){for(var b=D.PR_SHOULD_USE_CONTINUATION?c.now()+250:Infinity;i<p.length&&c.now()<b;i++){for(var d=p[i],j=h,k=d;k=k.previousSibling;){var m=k.nodeType,o=(m===7||m===8)&&k.nodeVa...
o.className&&e.test(o.className)){m=!0;break}if(!m){d.className+=" prettyprinted";m=j.lang;if(!m){var m=k.match(n),y;if(!m&&(y=U(d))&&t.test(y.tagName))m=y.className.match(n);m&&(m=m[1])}if(w.test(d.tagName))o=1;else var o=d.currentStyle,u=s.defaul...
{h:m,c:d,j:u,i:o};K(r)}}}i<p.length?setTimeout(g,250):"function"===typeof a&&a()}for(var b=d||document.body,s=b.ownerDocument||document,b=[b.getElementsByTagName("pre"),b.getElementsByTagName("code"),b.getElementsByTagName("xmp")],p=[],m=0;m<b.leng...
h={};g()}};typeof define==="function"&&define.amd&&define("google-code-prettify",[],function(){return Y})})();}()
</script>
</head>
<body class="<%= $embed =~ /nav/ ? 'has-nav' : '' %>">
script/mojopaste view on Meta::CPAN
<script>
try {
var chart = document.getElementById('chart');
var tid, resize = function() { chart.style.height = (window.innerHeight - chart.offsetTop) + 'px' };
resize();
window.onresize = function() { if (tid) clearTimeout(tid); var tid = setTimeout(resize, 10); }
new Morris.Line(<%== Mojo::JSON::encode_json(stash 'chart') %>);
} catch(e) {
document.getElementById('chart').innerHTML = 'Invalid chart data. ' + e;
}
</script>
view all matches for this distribution
view release on metacpan or search on metacpan
t/samples/percona-compiled.txt view on Meta::CPAN
--innodb-large-prefix
Support large index prefix length of
REC_VERSION_56_MAX_INDEX_COL_LEN (3072) bytes.
(Defaults to on; use --skip-innodb-large-prefix to disable.)
--innodb-lock-wait-timeout=#
Timeout in seconds an InnoDB transaction may wait for a
lock before being rolled back. Values above 100000000
disable the timeout.
--innodb-locks-unsafe-for-binlog
DEPRECATED. This option may be removed in future
releases. Please use READ COMMITTED transaction isolation
t/samples/percona-compiled.txt view on Meta::CPAN
Set the language used for the month names and the days of
the week.
--local-infile Enable LOAD DATA LOCAL INFILE
(Defaults to on; use --skip-local-infile to disable.)
--lock-wait-timeout=#
Timeout in seconds to wait for a lock before returning an
error.
--log-bin[=name] Log update queries in binary format. Optional (but
strongly recommended to avoid replication problems if
server's hostname changes) argument should be the chosen
location for the binary log files.
t/samples/percona-compiled.txt view on Meta::CPAN
--require-secure-transport
When this option is enabled, connections attempted using
insecure transport will be rejected. Secure transports
are SSL/TLS, Unix socket or Shared Memory (on Windows).
--rpl-stop-slave-timeout=#
Timeout in seconds to wait for slave to stop before
returning a warning.
--safe-user-create Don't allow new user creation by the user who has no
write privileges to the mysql.user table.
--secure-auth Disallow authentication for accounts that have old
(pre-4.1) passwords. Deprecated. Always TRUE.
t/samples/percona-compiled.txt view on Meta::CPAN
high priority queue completely.
--thread-pool-high-prio-tickets=#
Number of tickets to enter the high priority event queue
for each transaction.
--thread-pool-idle-timeout=#
Timeout in seconds for an idle thread in the thread
pool.Worker thread will be shut down after timeout
--thread-pool-max-threads=#
Maximum allowed number of worker threads in the thread
pool
--thread-pool-oversubscribe=#
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/pepper.pm view on Meta::CPAN
}
}
sub handle_timeout {
$epp->{'timeout'} = int($_[0]);
note("Timeout set to %ds", $_[0]);
return 1;
}
sub handle_ssl {
if ($epp->connected) {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Phoebe.pm view on Meta::CPAN
}
sub process_titan {
my ($stream, $request, $upload, $buffer, $size) = @_;
eval {
local $SIG{'ALRM'} = sub { $log->error("Timeout processing upload $request") };
alarm(10); # timeout
save_page($stream, $upload->{host}, $upload->{space}, $upload->{id},
$upload->{params}->{mime}, $buffer, $size);
alarm(0);
};
lib/App/Phoebe.pm view on Meta::CPAN
sub process_gemini {
my ($stream, $url) = @_;
eval {
local $SIG{'ALRM'} = sub {
$log->error("Timeout processing $url");
};
alarm(10); # timeout
my $hosts = host_regex();
my $port = port($stream);
my $spaces = space_regex();
view all matches for this distribution
view release on metacpan or search on metacpan
exit 0;
},
);
if (defined $timeout && $timeout < 0) {
usage "Timeout must be positive";
}
my $lock_file = shift
or usage "Lock file is not specified";
my $cmd = shift
view all matches for this distribution
view release on metacpan or search on metacpan
bin/plx-packed view on Meta::CPAN
$fatpacked{"File/pushd.pm"} = '#line '.(1+__LINE__).' "'.__FILE__."\"\n".<<'FILE_PUSHD';
use strict;use warnings;package File::pushd;our$VERSION='1.009';our@EXPORT=qw(pushd tempd);our@ISA=qw(Exporter);use Exporter;use Carp;use Cwd qw(getcwd abs_path);use File::Path qw(rmtree);use File::Temp qw();use File::Spec;use overload q{""}=>sub...
FILE_PUSHD
$fatpacked{"HTTP/Tiny.pm"} = '#line '.(1+__LINE__).' "'.__FILE__."\"\n".<<'HTTP_TINY';
package HTTP::Tiny;use strict;use warnings;our$VERSION='0.056';use Carp ();my@attributes;BEGIN {@attributes=qw(cookie_jar default_headers http_proxy https_proxy keep_alive local_address max_redirect max_size proxy no_proxy timeout SSL_options ver...
sub $sub_name {
my (\$self, \$url, \$args) = \@_;
\@_ == 2 || (\@_ == 3 && ref \$args eq 'HASH')
or Carp::croak(q/Usage: \$http->$sub_name(URL, [HASHREF])/ . "\n");
return \$self->request('$req_method', \$url, \$args || {});
view all matches for this distribution
view release on metacpan or search on metacpan
script/proxyforurl view on Meta::CPAN
get '/v1/template' => {template => 'template'};
helper host_to_ip_p => sub ($c, $host) {
return Mojo::IOLoop->subprocess->run_p(sub (@) {
local $SIG{ALRM} = sub { die 'Timeout!' };
alarm 2;
my ($err, @info) = getaddrinfo $host;
return undef if $err;
@info = grep { $_->{family} & (AF_INET6 | AF_INET) } @info;
script/proxyforurl view on Meta::CPAN
@info = sort { $b->{pri} <=> $a->{pri} } @info;
return @info && $info[0]{ip} || undef;
})->catch(
sub ($err, @) {
return $err =~ m!Timeout! ? undef : Mojo::Promise->reject($err);
}
);
};
if (my $env_base = $ENV{PROXYFORURL_X_REQUEST_BASE}) {
script/proxyforurl view on Meta::CPAN
return true;
}
_animate(start) {
const method = start ? 'setAttribute' : 'removeAttribute';
setTimeout(() => {
this.form.querySelector('button')[method]('aria-busy', true);
}, (start ? 1 : 350));
}
async _init() {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/pscan/Command/Discover.pm view on Meta::CPAN
my $self = shift;
info 'Ping for ' . $self->{'IP'}->ip();
POE::Component::Client::Ping->spawn(
Alias => 'pinger', # The component's name will be "pinger".
Timeout => 15, # The default ping timeout.
);
# Create a session that will use the pinger. Its parameters match
# event names with the functions that will handle them.
POE::Session->create(
view all matches for this distribution
view release on metacpan or search on metacpan
t/tlib/BashRunner.pm view on Meta::CPAN
close $write_fh;
close $read_fh;
local $SIG{ALRM} = sub {
kill 'HUP', $rd_pid; # kick the shell on our way out
die "Timeout(${maxt}s) waiting for @cmd";
};
some_alarm($maxt);
my $out = join '', <$shout_fh>;
close $shout_fh;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/remarkpl/public/remark.min.js view on Meta::CPAN
require=function e(t,a,r){function s(i,l){if(!a[i]){if(!t[i]){var o="function"==typeof require&&require;if(!l&&o)return o(i,!0);if(n)return n(i,!0);var c=new Error("Cannot find module '"+i+"'");throw c.code="MODULE_NOT_FOUND",c}var d=a[i]={exports:{}...
a.relevance>r.relevance&&(s=r,r=a)}),s.language&&(r.second_best=s),r}function u(e){return N.tabReplace||N.useBR?e.replace(x,function(e,t){return N.useBR&&"\n"===e?"<br>":N.tabReplace?t.replace(/\t/g,N.tabReplace):void 0}):e}function h(e,t,a){var r=t?...
}),e.COMMENT("#cs","#ce"),e.COMMENT("#comments-start","#comments-end")]},n={begin:"\\$[A-z0-9_]+"},i={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},l={va...
beginKeywords:"class interface",end:/[{;=]/,illegal:/[^\s:]/,contains:[e.TITLE_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",end:/[{;=]/,illegal:/[^\s:]/,contains:[e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),...
},a={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},r={className:"symbol",variants:[{begin:/\=[lgenxc]=/},{begin:/\$/}]},s={className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[e.BACKSL...
},{begin:":\\s*"+t}]}]}}},{name:"hsp",create:function(e){return{case_insensitive:!0,lexemes:/[\w\._]+/,keywords:"goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mca...
},contains:[t,{className:"keyword",begin:"\\bend\\sif\\b"},{className:"function",beginKeywords:"function",end:"$",contains:[t,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,r]},{className:"function",begin:"\\bend\\s+",e...
contains:[{className:"comment",begin:/\(\*/,end:/\*\)/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{begin:/\{/,end:/\}/,illegal:/:/}]}}},{name:"matlab",create:function(e){var t=[e.C_NUMBER_MODE,{className:"string",begin:"'",end:"'",contai...
illegal:"</",contains:[e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:"[\\$\\%\\@](\\^\\w\\b|#\\w+|[^\\s\\w{]|{\\w+}|\\w+)"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_M...
contains:[i]});return{aliases:["ps"],lexemes:/-?[A-z\.\-]+/,case_insensitive:!0,keywords:{keyword:"if else foreach return function do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try...
},{className:"meta",begin:"#\\!?\\[",end:"\\]",contains:[{className:"meta-string",begin:/"/,end:/"/}]},{className:"class",beginKeywords:"type",end:";",contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{endsParent:!0})],illegal:"\\S"},{className:"class",beg...
literal:"true false nil"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.NUMBER_MODE,a,t.preprocessor],illegal:/#/}}},{name:"sql",create:function(e){var t=e.COMMENT("--","$");return{case_insensitive:!0,illegal:/[<>{}*#]/,contains:[{beginKey...
return{aliases:["styl"],case_insensitive:!1,keywords:"if else for in",illegal:"("+o.join("|")+")",contains:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,{begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*"+i,returnBegin:!0,cont...
built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx...
"atelier-lakeside-light":".hljs-atelier-lakeside-light .hljs-comment,.hljs-atelier-lakeside-light .hljs-quote{color:#5a7b8c}.hljs-atelier-lakeside-light .hljs-variable,.hljs-atelier-lakeside-light .hljs-template-variable,.hljs-atelier-lakeside-light ...
grayscale:".hljs-grayscale .hljs{display:block;overflow-x:auto;padding:.5em;color:#333;background:#fff}.hljs-grayscale .hljs-comment,.hljs-grayscale .hljs-quote{color:#777;font-style:italic}.hljs-grayscale .hljs-keyword,.hljs-grayscale .hljs-selector...
"solarized-dark":".hljs-solarized-dark .hljs{display:block;overflow-x:auto;padding:.5em;background:#002b36;color:#839496}.hljs-solarized-dark .hljs-comment,.hljs-solarized-dark .hljs-quote{color:#586e75}.hljs-solarized-dark .hljs-keyword,.hljs-solari...
containerLayout:'<div class="remark-notes-area">\n <div class="remark-top-area">\n <div class="remark-toolbar">\n <a class="remark-toolbar-link" href="#increase">+</a>\n <a class="remark-toolbar-link" href="#decrease">-</a>\n <span...
view all matches for this distribution
view release on metacpan or search on metacpan
share/revealjs/dist/reveal.esm.js view on Meta::CPAN
* https://revealjs.com
* MIT licensed
*
* Copyright (C) 2011-2022 Hakim El Hattab, https://hakim.se
*/
const e=(e,t)=>{for(let i in t)e[i]=t[i];return e},t=(e,t)=>Array.from(e.querySelectorAll(t)),i=(e,t,i)=>{i?e.classList.add(t):e.classList.remove(t)},a=e=>{if("string"==typeof e){if("null"===e)return null;if("true"===e)return!0;if("false"===e)return!...
//# sourceMappingURL=reveal.esm.js.map
view all matches for this distribution
view release on metacpan or search on metacpan
share/view/index.js view on Meta::CPAN
{
if(i < 0) i = m + i;
return i % m;
}
function resetTimeout(id)
{
if(id) clearTimeout(id)
return null;
}
function hideCap(nodelay)
{
captm = resetTimeout(captm);
if(!nodelay)
ecap.tween('opacity', 0);
else
{
ecap.get('tween').cancel();
share/view/index.js view on Meta::CPAN
if(!cap || (cap[0].length + cap[1].length == 0))
{
hideCap(true);
return;
}
captm = resetTimeout(captm);
ecap.get('tween').cancel();
if(nodelay) ecap.fade('show');
else ecap.tween('opacity', 1);
ecap.setStyle('display', 'block');
if(capst != 'always')
share/view/index.js view on Meta::CPAN
{
eback.src = encodeURI(imgs.data[eidx].blur);
enoise.setStyle('background-position', rp + 'px ' + rp + 'px');
}
tthr = resetTimeout(tthr);
idle.start();
if(slideshow != 'on') showHdr();
centerThumb(d);
// prefetch next image
share/view/index.js view on Meta::CPAN
if(cthumb) cthumb.removeClass('current');
cthumb = imgs.data[eidx].ethumb;
cthumb.addClass('current');
resetTimeout(tthr);
tthr = showThrobber.delay(thrdelay);
}
function getLocationIndex()
{
view all matches for this distribution
view release on metacpan or search on metacpan
script/ucpan view on Meta::CPAN
my $diag_msg;
*App::cpanminus::script::_diag = sub {
my ( $self, $m, $a, $e ) = @_;
$state->{fail} = ( $state->{phase} || 'N/A' ) if $e;
if ( $m =~ /^! Timed out/ ) {
$state->{phase} .= "(Timeout)";
}
};
*App::cpanminus::script::install_module = sub {
my ( $self, $m, $d, $v ) = @_;
return 1 if $self->{seen}{$m};
script/ucpan view on Meta::CPAN
pr( DEFAULT => '--> ' . $dist . '..' );
}
else {
pr_progress($state);
}
pr( FAIL => "Timeout!!.." ) if $state->{fail} =~ /timeout/i;
pr( FAIL => "FAIL" );
pr( DEFAULT => "($elapse_one sec)" . $/ );
}
$state = $state->{prev};
return $res;
script/ucpan view on Meta::CPAN
L<cpanm> creates a symbolic link of the latest build log and working directory directly under $HOME/.cpanm,
but it is not created under Win32 environment.
ucpan can emulate symlink() and create it using Win32's mklink command.
(There is no one working in FAT32 environment anymore, is it?)
=item Timeout
L<cpanm> ignores the --*-timeout option in Win32 environment,
but in Win32 environment SIGALARM can also be used to implement timeout processing.
ucpan implements this.
view all matches for this distribution
view release on metacpan or search on metacpan
eg/public/javascripts/jquery.js view on Meta::CPAN
/*! jQuery v3.4.1 | (c) JS Foundation and other contributors | jquery.org/license */
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof windo...
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Install/Fetch.pm view on Meta::CPAN
if (eval { require LWP::Simple; 1 }) {
LWP::Simple::mirror($args{url}, $file);
}
elsif (eval { require Net::FTP; 1 }) { eval {
# use Net::FTP to get past firewall
my $ftp = Net::FTP->new($host, Passive => 1, Timeout => 600);
$ftp->login("anonymous", 'anonymous@example.com');
$ftp->cwd($path);
$ftp->binary;
$ftp->get($file) or (warn("$!\n"), return);
$ftp->quit;
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Install/Fetch.pm view on Meta::CPAN
if (eval { require LWP::Simple; 1 }) {
LWP::Simple::mirror($args{url}, $file);
}
elsif (eval { require Net::FTP; 1 }) { eval {
# use Net::FTP to get past firewall
my $ftp = Net::FTP->new($host, Passive => 1, Timeout => 600);
$ftp->login("anonymous", 'anonymous@example.com');
$ftp->cwd($path);
$ftp->binary;
$ftp->get($file) or (warn("$!\n"), return);
$ftp->quit;
view all matches for this distribution