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 |
|---|---|---|---|---|---|
/* Part of Extended Libraries for SWI-Prolog
Author: Edison Mera Menendez
E-mail: efmera@gmail.com
WWW: https://github.com/edisonm/xlibrary
Copyright (C): 2016, Process Design Center, Breda, The Netherlands.
All rights reserved.
Redistribution and use in source and bin... | TeamSPoon/logicmoo_workspace | packs_lib/xlibrary/prolog/safe_prolog_cut_to.pl | Perl | mit | 2,775 |
package eapearson_TestRichReports::eapearson_TestRichReportsClient;
use JSON::RPC::Client;
use POSIX;
use strict;
use Data::Dumper;
use URI;
use Bio::KBase::Exceptions;
my $get_time = sub { time, 0 };
eval {
require Time::HiRes;
$get_time = sub { Time::HiRes::gettimeofday() };
};
use Bio::KBase::AuthToken;
#... | eapearson/eapearson_TestRichReports | lib/eapearson_TestRichReports/eapearson_TestRichReportsClient.pm | Perl | mit | 13,915 |
not_a(c).
not_a(d).
not_a(e).
not_a(f).
not_a(g).
not_a(h).
not_a(i).
not_a(k).
not_a(l).
not_a(m).
not_a(n).
not_a(p).
not_a(q).
not_a(r).
not_a(s).
not_a(t).
not_a(v).
not_a(w).
not_a(y).
not_c(a).
not_c(d).
not_c(e).
not_c(f).
not_c(g).
not_c(h).
not_c(i).
not_c(k).
not_c(l).
not_c(m).
not_c(n).
not_c(p).
not_c(q).... | JoseCSantos/GILPS | datasets/proteins/nclasses.pl | Perl | mit | 3,819 |
# !!!!!!! 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/Sc/Gujr.pl | Perl | mit | 631 |
#!/usr/bin/perl
# #####################################################
# LaTeX 2 PNG Interface
# uses the free texvc script from wikimedia.org
# (c) 2006 by Christian "metax." Simon
# #####################################################
# Include CGI Lib
use CGI qw(:standard);
use CGI::Carp qw(fatalsToBrowser);
use ... | metaxmx/latex2png | index.pl | Perl | apache-2.0 | 2,534 |
#
# Copyright 2014 MongoDB, 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 agreed to in wri... | gormanb/mongo-perl-driver | lib/MongoDB/Op/_Update.pm | Perl | apache-2.0 | 4,665 |
package Paws::StepFunctions::StateMachineListItem;
use Moose;
has CreationDate => (is => 'ro', isa => 'Str', request_name => 'creationDate', traits => ['NameInRequest'], required => 1);
has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest'], required => 1);
has StateMachineAr... | ioanrogers/aws-sdk-perl | auto-lib/Paws/StepFunctions/StateMachineListItem.pm | Perl | apache-2.0 | 1,857 |
# Copyright 2015 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 compl... | bcournaud/centreon-plugins | apps/centreon/map/jmx/mode/elements.pm | Perl | apache-2.0 | 3,934 |
package Paws::StepFunctions::StateExitedEventDetails;
use Moose;
has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest'], required => 1);
has Output => (is => 'ro', isa => 'Str', request_name => 'output', traits => ['NameInRequest']);
1;
### main pod documentation begin ###
=h... | ioanrogers/aws-sdk-perl | auto-lib/Paws/StepFunctions/StateExitedEventDetails.pm | Perl | apache-2.0 | 1,541 |
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.
id(A,B,C,D,E) :-
A=1,
B=1,
C=1.
id(A,B,C,D,E) :-
A=0,
B=1,
C=1.
id(A,B,C,... | bishoksan/RAHFT | benchmarks_scp/SVCOMP15/svcomp15-clp/id_o3_false-unreach-call.c.pl | Perl | apache-2.0 | 750 |
#
# 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/database/sqlmanagedinstance/mode/health.pm | Perl | apache-2.0 | 1,971 |
# $Id: 98_PID20.pm 7089 2014-11-29 10:58:10Z john99sr $
####################################################################################################
#
# 98_PID20.pm
# The PID device is a loop controller, used to set the value e.g of a heating
# valve dependent of the current and desired temperature.
#
# This mo... | HynekBaran/FHT8V_commander | FHEM/FHEM/98_PID20.HB.pm | Perl | apache-2.0 | 31,012 |
use Bio::EnsEMBL::Registry;
my $registry = 'Bio::EnsEMBL::Registry';
$registry->load_registry_from_db(
-host => 'mysql-ensembl-mirror.ebi.ac.uk',
-port => 4240,
-user => 'anonymous',
);
my $va = $registry->get_adaptor('human', 'variation', 'variation');
my $variation = $va->fetch_by_name('rs699');
... | at7/work | api/registry.pl | Perl | apache-2.0 | 344 |
#
# 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 | apps/pvx/restapi/mode/networkuserexperience.pm | Perl | apache-2.0 | 5,288 |
#!/usr/bin/perl
#
# $Id: //Infrastructure/GitHub/Database/backup_and_sync/backup_scripts/backup_all_dbs.pl#1 $
#
# T Dale 2015
#
use Sys::Hostname;
use strict;
use warnings;
use Switch;
use Getopt::Long;
use XML::LibXML;
use Data::Dumper;
sub fmt{
my( $str, $color ) = @_;
my $col_num;
switch ($color){
... | Fivium/Oracle-Backup-and-Sync | backup_scripts/backup_all_dbs.pl | Perl | bsd-3-clause | 5,604 |
# raid-lib.pl
# Functions for managing RAID
BEGIN { push(@INC, ".."); };
use WebminCore;
&init_config();
&foreign_require("fdisk");
open(MODE, "$module_config_directory/mode");
chop($raid_mode = <MODE>);
close(MODE);
%container = ( 'raiddev', 1,
'device', 1 );
# get_raid_levels()
# Returns a list of allowed... | xtso520ok/webmin | raid/raid-lib.pl | Perl | bsd-3-clause | 21,178 |
=pod
=head1 NAME
gendsa - generate a DSA private key from a set of parameters
=head1 SYNOPSIS
B<openssl> B<gendsa>
[B<-out filename>]
[B<-des>]
[B<-des3>]
[B<-idea>]
[B<-rand file(s)>]
[B<-engine id>]
[B<paramfile>]
=head1 DESCRIPTION
The B<gendsa> command generates a DSA private key from a DSA parameter file
(wh... | GaloisInc/hacrypto | src/C/libssl/HEAD/src/doc/apps/gendsa.pod | Perl | bsd-3-clause | 1,710 |
/* Part of SWISH
Author: Jan Wielemaker
E-mail: J.Wielemaker@cs.vu.nl
WWW: http://www.swi-prolog.org
Copyright (C): 2017, VU University Amsterdam
CWI Amsterdam
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification,... | TeamSPoon/logicmoo_workspace | packs_web/swish/lib/data/sparql.pl | Perl | mit | 4,745 |
#!/usr/bin/env perl
use strict;
use warnings;
use Factory::LumiaFactory;
my $factory = Factory::LumiaFactory->new;
my $nokia = $factory->create;
$nokia->call(911);
| PoisonBOx/design-patterns | src/factory-method/perl/test.pl | Perl | mit | 166 |
package Bogus::TooOld;
$VERSION = 0.01;
use strict;
1;
| gitpan/CPAN-Reporter | t/perl5lib/Bogus/TooOld.pm | Perl | apache-2.0 | 55 |
package Paws::SES::GetIdentityPoliciesResponse;
use Moose;
has Policies => (is => 'ro', isa => 'Paws::SES::PolicyMap', required => 1);
has _request_id => (is => 'ro', isa => 'Str');
1;
### main pod documentation begin ###
=head1 NAME
Paws::SES::GetIdentityPoliciesResponse
=head1 ATTRIBUTES
=head2 B<REQUIR... | ioanrogers/aws-sdk-perl | auto-lib/Paws/SES/GetIdentityPoliciesResponse.pm | Perl | apache-2.0 | 432 |
package Google::Ads::AdWords::v201406::AdGroupCriterionService::queryResponse;
use strict;
use warnings;
{ # BLOCK to scope variables
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201406' }
__PACKAGE__->__set_name('queryResponse');
__PACKAGE__->__set_nillable();
__PACKAGE__->__set_minOccurs();
__PACKA... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201406/AdGroupCriterionService/queryResponse.pm | Perl | apache-2.0 | 1,808 |
=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... | mjg17/ensembl | misc-scripts/xref_mapping/XrefMapper/anopheles_gambiae.pm | Perl | apache-2.0 | 1,818 |
% dcg_pfc: translation of dcg-like grammar rules into pfc rules.
:- if(( ( \+ ((current_prolog_flag(logicmoo_include,Call),Call))) )).
:- module(pfc_dcg,[]).
:- endif.
:- op(1200,xfx,'-->>').
:- op(1200,xfx,'--*>>').
% :- op(1200,xfx,'<<--').
:- op(400,yfx,'\\\\').
% :- use_module(library(strings)), use_module(libr... | TeamSPoon/pfc | prolog/pfc_dcg.pl | Perl | bsd-2-clause | 3,161 |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by lib/unicore/mktables from the Unicode
# database, Version 6.2.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... | Bjay1435/capstone | rootfs/usr/share/perl/5.18.2/unicore/lib/SB/EX.pl | Perl | mit | 2,409 |
# 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/license... | ckongEbi/ensembl-compara | docs/workshop/API_workshop_exercises/GenomicAlignBlock_2.pl | Perl | apache-2.0 | 2,560 |
#!/usr/bin/perl
# Simple script that takes a ticket as input and gets the associated
# irods file (if any). It does an iquest query to get the collection
# and name and then uses that to 'iget' the file.
($arg1, $arg2, $arg3)=@ARGV;
my $ticket = $arg1;
if ($arg1 eq "") {
printf("Usage: igetbyticket.pl ticket-... | iychoi/iRODS-FUSE-Mod-v3.3.1 | clients/icommands/bin/igetbyticket.pl | Perl | bsd-3-clause | 1,430 |
# Test for checking consistency of on-disk pages for a cluster with
# the minimum recovery LSN, ensuring that the updates happen across
# all processes. In this test, the updates from the startup process
# and the checkpointer (which triggers non-startup code paths) are
# both checked.
use strict;
use warnings;
use P... | 50wu/gpdb | src/test/recovery/t/016_min_consistency.pl | Perl | apache-2.0 | 5,161 |
package API::DeliveryServiceRegexes;
#
# Copyright 2015 Comcast Cable Communications Management, 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/LIC... | dneuman64/traffic_control | traffic_ops/app/lib/API/DeliveryServiceRegexes.pm | Perl | apache-2.0 | 1,847 |
#!/usr/local/bin/perl
#Vincent Nkawu
#Information Retrieval
#Assignment 2. Part 2
print "Please enter a file path to read from: ";
my $file = <>;
chomp $file;
open(FH, "<$file")|| die "Could not open file $file\n";
my %count;
while(my $line = <FH>){
chomp $line;
$line =~ tr/[A-Z]/[a-z]/;
foreach ... | ronaldivinci/Information-Retrieval | Assignment2Part2.pl | Perl | mit | 825 |
#!/usr/local/bin/perl
use strict;
use warnings;
use POSIX;
use File::Basename;
use File::Path qw(make_path);
use FindBin;
use YAML::XS 'LoadFile';
use feature 'say';
my $relpath = $FindBin::Bin;
my $configpath = dirname(dirname($relpath));
my $config = LoadFile("$configpath/_config.yaml");
my $parentdir = $config->{... | carjed/smaug-genetics | data_mgmt/process_predicted/toWig.pl | Perl | mit | 813 |
dup(L1, L2) :-
L1 = [],
L2 = [].
dup(L1, L2) :-
L1 = [H|T],
dup(T,L3),
L2 = [H|[H|L3]].
| greenstatic/fri-undergraduate-coursework | 4 semester/principles of programming languages/3 - Lists/4 - dup.pl | Perl | mit | 109 |
animal([c,o,c,o,d,r,i,l]).
animal([t,o,r,t,u,g,a]).
animal([l,l,o,p]).
animal([g,o,r,r,i,o]).
animal([o,n,s,o]).
animal([g,a,l,l,i,n,a]).
animal([s,o,m,e,r,a]).
afegir([],L,L).
afegir([X|L1],L2,[X|L3]):-afegir(L1,L2,L3).
mutant(X):-
animal(A), animal(B),
afegir(CapA,CoaA,A), CapA\=[], CoaA\=[],
afegir(CapB,... | pabloriutort/Aula | Lenguajes-de-programacion/ProLog/mutants/mutants.pl | Perl | mit | 366 |
:- expects_dialect(lps).
% Note the execution of this program is very sensitive to the order
% in which the clauses for make_on and make_clear are written.
maxTime(5).
fluents location(_,_).
actions move(_,_).
initially location(f,floor), location(b,f),location(e,b),
location(a,floor), location(d,a),location(c,d)... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_lps/examples/CLOUT_workshop/concurrent_towers.pl | Perl | mit | 1,323 |
% test 1 examples
example(active(d112), 1, 1).
example(active(d20), 1, 1).
example(active(d109), 1, 1).
example(active(d25), 1, 1).
example(active(d26), 1, 1).
example(active(d1), 1, 1).
example(active(d177), 1, 1).
example(active(d91), 1, 1).
example(active(d162), 1, 1).
example(active(d18), 1, 1).
example(... | JoseCSantos/GILPS | datasets/mutagenesis/examples.pl | Perl | mit | 5,797 |
#
# 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 | storage/dell/fluidfs/snmp/mode/components/substorage.pm | Perl | apache-2.0 | 3,082 |
:- module(between, [between/3], [assertions, isomodes]).
:- comment(title, "Enumeration of integers inside a range").
:- comment(author, "The CLIP Group.").
:- comment(module, "This modules enumerates integers between two
numbers, or checks that an integer lies within a range").
:- comment(summary, "This modules en... | leuschel/ecce | www/CiaoDE/ciao/lib/between.pl | Perl | apache-2.0 | 1,051 |
package VMOMI::HostAccessControlEntry;
use parent 'VMOMI::DynamicData';
use strict;
use warnings;
our @class_ancestors = (
'DynamicData',
);
our @class_members = (
['principal', undef, 0, ],
['group', 'boolean', 0, ],
['accessMode', 'HostAccessMode', 0, ],
);
sub get_class_ancestors {
return @... | stumpr/p5-vmomi | lib/VMOMI/HostAccessControlEntry.pm | Perl | apache-2.0 | 498 |
# © Copyright 2011-2012 Tiago Quintino
#
# This software is licensed under the terms of the Apache Licence Version 2.0
# which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
package openmpi;
use strict;
use warnings;
use Recipe;
my %fields = ();
our @ISA = ("Recipe");
sub new
{
my $c... | tlmquintino/cookup | cookbook/openmpi.pm | Perl | apache-2.0 | 1,093 |
package Google::Ads::AdWords::v201402::AdGroupBidModifierService::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(... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201402/AdGroupBidModifierService/ApiExceptionFault.pm | Perl | apache-2.0 | 1,112 |
#
# 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 | centreon/common/broadcom/megaraid/snmp/mode/components/fan.pm | Perl | apache-2.0 | 3,081 |
=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/Sanger/Graphics/Glyph/Space.pm | Perl | apache-2.0 | 744 |
#
# 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 | cloud/aws/ec2/mode/instancesstatus.pm | Perl | apache-2.0 | 9,446 |
package Google::Ads::AdWords::v201809::OfflineConversionAdjustmentFeedService::mutate;
use strict;
use warnings;
{ # BLOCK to scope variables
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201809' }
__PACKAGE__->__set_name('mutate');
__PACKAGE__->__set_nillable();
__PACKAGE__->__set_minOccurs();
__PACK... | googleads/googleads-perl-lib | lib/Google/Ads/AdWords/v201809/OfflineConversionAdjustmentFeedService/mutate.pm | Perl | apache-2.0 | 2,429 |
#!/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/wga2genes/merge_and_extend_gene_scaffolds.pl | Perl | apache-2.0 | 43,626 |
#
# Copyright 2015 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... | s-duret/centreon-plugins | storage/hp/p2000/xmlapi/custom.pm | Perl | apache-2.0 | 9,116 |
=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... | dbolser-ebi/ensembl-compara | modules/Bio/EnsEMBL/Compara/Production/Projection/ProjectionEngine.pm | Perl | apache-2.0 | 13,307 |
package Google::Ads::AdWords::v201402::ConstantDataService::getCarrierCriterion;
use strict;
use warnings;
{ # BLOCK to scope variables
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201402' }
__PACKAGE__->__set_name('getCarrierCriterion');
__PACKAGE__->__set_nillable();
__PACKAGE__->__set_minOccurs();... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201402/ConstantDataService/getCarrierCriterion.pm | Perl | apache-2.0 | 1,638 |
package Moose::Exception::ConflictDetectedInCheckRoleExclusions;
our $VERSION = '2.1404';
use Moose;
extends 'Moose::Exception';
with 'Moose::Exception::Role::Role';
has 'excluded_role_name' => (
is => 'ro',
isa => 'Str',
required => 1
);
sub _build_message {
my $self = shift... | ray66rus/vndrv | local/lib/perl5/x86_64-linux-thread-multi/Moose/Exception/ConflictDetectedInCheckRoleExclusions.pm | Perl | apache-2.0 | 511 |
package Paws::EC2::HistoryRecord;
use Moose;
has EventInformation => (is => 'ro', isa => 'Paws::EC2::EventInformation', request_name => 'eventInformation', traits => ['NameInRequest'], required => 1);
has EventType => (is => 'ro', isa => 'Str', request_name => 'eventType', traits => ['NameInRequest'], required =>... | ioanrogers/aws-sdk-perl | auto-lib/Paws/EC2/HistoryRecord.pm | Perl | apache-2.0 | 2,129 |
# 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/Enums/FeedAttributeTypeEnum.pm | Perl | apache-2.0 | 1,193 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2020] 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... | james-monkeyshines/ensembl | misc-scripts/xref_mapping/XrefParser/VGNCParser.pm | Perl | apache-2.0 | 4,838 |
package CSS::Prepare;
use Modern::Perl;
use CSS::Prepare::CSSGrammar;
use CSS::Prepare::Property::Background;
use CSS::Prepare::Property::Border;
use CSS::Prepare::Property::BorderRadius;
use CSS::Prepare::Property::Color;
use CSS::Prepare::Property::Effects;
use CSS::Prepare::Property::Font;
use CSS::Prepare::Proper... | norm/CSS-Prepare | p5-CSS-Prepare/lib/CSS/Prepare.pm | Perl | bsd-3-clause | 51,686 |
#!%PERL%
# Copyright (c) vhffs project and its contributors
# 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
# notice, thi... | najamelan/vhffs-4.5 | vhffs-robots/src/user_cleanup.pl | Perl | bsd-3-clause | 2,010 |
####################################################################################################################################
# COMMON STRING MODULE
####################################################################################################################################
package pgBackRestDoc::Common::... | pgbackrest/pgbackrest | doc/lib/pgBackRestDoc/Common/String.pm | Perl | mit | 3,279 |
#!perl
use Test::More;
use strict;
use warnings;
our $es;
my $r;
### INDEX STATUS ###
my $indices;
ok $indices = $es->index_status()->{indices}, 'Index status - all';
ok $indices->{'es_test_1'}, ' - Index 1 exists';
ok $indices->{'es_test_2'}, ' - Index 2 exists';
is $es->cluster_state->{metadata}{indices}{'es_test_... | elastic/elasticsearch-perl-compat | t/request_tests/index_status.pl | Perl | apache-2.0 | 703 |
package Google::Ads::AdWords::v201406::SharedSetService::ApiExceptionFault;
use strict;
use warnings;
{ # BLOCK to scope variables
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201406' }
__PACKAGE__->__set_name('ApiExceptionFault');
__PACKAGE__->__set_nillable();
__PACKAGE__->__set_minOccurs();
__PACK... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201406/SharedSetService/ApiExceptionFault.pm | Perl | apache-2.0 | 1,085 |
package Google::Ads::AdWords::v201406::NotEmptyError;
use strict;
use warnings;
__PACKAGE__->_set_element_form_qualified(1);
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201406' };
our $XML_ATTRIBUTE_CLASS;
undef $XML_ATTRIBUTE_CLASS;
sub __get_attr_class {
return $XML_ATTRIBUTE_CLASS;
}
use b... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201406/NotEmptyError.pm | Perl | apache-2.0 | 2,253 |
=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... | mjg17/ensembl | modules/Bio/EnsEMBL/Utils/Converter/bio_ens_exon.pm | Perl | apache-2.0 | 3,746 |
package CPANPLUS::Dist::MM;
use deprecate;
use strict;
use warnings;
use vars qw[@ISA $STATUS $VERSION];
use base 'CPANPLUS::Dist::Base';
$VERSION = "0.9135";
use CPANPLUS::Internals::Constants;
use CPANPLUS::Internals::Constants::Report;
use CPANPLUS::Error;
use FileHandle;
use Cwd;
use IPC::Cmd ... | Bjay1435/capstone | rootfs/usr/share/perl/5.18.2/CPANPLUS/Dist/MM.pm | Perl | mit | 34,382 |
# 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 use ... | Distrotech/mod_perl | Apache-Test/lib/Apache/TestUtil.pm | Perl | apache-2.0 | 28,948 |
# Copyright (C) 2003, 2004, 2006, 2007 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
# This program... | racker/omnibus | source/automake-1.10.3/lib/Automake/Rule.pm | Perl | apache-2.0 | 23,018 |
# Part of get-flash-videos. See get_flash_videos for copyright.
package FlashVideo::Site::Ehow;
use strict;
use FlashVideo::Utils;
use URI::Escape;
sub find_video {
my ($self, $browser) = @_;
# Get the video ID
my $uri;
if ($browser->content =~ /source=(.*?)[ &]/) {
$uri = $1;
}
else {
die "Could... | monsieurvideo/get-flash-videos | lib/FlashVideo/Site/Ehow.pm | Perl | apache-2.0 | 897 |
#!/usr/bin/perl -s
##
## Crypt::Primes -- Provable Prime Number Generator
## for Cryptographic Applications.
##
## Copyright (c) 1998-2000, Vipul Ved Prakash. All rights reserved.
## This code is free software; you can redistribute it and/or modify
## it under the same terms as Perl itself.
##
## $Id... | Dokaponteam/ITF_Project | xampp/perl/vendor/lib/Crypt/Primes.pm | Perl | mit | 52,398 |
#!/usr/bin/perl
# $Id: 20120722$
# $Date: 2012-07-22 17:37:43$
# $Author: Marek Lukaszuk$
# clearing a bit the output of "get tech"
use strict;
use warnings;
use integer;
my $empty = 0;
while(<>){
if (/^\s*$/){
$empty++;
}else{
$empty = 0;
}
next if ($empty > 1);
s/(\x07)+/\n/g;
s/--- more --- ... | mmmonk/crap | jnpr/screenos/cjc.pl | Perl | mit | 476 |
#!/usr/bin/perl
use strict;
use warnings;
use feature qw(say);
my($pid, @cmd) = @ARGV;
if( !$pid || !@cmd ) {
say "usage ./run_after.pl pid command...";
exit 1;
}
if( !kill(0, $pid) ) {
say "process $pid doesn't exist.";
exit 1;
}
say "process $pid is running, keep an eye on it...";
{
if( !kill... | CindyLinz/Toolkit | run_after.pl | Perl | mit | 473 |
package Dancer::Session::Abstract;
use strict;
use warnings;
use Carp;
use base 'Dancer::Engine';
use Dancer::Config 'setting';
use Dancer::Cookies;
use File::Spec;
__PACKAGE__->attributes('id');
# args: ($class, $id)
# receives a session id and should return a session object if found, or undef
# otherwise.
sub ret... | dimpu/AravindCom | api/perl/MAP/Modules/Dancer-1.3124/lib/Dancer/Session/Abstract.pm | Perl | mit | 6,934 |
=pod
=head1 NAME
ec - Elliptic Curve functions
=head1 SYNOPSIS
#include <openssl/ec.h>
#include <openssl/bn.h>
const EC_METHOD *EC_GFp_simple_method(void);
const EC_METHOD *EC_GFp_mont_method(void);
const EC_METHOD *EC_GFp_nist_method(void);
const EC_METHOD *EC_GFp_nistp224_method(void);
const EC_METHOD *EC... | vbloodv/blood | extern/openssl.orig/doc/crypto/ec.pod | Perl | mit | 10,952 |
#!/usr/bin/perl
$Path = "/home/bluewand/data/ash";
print "Content-type: text/html\n\n";
print qq!
<html>
<body bgcolor=white>
<font face=arial color=white>
<table width=70% height=85% border=0>
<TR>
<TD valign=middle align=middle>
<Table border=0 width=598 height=398 cellspacing=0 cellpaddin... | cpraught/arcadian-duck | initial.pl | Perl | mit | 4,487 |
package #
Date::Manip::TZ::atsout00;
# 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' i... | jkb78/extrajnm | local/lib/perl5/Date/Manip/TZ/atsout00.pm | Perl | mit | 1,283 |
#!/usr/bin/env perl
=head1 NAME
load_assembly_from_fasta.pl - Populates a core Ensembl DB with FASTA data
=head1 SYNOPSIS
perl load_assembly_from_fasta.pl [options] fasta_file(s)
Options:
-h|--help
-m|--man
-e|--ensembl_registry file
-s|--species species_name
-a|--assembly_version
-co|--coord_system name
-... | warelab/gramene-ensembl | maize/load-scripts/load-assembly-from-fasta.pl | Perl | mit | 10,112 |
%HAMBRE
sugerencias_hambre(P,ComidaSugerida,Lugar) :-
% Si no hay comida en el predicado sugerir comida por probabilidad
P == [],sugerir(comida(_,_),ComidaSugerida),
% Y sugerir lugar por probabilidad segun la comida
sugerir(hambre_lugar(ComidaSugerida,_,_),LugarSugerido),
% Si no existe el lugar agregar ... | spantons/Goo-agente-inteligente-inferencia-y-conocimiento-prolog | dependencias/hambre.pl | Perl | mit | 996 |
# $Id: ReadLine.pm 2357 2008-06-20 17:41:54Z rcaputo $
package POE::Wheel::ReadLine;
use strict;
BEGIN { eval { require bytes } and bytes->import; }
use vars qw($VERSION);
$VERSION = do {my($r)=(q$Revision: 2357 $=~/(\d+)/);sprintf"1.%04d",$r};
use Carp qw( croak carp );
use Symbol qw(gensym);
use POE qw( Wheel );
... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/POE/Wheel/ReadLine.pm | Perl | mit | 103,300 |
use LWP::Simple;
my $usage = "
perl $0 startDate endDate
Note:
Download sra.sampleInfo.xml file as specific time region:
eg.
perl $0 2017/01/01 2017/12/31
";
my $startDate = shift;
my $endDate = shift;
die $usage unless $startDate and $endDate;
my $timeStamp = $startDate."_".$endDate;
$timeStamp =~ tr/\//_/;
$qu... | CJ-Chen/TBtools-Manual | BioScripts/PerlScript/downloadSRA.pl | Perl | mit | 1,525 |
% Maze
connected(1,2).
connected(3,4).
connected(5,6).
connected(7,8).
connected(9,10).
connected(12,13).
connected(13,14).
connected(15,16).
connected(17,18).
connected(19,20).
connected(4,1).
connected(6,3).
connected(4,7).
connected(6,11).
connected(14,9).
connected(11,15).
connected(16,12).
connected(14,17).
conne... | PavelClaudiuStefan/FMI | An_2_Semestru_2/ProgramareLogica/Laboratoare/3/Lab3.pl | Perl | cc0-1.0 | 3,481 |
#
# Copyright 2015 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... | s-duret/centreon-plugins | os/aix/local/mode/liststorages.pm | Perl | apache-2.0 | 5,891 |
package Search::Elasticsearch::Plugin::XPack::5_0::Watcher;
use Moo;
with 'Search::Elasticsearch::Plugin::XPack::5_0::Role::API';
with 'Search::Elasticsearch::Role::Client::Direct';
use namespace::clean;
__PACKAGE__->_install_api('watcher');
1;
# ABSTRACT: Plugin providing Watcher API for Search::Elasticsearch 2.x
... | adjust/elasticsearch-perl | lib/Search/Elasticsearch/Plugin/XPack/5_0/Watcher.pm | Perl | apache-2.0 | 5,291 |
package Paws::CloudSearch::LiteralOptions;
use Moose;
has DefaultValue => (is => 'ro', isa => 'Str');
has FacetEnabled => (is => 'ro', isa => 'Bool');
has ReturnEnabled => (is => 'ro', isa => 'Bool');
has SearchEnabled => (is => 'ro', isa => 'Bool');
has SortEnabled => (is => 'ro', isa => 'Bool');
has Sou... | ioanrogers/aws-sdk-perl | auto-lib/Paws/CloudSearch/LiteralOptions.pm | Perl | apache-2.0 | 2,105 |
#
# 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 | network/cyberoam/snmp/mode/services.pm | Perl | apache-2.0 | 2,677 |
new12(A,B,C,D) :- A=0.
new7(A,B,C) :- D=1, B=0, new6(A,B,D).
new7(A,B,C) :- D=0, B=< -1, new6(A,B,D).
new7(A,B,C) :- D=0, B>=1, new6(A,B,D).
new6(A,B,C) :- new12(C,A,B,C).
new5(A,B,C) :- D=1, B=16, new6(A,B,D).
new5(A,B,C) :- B=<15, new7(A,B,C).
new5(A,B,C) :- B>=17, new7(A,B,C).
new3(A,B,C) :- D=1+A, E=2+B, A=<8, new3... | bishoksan/RAHFT | benchmarks_scp/misc/programs-clp/SVCOMP13-loops-sum04_safe.map.c.map.pl | Perl | apache-2.0 | 423 |
# 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/Enums/ProductChannelEnum.pm | Perl | apache-2.0 | 817 |
=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/modules/Bio/EnsEMBL/OntologyTerm.pm | Perl | apache-2.0 | 7,721 |
=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/public-plugins | tools_hive/modules/EnsEMBL/Web/Parsers/NCBIBLAST.pm | Perl | apache-2.0 | 4,724 |
#!/usr/bin/env perl
#########################################################################################
# #
# Application: discovery.pl #
# Summary: A System Disco... | greeneg/discovery | lib/Discovery/Plugins/Uptime.pm | Perl | apache-2.0 | 4,338 |
package Paws::Organizations::ListAccountsForParent;
use Moose;
has MaxResults => (is => 'ro', isa => 'Int');
has NextToken => (is => 'ro', isa => 'Str');
has ParentId => (is => 'ro', isa => 'Str', required => 1);
use MooseX::ClassAttribute;
class_has _api_call => (isa => 'Str', is => 'ro', default => 'Li... | ioanrogers/aws-sdk-perl | auto-lib/Paws/Organizations/ListAccountsForParent.pm | Perl | apache-2.0 | 2,818 |
# 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/Common/ProductBiddingCategoryInfo.pm | Perl | apache-2.0 | 1,108 |
#
# 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/emc/celerra/local/mode/components/datamover.pm | Perl | apache-2.0 | 3,397 |
=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/Common/DatabaseDumper.pm | Perl | apache-2.0 | 2,567 |
#
# Copyright 2015 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... | s-duret/centreon-plugins | hardware/server/dell/openmanage/snmp/plugin.pm | Perl | apache-2.0 | 1,376 |
package Paws::SimpleWorkflow::MarkerRecordedEventAttributes;
use Moose;
has DecisionTaskCompletedEventId => (is => 'ro', isa => 'Int', request_name => 'decisionTaskCompletedEventId', traits => ['NameInRequest'], required => 1);
has Details => (is => 'ro', isa => 'Str', request_name => 'details', traits => ['NameI... | ioanrogers/aws-sdk-perl | auto-lib/Paws/SimpleWorkflow/MarkerRecordedEventAttributes.pm | Perl | apache-2.0 | 2,148 |
package Error::Pure::Error;
# Pragmas.
use base qw(Exporter);
use strict;
use warnings;
# Modules.
use Error::Pure::Utils qw(err_helper);
use Error::Pure::Output::Text qw(err_line);
use List::MoreUtils qw(none);
use Readonly;
# Constants.
Readonly::Array our @EXPORT_OK => qw(err);
Readonly::Scalar my $EVAL => 'eval ... | gitpan/Error-Pure | Pure/Error.pm | Perl | bsd-2-clause | 2,142 |
#!/usr/bin/perl -w
#
# MD5 optimized for AMD64.
#
# Author: Marc Bevand <bevand_m (at) epita.fr>
# Licence: I hereby disclaim the copyright on this code and place it
# in the public domain.
#
use strict;
my $code;
# round1_step() does:
# dst = x + ((dst + F(x,y,z) + X[k] + T_i) <<< s)
# %r10d = X[k_next]
# %r1... | GaloisInc/hacrypto | src/C/libssl/HEAD/src/crypto/md5/asm/md5-x86_64.pl | Perl | bsd-3-clause | 10,043 |
#!/usr/bin/env perl
######################################################################
# Copyright (c) 2012, Yahoo! Inc. All rights reserved.
#
# This program is free software. You may copy or redistribute it under
# the same terms as Perl itself. Please see the LICENSE.Artistic file
# included with this project f... | getgearbox/gearbox | workers/test-delay/perl/workerTestDelay.pl | Perl | bsd-3-clause | 3,213 |
#!/usr/bin/env perl
use strict;
use warnings;
use File::Slurp qw/read_file/;
use Algorithm::Combinatorics qw/permutations combinations/;
use List::Util qw/min/;
use Data::Dumper;
my ($a, $b) = (gen(289, 16807),gen(629, 48271));
#my ($a, $b) = ({val=>65, fac=>16807, div=>2147483647},{val=>8921, fac=>48271, div=>21474... | Aneurysm9/advent | 2017/day15/day15.pl | Perl | bsd-3-clause | 1,077 |
=head1 LICENSE
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 obt... | ens-lgil/ensembl-rest | lib/EnsEMBL/REST/Controller/Root.pm | Perl | apache-2.0 | 1,521 |
=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... | kumarsaurabh20/ensembl-compara | modules/Bio/EnsEMBL/Compara/RunnableDB/PairAligner/UcscToEnsemblMapping.pm | Perl | apache-2.0 | 4,639 |
package Paws::CloudHSMv2::UntagResourceResponse;
use Moose;
has _request_id => (is => 'ro', isa => 'Str');
### main pod documentation begin ###
=head1 NAME
Paws::CloudHSMv2::UntagResourceResponse
=head1 ATTRIBUTES
=head2 _request_id => Str
=cut
1; | ioanrogers/aws-sdk-perl | auto-lib/Paws/CloudHSMv2/UntagResourceResponse.pm | Perl | apache-2.0 | 262 |
package DDG::Spice::Mtg;
# ABSTRACT: Information on 'Magic The Gathering' cards
use strict;
use DDG::Spice;
triggers start => 'mtg', 'magic card', 'magic cards', 'magic the gathering';
spice to => 'http://api.mtgdb.info/cards/$1';
spice wrap_jsonp_callback => 1;
handle remainder => sub {
$_ =~ s/\://;
return... | andrey-p/zeroclickinfo-spice | lib/DDG/Spice/Mtg.pm | Perl | apache-2.0 | 351 |
package Google::Ads::AdWords::v201409::Budget::BudgetStatus;
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 DESCRIPTION
Perl data type ... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201409/Budget/BudgetStatus.pm | Perl | apache-2.0 | 1,077 |
package #
Date::Manip::Offset::off352;
# 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'... | nriley/Pester | Source/Manip/Offset/off352.pm | Perl | bsd-2-clause | 866 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.