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 |
|---|---|---|---|---|---|
package AsposeWordsCloud::Object::Bookmarks;
require 5.6.0;
use strict;
use warnings;
use utf8;
use JSON qw(decode_json);
use Data::Dumper;
use Module::Runtime qw(use_module);
use Log::Any qw($log);
use Date::Parse;
use DateTime;
use base "AsposeWordsCloud::Object::BaseObject";
#
#
#
#NOTE: This class is auto genera... | farooqsheikhpk/Aspose_Words_Cloud | SDKs/Aspose.Words-Cloud-SDK-for-Perl/lib/AsposeWordsCloud/Object/Bookmarks.pm | Perl | mit | 964 |
#
# 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... | maksimatveev/centreon-plugins | storage/netapp/snmp/mode/components/communication.pm | Perl | apache-2.0 | 2,614 |
#!/usr/bin/env perl
########################################################################
# Authors: Christopher Henry, Scott Devoid, Paul Frybarger
# Contact email: chenry@mcs.anl.gov
# Development location: Mathematics and Computer Science Division, Argonne National Lab
############################################... | kbase/KBaseFBAModeling | scripts/pa-importprobanno.pl | Perl | mit | 3,691 |
/* Part of SWI-Prolog
Author: Jan Wielemaker
E-mail: J.Wielemaker@vu.nl
WWW: http://www.swi-prolog.org
Copyright (c) 2007-2020, University of Amsterdam
VU University Amsterdam
SWI-Prolog Solutions b.v.
All rights ... | josd/eye | eye-wasm/swipl-wasm/home/library/apply.pl | Perl | mit | 13,796 |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by lib/unicore/mktables from the Unicode
# database, Version 6.1.0. Any changes made here will be lost!
# !!!!!!! INTERNAL PERL USE ONLY !!!!!!!
# This file is for internal use by core Perl only. The format and even the
# name or existe... | efortuna/AndroidSDKClone | ndk_experimental/prebuilt/linux-x86_64/lib/perl5/5.16.2/unicore/lib/Blk/Georgian.pl | Perl | apache-2.0 | 433 |
=head1 NAME
Mdoc - perl module to parse Mdoc macros
=head1 SYNOPSIS
use Mdoc qw(ns pp soff son stoggle mapwords);
See mdoc2man and mdoc2texi for code examples.
=head1 FUNCTIONS
=over 4
=item def_macro( NAME, CODE, [ raw => 1, greedy => 1, concat_until => '.Xx' ] )
Define new macro. The CODE reference will b... | execunix/vinos | external/bsd/ntp/dist/sntp/ag-tpl/0-old/Mdoc.pm | Perl | apache-2.0 | 13,941 |
use utf8;
package Schema::Result::ProfileParameter;
# Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME
Schema::Result::ProfileParameter
=cut
use strict;
use warnings;
use base 'DBIx::Class::Core';
=head1 TABLE: C<profile_parameter>
=cut
__PACKAGE__->table("profile_... | rscrimojr/incubator-trafficcontrol | traffic_ops/app/lib/Schema/Result/ProfileParameter.pm | Perl | apache-2.0 | 2,531 |
# 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/europe. Olson data version 2016a
#
# Do not edit this file directly.
#
package DateTime::Tim... | jkb78/extrajnm | local/lib/perl5/DateTime/TimeZone/Europe/Monaco.pm | Perl | mit | 43,032 |
package GeneAttributeParser::KeggPathways;
use strict;
use warnings;
use Carp;
use base qw (GeneAttributeParser::BaseParser);
my %kegg_pathway_definitions;
sub new {
my $packagename = shift;
my $self = { gene_to_KeggPathways => {},
};
bless ($self, $packagename);
return($self);
}
sub parse_dump_file {
... | rhysf/Synima | modules/GeneAttributeParser/KeggPathways.pm | Perl | mit | 2,018 |
=head1 NAME
pacsync - update sync databases
=head1 SYNOPSIS
pacsync [options] [<syncdb>]...
pacsync (--help|--version)
=head1 DESCRIPTION
Update sync databases. If no I<syncdb> names are provided all databases will
by updated.
=head1 OPTIONS
=over
=item B<--config>=F<path>
Set an alternate configuration fil... | andrewgregory/pacutils | doc/pacsync.pod | Perl | mit | 1,058 |
use strict;
use warnings;
package Logger;
use Method::Signatures;
use feature qw(say);
use POSIX qw(strftime);
use constant LEVELS => {
err => 'error',
inf => 'info',
wrn => 'warn',
dbg => 'debug',
ntc => 'notice'
};
method new {
my $obj = bless {}, $self;
return $obj;
}
method ou... | lake-icp/Luna | Utils/Logger.pm | Perl | mit | 576 |
#!/usr/pkg/bin/perl
#---- include Perl Modules. note that HTTP::Request::Common qw(POST) is
#---- included as an example but is only necessary if the API service requires
#---- a HTTP POST
use XML::LibXML;
use LWP::UserAgent;
use HTTP::Request::Common qw(POST);
#---- set the account information variables. If you're un... | ReachmailInc/WebAPISamples | perl/samples/enumerate_lists_160.pl | Perl | mit | 1,434 |
package Genome;
use Moose;
use namespace::autoclean;
use DBI;
use Data::Dumper;
use File::Slurp;
has 'length' => (
is => 'ro',
isa => 'Int',
builder => '_build_length',
lazy => 1
);
has 'seq' => (
is => 'rw',
isa => 'Str',
builder => '_build_seq',
lazy => 1
);
has 'fasta' => (
is => 'ro',
isa => 'Str',
r... | mbiokyle29/bioinformatics | misc/perl/moose/Genome.pm | Perl | mit | 2,466 |
#!/usr/local/bin/perl -w
=pod
=head1 NAME
rename_genes_inGFF3.pl - rename the genes and transcripts names in the gff3 files
according to a name mapping table
=head1 SYNOPSIS
load_genes_from_jgi_gff3.pl rename_file gff_file
Maintained by Sharon Wei <weix@cshl.edu>
=cut
use strict;
us... | warelab/gramene-ensembl | scripts/load-scripts/rename_genes_inGFF3.pl | Perl | mit | 2,034 |
#!/usr/bin/perl -w
use Spreadsheet::WriteExcel;
use HTML::Parser;
use LWP::Simple;
my $workbook = Spreadsheet::WriteExcel->new("GoogleScholar.xls");
my $linksheet = $workbook->add_worksheet("htmllinks");
my $inyear=1980;
my $outyear=2014;
my @scholarfname = my @scholarschool = my @scholarlname = ();
my @scholarstrin... | kkamb/googlescholar | ScholarOutput.pl | Perl | mit | 2,590 |
package AbstractProductB;
use Data::Printer;
use utf8;
use Moose;
has name => (is => 'rw', isa => "Str");
__PACKAGE__->meta->make_immutable;
1;
| saftacatalinmihai/PerlGoFDesignPatterns | AbstractFactory/AbstractProductB.pm | Perl | mit | 149 |
#!/usr/bin/perl
use strict;
use warnings;
use List::Permutor;
my $happiness = {};
while (<>) {
chomp;
if ($_ =~ /^(.+) would (gain|lose) (\d+) happiness units by sitting next to (.+)\.$/) {
$happiness->{$1}->{$4} = ($2 eq 'lose') ? -1 * $3 : int $3;
}
}
my $best_score = 0;
my @best_arr;
my $p... | KenMGJ/advent-of-code | 2015/13/day13-1.pl | Perl | mit | 819 |
#!/usr/bin/perl
=head1 NAME
DBIx - Main interface to the object-relational mapper; maps shopify objects to database objects, and back again.
=cut
=head1 DESCRIPTION
DBIx represents a way to grab and upload data to the database.
=cut
=head1 EXAMPLES
To give an idea of how you're supposed to use this object, loo... | gitpan/WWW-Shopify | lib/WWW/Shopify/Common/DBIx.pm | Perl | mit | 15,865 |
use strict;
use Data::Dumper;
use Test::More;
use Config::Simple;
use Time::HiRes qw(time);
use Bio::KBase::AuthToken;
use installed_clients::WorkspaceClient;
use ReferenceDataManager::ReferenceDataManagerImpl;
use Config::IniFiles;
local $| = 1;
my $token = $ENV{'KB_AUTH_TOKEN'};
my $config_file = $ENV{'KB_DEPLOYMEN... | kbaseapps/ReferenceDataManager | test/ReferenceDataManager_server_test.pl | Perl | mit | 24,399 |
# -*- perl -*-
# !!! DO NOT EDIT !!!
# This file was automatically generated.
package Net::Amazon::Validate::ItemSearch::de::Brand;
use 5.006;
use strict;
use warnings;
sub new {
my ($class , %options) = @_;
my $self = {
'_default' => 'Apparel',
%options,
};
push @{$self->{_options}},... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/Net/Amazon/Validate/ItemSearch/de/Brand.pm | Perl | mit | 1,101 |
/* Part of ClioPatria SeRQL and SPARQL server
Author: Jan Wielemaker
E-mail: J.Wielemaker@cs.vu.nl
WWW: http://www.swi-prolog.org
Copyright (C): 2010-2016, University of Amsterdam,
VU University Amsterdam
This program is free software; you can redistribute it and/... | TeamSPoon/logicmoo_workspace | packs_web/ClioPatria/lib/semweb/rdf_describe.pl | Perl | mit | 8,625 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Author: Jose Santos <jcas81@gmail.com>
% Date: 2009-04-24
%
% This file has predicates to generate a set of hypotheses with their respective
% coverage, given a set of positive and negative exa... | JoseCSantos/GILPS | source/hypotheses/hypotheses.pl | Perl | mit | 20,283 |
#
# Copyright 2015 Electric Cloud, Inc.
#
# 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 agree... | electric-cloud/EC-Azure | src/main/resources/project/configs/createAndAttachCredential.pl | Perl | apache-2.0 | 7,935 |
# 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 License.
# You may obtain a... | kiwiroy/ensembl-analysis | modules/Bio/EnsEMBL/Analysis/RunnableDB/Finished/Exonerate.pm | Perl | apache-2.0 | 4,001 |
package Google::Ads::AdWords::v201809::FeedItem::Status;
use strict;
use warnings;
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201809'};
# derivation by restriction
use base qw(
SOAP::WSDL::XSD::Typelib::Builtin::string);
1;
__END__
=pod
=head1 NAME
=head1 DESCRIPTION
Perl data type clas... | googleads/googleads-perl-lib | lib/Google/Ads/AdWords/v201809/FeedItem/Status.pm | Perl | apache-2.0 | 1,069 |
package VMOMI::VmDeployedEvent;
use parent 'VMOMI::VmEvent';
use strict;
use warnings;
our @class_ancestors = (
'VmEvent',
'Event',
'DynamicData',
);
our @class_members = (
['srcTemplate', 'VmEventArgument', 0, ],
);
sub get_class_ancestors {
return @class_ancestors;
}
sub get_class_members {... | stumpr/p5-vmomi | lib/VMOMI/VmDeployedEvent.pm | Perl | apache-2.0 | 455 |
#
# 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 | network/securactive/mode/bcn.pm | Perl | apache-2.0 | 6,562 |
=head1 Name
OpenXPKI::Crypto::Profile::CRL - cryptographic profile for CRLs.
=cut
use strict;
use warnings;
package OpenXPKI::Crypto::Profile::CRL;
use base qw(OpenXPKI::Crypto::Profile::Base);
use OpenXPKI::Server::Context qw( CTX );
use OpenXPKI::Debug;
use OpenXPKI::Exception;
use English;
use DateTime;
use ... | openxpki/openxpki | core/server/OpenXPKI/Crypto/Profile/CRL.pm | Perl | apache-2.0 | 6,720 |
############################################################
#
# $Id$
# Apache2::AutoIndex::XSLT - XSLT Based Directory Listings
#
# Copyright 2006, 2007 Nicola Worthington
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# ... | neechbear/Apache2-AutoIndex-XSLT | lib/Apache2/AutoIndex/XSLT.pm | Perl | apache-2.0 | 36,831 |
#!/usr/bin/perl
#-------------------------------------------------------------------------------
# BDS generic cluster example
#
# This is a trivial example of the 'cluster generic' interface implementation.
# The commands implemented in this example do NOT really submit
# tasks to a cluster, the tasks are run locall... | leepc12/BigDataScript | config/clusterGeneric_localhost/kill.pl | Perl | apache-2.0 | 1,215 |
=pod
=head1 NAME
BIO_set_callback_ex, BIO_get_callback_ex, BIO_set_callback, BIO_get_callback,
BIO_set_callback_arg, BIO_get_callback_arg, BIO_debug_callback,
BIO_callback_fn_ex, BIO_callback_fn
- BIO callback functions
=head1 SYNOPSIS
#include <openssl/bio.h>
typedef long (*BIO_callback_fn_ex)(BIO *b, int oper,... | openweave/openweave-core | third_party/openssl/openssl/doc/crypto/BIO_set_callback.pod | Perl | apache-2.0 | 5,989 |
use JSON qw( encode_json );
test "Can pass a JSON filter as a query parameter",
requires => [ local_user_fixture() ],
check => sub {
my ( $user ) = @_;
my ( $room_id );
matrix_create_room_synced( $user )->then( sub {
( $room_id ) = @_;
matrix_sync( $user, filter => encode_... | matrix-org/sytest | tests/31sync/13filtered_sync.pl | Perl | apache-2.0 | 2,574 |
#
# 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 | cloud/azure/network/frontdoor/mode/requests.pm | Perl | apache-2.0 | 5,348 |
# 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/V10/Common/BasicUserListInfo.pm | Perl | apache-2.0 | 1,020 |
=encoding utf-8
=head1 Name
lua-resty-lrucache - in-Lua LRU Cache based on LuaJIT FFI
=head1 Status
This library is still under active development and is considered production ready.
=head1 Synopsis
-- file myapp.lua: example "myapp" module
local _M = {}
-- alternatively: local lrucache ... | LomoX-Offical/nginx-openresty-windows | src/pod/lua-resty-lrucache-0.04/lua-resty-lrucache-0.04.pod | Perl | bsd-2-clause | 9,015 |
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Copyright (C) 2013 Digium, Inc.
# All Rights Reserved.
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# @Package: AsteriskPl
# @Authors: Erin Spiceland <espiceland@digium.com>
#
# See http://www.asterisk.o... | asterisk/asterisk_rest_libraries | perl/lib/AsteriskPl/Endpoint.pm | Perl | bsd-3-clause | 2,147 |
#!/usr/bin/perl
# Copyright (c) 2015, BROCADE COMMUNICATIONS SYSTEMS, INC
#
# All rights reserved.
#
# 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 ... | BRCDcomm/perlbscsamples | 1.3.0/sampleopenflow/demos/demo11.pl | Perl | bsd-3-clause | 5,826 |
#!/usr/bin/env perl
# Copyright (c) 2013-, Simon Lundström <simlu@su.se>, IT Services, Stockholm University
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# Redistributions of source code must ... | stockholmuniversity/nagios-plugin-elasticsearch | check_elasticsearch_cluster.pl | Perl | bsd-3-clause | 9,942 |
/* Part of SWI-Prolog
Author: Jan Wielemaker
E-mail: J.Wielemaker@vu.nl
WWW: http://www.swi-prolog.org
Copyright (c) 2012-2020, VU University Amsterdam
CWI, Amsterdam
All rights reserved.
Redistribution and use in source and binary forms,... | TeamSPoon/logicmoo_workspace | docker/rootfs/usr/local/lib/swipl/library/prolog_codewalk.pl | Perl | mit | 39,470 |
<?php
$TRYING_ADD_UNFILLED_ROW = 'Próbujesz dodać do tabeli źle uzupełniony wiersz.';
$ROW_WHICH_YOU_TRYING_ADD = 'Wiersz który dodajesz nie jest uzupełniony wymaganymi danymi. Brakuje %s. Poniżej drukuje wiersz który chcesz dodać oraz schemat modelu z listą wymaganych pól.';
$HERE_YOU_CALL = 'Tutaj dodajesz nieuzupełn... | deArcane/framework | src/Mysql/_Exception/Queries/Insert/MissingField.lang.pl | Perl | mit | 346 |
#!/usr/bin/perl -w
###################################################
### illumina_realign.pm
### - Realign bam files using gatk indel realigner
###
### Author: S.W.Boymans, R.F.Ernst, H.H.D.Kerstens
####
###################################################
package IAP::realign;
use strict;
use POSIX qw(tmpnam);
use... | CuppenResearch/IAP | IAP/realign.pm | Perl | mit | 14,390 |
package Paws::RDS::DeleteDBClusterResult;
use Moose;
has DBCluster => (is => 'ro', isa => 'Paws::RDS::DBCluster');
has _request_id => (is => 'ro', isa => 'Str');
1;
### main pod documentation begin ###
=head1 NAME
Paws::RDS::DeleteDBClusterResult
=head1 ATTRIBUTES
=head2 DBCluster => L<Paws::RDS::DBCluste... | ioanrogers/aws-sdk-perl | auto-lib/Paws/RDS/DeleteDBClusterResult.pm | Perl | apache-2.0 | 361 |
package Google::Ads::AdWords::v201409::TargetingIdeaService::ResponseHeader;
use strict;
use warnings;
{ # BLOCK to scope variables
sub get_xmlns { 'https://adwords.google.com/api/adwords/o/v201409' }
__PACKAGE__->__set_name('ResponseHeader');
__PACKAGE__->__set_nillable();
__PACKAGE__->__set_minOccurs();
__PACKAGE... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201409/TargetingIdeaService/ResponseHeader.pm | Perl | apache-2.0 | 1,054 |
#!/usr/bin/perl -w
# DESCRIPTION:
#
# Adds transaction commands: BEGIN...COMMIT every 50 000 lines
#
# AUTHOR: Andrew Krizhanovsky (http://code.google.com/p/wikokit)
# START DATE: 2010
# FINISH DATE:
# SEE:
# Let's speed up SQLite http://componavt.livejournal.com/3393.html
use strict;
no... | componavt/wikokit | wiwordik/mysql2sqlite/add_transactions.pl | Perl | apache-2.0 | 2,945 |
package Paws::DS::AddIpRoutesResult;
use Moose;
has _request_id => (is => 'ro', isa => 'Str');
### main pod documentation begin ###
=head1 NAME
Paws::DS::AddIpRoutesResult
=head1 ATTRIBUTES
=head2 _request_id => Str
=cut
1; | ioanrogers/aws-sdk-perl | auto-lib/Paws/DS/AddIpRoutesResult.pm | Perl | apache-2.0 | 238 |
package #
Date::Manip::TZ::afsao_00;
# Copyright (c) 2008-2013 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/afsao_00.pm | Perl | bsd-2-clause | 1,536 |
#!/usr/bin/env perl
# Pragmas.
use strict;
use warnings;
# Modules.
use PYX::GraphViz;
# Example PYX data.
my $pyx = <<'END';
(html
(head
(title
-Title
)title
)head
(body
(div
-data
)div
)body
END
# Object.
my $obj = PYX::GraphViz->new;
# Parse.
$obj->parse($pyx);
# Output
# PNG data | tupinek/PYX-GraphViz | examples/ex1.pl | Perl | bsd-2-clause | 290 |
interface(node).
interface(leaf).
interfaceAttribute(node, render).
interfaceAttribute(leaf, which).
class(root, node).
class(leaf1, leaf).
classChild(root, childs, leaf).
classField(gensymattrib, gensymattrib) :- false.
classField(root, gensymattrib).
classField(leaf1, gensymattrib).
interfaceField(node, display).
int... | modulexcite/superconductor | compiler/attrib-gram-evaluator-swipl/Tutorial/output/children.pl | Perl | bsd-3-clause | 1,486 |
#
# 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 | hardware/server/dell/openmanage/snmp/mode/components/fan.pm | Perl | apache-2.0 | 4,512 |
#
# 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... | Shini31/centreon-plugins | storage/hp/lefthand/snmp/mode/components/rc.pm | Perl | apache-2.0 | 3,003 |
#
# 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 | storage/nimble/snmp/mode/globalstats.pm | Perl | apache-2.0 | 10,063 |
:- module(example1,_,[fuzzy]).
p(X,Y,_Mup1) :~ prod q(X,_Muq1),r(Y,_Mur).
p(X,Y,_Mup2) :~ prod q(X,_Muq2),s(Y,_Mus).
q(m,0.3) :~ .
r(X,_Mur):~ t(X,_Mut).
s(n,1) :~ .
t(n,0.4) :~ .
| leuschel/ecce | www/CiaoDE/ciao/library/fuzzy/examples/example1.pl | Perl | apache-2.0 | 185 |
#!perl
# Copyright 2015 Jeffrey Kegler
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, dis... | pczarn/kollos | libmarpa/work/dev/w2private_h.pl | Perl | mit | 1,656 |
=pod
=head1 NAME
SSL_extension_supported,
SSL_CTX_add_client_custom_ext, SSL_CTX_add_server_custom_ext,
custom_ext_add_cb, custom_ext_free_cb, custom_ext_parse_cb
- custom TLS extension handling
=head1 SYNOPSIS
#include <openssl/ssl.h>
int SSL_CTX_add_client_custom_ext(SSL_CTX *ctx, unsigned int ext_type,
... | openweave/openweave-core | third_party/openssl/openssl/doc/ssl/SSL_extension_supported.pod | Perl | apache-2.0 | 6,084 |
package DDG::Goodie::IsAwesome::zekiel;
# ABSTRACT: A simple goodie by zekiel
use DDG::Goodie;
use strict;
zci answer_type => "is_awesome_zekiel";
zci is_cached => 1;
triggers start => "duckduckhack zekiel", "zekiel duckduckhack";
handle remainder => sub {
return if $_;
return "zekiel is awesome and has s... | aleksandar-todorovic/zeroclickinfo-goodies | lib/DDG/Goodie/IsAwesome/zekiel.pm | Perl | apache-2.0 | 384 |
# Create global symbol declarations, transfer vector, and
# linker options files for PerlShr.
#
# Input:
# $cflags - command line qualifiers passed to cc when preprocesing perl.h
# Note: A rather simple-minded attempt is made to restore quotes to
# a /Define clause - use with care.
# $objsuffix - fi... | Lh4cKg/sl4a | perl/src/vms/gen_shrfls.pl | Perl | apache-2.0 | 14,500 |
:- module(gcd, [gcd/1]).
:- use_module(library(chr)).
:- chr_constraint gcd/1.
gcd(0) <=> true.
gcd(N) \ gcd(M) <=> 0<N, N=<M | L is M mod N, gcd(L).
| fnogatz/CHR-Constraint-Store | examples/gcd.pl | Perl | mit | 151 |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by lib/unicore/mktables from the Unicode
# database, Version 12.1.0. Any changes made here will be lost!
# !!!!!!! INTERNAL PERL USE ONLY !!!!!!!
# This file is for internal use by core Perl only. The format and even the
# name or exist... | operepo/ope | client_tools/svc/rc/usr/share/perl5/core_perl/unicore/lib/Scx/Gong.pl | Perl | mit | 573 |
package Note::App;
use strict;
use warnings;
use vars qw();
use Moose;
use Module::Load;
use Module::Refresh;
use Note::Param;
no warnings qw(uninitialized);
has 'config' => (
'is' => 'rw',
'isa' => 'HashRef',
'lazy' => 1,
'default' => sub { return {}; },
);
has 'storage' => (
'is' => 'rw',
'isa' => 'HashRef... | mfrager/note | App.pm | Perl | mit | 1,439 |
% Example for late instantiation with built-in unification
% Terminating
% Author: Thomas Stroeder
%query: p(o,o,o).
p(X,X,a) :- !.
p(X,Y,Z) :- Z = a, X = Y, p(X,Y,Z). | ComputationWithBoundedResources/ara-inference | doc/tpdb_trs/Prolog/AProVE_10_prolog/lateinstance.pl | Perl | mit | 174 |
#!/usr/bin/perl
use strict;
use warnings;
use Carp;
use Getopt::Std; # for commandline argument processing
use English qw( -no_match_vars ); # for eval error special variable
use Parse::Apache::ServerStatus; # from CPAN, for parsing Apache status page
use Math::Round; # for rounding percentages to 2 decimal places
#... | bbusschots-nuim/check_apache_serverstatus | check_apache_serverstatus.pl | Perl | mit | 5,319 |
-- Does a very basic test of the rule engine.
--
-- © 2006 David Given.
-- Prime Mover is licensed under the MIT open source license. Search
-- for 'MIT' in this file to find the full license text.
--
-- $Id$
-- Create output files.
io.open("DATA1", "w"):write("one\n")
collectgarbage()
collectgarbage()
test1 = file "... | davidgiven/primemover | tests/group-in-out.pm | Perl | mit | 534 |
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
package BMS::ForkCritter;
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # ... | VCF/MapLoc | BMS/ForkCritter.pm | Perl | mit | 53,301 |
#!/usr/bin/perl -w
# Copyright 2001, 20002 Rob Edwards
# For updates, more information, or to discuss the scripts
# please contact Rob Edwards at redwards@utmem.edu or via http://www.salmonella.org/
#
# This file is part of The Phage Proteome Scripts developed by Rob Edwards.
#
# Tnese scripts are free ... | linsalrob/bioinformatics | phage_tree/clustal2phylip.pl | Perl | mit | 1,605 |
use strict;
use Data::Dumper;
use Carp;
#
# This is a SAS Component
#
=head1 NAME
get_relationship_HasFunctional
=head1 SYNOPSIS
get_relationship_HasFunctional [-c N] [-a] [--fields field-list] < ids > table.with.fields.added
=head1 DESCRIPTION
This relationship connects a role with the features in which
it play... | kbase/kb_seed | scripts/get_relationship_HasFunctional.pl | Perl | mit | 5,988 |
package O2::Template::Node;
use strict;
#-----------------------------------------------------------------------------
sub new {
my ($package, $value) = @_;
my $obj = bless {
children => [],
parent => undef,
value => $value,
}, $package;
return $obj;
}
#---------------------------------... | haakonsk/O2-Framework | lib/O2/Template/Node.pm | Perl | mit | 4,569 |
package omnitool::applications::otadmin::datatypes::access_roles;
# is a sub-class of OmniClass
use parent 'omnitool::omniclass';
# primary key of datatype
$omnitool::applications::otadmin::datatypes::access_roles::dt = '12_1';
use strict;
# any special new() routines
sub init {
my $self = shift;
}
# routine to g... | ericschernoff/omnitool | omnitool/applications/otadmin/datatypes/access_roles.pm | Perl | mit | 5,394 |
package O2::DB::LimitSth;
use strict;
# Statement handler class for emulating "sql limit".
# (And supplying the warm & cozy "next()" method;-)
#-------------------------------------------------------------------------------
# %init : sth - dbi statement handler, start - move forward to this row index, rowCount - onl... | haakonsk/O2-Framework | lib/O2/DB/LimitSth.pm | Perl | mit | 6,931 |
#!/usr/bin/perl
use warnings;
#print "Hello world!\n";
use YAPE::Regex::Explain;
print YAPE::Regex::Explain->new('%\(([a-zA-Z_]\w*)\)')->explain;
#print YAPE::Regex::Explain->new('(?R)')->explain;
| niieani/napkin | tests/test-expression.pl | Perl | mit | 198 |
#
# 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 | apps/inin/mediaserver/snmp/mode/component.pm | Perl | apache-2.0 | 4,123 |
package Api::PriceList;
use HTTP::Tiny;
use Data::Dumper;
use HTTP::Request;
use LWP::UserAgent;
use strict;
use warnings;
use JSON::Parse 'valid_json';
use JSON qw( decode_json );
############################################################################################
sub main {
my ($self, $uri, $name, $numbe... | COMBASE/api_csv_daemon | lib/Api/PriceList.pm | Perl | apache-2.0 | 847 |
#!/usr/bin/env perl
# 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 Licens... | james-monkeyshines/ensembl-analysis | scripts/assembly_patches/add_GRC_align_features.pl | Perl | apache-2.0 | 12,096 |
package Paws::MTurk;
use Moose;
sub service { 'mturk-requester' }
sub version { '2017-01-17' }
sub target_prefix { 'MTurkRequesterServiceV20170117' }
sub json_version { "1.1" }
has max_attempts => (is => 'ro', isa => 'Int', default => 5);
has retry => (is => 'ro', isa => 'HashRef', default => sub {
{ ... | ioanrogers/aws-sdk-perl | auto-lib/Paws/MTurk.pm | Perl | apache-2.0 | 37,960 |
#
# 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 | apps/video/openheadend/snmp/mode/operationstatus.pm | Perl | apache-2.0 | 6,315 |
package VMOMI::ArrayOfHostLowLevelProvisioningManagerFileDeleteResult;
use parent 'VMOMI::ComplexType';
use strict;
use warnings;
our @class_ancestors = ( );
our @class_members = (
['HostLowLevelProvisioningManagerFileDeleteResult', 'HostLowLevelProvisioningManagerFileDeleteResult', 1, 1],
);
sub get_class_anc... | stumpr/p5-vmomi | lib/VMOMI/ArrayOfHostLowLevelProvisioningManagerFileDeleteResult.pm | Perl | apache-2.0 | 519 |
package Venn::SchemaBase::ResultSet;
=head1 NAME
Venn::SchemaBase::ResultSet
=head1 DESCRIPTION
Base DBIC ResultSet
=head1 AUTHOR
Venn Engineering
Josh Arenberg, Norbert Csongradi, Ryan Kupfer, Hai-Long Nguyen
=head1 LICENSE
Copyright 2013,2014,2015 Morgan Stanley
Licensed under the Apache License, Version 2.... | Morgan-Stanley/venn-core | lib/Venn/SchemaBase/ResultSet.pm | Perl | apache-2.0 | 7,615 |
=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/RunnableDB/GeneTrees/OverallGroupsetQC.pm | Perl | apache-2.0 | 17,875 |
#!/usr/bin/env perl
=head1 LICENSE
Copyright (c) 1999-2011 The European Bioinformatics Institute and
Genome Research Limited. All rights reserved.
This software is distributed under a modified Apache license.
For license details, please see
http://www.ensembl.org/info/about/code_licence.html
=head1 C... | adamsardar/perl-libs-custom | EnsemblAPI/ensembl-functgenomics/scripts/import/import_array_from_fasta.pl | Perl | apache-2.0 | 6,434 |
package Model::R::ToPay::ContractorApiFunctionAccess;
use strict;
use base qw(Model::R::ToPay);
__PACKAGE__->meta->setup(
table => 'contractor_api_function_access',
columns => [
contractor_api_access_id => { type => 'integer', not_null => 1 },
external_api_function_id => { type => 'integer... | ant-i/db-crud | dbs/Model/R/ToPay/ContractorApiFunctionAccess.pm | Perl | apache-2.0 | 1,129 |
=head1 NAME
Bio::EnsEMBL::Analysis::Config::ProbeAlign
=head1 SYNOPSIS
use Bio::EnsEMBL::Analysis::Config::ProbeAlign;
=head1 DESCRIPTION
This contains the configuration for step 2 of the
process which maps probes to a Genome. This step
is an alignment of probes (dna) against a genome (dna)
using exonerate. ... | kiwiroy/ensembl-analysis | modules/Bio/EnsEMBL/Analysis/Config/ProbeAlign.pm | Perl | apache-2.0 | 20,989 |
# 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/Services/CustomInterestService/CustomInterestOperation.pm | Perl | apache-2.0 | 1,131 |
=head1 LICENSE
Copyright [2009-2014] 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/licenses/LICENSE-2.0
Unless required by appl... | navygit/ncRNA_Pipeline | modules/Bio/EnsEMBL/EGPipeline/GetOrthologs/RunnableDB/GetOrthologs.pm | Perl | apache-2.0 | 8,241 |
#!/usr/bin/env perl
# 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... | james-monkeyshines/ensembl-analysis | modules/Bio/EnsEMBL/Analysis/Hive/RunnableDB/HiveProcessGeneClusters.pm | Perl | apache-2.0 | 36,851 |
#!/usr/bin/perl
use DBI;
use Getopt::Long;
use File::Basename;
use strict;
use warnings;
my $username = "test";
my $password = "test";
my $db = "irida_test";
my $host = "localhost";
GetOptions(
'u|username=s' => \$username,
'p|password=s' => \$password,
'd|db=s' => \$db,
'h|host=s' ... | phac-nml/irida | src/main/resources/scripts/paired-files/paired-files.pl | Perl | apache-2.0 | 4,255 |
=head1 LICENSE
Copyright (c) 1999-2011 The European Bioinformatics Institute and
Genome Research Limited. All rights reserved.
This software is distributed under a modified Apache license.
For license details, please see
http://www.ensembl.org/info/about/code_licence.html
=head1 CONTACT
Please email... | adamsardar/perl-libs-custom | EnsemblAPI/ensembl-compara/modules/Bio/EnsEMBL/Compara/RunnableDB/EpoLowCoverage/ImportAlignment.pm | Perl | apache-2.0 | 14,212 |
#!/usr/bin/perl
#===============================================================================
#
# FILE: calcula-uptime.pl
#
# USAGE: ./calcula-uptime.pl [uptime string]
#
# DESCRIPTION: uptime calculation
#
# OPTIONS: if there's an argument, considers it the uptime string. If there
# ... | Patola/patolascripts | calcula-uptime.pl | Perl | apache-2.0 | 1,507 |
#!/usr/bin/env perl
# Copyright [1999-2014] 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://ww... | dbolser-ebi/ensembl-compara | modules/t/CreateComparaTestDatabase.pl | Perl | apache-2.0 | 37,234 |
#!/usr/bin/perl
package RVM v1.0.0;
use v5.14;
# Pragmas
use strict;
use warnings;
#Arquivos com as funcoes de assembly implementadas
use f_arit;
use f_jumps;
use f_tests;
use f_memo;
use f_stk;
use f_io;
return 1;
| renatocf/MAC0242-PROJECT | lib/RVM/functions.pm | Perl | apache-2.0 | 220 |
#
# 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 | apps/github/mode/pullrequests.pm | Perl | apache-2.0 | 5,183 |
:- load_compilation_module(library('regtypes/regtypes_tr')).
:- add_sentence_trans(expand_regtypes/2).
:- new_declaration(regtype/1).
:- new_declaration(regtype/2).
:- op(1150, fx,(regtype)).
:- op(1150,xfx,(regtype)).
%% in basic_props: :- meta_predicate regtype(goal).
| leuschel/ecce | www/CiaoDE/ciao/lib/regtypes/regtypes.pl | Perl | apache-2.0 | 280 |
package Google::Ads::AdWords::v201402::AdParamService::ApiExceptionFault;
use strict;
use warnings;
{ # BLOCK to scope variables
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201402' }
__PACKAGE__->__set_name('ApiExceptionFault');
__PACKAGE__->__set_nillable();
__PACKAGE__->__set_minOccurs();
__PACKAG... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201402/AdParamService/ApiExceptionFault.pm | Perl | apache-2.0 | 1,079 |
# 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/Services/CampaignConversionGoalService/MutateCampaignConversionGoalsResponse.pm | Perl | apache-2.0 | 1,072 |
#!/usr/bin/env perl
#***************************************************************************
# _ _ ____ _
# Project ___| | | | _ \| |
# / __| | | | |_) | |
# | (__| |_| | _ <| |___
# ... | LiberatorUSA/GUCEF | dependencies/curl/tests/libtest/mk-lib1521.pl | Perl | apache-2.0 | 9,762 |
#
# 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 | network/evertz/AEA47721/snmp/plugin.pm | Perl | apache-2.0 | 1,270 |
#
# 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 | storage/fujitsu/eternus/dx/ssh/mode/volumestats.pm | Perl | apache-2.0 | 16,180 |
=HEAD1 LICENSE
Copyright [1999-2014] 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... | andrewyatz/ens-sandbox | ensembl_chains/CrossMap.pm | Perl | apache-2.0 | 4,004 |
=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.
# ... | james-monkeyshines/ensembl-analysis | modules/Bio/EnsEMBL/Analysis/Runnable/Dust.pm | Perl | apache-2.0 | 6,216 |
#!/usr/bin/env perl
#-------------------------------------------------------------------------------
# NAME: genome_features.pl
# PURPOSE: web script to output pseq aligned to a genome
# USAGE: genome_features.pl?genasm_id=<genasm_id>;[(chr=<chr>;gstart=<gstart>;gstop=<gstop>)||(pseq_id=<pseq_id>)]
#------------------... | unison/unison | www/genome_features.pl | Perl | apache-2.0 | 2,677 |
package OpenXPKI::Server::API2::Plugin::Profile::get_cert_profiles;
use OpenXPKI::Server::API2::EasyPlugin;
=head1 NAME
OpenXPKI::Server::API2::Plugin::Profile::get_cert_profiles
=head1 COMMANDS
=cut
# Project modules
use OpenXPKI::Server::Context qw( CTX );
use OpenXPKI::Exception;
=head2 get_cert_profiles
Retu... | oliwel/openxpki | core/server/OpenXPKI/Server/API2/Plugin/Profile/get_cert_profiles.pm | Perl | apache-2.0 | 1,985 |
package Tapper::Installer::Precondition::Package;
use strict;
use warnings;
use 5.010;
use Tapper::Installer::Precondition::Exec;
use File::Basename;
use Moose;
extends 'Tapper::Installer::Precondition';
=head1 NAME
Tapper::Installer::Precondition::Package - Install a package to a given location
=head1 SYNOPSIS
... | tapper/Tapper-Installer | lib/Tapper/Installer/Precondition/Package.pm | Perl | bsd-2-clause | 4,455 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.