view release on metacpan or search on metacpan
lib/PDL/Graphics/Prima/DataSet.pm view on Meta::CPAN
Captitalization for plotType, etc.
Use PDL documentation conventions for signatures, ref, etc.
Additional datset, a two-tone grid. Imagine that you want to overlay the
population density of a country and the average rainfall (at the granularity
of counties, let's say). You could use the intensity of the red channel to
indicate population and the intensity of blue to indicate rainfall. Highly
populated areas with low rainfall would be bright red, while highly populated
areas with high rainfall would be purple, and low populated areas with high
view all matches for this distribution
view release on metacpan or search on metacpan
lib/PDL/Graphics/Simple.pm view on Meta::CPAN
$win->plot( with=>'line', $x, $y, {title=>"Simple line plot"} );
$win->plot( with=>'errorbars', $x, $y, sqrt($y), {title=>"Error bars"} );
$win->plot( with=>'circles', $x, $y, sin($x)**2 );
=item * Plot overlays
# All at once
$win->plot( with=>'line', $x, $y, with=>'circles', $x, $y/2, sqrt($y) );
# Using oplot (IDL-style; PLplot-style)
view all matches for this distribution
view release on metacpan or search on metacpan
GENERATED/PDL/OpenCV/Highgui.pm view on Meta::CPAN
=head2 displayOverlay
=for ref
Displays a text on a window image as an overlay for a specified duration.
=for example
displayOverlay($winname,$text); # with defaults
displayOverlay($winname,$text,$delayms);
GENERATED/PDL/OpenCV/Highgui.pm view on Meta::CPAN
Overlay text to write on a window image.
=item delayms
The period (in milliseconds), during which the overlay text is displayed. If this
function is called before the previous overlay text timed out, the timer is restarted and the text
is updated. If this value is zero, the text never disappears.
=back
view all matches for this distribution
view release on metacpan or search on metacpan
Demos/Gnuplot_demo.pm view on Meta::CPAN
act q|
# You can indpendently specify color and position on surface plots,
# and can overlay multiple types of plot -- even in 3D.
#
$rv = rvals(101,101)/5; $im = cos($rv)/($rv+2.5);
$grad = sumover $im->range([[-1,0],[1,0]],[$im->dims],'e') * pdl(-1,1);
$im2 = $im->indexND(ndcoords(26,26)*4); # subsample $im
view all matches for this distribution
view release on metacpan or search on metacpan
Demos/Gnuplot_demo.pm view on Meta::CPAN
act q|
# You can indpendently specify color and position on surface plots,
# and can overlay multiple types of plot -- even in 3D.
#
$rv = rvals(101,101)/5; $im = cos($rv)/($rv+2.5);
$grad = sumover $im->range([[-1,0],[1,0]],[$im->dims],'e') * pdl(-1,1);
$im2 = $im->indexND(ndcoords(26,26)*4); # subsample $im
view all matches for this distribution
view release on metacpan or search on metacpan
Demos/Gnuplot_demo.pm view on Meta::CPAN
act q|
# You can indpendently specify color and position on surface plots,
# and can overlay multiple types of plot -- even in 3D.
#
$rv = rvals(101,101)/5; $im = cos($rv)/($rv+2.5);
$grad = sumover $im->range([[-1,0],[1,0]],[$im->dims],'e') * pdl(-1,1);
$im2 = $im->indexND(ndcoords(26,26)*4); # subsample $im
view all matches for this distribution
view release on metacpan or search on metacpan
lib/PDL/Demos/PGPLOT.pm view on Meta::CPAN
# Here is the same with lines
line $x, $y;
|],
[act => q|
# If you want to overlay one plot you can use the command
# 'hold' to put the graphics on hold and 'release' to
# revert the effect
points $x, $y, {SYMBOL=>4}; # The last argument sets symboltype
hold;
lib/PDL/Demos/PGPLOT.pm view on Meta::CPAN
$gradient=sequence(40,40);
# Then display it.
imag $gradient;
# And overlay a contour plot over it:
hold;
cont $gradient;
release;
|],
view all matches for this distribution
view release on metacpan or search on metacpan
basiclib/Config.pm-txt view on Meta::CPAN
my($value, $start, $marker, $quote_type);
$quote_type = "'";
# Virtual entries.
if ($_[1] eq 'byteorder') {
# byteorder does exist on its own but we overlay a virtual
# dynamically recomputed value.
my $t = $Config{ivtype};
my $s = $Config{ivsize};
my $f = $t eq 'long' ? 'L!' : $s == 8 ? 'Q': 'I';
if ($s == 4 || $s == 8) {
view all matches for this distribution
view release on metacpan or search on metacpan
basiclib/Config.pm-txt view on Meta::CPAN
my($value, $start, $marker, $quote_type);
$quote_type = "'";
# Virtual entries.
if ($_[1] eq 'byteorder') {
# byteorder does exist on its own but we overlay a virtual
# dynamically recomputed value.
my $t = $Config{ivtype};
my $s = $Config{ivsize};
my $f = $t eq 'long' ? 'L!' : $s == 8 ? 'Q': 'I';
if ($s == 4 || $s == 8) {
view all matches for this distribution
view release on metacpan or search on metacpan
share/static/menubar/menu.js view on Meta::CPAN
w -= dw;
itemList[0].style.width = w + "px";
}
// Fix the IE display problem (SELECT elements and other windowed controls
// overlaying the menu) by adding an IFRAME under the menu.
if (browser.isIE) {
var iframeEl = document.createElement("IFRAME");
iframeEl.frameBorder = 0;
iframeEl.src = "javascript:false;";
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Padre/Document/LaTeX.pm view on Meta::CPAN
algorithm algorithmic
column columns
beamercolorbox block example frame overlayarea overprint proof theorem
/;
push @latex_environments, @latex_star_environments;
my @latex_packages = qw/
a4wide acronym alg algorithm2e algorithmicx algpseudocode amsfonts amsmath amsopn amssymb
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Padre/Plugin/Perl6/Colorizer.pm view on Meta::CPAN
$main,
$timer_id,
sub {
my $text = $doc->text_with_one_nl or return;
# temporary overlay using the parse tree given by parrot
# Create a coloring task
my $module = $colorizer eq 'STD'
? 'Padre::Plugin::Perl6::StdColorizerTask' # STD
: 'Padre::Plugin::Perl6::Perl6PgeColorizerTask'; # PGE
eval "use $module";
view all matches for this distribution
view release on metacpan or search on metacpan
share/doc/wxwidgets.pod view on Meta::CPAN
Returns true if this style specifies any non-default attributes.
=head2 Wx::TextAttr::Merge
void Merge(const wxTextAttr& overlay)
Copies all defined/valid properties from overlay to current object.
static wxTextAttr Merge(const wxTextAttr& base, const wxTextAttr&
overlay)
Creates a new wxTextAttr which is a merge of base and overlay.
Properties defined in overlay take precedence over those in base.
Properties undefined/invalid in both are undefined in the result.
=head2 Wx::TextAttr::SetAlignment
void SetAlignment(wxTextAttrAlignment alignment)
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Padre/DB/Bookmark.pm view on Meta::CPAN
package Padre::DB::Bookmark;
# NOTE: This class is loaded automatically by Padre::DB, overlaying the
# code already auto-generated by Padre::DB. Do not load manually, as this
# module will not function standalone.
use 5.008;
use strict;
view all matches for this distribution
view release on metacpan or search on metacpan
bin/pafextract view on Meta::CPAN
=head1 SYNOPSIS
panoglview equirectangular.tif
pafextract project.paf
gimp project.paf.extract.tif
nona -o overlay project.paf.extract.pto
composite overlay.tif equirectangular.tif merged.tif
=head1 DESCRIPTION
B<pafextract> takes a panoglview .paf file and renders the saved view as a
suitably sized .tif file. This is useful for simply extracting a 'normal' view
view all matches for this distribution
view release on metacpan or search on metacpan
root/base/terms/add view on Meta::CPAN
</tr>
</table>
<style type="text/css">
.yui-overlay { position:absolute;background:transparent;border:none;padding:none;margin:none; }
</style>
<!-- message preview majick -->
<script type="text/javascript">
(function () {
root/base/terms/add view on Meta::CPAN
var pWidth = obj.user_input.clientWidth,
pHeight = obj.user_input.clientHeight,
pLeft = obj.user_input.offsetLeft,
pTop = obj.user_input.offsetTop;
obj.preview_overlay = new YAHOO.widget.Overlay(
"preview_overlay",
{
context: [obj.config.user_input, 'tl', 'tl'],
visible: true,
width: obj.user_input.clientWidth + 'px',
height: obj.user_input.clientHeight + 'px'
}
);
obj.preview_overlay.setBody(data.formatted);
obj.preview_overlay.render(document.body);
Dom.get('preview_overlay').style.overflow = 'auto';
// update the button
obj.trigger.value = '[%l('Edit')%]';
root/base/terms/add view on Meta::CPAN
this.edit = function() {
// update the button
this.trigger.value = '[%l('Preview')%]';
this.user_input.style.visibility = 'visible';
this.preview_overlay.destroy();
YU.Event.removeListener( this.trigger, 'click' );
YU.Event.addListener(
this.trigger,
this.config.trigger_evt,
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Path/Resolver.pm view on Meta::CPAN
#pod addressing content, they can easily be mixed and matched. Since resolvers know
#pod what kind of object they'll return, and can be fitted with translators, it's
#pod easy to ensure that all your multiplexed resolvers will resolve names to the
#pod same kind of object.
#pod
#pod For example, we could overlay two search paths like this:
#pod
#pod my $resolver = Path::Resolver::Resolver::Mux::Ordered->new({
#pod resolvers => [
#pod Path::Resolver::Resolver::FileSystem->new({ root => './config' }),
#pod Path::Resolver::Resolver::Archive::Tar->new({ archive => 'config.tgz' }),
lib/Path/Resolver.pm view on Meta::CPAN
addressing content, they can easily be mixed and matched. Since resolvers know
what kind of object they'll return, and can be fitted with translators, it's
easy to ensure that all your multiplexed resolvers will resolve names to the
same kind of object.
For example, we could overlay two search paths like this:
my $resolver = Path::Resolver::Resolver::Mux::Ordered->new({
resolvers => [
Path::Resolver::Resolver::FileSystem->new({ root => './config' }),
Path::Resolver::Resolver::Archive::Tar->new({ archive => 'config.tgz' }),
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Paws/CodeBuild/ProjectEnvironment.pm view on Meta::CPAN
phase of your buildspec file:
If the operating system's base image is Ubuntu Linux:
C<- nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock
--host=tcp://0.0.0.0:2375 --storage-driver=overlay&>
C<- timeout 15 sh -c "until docker info; do echo .; sleep 1; done">
If the operating system's base image is Alpine Linux and the previous
command does not work, add the C<-t> argument to C<timeout>:
C<- nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock
--host=tcp://0.0.0.0:2375 --storage-driver=overlay&>
C<- timeout -t 15 sh -c "until docker info; do echo .; sleep 1; done">
=head2 RegistryCredential => L<Paws::CodeBuild::RegistryCredential>
view all matches for this distribution
view release on metacpan or search on metacpan
xt/grammars/Pg.pgx view on Meta::CPAN
func_expr_22: USER
func_expr_23: CURRENT_CATALOG
func_expr_24: CURRENT_SCHEMA
func_expr_25: CAST <LPAREN> a_expr AS Typename <RPAREN>
func_expr_26: EXTRACT <LPAREN> extract_list <RPAREN>
func_expr_27: OVERLAY <LPAREN> overlay_list <RPAREN>
func_expr_28: POSITION <LPAREN> position_list <RPAREN>
func_expr_29: SUBSTRING <LPAREN> substr_list <RPAREN>
func_expr_30: TREAT <LPAREN> a_expr AS Typename <RPAREN>
func_expr_31: TRIM <LPAREN> BOTH trim_list <RPAREN>
func_expr_32: TRIM <LPAREN> LEADING trim_list <RPAREN>
xt/grammars/Pg.pgx view on Meta::CPAN
extract_arg_7: SECOND
extract_arg_8: Sconst
# OVERLAY() arguments
# SQL99 defines the OVERLAY() function:
# o overlay(text placing text from int for int)
# o overlay(text placing text from int)
# and similarly for binary strings
overlay_list :
overlay_list_1
| overlay_list_2
overlay_list_1: a_expr overlay_placing substr_from substr_for
overlay_list_2: a_expr overlay_placing substr_from
overlay_placing: PLACING a_expr
# position_list uses b_expr not a_expr to avoid conflict with general IN
position_list: ( b_expr IN b_expr )?
# SUBSTRING() arguments
view all matches for this distribution
view release on metacpan or search on metacpan
share/perl-5.26/strtoull-fix-perl.h view on Meta::CPAN
/* According to strict ANSI C89 one cannot freely cast between
* data pointers and function (code) pointers. There are at least
* two ways around this. One (used below) is to do two casts,
* first the other pointer to an (unsigned) integer, and then
* the integer to the other pointer. The other way would be
* to use unions to "overlay" the pointers. For an example of
* the latter technique, see union dirpu in struct xpvio in sv.h.
* The only feasible use is probably temporarily storing
* function pointers in a data pointer (such as a void pointer). */
#define DPTR2FPTR(t,p) ((t)PTR2nat(p)) /* data pointer to function pointer */
view all matches for this distribution
view release on metacpan or search on metacpan
# use `docker` to run local Docker application image with one-off command, in this case `prove` to run Perl tests
$ docker run -it --rm app:dev prove -Ilib -r t
# use `docker` to run local Docker application image in Live Developer Mode;
# mount the repository from the host OS's current directory into the '/app' Docker working directory,
# thereby overlaying the copy of the repository that was baked into the Docker application image
# with the latest copy of the respository from the host operating system;
# this allows live edits on the host OS to be immediately reflected within the Docker application
$ docker run -it --rm -v "$PWD:/app" -e PERL_VERBOSE=1 -e PERL_DEBUG=1 -e PERL_WARNINGS=1 app:dev
# use `docker compose` to build local Docker images
view all matches for this distribution
view release on metacpan or search on metacpan
misc/IDE-support/server.pl view on Meta::CPAN
my $src = "";
while $_ = =<> {$src ~= $_;}
my $m = $src ~~ rx/oo/;
say "(mapcar 'delete-overlay (overlays-in (point-min) (point-max)))";
say "(overlay-put (make-overlay {$m.from +1} {$m.to +1} nil t t) 'face '(:foreground \"red\"))" if $m;
say '(message "did it")';
view all matches for this distribution
view release on metacpan or search on metacpan
what about a specialized filesystem to speedup dependency?
we "serialize" the dependency tree and let the filesystem do the triggering
this allows us to very fast know if a whole subtree has been modified or not
Problems to be fixed:
How do we serialize?
FUSE FAm nullfs overlayfs portalfs
each warp has a unique signature, we can keep a list of dependent in a warp signed file
each file in a dependency file get a 'special' file named: warp_sig + filename (ie X) in the
directory where the file is. The fs checks that file (and all other special file with
other warp sig for file X). The trace file (the special file) for a given warp signature
view all matches for this distribution
view release on metacpan or search on metacpan
share/static/jquery.magnific-popup.js view on Meta::CPAN
// Building markup
// main containers are created only once
if(!mfp.bgOverlay) {
// Dark overlay
mfp.bgOverlay = _getEl('bg').on('click'+EVENT_NS, function() {
mfp.close();
});
mfp.wrap = _getEl('wrap').attr('tabindex', -1).on('click'+EVENT_NS, function(e) {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Physics/Ellipsometry/VASE.pm view on Meta::CPAN
$self->{ym} = $ym;
return $finalp;
}
# Plot raw data with model fit overlay
sub plot {
my ($self, $fit_params, %opts) = @_;
require PDL::Graphics::Gnuplot;
my $data = $self->{data};
lib/Physics/Ellipsometry/VASE.pm view on Meta::CPAN
Weighted fitting using measured uncertainties (sigma columns in Woollam files).
=item *
Multi-angle plotting of data and fit overlays via L<PDL::Graphics::Gnuplot>.
=back
=head1 CONSTRUCTOR
lib/Physics/Ellipsometry/VASE.pm view on Meta::CPAN
$vase->plot($fit_params);
$vase->plot($fit_params, output => 'fit.png');
$vase->plot($fit_params, output => 'fit.pdf', title => 'My Fit');
Plots raw data points with model fit overlay in a two-panel layout
(Psi on top, Delta on bottom). Requires L<PDL::Graphics::Gnuplot>.
Options:
=over 4
view all matches for this distribution
view release on metacpan or search on metacpan
local/lib/perl5/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
bin/playwright_server view on Meta::CPAN
// var theFile = path.dirname(sharedir) + '/api.json';
// let rawdata = fs.readFileSync(theFile);
// This is automatically inserted via sed
let spec =
[{"name":"Accessibility","spec":[{"type":"text","text":"The Accessibility class provides methods for inspecting Chromium's accessibility tree. The accessibility tree is used byâµassistive technology such as [screen readers](https://en.wikipedia.org/...
function arr2hash (arr,primary_key) {
var inside_out = {};
for (var item of arr) {
inside_out[item.name] = item;
view all matches for this distribution
view release on metacpan or search on metacpan
t/data/book23 view on Meta::CPAN
great-hearted Odysseus within his house, and anointed him
with olive-oil, and cast about him a goodly mantle and a
doublet. Moreover Athene shed great beauty from his head
downwards, and made him greater and more mighty to behold,
and from his head caused deep curling locks to flow, like
the hyacinth flower. And as when some skilful man overlays
gold upon silver, one that Hephaestus and Pallas Athene
have taught all manner of craft, and full of grace is his
handiwork, even so did Athene shed grace about his head and
shoulders, and forth from the bath he came, in form like to
the immortals. Then he sat down again on the high seat,
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Pod/Abstract/BuildNode.pm view on Meta::CPAN
return $begin;
}
=head2 for
my $for = node->for('overlay from <class>');
Create a =for node. The argument is the literal body of the for node,
no parsing will be performed.
=cut
view all matches for this distribution