code stringlengths 2 1.05M | repo_name stringlengths 5 101 | path stringlengths 4 991 | language stringclasses 3
values | license stringclasses 5
values | size int64 2 1.05M |
|---|---|---|---|---|---|
:- use_package(assertions).
:- comment(filetype, part).
:- comment(title,"PART III - ISO-Prolog library (iso)").
:- comment(author, "The CLIP Group").
:- comment(module,"@include{IsoProlog.lpdoc}").
main.
| leuschel/ecce | www/CiaoDE/ciao/doc/common/IsoProlog.pl | Perl | apache-2.0 | 210 |
#
# $Id: Tcp.pm,v eff9afda3723 2015/01/04 12:34:23 gomor $
#
# client::tcp Brik
#
package Metabrik::Client::Tcp;
use strict;
use warnings;
use base qw(Metabrik);
sub brik_properties {
return {
revision => '$Revision: eff9afda3723 $',
tags => [ qw(unstable client tcp socket netcat) ],
attributes =... | gitpan/Metabrik-Repository | lib/Metabrik/Client/Tcp.pm | Perl | bsd-3-clause | 4,824 |
/* Part of XPCE --- The SWI-Prolog GUI toolkit
Author: Jan Wielemaker and Anjo Anjewierden
E-mail: jan@swi.psy.uva.nl
WWW: http://www.swi.psy.uva.nl/projects/xpce/
Copyright (c) 2000-2011, University of Amsterdam
All rights reserved.
Redistribution and use in source a... | TeamSPoon/logicmoo_workspace | docker/rootfs/usr/local/lib/swipl/xpce/prolog/lib/doc/load.pl | Perl | mit | 2,884 |
package Games::Lacuna::Client::Buildings::OperaHouse;
use 5.0080000;
use strict;
use warnings;
use Carp 'croak';
use Games::Lacuna::Client;
use Games::Lacuna::Client::Buildings;
our @ISA = qw(Games::Lacuna::Client::Buildings);
__PACKAGE__->init();
1;
__END__
=head1 NAME
Games::Lacuna::Client::Buildings::Warehouse... | RedOrion/Vasari-TLEUtil | lib/Games/Lacuna/Client/Buildings/OperaHouse.pm | Perl | mit | 737 |
package Venn::CLI::Role::API;
=head1 NAME
Venn::CLI::Role::API - Role to support API submission operations
=head1 DESCRIPTION
This class has been extracted from Venn::CLI::Command to allow creation
of a standalone client library for Venn without duplicating code.
=head1 AUTHOR
Venn Engineering
Josh Arenberg, Nor... | hlnguyen21/venn-cli | lib/Venn/CLI/Role/API.pm | Perl | apache-2.0 | 10,281 |
package Paws::DMS::DeleteReplicationTaskResponse;
use Moose;
has ReplicationTask => (is => 'ro', isa => 'Paws::DMS::ReplicationTask');
has _request_id => (is => 'ro', isa => 'Str');
### main pod documentation begin ###
=head1 NAME
Paws::DMS::DeleteReplicationTaskResponse
=head1 ATTRIBUTES
=head2 Replicati... | ioanrogers/aws-sdk-perl | auto-lib/Paws/DMS/DeleteReplicationTaskResponse.pm | Perl | apache-2.0 | 429 |
#
# Copyright 2016 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | bcournaud/centreon-plugins | apps/jive/sql/mode/etljobstatus.pm | Perl | apache-2.0 | 5,119 |
#
# Copyright 2016 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | bcournaud/centreon-plugins | storage/dell/equallogic/snmp/mode/components/health.pm | Perl | apache-2.0 | 2,897 |
package VSAP::Server::Modules::vsap::sys::ssh;
use 5.008004;
use strict;
use warnings;
use VSAP::Server::Modules::vsap::backup;
our $VERSION = '0.01';
our $SSHD_CONFIG = "/etc/ssh/sshd_config";
##############################################################################
# supporting functions
###################... | opencpx/opencpx | modules/VSAP-Server-Modules-vsap-sys-ssh/lib/VSAP/Server/Modules/vsap/sys/ssh.pm | Perl | apache-2.0 | 4,968 |
package Google::Ads::AdWords::v201409::ConversionOptimizerEligibility::RejectionReason;
use strict;
use warnings;
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201409'};
# derivation by restriction
use base qw(
SOAP::WSDL::XSD::Typelib::Builtin::string);
1;
__END__
=pod
=head1 NAME
=head1 D... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201409/ConversionOptimizerEligibility/RejectionReason.pm | Perl | apache-2.0 | 1,131 |
package #
Date::Manip::TZ::patara00;
# Copyright (c) 2008-2014 Sullivan Beck. All rights reserved.
# This program is free software; you can redistribute it and/or modify it
# under the same terms as Perl itself.
# This file was automatically generated. Any changes to this file will
# be lost the next time 'tzdata' i... | nriley/Pester | Source/Manip/TZ/patara00.pm | Perl | bsd-2-clause | 1,290 |
#
# Copyright 2017 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | nichols-356/centreon-plugins | os/solaris/local/mode/analyzedisks.pm | Perl | apache-2.0 | 5,581 |
#! /usr/bin/perl
# This script extracts trajectory data from EFPMD output
use 5.008;
use strict;
use warnings;
die "usage: trajectory.pl <input>\n" if scalar(@ARGV) != 1;
open(FH, "<", $ARGV[0]) || die "$!";
while (<FH>) {
next unless /GEOMETRY/;
<FH>;
my @lines;
while (<FH>) {
last if /^$/;
push @lines,... | libefp/libefp | efpmd/tools/trajectory.pl | Perl | bsd-2-clause | 456 |
#!/usr/bin/perl
open FIN, $ARGV[0] or die "Unable to open $ARGV[0]! $!\n";
my $in_func = 0;
my $leaf = 1;
my $buffer = [];
while (<FIN>) {
if (/#Function (\w+)/) {
$in_func = 1;
push @$buffer, $_;
} elsif (/#EndFunction/) {
push @$buffer, $_;
if ( $leaf ) {
print @$... | epiqc/ScaffCC | scripts/leaves.pl | Perl | bsd-2-clause | 668 |
package Perun::beans::AttributeRights;
use strict;
use warnings;
use Perun::Common;
sub new
{
bless({});
}
sub fromHash
{
return Perun::Common::fromHash(@_);
}
sub TO_JSON
{
my $self = shift;
my $attributeId;
if (defined($self->{_attributeId})) {
$attributeId = $self->{_attributeId} * 1;
} else {
$attri... | stavamichal/perun | perun-cli/Perun/beans/AttributeRights.pm | Perl | bsd-2-clause | 1,067 |
#!/usr/local/bin/perl
# A bit of an evil hack but it post processes the file ../MINFO which
# is generated by `make files` in the top directory.
# This script outputs one mega makefile that has no shell stuff or any
# funny stuff
#
$INSTALLTOP="/usr/local/ssl";
$OPTIONS="";
$ssl_version="";
$banner="\t\@echo Building ... | relokin/parsec | pkgs/libs/ssl/src/util/mk1mf.pl | Perl | bsd-3-clause | 36,232 |
=head1 NAME
SGN::Controller::AJAX::Search::Genotype - a REST controller class to provide search over markerprofiles
=head1 DESCRIPTION
=head1 AUTHOR
=cut
package SGN::Controller::AJAX::Search::Genotype;
use Moose;
use Data::Dumper;
use JSON;
use CXGN::People::Login;
use CXGN::Genotype::Search;
use JSON;
use ut... | solgenomics/sgn | lib/SGN/Controller/AJAX/Search/Genotype.pm | Perl | mit | 12,306 |
/**
* last(+L, ?X)
*/
last([X], X) :- !.
last([_|XS], X) :- last(XS, X).
:- begin_tests(last).
test('empty list', [fail]) :-
last([],_).
test('simple list') :-
last([a,b,c], X),
X == c.
test('instantiated failure', [fail]) :-
last([a,b,c], a).
test('instantiated success') :-
last([a,b,c], c).
:-... | danielchatfield/prolog-99-problems | p1_01.pl | Perl | mit | 338 |
=pod
=head1 NAME
openssl-x509,
x509 - Certificate display and signing utility
=head1 SYNOPSIS
B<openssl> B<x509>
[B<-help>]
[B<-inform DER|PEM>]
[B<-outform DER|PEM>]
[B<-keyform DER|PEM|ENGINE>]
[B<-CAform DER|PEM>]
[B<-CAkeyform DER|PEM>]
[B<-in filename>]
[B<-out filename>]
[B<-serial>]
[B<-hash>]
[B<-subject_ha... | pmq20/ruby-compiler | vendor/openssl/doc/man1/x509.pod | Perl | mit | 28,780 |
#!/usr/bin/perl
use strict;
use warnings;
use WWW::Shopify;
package WWW::Shopify::Model::Shop;
use parent 'WWW::Shopify::Model::Item';
my $fields; sub fields { return $fields; }
BEGIN { $fields = {
"id" => new WWW::Shopify::Field::Identifier(),
"address1" => new WWW::Shopify::Field::String::Address(),
"city" =>... | gitpan/WWW-Shopify | lib/WWW/Shopify/Model/Shop.pm | Perl | mit | 2,418 |
#!/usr/bin/perl -w
#
# searcher_test.pl
#
#
use strict;
use warnings;
use Cwd 'abs_path';
use File::Basename;
my $lib_path;
BEGIN {
$lib_path = dirname(dirname(abs_path($0))) . '/lib';
# print "lib_path: $lib_path\n";
unshift @INC, $lib_path;
}
use Test::Simple tests => 89;
use plsearch::config;
use pl... | clarkcb/xsearch | perl/plsearch/t/searcher_test.pl | Perl | mit | 20,523 |
# This file is auto-generated by the Perl DateTime Suite time zone
# code generator (0.07) This code generator comes with the
# DateTime::TimeZone module distribution in the tools/ directory
#
# Generated from debian/tzdata/northamerica. Olson data version 2008c
#
# Do not edit this file directly.
#
package DateTime:... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/DateTime/TimeZone/America/Havana.pm | Perl | mit | 12,213 |
#!/usr/bin/perl
use strict;
use Data::Dumper;
# This script expects MNIST data in CSV format
# as downloaded from https://www.kaggle.com/c/digit-recognizer/data.
# It outputs three datasets in Lua format:
# - train - training data containing all except $NewClasses classes/labels
# - test - test data containing the sa... | csirmaz/TrainableOnlineClustering | mnist-data-convert.pl | Perl | mit | 3,578 |
package #
Date::Manip::Offset::off416;
# Copyright (c) 2008-2015 Sullivan Beck. All rights reserved.
# This program is free software; you can redistribute it and/or modify it
# under the same terms as Perl itself.
# This file was automatically generated. Any changes to this file will
# be lost the next time 'tzdata'... | jkb78/extrajnm | local/lib/perl5/Date/Manip/Offset/off416.pm | Perl | mit | 851 |
use strict;
use utf8;
package Dorq::code::block::builtin;
use base 'Dorq::code::block';
sub exec
{
return shift -> val() -> ( @_ );
}
-1;
| kainwinterheart/dorq-dsl | Dorq/code/block/builtin.pm | Perl | mit | 144 |
# Copyright 2020, Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | googleads/google-ads-perl | lib/Google/Ads/GoogleAds/V9/Resources/CurrencyConstant.pm | Perl | apache-2.0 | 1,222 |
#
# Copyright 2022 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | centreon/centreon-plugins | network/aruba/instant/snmp/mode/apusage.pm | Perl | apache-2.0 | 9,605 |
#!/usr/bin/perl -w
# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
# $Source: src/build/trace/tracehash_hb.pl $
#
# OpenPOWER HostBoot Project
#
# COPYRIGHT International Business Machines Corp. 2011,2014
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this fi... | shenki/hostboot | src/build/trace/tracehash_hb.pl | Perl | apache-2.0 | 25,552 |
package Paws::GameLift::AttributeValue;
use Moose;
has N => (is => 'ro', isa => 'Num');
has S => (is => 'ro', isa => 'Str');
has SDM => (is => 'ro', isa => 'Paws::GameLift::StringDoubleMap');
has SL => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
1;
### main pod documentation begin ###
=head1 NAME
Paws::Gam... | ioanrogers/aws-sdk-perl | auto-lib/Paws/GameLift/AttributeValue.pm | Perl | apache-2.0 | 2,111 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2017] EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obta... | danstaines/ensembl-compara | modules/Bio/EnsEMBL/Compara/Production/EPOanchors/HMMerAnchors.pm | Perl | apache-2.0 | 5,004 |
#!/usr/bin/perl
use strict;
use warnings;
use File::Basename;
use WebService::TVDB;
require File::HomeDir;
require File::Spec;
use File::Copy;
use Getopt::Long;
my $script = basename($0);
my $HMT = '/usr/local/bin/hmt-linux';
my $SYNTAX = "$script [-n] <filename>\n\n\t-n\tDon't rename files, just print the changes\n"... | andyjenkinson/hmt-rename | hmt-rename.pl | Perl | apache-2.0 | 4,335 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2021] EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obta... | Ensembl/ensembl | misc-scripts/xref_mapping/XrefMapper/Methods/ExonerateGappedBest5_55_perc_id.pm | Perl | apache-2.0 | 1,101 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2021] EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obta... | Ensembl/ensembl-production | modules/Bio/EnsEMBL/Production/Pipeline/Flatfile/ValidatorFactoryMethod.pm | Perl | apache-2.0 | 2,907 |
package Paws::DAX::SecurityGroupMembership;
use Moose;
has SecurityGroupIdentifier => (is => 'ro', isa => 'Str');
has Status => (is => 'ro', isa => 'Str');
1;
### main pod documentation begin ###
=head1 NAME
Paws::DAX::SecurityGroupMembership
=head1 USAGE
This class represents one of two things:
=head3 Argu... | ioanrogers/aws-sdk-perl | auto-lib/Paws/DAX/SecurityGroupMembership.pm | Perl | apache-2.0 | 1,467 |
package Bio::EnsEMBL::Analysis::RunnableDB;
# Ensembl module for Bio::EnsEMBL::Analysis::RunnableDB
# Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in complia... | mn1/ensembl-analysis | modules/Bio/EnsEMBL/Analysis/RunnableDB.pm | Perl | apache-2.0 | 16,903 |
=head1 LICENSE
Copyright [1999-2013] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licen... | Ensembl/ensembl-draw | modules/Bio/EnsEMBL/GlyphSet/_simple.pm | Perl | apache-2.0 | 2,154 |
use strict;
package main;
print("<form action=\"index.pl\" method=\"post\">\n");
print("<input type=\"hidden\" name=\"action\" value=\"insertTextComment\">\n");
my $formula0=$reportNameID;print("<input type=\"hidden\" name=\"reportNameID\" value=\"$formula0\">\n");
print(" <table border=\"0\" cellpadding=\"0\" cellspac... | ktenzer/perfstat | ui/reportMonitor/content/layoutReport/dsp_selectTextComment.pl | Perl | apache-2.0 | 1,343 |
package Paws::SQS::SendMessageBatchResultEntry;
use Moose;
has Id => (is => 'ro', isa => 'Str', required => 1);
has MD5OfMessageAttributes => (is => 'ro', isa => 'Str');
has MD5OfMessageBody => (is => 'ro', isa => 'Str', required => 1);
has MessageId => (is => 'ro', isa => 'Str', required => 1);
has Sequenc... | ioanrogers/aws-sdk-perl | auto-lib/Paws/SQS/SendMessageBatchResultEntry.pm | Perl | apache-2.0 | 2,588 |
false :-
main_verifier_error.
verifier_error(A,B,C) :-
A=0,
B=0,
C=0.
verifier_error(A,B,C) :-
A=0,
B=1,
C=1.
verifier_error(A,B,C) :-
A=1,
B=0,
C=1.
verifier_error(A,B,C) :-
A=1,
B=1,
C=1.
main_entry :-
true.
main__un(A) :-
main_entry,
A=268435440.
main_orig_main_exit :-... | bishoksan/RAHFT | benchmarks_scp/SVCOMP15/svcomp15-clp/simple_true-unreach-call4.i.pl | Perl | apache-2.0 | 646 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% This file is part of Logtalk <https://logtalk.org/>
% Copyright 1998-2022 Paulo Moura <pmoura@logtalk.org>
%
% Licensed under the Apache License, Version 2.0 (the "License");
% you may not use this file except in compliance with the Lic... | LogtalkDotOrg/logtalk3 | tests/logtalk/directives/use_module_2/module.pl | Perl | apache-2.0 | 1,220 |
package VMOMI::OvfConsumerOstNode;
use parent 'VMOMI::DynamicData';
use strict;
use warnings;
our @class_ancestors = (
'DynamicData',
);
our @class_members = (
['id', undef, 0, ],
['type', undef, 0, ],
['section', 'OvfConsumerOvfSection', 1, 1],
['child', 'OvfConsumerOstNode', 1, 1],
['enti... | stumpr/p5-vmomi | lib/VMOMI/OvfConsumerOstNode.pm | Perl | apache-2.0 | 578 |
package VMOMI::HostInternetScsiHbaIscsiIpv6Address;
use parent 'VMOMI::DynamicData';
use strict;
use warnings;
our @class_ancestors = (
'DynamicData',
);
our @class_members = (
['address', undef, 0, ],
['prefixLength', undef, 0, ],
['origin', undef, 0, ],
['operation', undef, 0, 1],
);
sub get... | stumpr/p5-vmomi | lib/VMOMI/HostInternetScsiHbaIscsiIpv6Address.pm | Perl | apache-2.0 | 529 |
package VMOMI::InvalidLicense;
use parent 'VMOMI::VimFault';
use strict;
use warnings;
our @class_ancestors = (
'VimFault',
'MethodFault',
);
our @class_members = (
['licenseContent', undef, 0, ],
);
sub get_class_ancestors {
return @class_ancestors;
}
sub get_class_members {
my $class = shif... | stumpr/p5-vmomi | lib/VMOMI/InvalidLicense.pm | Perl | apache-2.0 | 434 |
package Rabbid::Controller::Document;
use Mojo::Base 'Mojolicious::Controller';
use Mojo::ByteStream 'b';
use IO::File;
require Rabbid::Analyzer;
# This action will render a template
sub overview {
my $c = shift;
# Show all docs sorted
my $corpus = $c->stash('corpus');
my $cache_handle = 'default';
# corpu... | KorAP/Rabbid | lib/Rabbid/Controller/Document.pm | Perl | bsd-2-clause | 1,497 |
package Grids::Peer;
use Moose;
use Carp qw/croak/;
use Grids::UUID;
has connection => (
is => 'rw',
isa => 'Grids::Protocol::Connection',
required => 1,
);
has session_token => (
is => 'rw',
isa => 'Str',
lazy => 1,
builder => 'build_session_token',
);
has name => (
is => 'rw',
... | revmischa/grids | lib/Grids/Peer.pm | Perl | bsd-3-clause | 581 |
%% this example demonstrates a more normal setting with extra/redundant metarules and BK predicates.
%% the example is from the papers:
%% A. Cropper and S.H. Muggleton. Learning higher-order logic programs through abstraction and invention. IJCAI 2016.
%% R. Morel, A. Cropper, and L. Ong. Typed meta-interpretive learn... | metagol/metagol | examples/droplasts.pl | Perl | bsd-3-clause | 2,468 |
package Data::Serializer::Data::Denter;
BEGIN { @Data::Serializer::Data::Denter::ISA = qw(Data::Serializer) }
use warnings;
use strict;
use Carp;
use Data::Denter;
use vars qw($VERSION @ISA);
$VERSION = '0.02';
#
# Create a Data::Denter serializer object.
#
sub serialize {
my $self = shift;
my ($val) = @_;
... | cyanglee/chinese_segmentor | modules/Data/Serializer/Data/Denter.pm | Perl | mit | 1,257 |
#!/usr/bin/env perl
### modules
use strict;
use warnings;
use Pod::Usage;
use Data::Dumper;
use Getopt::Long;
use File::Spec;
use Bio::TreeIO;
### args/flags
pod2usage("$0: No files given.") if ((@ARGV == 0) && (-t STDIN));
my ($verbose, $species_in);
GetOptions(
"species=s" => \$species_in,
"verbose" => \$v... | nyoungb2/misc_perl | blib/script/Notung_reconcile_parse.pl | Perl | mit | 5,127 |
package Paws::CodeStar::UpdateProjectResult;
use Moose;
has _request_id => (is => 'ro', isa => 'Str');
### main pod documentation begin ###
=head1 NAME
Paws::CodeStar::UpdateProjectResult
=head1 ATTRIBUTES
=head2 _request_id => Str
=cut
1; | ioanrogers/aws-sdk-perl | auto-lib/Paws/CodeStar/UpdateProjectResult.pm | Perl | apache-2.0 | 254 |
package RSP::Datastore::Namespace;
use strict;
use warnings;
use RSP::Error;
use Scalar::Util::Numeric qw( isnum isint isfloat );
use Carp qw( cluck );
use base 'Class::Accessor::Chained';
__PACKAGE__->mk_accessors(qw(namespace conn tables sa cache));
sub new {
my $class = shift;
my $self = { tables => {}, sa ... | konobi/smart-platform | lib/RSP/Datastore/Namespace.pm | Perl | mit | 10,674 |
/* Part of SWI-Prolog
Author: Jan Wielemaker
E-mail: J.Wielemaker@vu.nl
WWW: http://www.swi-prolog.org
Copyright (c) 2008-2016, University of Amsterdam
VU University Amsterdam
All rights reserved.
Redistribution and use in source and bina... | josd/eye | eye-wasm/swipl-wasm/home/library/thread_pool.pl | Perl | mit | 16,881 |
#! /usr/bin/env perl
# Copyright 2007-2016 The OpenSSL Project Authors. All Rights Reserved.
#
# Licensed under the OpenSSL license (the "License"). You may not use
# this file except in compliance with the License. You can obtain a copy
# in the file LICENSE in the source distribution or at
# https://www.openssl.org... | google/google-ctf | third_party/edk2/CryptoPkg/Library/OpensslLib/openssl/crypto/aes/asm/aes-s390x.pl | Perl | apache-2.0 | 53,166 |
package DDG::Goodie::GuitarChords;
# ABSTRACT: Returns diagrams of guitar chords
use DDG::Goodie;
use strict;
with 'DDG::GoodieRole::ImageLoader';
# guitar script is stored in share directory
# including this way, because it limits duplicated code
my $g = share("chords.pm");
do "$g";
our %chord_lists; #from chords.pm... | aleksandar-todorovic/zeroclickinfo-goodies | lib/DDG/Goodie/GuitarChords.pm | Perl | apache-2.0 | 1,936 |
#! c:\perl\bin\perl.exe
#-----------------------------------------------------------
# typedurlstime.pl
# Plugin for Registry Ripper, NTUSER.DAT edition - gets the
# TypedURLsTime values/data from Windows 8 systems
#
# Change history
# 20120613 - created
#
# References
# http://dfstream.blogspot.com/2012/05/window... | dgrove727/autopsy | thirdparty/rr-full/plugins/typedurlstime.pl | Perl | apache-2.0 | 2,587 |
=encoding utf8
=head1 NAME
perl5122delta - what is new for perl v5.12.2
=head1 DESCRIPTION
This document describes differences between the 5.12.1 release and
the 5.12.2 release.
If you are upgrading from an earlier major version, such as 5.10.1,
first read L<perl5120delta>, which describes differences between 5.10... | liuyangning/WX_web | xampp/perl/lib/pods/perl5122delta.pod | Perl | mit | 9,603 |
package OpenGL::Spec;
# A very simple task further complicated by the fact that some people
# can't read, others use legacy Operating Systems, and others don't give
# a damn about using a halfway decent text editor.
#
# The code to parse the _template_ is so simple and straightforward...
# yet the code to parse... | andresodio/lager | viewer/external/glew-1.9.0/auto/lib/OpenGL/Spec.pm | Perl | mit | 5,621 |
#
# $Header: svn://svn/SWM/trunk/web/MoveCombos.pm 8251 2013-04-08 09:00:53Z rlee $
#
package MoveCombos;
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(getMoveSelectBoxes);
use strict;
sub getMoveSelectBoxes {
my($Data, $divID, $fromlabel, $tolabel, $fromdata, $todata, $width, $height, $activeorder) =@_;
... | facascante/slimerp | fifs/web/MoveCombos.pm | Perl | mit | 1,600 |
package CXGN::Stock::Catalog;
use Moose;
use Data::Dumper;
extends 'CXGN::JSONProp';
# a general human readable description of the stock
has 'description' => ( isa => 'Str', is => 'rw' );
# a list of representative images, given as image_ids
has 'images' => ( isa => 'Maybe[ArrayRef]', is => 'rw' );
# availability... | solgenomics/sgn | lib/CXGN/Stock/Catalog.pm | Perl | mit | 3,144 |
# vi:fdm=marker fdl=0
# $Id: Basic.pm,v 1.3 2006/01/25 22:23:29 jettero Exp $
package Statistics::Basic;
use strict;
no warnings;
use Carp;
our $VERSION = "0.42";
1;
__END__
# Below is stub documentation for your module. You better edit it!
=head1 NAME
Statistics::Basic A collection of very basic statistics... | AstraZeneca-NGS/Seq2C | libraries/Statistics/Basic.pm | Perl | mit | 3,812 |
# Show LEs in full format
#
# Sip Records:
# - Request type / Response code
# - CSeq number and original request type
# - ts_ini
# - Component class
# - last_ts (time elapsed since last message)
# - req_ts (time elapsed for a response since corresponding request)
#
# name resolution records:
# - origin URI
... | sandrovicente/bbk-pj | colmat/viewer.pl | Perl | mit | 2,143 |
#!/usr/bin/perl
use strict;
use warnings;
my $n = <STDIN>;
chomp $n;
while ($n>0){
my $s = <STDIN>;
chomp $s;
my $r = getEvenAndOdd($s);
print $r->[0]." ".$r->[1]."\n";
$n--;
}
sub getEvenAndOdd{
my $s = shift;
my @a = split "",$s;
my $even,$odd=();
for (my $i=0; $i<scalar(@a); $i++){
... | MarsBighead/mustang | Perl/even-odds-in-string.pl | Perl | mit | 438 |
# This file is auto-generated by the Perl DateTime Suite time zone
# code generator (0.07) This code generator comes with the
# DateTime::TimeZone module distribution in the tools/ directory
#
# Generated from /tmp/Q713JNUf8G/asia. Olson data version 2016a
#
# Do not edit this file directly.
#
package DateTime::TimeZ... | jkb78/extrajnm | local/lib/perl5/DateTime/TimeZone/Asia/Kathmandu.pm | Perl | mit | 1,468 |
print '
<!-- /Content -->
<div class="footer">
served by
<a href="https://github.com/oliworx/nanohttp">nanoHttp</a>
</div>
</div><!-- /Page -->
</body>
</html>
';
| oliworx/nanohttp | html/lib/footer.pl | Perl | mit | 172 |
use bytes;
#=====================================================================================
# SetVariablesForKUC.perl
# by Shinsuke Mori
# Last change : 14 May 2008
#=====================================================================... | tkd53/KKConv | lib/perl/dofile/SetVariablesForKUC.perl | Perl | mit | 14,726 |
#!/usr/local/bin/perl
##############################################################################
# This script annotates tab-delimited vcf summary files with sequence motif
# and mutation category information, and counts the number of mutable motifs
# in the reference genome
#######################################... | carjed/smaug-genetics | data_mgmt/data_prep/count_motifs.pl | Perl | mit | 8,699 |
package Paws::EC2::GroupIdentifier;
use Moose;
has GroupId => (is => 'ro', isa => 'Str', request_name => 'groupId', traits => ['NameInRequest']);
has GroupName => (is => 'ro', isa => 'Str', request_name => 'groupName', traits => ['NameInRequest']);
1;
### main pod documentation begin ###
=head1 NAME
Paws::EC2:... | ioanrogers/aws-sdk-perl | auto-lib/Paws/EC2/GroupIdentifier.pm | Perl | apache-2.0 | 1,462 |
# Copyright 2020, Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | googleads/google-ads-perl | lib/Google/Ads/GoogleAds/V8/Common/UserListRuleInfo.pm | Perl | apache-2.0 | 1,078 |
#
# Ensembl module for Bio::EnsEMBL::Compara::AlignSlice::Exon
#
# Original author: Javier Herrero <jherrero@ebi.ac.uk>
#
# Copyright EnsEMBL Team
#
# You may distribute this module under the same terms as perl itself
# pod documentation - main docs before the code
=head1 NAME
Bio::EnsEMBL::Compara::AlignSlice::Exon... | adamsardar/perl-libs-custom | EnsemblAPI/ensembl-compara/modules/Bio/EnsEMBL/Compara/AlignSlice/Exon.pm | Perl | apache-2.0 | 17,429 |
#
# Copyright 2021 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | Tpo76/centreon-plugins | apps/protocols/snmp/mode/responsetime.pm | Perl | apache-2.0 | 5,279 |
#
# Copyright 2022 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | centreon/centreon-plugins | storage/ibm/storwize/ssh/mode/components/portsas.pm | Perl | apache-2.0 | 2,356 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licen... | ckongEbi/ensembl-compara | modules/Bio/EnsEMBL/Compara/Production/EPOanchors/LoadDnaFragRegion.pm | Perl | apache-2.0 | 7,325 |
#!/usr/bin/perl
#
# Migrate configuration from OpenSSL to NSS
use Cwd;
use Getopt::Std;
BEGIN {
$NSSDir = cwd();
$SSLCACertificatePath = "";
$SSLCACertificateFile = "";
$SSLCertificateFile = "";
$SSLCARevocationPath = "";
$SSLCARevocationFile = "";
$SSLCertificateKeyFile = "";
$passphrase = 0... | shawnwhit/httpd_modnss | migrate.pl | Perl | apache-2.0 | 10,620 |
=head1 LICENSE
Copyright [1999-2016] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licen... | Ensembl/ensembl-funcgen | modules/Bio/EnsEMBL/Funcgen/Frip.pm | Perl | apache-2.0 | 2,443 |
#!/usr/bin/env perl
use strict;
use Data::Dumper;
use Bio::EnsEMBL::Registry;
use Getopt::Long;
=head1
load_probeset_to_transcript_assignments.pl \
--registry /homes/mnuhn/work_dir_probemapping/lib/ensembl-funcgen/registry.pm \
--species homo_sapiens \
--array_name foobar \
--probe_transcript_assignments_fi... | Ensembl/ensembl-funcgen | scripts/array_mapping/load_probe_to_transcript_assignments.pl | Perl | apache-2.0 | 1,781 |
package VMOMI::HostConfigFault;
use parent 'VMOMI::VimFault';
use strict;
use warnings;
our @class_ancestors = (
'VimFault',
'MethodFault',
);
our @class_members = ( );
sub get_class_ancestors {
return @class_ancestors;
}
sub get_class_members {
my $class = shift;
my @super_members = $class->S... | stumpr/p5-vmomi | lib/VMOMI/HostConfigFault.pm | Perl | apache-2.0 | 398 |
#
# Copyright 2018 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | wilfriedcomte/centreon-plugins | hardware/server/hp/ilo/xmlapi/custom/api.pm | Perl | apache-2.0 | 12,845 |
#
# Copyright 2016 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | golgoth31/centreon-plugins | centreon/common/radlan/mode/cpu.pm | Perl | apache-2.0 | 6,957 |
#!/usr/bin/env perl
# Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
# Copyright [2016-2018] EMBL-European Bioinformatics Institute
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the Licens... | kiwiroy/ensembl-analysis | scripts/genebuild/get_cdna_seq_for_acc_batch.pl | Perl | apache-2.0 | 3,618 |
=head1 NAME
Changes
=head1 Description
Refer to this document to learn what changes were made to the
documents since you read them last time.
The most recent changes are listed first.
=head1 ??? (format: Sat Nov 12 20:34:23 CET 2002)
* ... [...]
* ... [...]
=cut
| Distrotech/mod_perl | docs/src/contribute/docs/Changes_template.pod | Perl | apache-2.0 | 282 |
=head1 Perl 6 Summary for 2005-11-14 through 2005-11-21
All~
Welcome to another Perl 6 Summary. The attentive among you may notice that this one is on time. I am not sure how that happened, but we will try and keep it up. On a complete side note, I think there should be a Perl guild of some sort on World of Warcra... | autarch/perlweb | docs/dev/perl6/list-summaries/2005/p6summary.2005-11-21.pod | Perl | apache-2.0 | 14,867 |
#
# Copyright 2019 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | Sims24/centreon-plugins | database/informix/sql/mode/checkpoints.pm | Perl | apache-2.0 | 10,278 |
use strict;
package main;
print("<html>\n");
print(" <head>\n");
print(" <meta http-equiv=\"content-type\" content=\"text/html;charset=iso-8859-1\">\n");
print(" <title>PerfStat Tool: Status And Performance Monitoring</title>\n");
print(" <link rel=\"stylesheet\" type=\"text/css\" href=\"../../../appRez/styleSheets/... | ktenzer/perfstat | ui/perfMonitor/content/displayHGGraphs/dsp_hostGroupGraphs.pl | Perl | apache-2.0 | 8,356 |
:- module(dfta1, [dfta/5,fdfta/4,test/0,
genTest/1,
%writeDFTA/2,
flatten_denotes/2]).
:- use_module(readprog).
:- use_module(cartprod).
:- use_module(balanced_tree).
:- use_module(library(lists)).
/*%%%CIAO
:- use_module(timer_ciao).
*/%%%CIAO
%%%SICS/*
:- use_mod... | leuschel/logen | old_logen/filter_prop/dfta1.pl | Perl | apache-2.0 | 14,528 |
package Sisimai::Reason;
use feature ':5.10';
use strict;
use warnings;
use Module::Load '';
my $RetryReasons = __PACKAGE__->retry;
sub retry {
# Reason list better to retry detecting an error reason
# @return [Array] Reason list
return [ 'undefined', 'onhold', 'systemerror', 'securityerror', 'networker... | jcbf/Sisimai | lib/Sisimai/Reason.pm | Perl | bsd-2-clause | 16,075 |
package Tapper::Schema::TestrunDB::Result::Host;
BEGIN {
$Tapper::Schema::TestrunDB::Result::Host::AUTHORITY = 'cpan:TAPPER';
}
{
$Tapper::Schema::TestrunDB::Result::Host::VERSION = '4.1.3';
}
use 5.010;
use strict;
use warnings;
use parent 'DBIx::Class';
__PACKAGE__->load_components(qw/InflateColumn::DateTime C... | gitpan/Tapper-Schema | lib/Tapper/Schema/TestrunDB/Result/Host.pm | Perl | bsd-2-clause | 2,984 |
=encoding utf8
=head1 NAME
Crypt::PKCS11::CK_X9_42_MQV_DERIVE_PARAMS - Perl interface to PKCS #11 CK_X9_42_MQV_DERIVE_PARAMS structure
=head1 SYNPOSIS
use Crypt::PKCS11::CK_X9_42_MQV_DERIVE_PARAMS;
my $obj = Crypt::PKCS11::CK_X9_42_MQV_DERIVE_PARAMS->new;
$obj->set...;
$obj->get...;
=head1 DESCRIPTION
Th... | dotse/p5-Crypt-PKCS11 | lib/Crypt/PKCS11/CK_X9_42_MQV_DERIVE_PARAMS.pod | Perl | bsd-2-clause | 5,498 |
#lang pollen
◊headline{pollen-count}
◊define-meta[publish-date]{12/08/2015}
◊define-meta[categories]{pollen, racket, programming}
◊define-meta[toc]{true}
◊define-meta[comments]{true}
◊section{Introducing pollen-count}
◊link["https://github.com/malcolmstill/pollen-count"]{◊code{pollen-count}} is a ◊link["http://racke... | malcolmstill/mstill.io | blog/pollen-count.html.pm | Perl | bsd-3-clause | 6,040 |
# Copyright (c) 2003
# The funknet.org Group.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following ... | chrisa/funknet-tools | lib/Funknet/Config/CLI.pm | Perl | bsd-3-clause | 5,823 |
package App::Netdisco::Util::Permission;
use Dancer qw/:syntax :script/;
use Dancer::Plugin::DBIC 'schema';
use Scalar::Util 'blessed';
use NetAddr::IP::Lite ':lower';
use base 'Exporter';
our @EXPORT = ();
our @EXPORT_OK = qw/check_acl/;
our %EXPORT_TAGS = (all => \@EXPORT_OK);
=head1 NAME
App::Netdisco::Util::Pe... | gitpan/App-Netdisco | lib/App/Netdisco/Util/Permission.pm | Perl | bsd-3-clause | 2,734 |
#ExStart:1
use lib 'lib';
use strict;
use warnings;
use utf8;
use File::Slurp; # From CPAN
use JSON;
use AsposeStorageCloud::StorageApi;
use AsposeStorageCloud::ApiClient;
use AsposeStorageCloud::Configuration;
use AsposeCellsCloud::CellsApi;
use AsposeCellsCloud::ApiClient;
use AsposeCellsCloud::Configuration;
my $c... | asposecells/Aspose_Cells_Cloud | Examples/Perl/Rows/AddEmptyRowInWorksheet.pl | Perl | mit | 1,716 |
#!/usr/bin/perl
use strict;
use warnings;
use feature 'switch';
use Getopt::Long;
my $compress = 1;
my ( @flags, %hashFlags, $outFile );
GetOptions(
'compress!' => \$compress,
'flag=s' => \@flags,
'out=s' => \$outFile,
);
@flags = split ( ',', join(',', @flags) );
@hashFlags{@flags} = ();
die 'Please specify inp... | wozai/weibo-content-filter | compile.pl | Perl | mit | 2,464 |
# OpenXPKI::Server::Workflow::Validator::Bulk
# Written by Alexander Klink for the OpenXPKI project 2007
# Copyright (c) 2007 by The OpenXPKI Project
package OpenXPKI::Server::Workflow::Validator::Bulk;
use strict;
use warnings;
use base qw( Workflow::Validator );
use OpenXPKI::Server::Context qw( CTX );
use OpenXPKI... | mrscotty/openxpki | core/server/OpenXPKI/Server/Workflow/Validator/Bulk.pm | Perl | apache-2.0 | 979 |
package VMOMI::PerformanceManager;
use parent 'VMOMI::ManagedObject';
use strict;
use warnings;
our @class_ancestors = (
'ManagedObject',
);
our @class_members = (
['description', 'PerformanceDescription', 0, 1],
['historicalInterval', 'PerfInterval', 1, 0],
['perfCounter', 'PerfCounterInfo', 1, 0],
... | stumpr/p5-vmomi | lib/VMOMI/PerformanceManager.pm | Perl | apache-2.0 | 539 |
=pod
=head1 NAME
EVP_SIGNATURE-DSA
- The B<EVP_PKEY> DSA signature implementation
=head1 DESCRIPTION
Support for computing DSA signatures.
See L<EVP_PKEY-DSA(7)> for information related to DSA keys.
=head2 Signature Parameters
The following signature parameters can be set using EVP_PKEY_CTX_set_params().
This may... | jens-maus/amissl | openssl/doc/man7/EVP_SIGNATURE-DSA.pod | Perl | bsd-3-clause | 1,425 |
#!/bin/perl -w
# Creates a zip file, adding the given directories and files.
# Usage:
# perl zip.pl zipfile.zip file [...]
use strict;
use Archive::Zip qw(:ERROR_CODES :CONSTANTS);
die "usage: $0 zipfile.zip file [...]\n"
if (scalar(@ARGV) < 2);
my $zipName = shift(@ARGV);
my $zip = Archive::Zip->new();
forea... | GdZ/scriptfile | tool-kit/perl-modules/Archive/examples/zip.pl | Perl | mit | 662 |
#!/usr/bin/perl
##################################################################################
#
# USAGE: perl get_seq_by_id.pl [header or headers separated by spaces]
#
# Created by jennifer shelton
# Script creates new fasta files including all sequences corresponding to the headers given as input
# perl get... | idworkin/read-cleaning-format-conversion | KSU_bioinfo_lab/get_seq_by_id.pl | Perl | mit | 1,210 |
#------------------------------------------------------------------------------
# File: SonyIDC.pm
#
# Description: Read/write Sony IDC information
#
# Revisions: 2010/01/05 - P. Harvey Created
#------------------------------------------------------------------------------
package Image::ExifTool::SonyIDC;... | mkjanke/Focus-Points | focuspoints.lrdevplugin/bin/exiftool/lib/Image/ExifTool/SonyIDC.pm | Perl | apache-2.0 | 12,237 |
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | dmlc/mxnet | perl-package/AI-MXNet/lib/AI/MXNet/Random.pm | Perl | apache-2.0 | 4,947 |
#!/usr/bin/perl -w
use strict;
my $SOUPER = $ENV{"SOUPER"};
die unless defined $SOUPER;
my $SPATH = "${SOUPER}/third_party/llvm/Release/bin";
my $passes1 = "-sroa";
my $passes2 = "$passes1 -sccp -inline";
my $passes3 = "$passes2 -adce";
my $sflags = "-load ${SOUPER}/build/libsouperPass.so -souper -external-cache-so... | DmitryOlshansky/dsmith | driver/souper.pl | Perl | bsd-2-clause | 1,564 |
use strict;
use Config::Simple;
use Data::Dumper;
=head1 NAME
kb-get-service-port
=head1 DESCRIPTION
Read the deployment configuration file to determine the service port
that the given service should be using.
As a side effect we scan all the services in the deployment and fail hard if there
are multiple services... | eapearson/ui-common-dos | unused/deprecated/kbase_labs/scripts/kb-get-service-port.pl | Perl | mit | 1,285 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.