view release on metacpan or search on metacpan
lib/App/Toodledo/TaskRole.pm view on Meta::CPAN
has status => ( is => 'rw', isa => 'Int' );
has length => ( is => 'rw', isa => 'Int' );
has priority => ( is => 'rw', isa => 'Int' );
has star => ( is => 'rw', isa => 'Int' );
has added => ( is => 'rw', isa => 'Int' );
has timer => ( is => 'rw', isa => 'Int' );
has timeron => ( is => 'rw', isa => 'Int' );
has note => ( is => 'rw', isa => 'Str' );
has meta => ( is => 'rw', isa => 'Str' );
no Moose;
lib/App/Toodledo/TaskRole.pm view on Meta::CPAN
=head2 star
=head2 added
=head2 timer
=head2 timeron
=head2 note
=head2 meta
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/USBKeyCopyCon.pm view on Meta::CPAN
if it is necessary to prompt for a password. This method handles the different
semantics required to pass environment variables through C<gksudo> and C<sudo>.
=head2 tick ( )
This timer event handler is used to take the child process exit status values
collected by the SIGCHLD handler and pass them to C<master_copy_finished> or
C<copy_finished> as appropriate.
=head2 update_key_progress ( udi, status )
view all matches for this distribution
view release on metacpan or search on metacpan
benchmark.pl view on Meta::CPAN
$script = $ARGV[0];
# declare array
my @data;
# start timer
$start = new Benchmark;
for ($x = 0; $x <= 100; $x++) {
$output = `perl ./$script`;
}
# end timer
$end = new Benchmark;
# calculate difference
$diff = timediff($end, $start);
view all matches for this distribution
view release on metacpan or search on metacpan
- Add --no-long option
- Add --exclude option
- Bind lib & blib earlier, use absolute paths
- Fix parser error on '}'
- Allow -w in tests after preload
- Handle timers better
0.001007 2017-09-11 21:40:28-07:00 America/Los_Angeles
- Properly pass args given via '::'
- Honor NO-STREAM header
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/aep.pm view on Meta::CPAN
$debug->( 'STDERR', __LINE__, "Command started with PID: " . $wheel->PID );
# Tell the kernel to watch this child
poe->kernel->sig_child( $wheel->PID, 'sig_chld' );
# If we are a lock client with a time-based trigger, set the timer now
if ( $opt->lock_client )
{
_lock_trigger_setup();
}
view all matches for this distribution
view release on metacpan or search on metacpan
bin/bmkpasswd view on Meta::CPAN
chomp $pwd;
STDERR->print("\n");
}
my $timer = $bench ? [gettimeofday] : ();
if ($check) {
if ( passwdcmp($pwd, $check) ) {
print "Match\n", "$check\n";
} else {
bin/bmkpasswd view on Meta::CPAN
}
} else {
print mkpasswd($pwd, $type, $bcost, $strong)."\n";
}
if ($bench) {
my $interval = tv_interval($timer);
print " bench: $type, time: $interval\n";
}
__END__
=pod
bin/bmkpasswd view on Meta::CPAN
sha256 (requires recent libc or Crypt::Passwd::XS)
-w, --workcost=NUM Bcrypt work-cost factor; default 08.
Higher is slower. Should be a two-digit power of 2.
-c, --check=HASH Compare password against given HASH
-s, --strong Use strongly-random salt generation
-b, --benchmark Show timers; useful for comparing hash generation
--available List available methods (one per line)
--version Display version information and available methods
If PASSWD is missing, it is prompted for interactively.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/bsky.pm view on Meta::CPAN
warn 'Firehose error: ' . $err;
# Always try to reconnect if not explicitly fatal
if ( !$err->fatal ) {
$self->say('[DEBUG] Attempting to reconnect in 5 seconds...') if $ENV{DEBUG} || 1;
Mojo::IOLoop->timer( 5 => sub { $start_stream->() } );
}
else {
$self->say('[DEBUG] Fatal firehose error. Exiting.') if $ENV{DEBUG} || 1;
Mojo::IOLoop->remove($keepalive);
Mojo::IOLoop->stop;
view all matches for this distribution
view release on metacpan or search on metacpan
#print Dumper(\@args);
#print "lines before=\n";
#print Dumper(\@lines);
# Unusual inputs, namely /* within strings without
# a corresponding */ can cause huge delays so put a timer on this.
my $max_duration_sec = scalar(@lines)/1000.0; # est lines per second
$max_duration_sec = 1.0 if $max_duration_sec < 1;
#print "max_duration_sec=$max_duration_sec\n";
eval {
local $SIG{ALRM} = sub { die "alarm\n" };
view all matches for this distribution
view release on metacpan or search on metacpan
script/cpan-outdated-coro view on Meta::CPAN
my ( $sub, $name ) = @{$ref};
my $num = $num{$name};
### spawn: $name => $num
for my $x (1..$num) {
$cv->begin;
my $w;$w=AE::timer 0,0.0001, sub{
## enter: $name
if ($sub->()) {
undef $w;
$cv->end;
}
view all matches for this distribution
view release on metacpan or search on metacpan
bin/file-watch view on Meta::CPAN
if ( $option{report} ) {
$SIG{INT} = \&report;
}
my $refresh = AE::timer(1, 1, sub { report('changes'); });
AnyEvent::Loop::run;
return;
}
bin/file-watch view on Meta::CPAN
map { $_ => 1 }
grep { $evt->$_() }
@{ $option{type} }
};
push @refresh, AE::timer(1, 0, sub { watch($file); });
return;
}
sub report {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/karr/Foundation.pm view on Meta::CPAN
karr-foundation --status
=head1 DESCRIPTION
F<karr-foundation> is a single-shot, idempotent CLI meant to be invoked
periodically (cron, systemd-timer, while-loop). It scans configured karr
boards, detects changes or open work, and B<drains> each board by invoking the
configured agent command repeatedly until no actionable task remains.
B<Config file:> C<~/.config/karr-foundation/config.yml> (or C<--config>).
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/MadEye/Util.pm view on Meta::CPAN
sub context () { App::MadEye->context } ## no critic.
sub timeout($$&) { ## no critic.
my ( $secs, $msg, $code ) = @_;
context->log(debug => "run timer: '$msg', $secs");;
my $last_alarm = 0;
my $err;
eval {
local $SIG{ALRM} = sub { die "Time out error: $msg" };
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Phoebe.pm view on Meta::CPAN
$log->error("Unable to unlock $lock");
result($stream, "40", "The wiki is locked; try again in a few seconds");
$stream->close_gracefully();
} else {
$log->debug("Waiting $count...");
Mojo::IOLoop->timer(0.2 => sub {
with_lock($stream, $host, $space, $code, $count + 1)});
# don't close the stream
}
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/pscan/Command/Tcp.pm view on Meta::CPAN
RemoteAddress => $host,
RemotePort => $port,
Filter => "POE::Filter::Stream",
# The client has connected. Display some status and prepare to
# gather information. Start a timer that will send ENTER if the
# server does not talk to us for a while.
Connected => sub {
info "connected to $host:$port ...";
$_[HEAP]->{banner_buffer} = [];
$_[KERNEL]->delay( send_enter => 5 );
lib/App/pscan/Command/Tcp.pm view on Meta::CPAN
#error "could not connect to $host:$port ...";
},
# The server has sent us something. Save the information. Stop
# the ENTER timer, and begin (or refresh) an input timer. The
# input timer will go off if the server becomes idle.
ServerInput => sub {
my ( $kernel, $heap, $input ) = @_[ KERNEL, HEAP, ARG0 ];
notice "got input from $host:$port ...";
push @{ $heap->{banner_buffer} }, $input;
$kernel->delay( send_enter => undef );
$kernel->delay( input_timeout => 1 );
},
# These are handlers for additional events not included in the
# default Server::TCP module. In this example, they handle
# timers that have gone off.
InlineStates =>
{ # The server has not sent us anything yet. Send an ENTER
# keystroke (really a network newline, \x0D\x0A), and wait
# some more.
send_enter => sub {
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
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/demo.html view on Meta::CPAN
</p>
</section>
<section>
<h2>Speaker View</h2>
<p>There's a <a href="https://revealjs.com/speaker-view/">speaker view</a>. It includes a timer, preview of the upcoming slide as well as your speaker notes.</p>
<p>Press the <em>S</em> key to try it out.</p>
<aside class="notes">
Oh hey, these are some notes. They'll be hidden in your presentation, but you can see them if you open the speaker notes window (hit 's' on your keyboard).
</aside>
view all matches for this distribution
view release on metacpan or search on metacpan
share/view/index.js view on Meta::CPAN
var mthumb; // thumbnail measurement cache
var eidx; // current index
var tthr; // throbber timeout
var imgs; // image list
var first; // first image
var idle; // general idle timer
var idleMouse; // idle mouse timer
var clayout; // current layout
var csr; // current scaling ratio
var sdir; // scrolling direction
var slideshow; // slideshow status
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/stopw.pm view on Meta::CPAN
our $DATE = '2019-07-06'; # DATE
our $VERSION = '0.041'; # VERSION
1;
# ABSTRACT: A console-based virtual stopwatch and timer
__END__
=pod
=encoding UTF-8
=head1 NAME
App::stopw - A console-based virtual stopwatch and timer
=head1 VERSION
This document describes version 0.041 of App::stopw (from Perl distribution App-stopw), released on 2019-07-06.
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
lib/App/watchdo.pm view on Meta::CPAN
cb => sub {
my @changed = @_;
$self->changed([ @{ $self->changed }, @changed ]);
if ( ! $self->done ) {
$self->done( AE::timer $self->wait, 0, sub { $self->doit() } );
}
},
parse_events => 1,
);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/wmiirc/Battery.pm view on Meta::CPAN
|| ($self->list_bat)[0]);
$self->fade_start_color('#ffffff #aa2222 #ff44cc');
$self->fade_end_color('#ffffff #999922 #ff4444');
my $timer = IO::Async::Timer::Countdown->new(
delay => 30,
on_expire => sub {
my($timer) = @_;
$self->render;
$timer->start;
},
);
$self->render;
$self->core->loop->add($timer);
$timer->start;
}
sub render {
my($self) = @_;
state $previous_power = $self->_bat("power_now");
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/wsgetmail.pm view on Meta::CPAN
delete them. If there are any problems, those will be reported in the error
output. You can update your configuration file and try again until wsgetmail
runs successfully.
Once your configuration is stable, you can configure wsgetmail to run
periodically through cron or a systemd service on a timer.
=head1 ERRORS AND DIAGNOSTIC MESSAGES
wsgetmail sends warning, error, and debug messages to STDERR, while purely
informational messages are sent to STDOUT. Operators may want to capture both
view all matches for this distribution
view release on metacpan or search on metacpan
share/files/public/skins/default/jquery-ui-1.9.1.custom/development-bundle/docs/menu.html view on Meta::CPAN
<li>RIGHT: Open the submenu, if available.</li>
<li>LEFT: Close the current submenu and move focus to the parent menu item. If not in a submenu, do nothing.</li>
<li>ESCAPE: Close the current submenu and move focus to the parent menu item. If not in a submenu, do nothing.</li>
</ul>
<p>Typing a letter moves focus to the first item whose title starts with that character. Repeating the same character cycles through matching items. Typing more characters within the one second timer matches those characters.</p>
<p>Disabled items can receive keyboard focus, but do not allow any other interaction.</p>
</div>
<h3>Additional Notes:</h3>
<div class="longdesc"><ul><li>
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/AquariumHive.pm view on Meta::CPAN
$self->uart;
$self->db;
$self->info("Starting App::AquariumHive (port ".$self->port.")...");
my $t = AE::timer 0, 15, sub { $self->command_aqhive('data') };
AE::cv->recv;
}
sub run_cmd {
view all matches for this distribution
view release on metacpan or search on metacpan
],
"cookies": [],
"content": {
"size": 213057,
"mimeType": "text/html",
"text": "<!doctype html><html itemscope=\"\" itemtype=\"http://schema.org/WebPage\" lang=\"en-AU\"><head><meta content=\"/images/branding/googleg/1x/googleg_standard_color_128dp.png\" itemprop=\"image\"><link href=\"/images/branding/produ...
},
"redirectURL": "",
"headersSize": -1,
"bodySize": -1,
"_transferSize": 68060
],
"cookies": [],
"content": {
"size": 436180,
"mimeType": "text/javascript",
"text": "/* _GlobalPrefix_ */\n/* _Module_:quantum */\ntry{\nvar s_,s_aaa=\"function\"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(c.get||c.set)throw new TypeError(\"ES3 does not support getters and setters.\"...
},
"redirectURL": "",
"headersSize": -1,
"bodySize": 0,
"_transferSize": 0
view all matches for this distribution
view release on metacpan or search on metacpan
unzip-6.0/acorn/riscos.c view on Meta::CPAN
/* Acorn's implementation of localtime() and gmtime()
* doesn't consider the timezone offset, so we have to
* add it before calling the library functions
*/
struct tm *riscos_localtime(const time_t *timer)
{
time_t localt=*timer;
localt+=SWI_Read_Timezone()/100;
return localtime(&localt);
}
struct tm *riscos_gmtime(const time_t *timer)
{
time_t localt=*timer;
localt+=SWI_Read_Timezone()/100;
return gmtime(&localt);
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Argon/Client.pm view on Meta::CPAN
$self->add_msg($copy->id, {
orig => $copy,
cb => $info->{cb},
intvl => $info->{intvl},
retry => 1,
timer => AnyEvent->timer(after => $intvl, cb => K('send', $self, $copy)),
});
return;
}
lib/Argon/Client.pm view on Meta::CPAN
=head2 retry
By default, when the network is at capacity, new tasks may be rejected, causing
L<Argon::Message/result> to croak. If C<retry> is set, the C<Argon::Client>
will instead retry the task on a logarithmic backoff timer until the task is
accepted by the manager.
=head2 opened
A code ref that is triggered when the connection is initially opened.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/ArrayData/Lingua/Word/EN/Enable.pm view on Meta::CPAN
antimaterialists
antimatter
antimatters
antimechanist
antimechanists
antimere
antimeres
antimerger
antimetabolic
antimetabolics
antimetabolite
antimetabolites
antimetaphysical
lib/ArrayData/Lingua/Word/EN/Enable.pm view on Meta::CPAN
timeouts
timepiece
timepieces
timepleaser
timepleasers
timer
timers
times
timesaver
timesavers
timesaving
timescale
view all matches for this distribution
view release on metacpan or search on metacpan
lib/ArrayData/Lingua/Word/EN/Medical/Glutanimate.pm view on Meta::CPAN
antilyssic
antilytic
antimalarial
antimalarials
antimephitic
antimere
antimesenteric
antimetabolite
antimetabolites
antimethemoglobinemi
antimethemoglobinemic
lib/ArrayData/Lingua/Word/EN/Medical/Glutanimate.pm view on Meta::CPAN
multilocular
multilocularis
multiloculated
multimammae
multimammate
multimer
multimodal
multinodular
multinucleate
multiocular
multiorgan
lib/ArrayData/Lingua/Word/EN/Medical/Glutanimate.pm view on Meta::CPAN
phototaxes
phototaxis
phototherapy
photothermal
photothermy
phototimer
phototonus
phototoxic
phototoxicities
phototoxicity
phototransduction
lib/ArrayData/Lingua/Word/EN/Medical/Glutanimate.pm view on Meta::CPAN
timbre
timbromania
time
Timecaps
Timentin
timer
Timofeew's
Timolide
timolol
Timoptic
timothy
view all matches for this distribution