view release on metacpan or search on metacpan
lib/Mnet/Opts/Cli/Cache.pm view on Meta::CPAN
# init output extra cli args, from ARGV if Mnet::Opts::Cli is not loaded
my @extras = @Mnet::Opts::Cli::Cache::extras;
@extras = @ARGV if not $INC{"Mnet/Opts/Cli.pm"};
# next overlay output opts with Mnet opts read from Mnet::Opts::Cli->new
# opts with dashes would be a pain, because of need to xlate underscores
if ($INC{"Mnet/Opts/Cli.pm"}) {
foreach my $opt (keys %$Mnet::Opts::Cli::defined) {
if ($opt =~ /^(batch|debug|quiet|record|replay|silent|tee|test)$/) {
$opts->{$opt} = $Mnet::Opts::Cli::Cache::opts->{$opt};
}
}
}
# finally overlay input options on top of any Mnet pragma and Mnet options
$opts->{$_} = $input->{$_} foreach keys %$input;
# finished new method, return opts hash, and extra args in list context
return wantarray ? ($opts, @extras) : $opts
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Module/Build/Base.pm view on Meta::CPAN
}
return $ph->{features}->access($key, @_);
}
# No args - get the auto_features & overlay the regular features
my %features;
my %auto_features = $ph->{auto_features}->access();
while (my ($name, $info) = each %auto_features) {
my $failures = $self->prereq_failures($info);
my $disabled = grep( /^(?:\w+_)?(?:requires|conflicts)$/,
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Mojar/Cron/Holiday.pm view on Meta::CPAN
my $regional = Mojar::Cron::Holiday->new(holidays => {
'2014-12-25' => 0, # We work Christmas Day
'2014-12-26' => 1 # but get Boxing Day in lieu
});
$regional->linked($national); # regional is an overlay on national
say 'Booo!' unless $regional->holiday('2014-12-25');
say 'Phew!'
if $regional->holiday('2014-12-24') and $regional->holiday('2014-12-26');
=head1 DESCRIPTION
view all matches for this distribution
view release on metacpan or search on metacpan
files/SHJS/sh_vampire.css
files/SHJS/sh_vampire.min.css
files/SHJS/sh_vim.css
files/SHJS/sh_vim.min.css
files/css/mojito.css
files/css/ui-lightness/images/animated-overlay.gif
files/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png
files/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png
files/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png
files/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png
files/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png
view all matches for this distribution
view release on metacpan or search on metacpan
t/complex.html view on Meta::CPAN
<script async="" src="//static.ads-twitter.com/uwt.js"></script><script>document.getElementsByTagName('html')[0].className = 'news-js';</script>
<link rel="dns-prefetch" href="https://img.buzzfeed.com/buzzfeed-static/">
<link rel="dns-prefetch" href="https://polyfill.io/">
<script>(function () {var d = document, w = window, n = navigator, wp = w.performance, os, osMap, getCookie;if (!n || !n.sendBeacon || !wp || !wp.now) return;osMap = {'Win': 'Windows', 'Mac': 'MacOs', 'X11': 'Unix', 'Linux': 'Linux'};os = navigator.a...
<style>
html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block}aud...
/*# sourceMappingURL=critical.853a8d16e5582ae61351.css.map*/
# sra assets
.modal{background:rgba(255,255,255,0.9);position:fixed;height:100%;width:100%;top:0;left:0;padding:1rem;z-index:400;opacity:0;visibility:hidden;-webkit-transition:all .2s;-o-transition:all .2s;transition:all .2s;overflow-x:hidden;overflow-y:auto}.m...
/*# sourceMappingURL=subbuzzes.de459b95c74874fd6b70.css.map?brotli=allow*/
</style>
<link rel="stylesheet" href="/static-assets/css/core.16d68eeab621a52b9221.css" as="style" onload="this.rel='stylesheet'" onerror="window.bfa('track/website/instrumentation', { data: { target: 'stylesheet', value: 'timeout' } })">
t/complex.html view on Meta::CPAN
<link rel="stylesheet" type="text/css" media="screen" href="//assets.documentcloud.org/viewer/viewer-datauri.css"><link rel="stylesheet" type="text/css" media="print" href="//assets.documentcloud.org/viewer/printviewer.css"><script src="//assets.do...
{ font-weight:bold; color:#000 !important; }
</style><style type="text/css" media="all">
.DV-page-1 .DV-pageSpecific-1, .DV-page-2 .DV-pageSpecific-2, .DV-page-3 .DV-pageSpecific-3, .DV-page-4 .DV-pageSpecific-4, .DV-page-5 .DV-pageSpecific-5, .DV-page-6 .DV-pageSpecific-6, .DV-page-7 .DV-pageSpecific-7, .DV-page-8 .DV-pageSpecific-8, .D...
</style><script src="//www.buzzfeed.com/static/js/ad-detection/ads.js" async=""></script><script src="//run.adrizer.com/track.min.js" async="" data-domain="buzzfeed.com" id="ADRIZER_JS"></script><script src="https://secure.quantserve.com/quant.js" as...
.fb_dialog{background:rgba(82, 82, 82, .7);position:absolute;top:-10000px;z-index:10001}.fb_dialog_advanced{border-radius:8px;padding:10px}.fb_dialog_content{background:#fff;color:#373737}.fb_dialog_close_icon{background:url(https://static.xx.fbcdn.n...
.fb_iframe_widget{display:inline-block;position:relative}.fb_iframe_widget span{display:inline-block;position:relative;text-align:justify}.fb_iframe_widget iframe{position:absolute}.fb_iframe_widget_fluid_desktop,.fb_iframe_widget_fluid_desktop span,...
<body class="ad-scroll-sub--enabled">
<a href="#news-content" class="newsblock-skipnav">Skip To Content</a>
t/complex.html view on Meta::CPAN
</g>
</svg>
</a>
<span class="text-red-caps xs-hide sm-block">Reporting To You</span>
<button class="newsblock-header__hamburger" data-pixiedust="{"item_name":"open","item_type":"button","unit_name":"main","unit_type":"nav","data_source_name":&...
<svg role="image" viewBox="0 0 24 17">
<title>Menu Icon</title>
<g transform="translate(-284.000000, -15.000000)" fill="#000" fill-rule="nonzero">
<path d="M284,15 L308,15 L308,18 L284,18 L284,15 Z M284,22 L308,22 L308,25 L284,25 L284,22 Z M284,29 L308,29 L308,32 L284,32 L284,29 Z"></path>
</g>
t/complex.html view on Meta::CPAN
<ellipse id="Oval" fill="#F23A30" cx="108.464362" cy="17.0549718" rx="2.94473382" ry="2.92370946"></ellipse>
</g>
</g>
</svg>
</div>
<button class="newsblock-mobile-navigation-menu__mobile-close-button" type="button" data-pixiedust="{"item_name":"cancel","item_type":"button","unit_name":"overlay","unit_type"...
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 38 38">
<title>Close</title>
<path fill="currentColor" d="M30.3 10.5l-2.8-2.8-8.5 8.5-8.5-8.5-2.8 2.8 8.5 8.5-8.5 8.5 2.8 2.8 8.5-8.5 8.5 8.5 2.8-2.8-8.5-8.5z"></path>
</svg>
</button>
t/complex.html view on Meta::CPAN
<li class="newsblock-mobile-navigation-menu__list-item">
<a class="newsblock-mobile-navigation-menu__link" href="https://www.buzzfeed.com" data-bfa="@a:BuzzFeedCom" data-pixiedust="{"item_name":"buzzfeed.com","position_in_unit":3,"unit_name":"main",...
</li>
<li>
<div id="CCPAModule" class="ccpa-consent-module">
<button class="ccpa-button button button--small" onclick="javascript:window.__cmp('displayUspUi');" data-pixiedust="{"item_name":"ccpa_button","item_type":"button","unit_name":"overlay&...
Do Not Sell My Personal Information
</button>
</div>
</li>
</ul>
t/complex.html view on Meta::CPAN
<span class="DV-textCurrentPage"></span>
<pre class="DV-textContents" style="width: 647px; font-size: 13.3px;"></pre>
</div>
</div>
<div class="DV-set p0 DV-loaded DV-page-1" data-id="p0" style="top: 0px; left: 0px; height: 861px; width: 665px;">
<div class="DV-overlay"></div>
<div class="DV-pageNoteInsert visible" title="Click to Add a Page Note">
<div class="DV-annotationTab">
<div class="DV-annotationClose"></div>
</div>
<div class="DV-annotationDivider"></div>
t/complex.html view on Meta::CPAN
<span class="DV-loading-bottom">Loading</span>
<div class="DV-cover" style="width: 665px; height: 861px;"></div>
<img width="665" height="861" class="DV-pageImage" src="https://assets.documentcloud.org/documents/7035751/pages/LEOPOLD-Federal-Protective-Service-BLM-FOIA-p1-normal.gif" style="width: 665px; height: 861px;">
</div>
</div><div class="DV-set p1 DV-loaded DV-page-2" data-id="p1" style="top: 891px; left: 0px; height: 861px; width: 665px;">
<div class="DV-overlay"></div>
<div class="DV-pageNoteInsert visible" title="Click to Add a Page Note">
<div class="DV-annotationTab">
<div class="DV-annotationClose"></div>
</div>
<div class="DV-annotationDivider"></div>
t/complex.html view on Meta::CPAN
<span class="DV-loading-bottom">Loading</span>
<div class="DV-cover" style="width: 665px; height: 861px;"></div>
<img width="665" height="861" class="DV-pageImage" src="https://assets.documentcloud.org/documents/7035751/pages/LEOPOLD-Federal-Protective-Service-BLM-FOIA-p2-normal.gif" style="width: 665px; height: 861px;">
</div>
</div><div class="DV-set p2 DV-page-3 DV-loaded" data-id="p2" style="top: 1782px; left: 0px; height: 861px; width: 665px;">
<div class="DV-overlay"></div>
<div class="DV-pageNoteInsert visible" title="Click to Add a Page Note">
<div class="DV-annotationTab">
<div class="DV-annotationClose"></div>
</div>
<div class="DV-annotationDivider"></div>
t/complex.html view on Meta::CPAN
brand</a>
</div>
</div>
</div>
<div class="newsblock-page-footer__external xs-flex xs-flex-justify-space-between" id="ccpa-block">
<div class="md-flex-grow-2"><div class="newsblock-page-footer__ccpa-consent-module"><div>California residents can opt out of "sales" of personal data.</div><button class="newsblock-page-footer__ccpa-button" data-pixiedust="{"item_name"...
</div>
</div>
</footer>
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Mojo/Transaction/HTTP/Role/Mechanize.pm view on Meta::CPAN
return $forms;
}
sub submit {
my ($self, $selector, $overlay) = (shift);
$overlay = pop if @_ && ref($_[-1]) eq 'HASH';
$selector = shift if @_ % 2;
$overlay ||= {@_};
# cannot continue from error state
return if $self->error;
# extract form
lib/Mojo/Transaction/HTTP/Role/Mechanize.pm view on Meta::CPAN
# values from form
my $state = $form->val($selector);
# merge in new values of form elements
my @keys = grep { exists $overlay->{$_} } keys %$state;
@$state{@keys} = @$overlay{@keys};
# build a new transaction ...
return Mojo::UserAgent::Transactor->new->tx(
$method => $target,
{}, form => $state
view all matches for this distribution
view release on metacpan or search on metacpan
root/static/js/swfupload.js view on Meta::CPAN
// Public: setButtonText Changes the text overlaid on the button
SWFUpload.prototype.setButtonText = function (html) {
this.settings.button_text = html;
this.callFlash("SetButtonText", [html]);
};
// Public: setButtonTextPadding changes the top and left padding of the text overlay
SWFUpload.prototype.setButtonTextPadding = function (left, top) {
this.settings.button_text_top_padding = top;
this.settings.button_text_left_padding = left;
this.callFlash("SetButtonTextPadding", [left, top]);
};
view all matches for this distribution
view release on metacpan or search on metacpan
share/public/leaflet.css view on Meta::CPAN
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-pane,
.leaflet-tile-container,
.leaflet-overlay-pane,
.leaflet-shadow-pane,
.leaflet-marker-pane,
.leaflet-popup-pane,
.leaflet-overlay-pane svg,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
position: absolute;
left: 0;
share/public/leaflet.css view on Meta::CPAN
.leaflet-zoom-box {
width: 0;
height: 0;
}
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg {
-moz-user-select: none;
}
.leaflet-tile-pane { z-index: 2; }
.leaflet-objects-pane { z-index: 3; }
.leaflet-overlay-pane { z-index: 4; }
.leaflet-shadow-pane { z-index: 5; }
.leaflet-marker-pane { z-index: 6; }
.leaflet-popup-pane { z-index: 7; }
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Mojolicious/Plugin/Materialize/css/materialize.css view on Meta::CPAN
.modal .modal-footer .btn, .modal .modal-footer .btn-large, .modal .modal-footer .btn-flat {
float: right;
margin: 6px 0;
}
.lean-overlay {
position: fixed;
z-index: 999;
top: -100px;
left: 0;
bottom: 0;
lib/Mojolicious/Plugin/Materialize/css/materialize.css view on Meta::CPAN
.materialboxed.active {
cursor: -webkit-zoom-out;
cursor: zoom-out;
}
#materialbox-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
lib/Mojolicious/Plugin/Materialize/css/materialize.css view on Meta::CPAN
.side-nav .collapsible-body li.active a,
.side-nav.fixed .collapsible-body li.active a {
color: #fff;
}
#sidenav-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
height: 120vh;
lib/Mojolicious/Plugin/Materialize/css/materialize.css view on Meta::CPAN
right: 0;
top: 100%;
}
/**
* The holder should overlay the entire screen.
*/
.picker__holder {
position: fixed;
transition: background 0.15s ease-out, top 0s 0.15s;
-webkit-backface-visibility: hidden;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Mojolicious/Plugin/MostTagHelpers.pm view on Meta::CPAN
my $children = $dom->children;
if ($children->size == 1) {
$children = $children->[0]->children;
}
$children->each(sub{
$_->{ms_overlay} = $i++ . '-';
});
require Mojo::ByteStream;
return Mojo::ByteStream->new($dom->to_string);
}
lib/Mojolicious/Plugin/MostTagHelpers.pm view on Meta::CPAN
%= li 'Always shown'
%= li 'Shown after one click'
% end
<ul>
<li ms_overlay="1-">Always shown</li>
<li ms_overlay="2-">Shown after one click</li>
</ul>
Adds ms_overlay attributes to a sequence of elements with increasing start number.
Note that if passed an html element which has only one element, the attributes will be applied to the children of that attribute.
Because of this, the two templates above result in the same shown output.
=back
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Mojolicious/Command/Author/generate/obrazi.pm view on Meta::CPAN
section.toggle('slow');
})
/*
Clicking on a thumbnail opens a full-sized image in a 100%x100% screen-sized
overlay box. Sets a more visible border on the thumbnail to remind the user
where he/she was.
*/
$('section .card').click(function(e){
e.stopPropagation();
let self = $(e.target);
view all matches for this distribution
view release on metacpan or search on metacpan
share/public/revealjs/README.md view on Meta::CPAN
// Flags if the presentation is running in an embedded mode,
// i.e. contained within a limited portion of the screen
embedded: false,
// Flags if we should show a help overlay when the questionmark
// key is pressed
help: true,
// Flags if speaker notes should be visible to all viewers
showNotes: false,
share/public/revealjs/README.md view on Meta::CPAN
mouseWheel: false,
// Hides the address bar on mobile devices
hideAddressBar: true,
// Opens links in an iframe preview overlay
// Add `data-preview-link` and `data-preview-link="false"` to customise each link
// individually
previewLinks: false,
// Transition style
share/public/revealjs/README.md view on Meta::CPAN
// Toggle presentation states, optionally pass true/false to force on/off
Reveal.toggleOverview();
Reveal.togglePause();
Reveal.toggleAutoSlide();
// Shows a help overlay with keyboard shortcuts, optionally pass true/false
// to force on/off
Reveal.toggleHelp();
// Change a config value at runtime
Reveal.configure({ controls: true });
share/public/revealjs/README.md view on Meta::CPAN
For example
```javascript
// The binding parameter provides the following properties
// keyCode: the keycode for binding to the callback
// key: the key label to show in the help overlay
// description: the description of the action to show in the help overlay
Reveal.addKeyBinding( { keyCode: 84, key: 'T', description: 'Start timer' }, function() {
// start timer
} )
// The binding parameter can also be a direct keycode without providing the help description
share/public/revealjs/README.md view on Meta::CPAN
```
This allows plugins to add key bindings directly to Reveal so they can
* make use of Reveal's pre-processing logic for key handling (for example, ignoring key presses when paused); and
* be included in the help overlay (optional)
### Slide Changed Event
A `slidechanged` event is fired each time the slide is changed (regardless of state). The event object holds the index values of the current slide as well as a reference to the previous and current slide HTML nodes.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Mojolicious/public/vendor/SemanticUI/components/nag.min.css view on Meta::CPAN
*
* Copyright 2014 Contributors
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/.ui.nag{display:none;opacity:.95;position:relative;top:0;left:0;z-index:999;min-height:0;width:100%;margin:0;padding:.75em 1em;background:#555;box-shadow:0 1px 2px 0 rgba(0,0,0,.2);font-size:1rem;text-align:center;color:rgba(0,0,0,.8);border-radiu...
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Mojolicious/Plugin/SpectreCss/asset/public/spectre/0.5.3/core.min.css view on Meta::CPAN
/*! Spectre.css v0.5.3 | MIT License | github.com/picturepan2/spectre */html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.6...
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Mojolicious/Plugin/StaticShare/static/static-share/css/main.css view on Meta::CPAN
width: 100%; }
.modal .modal-footer .btn, .modal .modal-footer .btn-large, .modal .modal-footer .btn-flat {
float: right;
margin: 6px 0; }
.modal-overlay {
position: fixed;
z-index: 999;
top: -100px;
left: 0;
bottom: 0;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Mojolicious/Plugin/resources/public/mojo-status/bootstrap/bootstrap.css view on Meta::CPAN
/*!
* Bootstrap v4.4.1 (https://getbootstrap.com/)
* Copyright 2011-2019 The Bootstrap Authors
* Copyright 2011-2019 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/:root{--blue:#007bff;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#dc3545;--orange:#fd7e14;--yellow:#ffc107;--green:#28a745;--teal:#20c997;--cyan:#17a2b8;--white:#fff;--gray:#6c757d;--gray-dark:#343a40;--primary:#007bff;--secondary:#6c75...
/*# sourceMappingURL=bootstrap.min.css.map */
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Mojolicious/resources/public/mojo/bootstrap/bootstrap.css view on Meta::CPAN
@charset "UTF-8";/*!
* Bootstrap v5.3.2 (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/:root,[data-bs-theme=light]{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-black:#000;--bs-white:#fff...
/*# sourceMappingURL=bootstrap.min.css.map */
view all matches for this distribution
view release on metacpan or search on metacpan
t/share/templates.txt view on Meta::CPAN
template NewTemplate {
extends BasicTemplate;
attribute 'paragraphs' => (isa=>ArrayRef);
overlay '//h1' {
$matched->create_or_append_attribute({class=>'ggg'});
$matched->insert_before->hr;
}
t/share/templates.txt view on Meta::CPAN
'{This adds some stuff}
}
$self->$body;
}
overlay addsomething {
match('//h1') as fix_h1s {
$matched->create_or_append_attribute({class=>'ggg'});
$matched->insert_before->hr;
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Music/Abc/DT.pm view on Meta::CPAN
ABC_T_REST => 5,
ABC_T_BAR => 6,
ABC_T_EOLN => 7,
ABC_T_MREST => 8, # multi-measure rest
ABC_T_MREP => 9, # measure repeat
ABC_T_V_OVER => 10, # voice overlay
ABC_T_TUPLET => 11,
};
use constant { # symbol state in file/tune
ABC_S_GLOBAL => 0, # global
lib/Music/Abc/DT.pm view on Meta::CPAN
ALTO => 1,
BASS => 2,
PERC => 3
};
use constant { # voice overlay
V_OVER_V => 0, # &
V_OVER_S => 1, # (&
V_OVER_E => 2 # &)
};
lib/Music/Abc/DT.pm view on Meta::CPAN
}
return $abc;
}
# -- return abc of voice overlay
sub _vover_to_abc {
my ( $new_abc, $sym ) = @_;
given ( $sym->{info}->{type} ) {
when (V_OVER_V) { $new_abc .= q{&}; }
view all matches for this distribution
view release on metacpan or search on metacpan
cgi-bin/Content/files.pl view on Meta::CPAN
</tr></table>|,
],
image => ( -e "$m_hrSettings->{cgi}{DocumentRoot}/style/$m_sStyle/$m_hrSettings->{size}/mimetypes/$suffix.png" )
? "$suffix.png"
: 'link_overlay.png',
};
} ## end if ( -f $fl )
} ## end TYPE:
} ## end foreach my $d ( readdir(DIR...))
$r = 0;
view all matches for this distribution
view release on metacpan or search on metacpan
test/stex02.t view on Meta::CPAN
#
# Example STEX02 demonstrates how both the field flow utilities -
# Vectors and Streamlines - map into the non-uniform coordinate
# systems supported by the NCAR Graphics SET call. Each of the
# five frames display a uniform 45 degree field using a Streamlines
# representation overlaying a Vectors representation. The first four
# frames cycle through all possible settings of the Linear-Log (LL)
# argument to the SET call. The fifth frame shows a user coordinate
# system where the unit X is twice the size of the unit Y.
#
# The example also illustrates use of the compatibility mode parameter
view all matches for this distribution
view release on metacpan or search on metacpan
t/pages/HeytingAlgebra.html view on Meta::CPAN
<script type="text/javascript" src="http://planetmath.org/sites/all/modules/dhtml_menu/dhtml_menu.js?mjnfzq"></script>
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=MML_HTMLorMML"></script>
<script type="text/javascript" src="http://planetmath.org/sites/all/modules/mathjax/mathjax.js?mjnfzq"></script>
<script type="text/javascript">
<!--//--><![CDATA[//><!--
jQuery.extend(Drupal.settings, {"basePath":"\/","pathPrefix":"","ajaxPageState":{"theme":"planetmath","theme_token":"Kk0KRS0tXVUbdgHj2d0PwPJQYnfArkFqnDhuhSHeD7s","js":{"0":1,"misc\/jquery.js":1,"misc\/jquery.once.js":1,"misc\/drupal.js":1,"sites\/all...
//--><!]]>
</script>
<meta property="og:image" content="http://planetmath.org/sites/default/files/fab-planet.png" />
</head>
<body class="html not-front not-logged-in two-sidebars page-node page-node- page-node-38734 node-type-article og-context og-context-node og-context-node-85022 section-heytingalgebra" >
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Net/Dropbox.pm view on Meta::CPAN
sub file_status { #{{{
my $self = shift;
my $file = shift;
my $res = $self->_send_and_fetch(
"icon_overlay_file_status",
{ path => $file },
);
return $res;
} #}}}
lib/Net/Dropbox.pm view on Meta::CPAN
return { ok => 0, status => 'not a dir' }
unless( -d $dir );
my $res = $self->_send_and_fetch(
"icon_overlay_file_status",
{ path => $dir },
);
if($res->{ok} == 1) {
my $res2 = $self->_send_and_fetch(
view all matches for this distribution
view release on metacpan or search on metacpan
doc/display_device.cgi view on Meta::CPAN
document.getElementById("lat").innerHTML = center.y;
document.getElementById("lon").innerHTML = center.x;
}
);
GEvent.addListener(map, 'moveend',
function(overlay) {
var bounds = map.getBoundsLatLng();
var center = map.getCenterLatLng();
document.getElementById("maxX").innerHTML = bounds.maxX;
document.getElementById("maxY").innerHTML = bounds.maxY;
document.getElementById("minX").innerHTML = bounds.minX;
view all matches for this distribution
view release on metacpan or search on metacpan
demos/client/SNlib.pl view on Meta::CPAN
s/(<[^>]*\bname\s*=\s*["']?)([^\s"'>]*)/ $1 . &full_url($2) /ime,
next if /<\s*object\b/im ;
s/(<[^>]*\bsrc\s*=\s*["']?)([^\s"'>]*)/ $1 . &full_url($2) /ime,
s/(<[^>]*\bimagemap\s*=\s*["']?)([^\s"'>]*)/ $1 . &full_url($2) /ime,
next if /<\s*overlay\b/im ; # HTML 3.0
s/(<[^>]*\bcite\s*=\s*["']?)([^\s"'>]*)/ $1 . &full_url($2) /ime,
next if /<\s*q\b/im ;
s/(<[^>]*\bsrc\s*=\s*["']?)([^\s"'>]*)/ $1 . &full_url($2) /ime,
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Net/LDAP/SPNEGO.pm view on Meta::CPAN
sub _ldap_quote {
return join '', map { sprintf "\\%02x", $_ } unpack('C*',shift);
}
# with inspiration from
# https://github.com/josephglanville/posix-ldap-overlay/blob/master/lib/SID.pm
sub _unpack_sid {
return unpack 'C Vxx C V*', shift;
}
view all matches for this distribution
view release on metacpan or search on metacpan
inet_ntop.c view on Meta::CPAN
/*
* Note that int32_t and int16_t need only be "at least" large enough
* to contain a value of the specified size. On some systems, like
* Crays, there is no such thing as an integer variable with 16 bits.
* Keep this in mind if you think this function should have been coded
* to use pointer overlays. All the world's not a VAX.
*/
char tmp[sizeof "ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255"], *tp;
struct { int base, len; } best, cur;
unsigned int words[NS_IN6ADDRSZ / NS_INT16SZ];
int i;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Net/Rovio.pm view on Meta::CPAN
=back
=head2 $rovio->getlogo()
Gets the 2 possible strings of text currently overlayed on the image, and thier position.
GetLogo Returns:
=over 4
view all matches for this distribution
view release on metacpan or search on metacpan
examples/sftp-server-atomic-put.pl view on Meta::CPAN
use Net::SFTP::Server::Constants qw(:all);
sub new {
my $class = shift;
my $self = $class->SUPER::new(@_);
$self->{overlay} = {};
$self;
}
sub handle_command_open_v3 {
my ($self, $id, $path, $flags, $attrs) = @_;
my $writable = $flags & SSH_FXF_WRITE;
my $perms = $attrs->{mode};
my ($old_umask, $fh, $target_path);
if (exists $self->{overlay}{$path}) {
$path = $self->{overlay}{$path}
}
elsif ($writable) {
if ( (-f $path and $flags & SSH_FXF_TRUNC) or
(!-e $path and $flags & SSH_FXF_CREAT) ) {
$target_path = $path;
examples/sftp-server-atomic-put.pl view on Meta::CPAN
if ($writable) {
Net::SFTP::Server::FS::_set_attrs($path, $attrs)
or $self->send_status_errno_response($id);
}
my $hid = $self->save_file_handler($fh, $flags, $perms, $target_path // $path);
$self->{overlay}{$target_path} = $path if defined $target_path;
$self->push_handle_response($id, $hid);
}
sub handle_command_close_v3 {
my ($self, $id, $hid) = @_;
examples/sftp-server-atomic-put.pl view on Meta::CPAN
or return $self->push_status_response($id, SSH_FX_FAILURE, "Bad file handler");
if ($type eq 'dir') {
closedir($fh) or return $self->push_status_errno_response($id);
}
elsif ($type eq 'file') {
my $path = delete $self->{overlay}{$target_path};
close($fh) or return $self->push_status_errno_response($id);
if (defined $path) {
rename $path, $target_path or return $self->push_status_errno_response($id);
}
}
examples/sftp-server-atomic-put.pl view on Meta::CPAN
my $method = "handle_command_${action}_v3";
my $super = Net::SFTP::Server::FS->can($method);
no strict 'refs';
*$method = sub {
my ($self, $id, $target_path) = @_;
my $path = $self->{overlay}{$target_path} // $target_path;
$super->($self, $id, $path);
};
}
DESTROY {
local ($!, $?, $@);
my $self = shift;
unlink $_ for (values %{$self->{overlay}});
}
my $server = main->new();
view all matches for this distribution