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 Mojolicious::Plugin::HeaderCondition;
use Mojo::Base 'Mojolicious::Plugin';
sub register {
my ($self, $app) = @_;
$app->routes->add_condition(headers => \&_headers);
$app->routes->add_condition(
agent => sub { _headers(@_[0 .. 2], {'User-Agent' => $_[3]}) });
$app->routes->add_condition(
host ... | ashkanx/binary-mt | scripts/local/lib/perl5/Mojolicious/Plugin/HeaderCondition.pm | Perl | apache-2.0 | 2,360 |
# openbsd-lib.pl
# Quota functions for openbsd
# quotas_init()
sub quotas_init
{
return undef;
}
# quotas_supported()
# Returns 1 for user quotas, 2 for group quotas or 3 for both
sub quotas_supported
{
return 3;
}
# free_space(filesystem)
# Returns an array containing btotal, bfree, ftotal, ffree
sub free_space
{
... | HasClass0/webmin | quota/freebsd-lib.pl | Perl | bsd-3-clause | 10,971 |
# iscsi-tgtd-lib.pl
# Common functions for managing and configuring the iSCSI TGTD server
BEGIN { push(@INC, ".."); };
use strict;
use warnings;
use WebminCore;
&init_config();
&foreign_require("raid");
&foreign_require("fdisk");
&foreign_require("lvm");
&foreign_require("mount");
our (%text, %config, %gconfig, $modul... | rcuvgd/Webmin22.01.2016 | iscsi-tgtd/iscsi-tgtd-lib.pl | Perl | bsd-3-clause | 11,888 |
#!/usr/bin/perl -w
use strict;
use File::Basename;
use lib '/home/shichen.wang/perl5/lib/perl5';
use JSON::Parse 'json_file_to_perl';
use XML::Simple;
use Data::Dumper;
use Cwd;
use FindBin;
my $star_bar = '*' x 80;
my $usage = qq ($star_bar
Usage:
$0 <pacbio_sequence_folder, i.e, /data4/pacbio/r54092_20160921_211039... | swang8/Perl_scripts_misc | generate_pacbio_report.pl | Perl | mit | 11,113 |
:- module(
hash_ext,
[
hash_algorithm/1, % ?Name
hash_directory/2, % +Hash, -Directory
hash_directory/3, % +Root, +Hash, -Directory
hash_file/3, % +Hash, +Local, -File
hash_file/4, % +Root, +Hash, +Local, -File
md5/2, % +Term, -Hash
md5/3, % +Term, -Hash, ... | wouterbeek/Prolog_Library_Collection | prolog/hash_ext.pl | Perl | mit | 2,781 |
package HTTP::Session2::Base;
use strict;
use warnings;
use utf8;
use 5.008_001;
use Digest::SHA;
use Carp ();
use Mouse;
has env => (
is => 'ro',
required => 1,
);
has session_cookie => (
is => 'ro',
lazy => 1,
default => sub {
+{
httponly => 1,
secure => 0,
... | rosiro/wasarabi | local/lib/perl5/HTTP/Session2/Base.pm | Perl | mit | 5,239 |
#!/usr/bin/env perl
package QDT;
use strict;
use warnings;
use constant SEG_TEXT => 1;
use constant SEG_LOGIC => 2;
use constant SEG_OUTPUT => 3;
use constant SEG_COMMENT => 4;
use constant TAG_NONE => 1;
use constant TAG_CODE => 2;
use constant TAG_EMIT => 3;
use constant TAG_COMMENT => 4;
use constant MSG_WARNIN... | ericpromislow/qdt | lib/QDT.pm | Perl | mit | 7,598 |
/* $Id$
Part of CLP(Q) (Constraint Logic Programming over Rationals)
Author: Leslie De Koninck
E-mail: Leslie.DeKoninck@cs.kuleuven.be
WWW: http://www.swi-prolog.org
http://www.ai.univie.ac.at/cgi-bin/tr-online?number+95-09
Copyright (C): 2006, K.U. Leuven and
19... | TeamSPoon/logicmoo_workspace | docker/rootfs/usr/local/lib/swipl/library/clp/clpq/store_q.pl | Perl | mit | 10,711 |
use MooseX::Declare;
use strict;
use warnings;
#### USE LIB FOR INHERITANCE
use FindBin qw($Bin);
use lib "$Bin/../";
class Test::Virtual {
sub new {
my $class = shift;
my $type = shift;
$type = uc(substr($type, 0, 1)) . substr($type, 1);
#print "Virtual::new type: $type\n";
... | aguadev/aguadev | t/unit/lib/Test/Virtual.pm | Perl | mit | 605 |
# 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/southamerica. Olson data version 2008c
#
# Do not edit this file directly.
#
package DateTime:... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/DateTime/TimeZone/America/Recife.pm | Perl | mit | 4,394 |
:- module(rdf_test, [load_manifest/0,run_rdf_tests/0]).
/** <module> Run W3C tests for RDF
@author Wouter Beek
@version 2015/08
*/
:- use_module(library(apply)).
:- use_module(library(io_ext)).
:- use_module(library(rdf/rdf_convert)).
:- use_module(library(rdf/rdf_list)).
:- use_module(library(rdf/rdf_read)).
:- use... | Anniepoo/plRdf | prolog/rdf/rdf_test.pl | Perl | mit | 1,551 |
/* Part of SWI-Prolog
Author: Jan Wielemaker
E-mail: J.Wielemaker@vu.nl
WWW: http://www.swi-prolog.org
Copyright (c) 2009-2014, VU University, Amsterdam
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permi... | TeamSPoon/logicmoo_workspace | docker/rootfs/usr/local/lib/swipl/library/http/http_server_files.pl | Perl | mit | 5,054 |
=head1 NAME
Attean::API::ResultSerializer - Role for serializers of L<Attean::API::Result> objects
=head1 VERSION
This document describes Attean::API::ResultSerializer version 0.002
=head1 DESCRIPTION
The Attean::API::ResultSerializer role defines serializers of
L<Attean::API::Result> objects.
=head1 ROLES
This ... | gitpan/Attean | lib/Attean/API/ResultSerializer.pod | Perl | mit | 1,175 |
%query: count(i,o).
/* from Giesl, 1995 */
flatten(atom(X),[X]).
flatten(cons(atom(X),U),[X|Y]) :- flatten(U,Y).
flatten(cons(cons(U,V),W),X) :- flatten(cons(U,cons(V,W)),X).
count(atom(X),s(0)).
count(cons(atom(X),Y),s(Z)) :- count(Y,Z).
count(cons(cons(U,V),W),Z) :- flatten(cons(cons(U,V),W),X), count(X,Z).
| ComputationWithBoundedResources/ara-inference | doc/tpdb_trs/Logic_Programming/SGST06/flatten_phd.pl | Perl | mit | 314 |
#
# 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/netapp/ontap/oncommandapi/custom/api.pm | Perl | apache-2.0 | 6,219 |
package API::Cdn;
#
#
# 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, software... | mdb/incubator-trafficcontrol | traffic_ops/app/lib/API/Cdn.pm | Perl | apache-2.0 | 47,221 |
=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 | modules/Bio/EnsEMBL/Translation.pm | Perl | apache-2.0 | 36,116 |
=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/modules/EnsEMBL/Web/Ticket/Postgap.pm | Perl | apache-2.0 | 2,235 |
package Moose::Exception::PackageDoesNotUseMooseExporter;
our $VERSION = '2.1404';
use Moose;
extends 'Moose::Exception';
has 'package' => (
is => 'ro',
isa => 'Str',
required => 1
);
has 'is_loaded' => (
is => 'ro',
isa => 'Bool',
required => 1
);
sub _build_message {
... | ray66rus/vndrv | local/lib/perl5/x86_64-linux-thread-multi/Moose/Exception/PackageDoesNotUseMooseExporter.pm | Perl | apache-2.0 | 536 |
package Google::Ads::AdWords::v201809::MutateMembersOperation;
use strict;
use warnings;
__PACKAGE__->_set_element_form_qualified(1);
sub get_xmlns { 'https://adwords.google.com/api/adwords/rm/v201809' };
our $XML_ATTRIBUTE_CLASS;
undef $XML_ATTRIBUTE_CLASS;
sub __get_attr_class {
return $XML_ATTRIBUTE_CLASS;
... | googleads/googleads-perl-lib | lib/Google/Ads/AdWords/v201809/MutateMembersOperation.pm | Perl | apache-2.0 | 1,999 |
=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/DBSQL/MethodLinkSpeciesSetAdaptor.pm | Perl | apache-2.0 | 22,887 |
#
# 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/alcatel/pss/1830/snmp/mode/listsap.pm | Perl | apache-2.0 | 3,968 |
package Task::Mock::Person;
# Pragmas.
use strict;
use warnings;
# Version.
our $VERSION = 0.04;
1;
__END__
=pod
=encoding utf8
=head1 NAME
Task::Mock::Person - Install the Mock::Person modules.
=head1 SYNOPSIS
cpanm Task::Mock::Person
=head1 SEE ALSO
L<Mock::Person>,
L<Mock::Person::CZ>,
L<Mock::Person::D... | tupinek/Task-Mock-Person | Person.pm | Perl | bsd-2-clause | 708 |
use utf8;
package App::Netdisco::DB::Result::Subnet;
# Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE
use strict;
use warnings;
use base 'DBIx::Class::Core';
__PACKAGE__->table("subnets");
__PACKAGE__->add_columns(
"net",
{ data_type => "cidr", is_nullable => 0 },
"creation"... | gitpan/App-Netdisco | lib/App/Netdisco/DB/Result/Subnet.pm | Perl | bsd-3-clause | 953 |
<?php
$PASS_WRONG_EMAIL_FOR_REGISTER = 'Próbujesz zarejestrować użytkownika na niepoprawny email.';
$CORRECT_PASSED_EMAIL = 'Email <b>%s</b> przekazany do rejestracji nie wygląda jak adres email, powinieneś wcześniej sprawdzać jego poprawność.';
$HERE_ERROR_OCCUR = 'Tutaj przekazujesz błędny email.';
$PASS_WRONG_EMAIL... | charJKL/deArcane | src/User28/_Exception/Input/WrongEmail.lang.pl | Perl | mit | 969 |
#!/usr/bin/perl -w
use strict;
use Bio::SearchIO;
die "perl $0 <blast_file>\n" unless @ARGV;
parse_blastx_results(shift);
sub parse_blastx_results
{
my $file = shift;
my %return_hash;
my $searchio = Bio::SearchIO->new(-format => 'blast', file => "$file" );
while (my $result = $searchio->next_result())
{
last ... | swang8/Perl_scripts_misc | parse_blast_output_for_acquried_exon.pl | Perl | mit | 784 |
###########################################################################
#
# This file is partially auto-generated by the DateTime::Locale generator
# tools (v0.10). This code generator comes with the DateTime::Locale
# distribution in the tools/ directory, and is called generate-modules.
#
# This file was generated... | jkb78/extrajnm | local/lib/perl5/DateTime/Locale/mk.pod | Perl | mit | 11,409 |
package AsposeImagingCloud::ImagingApi;
require 5.6.0;
use strict;
use warnings;
use utf8;
use Exporter;
use Carp qw( croak );
use Log::Any qw($log);
use File::Slurp;
use AsposeImagingCloud::ApiClient;
use AsposeImagingCloud::Configuration;
my $VERSION = '1.03';
sub new {
my $class = shift;... | aspose-imaging/Aspose.Imaging-for-Cloud | SDKs/Aspose.Imaging-Cloud-SDK-for-Perl/lib/AsposeImagingCloud/ImagingApi.pm | Perl | mit | 108,851 |
package Google::Ads::AdWords::v201409::CriterionAttribute;
use strict;
use warnings;
__PACKAGE__->_set_element_form_qualified(1);
sub get_xmlns { 'https://adwords.google.com/api/adwords/o/v201409' };
our $XML_ATTRIBUTE_CLASS;
undef $XML_ATTRIBUTE_CLASS;
sub __get_attr_class {
return $XML_ATTRIBUTE_CLASS;
}
u... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201409/CriterionAttribute.pm | Perl | apache-2.0 | 1,654 |
#
# 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 | hardware/sensors/sensormetrix/em01/web/mode/humidity.pm | Perl | apache-2.0 | 4,714 |
package VMOMI::HistoryCollector;
use parent 'VMOMI::ManagedObject';
use strict;
use warnings;
our @class_ancestors = (
'ManagedObject',
);
our @class_members = (
['filter', undef, 0, 1],
);
sub get_class_ancestors {
return @class_ancestors;
}
sub get_class_members {
my $class = shift;
my @super... | stumpr/p5-vmomi | lib/VMOMI/HistoryCollector.pm | Perl | apache-2.0 | 417 |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by lib/unicore/mktables from the Unicode
# database, Version 8.0.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... | operepo/ope | bin/usr/share/perl5/core_perl/unicore/lib/XIDS/Y.pl | Perl | mit | 6,814 |
=pod
=head1 NAME
EVP_PKEY_is_a, EVP_PKEY_can_sign, EVP_PKEY_type_names_do_all,
EVP_PKEY_get0_type_name, EVP_PKEY_get0_description, EVP_PKEY_get0_provider
- key type and capabilities functions
=head1 SYNOPSIS
#include <openssl/evp.h>
int EVP_PKEY_is_a(const EVP_PKEY *pkey, const char *name);
int EVP_PKEY_can_sig... | jens-maus/amissl | openssl/doc/man3/EVP_PKEY_is_a.pod | Perl | bsd-3-clause | 3,681 |
# !!!!!!! 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/In/3_1.pl | Perl | apache-2.0 | 4,387 |
#!/usr/bin/perl
#
# poll-mirrors.pl
#
# This script is designed to poll download sites after posting a release
# and print out notice as each becomes available. The RM can use this
# script to delay the release announcement until the release can be
# downloaded.
#
#
# Licensed to the Apache Software Foundation (ASF) u... | pkarmstr/NYBC | solr-4.2.1/dev-tools/scripts/poll-mirrors.pl | Perl | apache-2.0 | 4,297 |
package DDG::Goodie::IsAwesome::mjgardner;
# ABSTRACT: mjgardner's first Goodie
use DDG::Goodie;
use strict;
zci answer_type => "is_awesome_mjgardner";
zci is_cached => 1;
triggers start => "duckduckhack mjgardner";
handle remainder => sub {
return if $_;
return "mjgardner is awesome and has successfully ... | roxxup/zeroclickinfo-goodies | lib/DDG/Goodie/IsAwesome/mjgardner.pm | Perl | apache-2.0 | 373 |
package DDG::Goodie::IsAwesome::Black616Angel;
# ABSTRACT: Black616Angels first Goodie
use DDG::Goodie;
use strict;
zci answer_type => "is_awesome_black616angel";
zci is_cached => 1;
triggers start => "duckduckhack black616angel";
handle remainder => sub {
return if $_;
return "Black616Angel is awesome an... | aleksandar-todorovic/zeroclickinfo-goodies | lib/DDG/Goodie/IsAwesome/Black616Angel.pm | Perl | apache-2.0 | 392 |
#-----------------------------------------------------------
# shellbags_xp.pl
# RR plugin to parse (Vista, Win7/Win2008R2) shell bags
#
# History:
# 20130515 - created from shellbags.pl; many differences between XP and Win7
# 20130102 - updated to include type 0x35
# 20120824 - updated parseFolderEntry() for XP ... | millmanorama/autopsy | thirdparty/rr-full/plugins/shellbags_xp.pl | Perl | apache-2.0 | 30,031 |
package DDG::Goodie::IsAwesome::ashleyglidden;
# ABSTRACT: ashleyglidden's first Goodie
use DDG::Goodie;
use strict;
zci answer_type => "is_awesome_ashleyglidden";
zci is_cached => 1;
name "IsAwesome ashleyglidden";
description "My first Goodie, it let's the world know that ashleyglidden is awesome";
primary_examp... | kavithaRajagopalan/zeroclickinfo-goodies | lib/DDG/Goodie/IsAwesome/ashleyglidden.pm | Perl | apache-2.0 | 923 |
use c_rt_lib;
use hash;
use ptd;
use tct;
use boolean_t;
use nast;
use singleton;
use compiler_lib;
sub tc_types_priv::op_def;
sub tc_types::get_bin_op_def;
sub tc_types_priv::get_binary_ops;
sub tc_types::errors_t;
sub tc_types::bin_op_type;
sub tc_types::defs_funs_t;
sub tc_types::return_t;
sub tc_types::modules_t;
s... | nianiolang/nl | bin/nianio_lang_pm/tc_types.pm | Perl | mit | 28,827 |
/****************************************************
% pronto_morph_spelling_rules.pl
% Author: Jason Schlachter (ai@uga.edu)(www.arches.uga.edu/~ai)
% Released: May 8th, 2003
% Artificial Intelligence Center (www.ai.uga.edu)
% ***see pronto_morph.pdf for documentation
% Morphological Analyzer to be used with
% ProN... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/ext/ProNTo/Schlachter/pronto_morph_spelling_rules.pl | Perl | mit | 3,978 |
# bulk BAC End Raw download script for SGN database
# Lukas Mueller, August 12, 2003
# This bulk download option handles the query
# Of BAC Ends of type Raw.
# Many of its methods are in the Bulk object.
# Modified July 15, 2005
# Modified more August 11, 2005
# Summer Intern Caroline N. Nyenke
# Modified July 7, 2... | solgenomics/sgn | lib/CXGN/Bulk/BACEndRaw.pm | Perl | mit | 7,209 |
#------------------------------------------------------------------------------
# File: Charset.pm
#
# Description: ExifTool character encoding routines
#
# Revisions: 2009/08/28 - P. Harvey created
# 2010/01/20 - P. Harvey complete re-write
# 2010/07/16 - P. Harvey added UTF-16 ... | mceachen/exiftool_vendored | bin/lib/Image/ExifTool/Charset.pm | Perl | mit | 16,397 |
#!/usr/bin/perl
use strict;
use warnings;
use lib '../';
# This script uses full DBIx::Class object inflation. It takes about
# 2.6 hours to process 4 million features.
use GAL::Schema;
my $schema = GAL::Schema->connect('DBI:mysql:database=pg_chinese_snp');
my $feature_rs = $schema->resultset('Feature');
whil... | 4ureliek/TEanalysis | Lib/GAL/t/devel_scripts/schema_object.pl | Perl | mit | 503 |
###########################################################################
#
# This file is auto-generated by the Perl DateTime Suite time locale
# generator (0.04). This code generator comes with the
# DateTime::Locale distribution in the tools/ directory, and is called
# generate_from_cldr.
#
# This file as generat... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/DateTime/Locale/ar.pm | Perl | mit | 3,550 |
#!/usr/bin/env perl
use strict;
use warnings;
use Getopt::Long;
use YAML::XS qw (LoadFile DumpFile);
use File::Basename;
use Assembly::Utils;
my $options = {};
my @colheaders = ("Species", "Strain", "Sample_ID", "Trim_Raw", "Reference_Strain", "Reference_Metafile",
"Output_Release_Dir", "Output_Release_Prefix... | AAFC-MBB/crti-assembly-pipeline | RnaAssemblyReleaseWiki.pl | Perl | mit | 6,924 |
package SanrioCharacterRanking::DB::Row;
use strict;
use warnings;
use utf8;
use parent qw(Teng::Row);
1;
| mono0x/ranking.sucretown.net | lib/SanrioCharacterRanking/DB/Row.pm | Perl | mit | 107 |
package Pod::AsciiDoctor;
use 5.006;
use strict;
use warnings FATAL => 'all';
use base 'Pod::Parser';
=head1 NAME
Pod::AsciiDoctor - Convert from POD to AsciiDoc
=head1 VERSION
Version 0.01
=cut
our $VERSION = '0.01';
=head1 SYNOPSIS
Converts the POD of a Perl module to AsciiDoc format.
use Pod::AsciiDoct... | syohex/pod-asciidoctor | lib/Pod/AsciiDoctor.pm | Perl | apache-2.0 | 4,989 |
#
# 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 | hardware/ups/apc/snmp/mode/batterystatus.pm | Perl | apache-2.0 | 8,142 |
#!/usr/bin/env perl
use strict;
use warnings;
# use diagnostics;
use autodie;
use feature qw(say);
use Data::Printer;
use Cwd 'abs_path';
# use JSON qw(decode_json);
# use Path::Tiny;
use JSON::Parse 'json_file_to_perl';
main();
sub main {
if ( !$ARGV[0] ) {
usage();
exit 1;
}
my $js... | Ensembl/ensembl-funcgen | scripts/tracking/json2csv.pl | Perl | apache-2.0 | 3,418 |
#
# 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/citrix/netscaler/snmp/mode/connections.pm | Perl | apache-2.0 | 3,521 |
#
# 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 | storage/oracle/zs/restapi/mode/components/cpu.pm | Perl | apache-2.0 | 2,091 |
#
# 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/netapp/ontap/restapi/mode/components/shelf.pm | Perl | apache-2.0 | 2,198 |
#
# 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 | cloud/azure/network/cdn/mode/latency.pm | Perl | apache-2.0 | 4,514 |
#!/usr/local/bin/perl
use strict;
use Bio::EnsEMBL::Registry;
Bio::EnsEMBL::Registry->load_registry_from_db
(-host=>"ensembldb.ensembl.org",
-user=>"anonymous",
-db_version=>'58');
my $human_gene_adaptor =
Bio::EnsEMBL::Registry->get_adaptor
("Homo sapiens", "core", "Gene");
my $member_adaptor =
Bi... | adamsardar/perl-libs-custom | EnsemblAPI/ensembl-compara/scripts/examples/homology12.pl | Perl | apache-2.0 | 2,053 |
#
# 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/ruckus/scg/snmp/mode/listssids.pm | Perl | apache-2.0 | 4,763 |
package Paws::ECS::ListContainerInstances;
use Moose;
has Cluster => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'cluster' );
has Filter => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'filter' );
has MaxResults => (is => 'ro', isa => 'Int', traits => ['Na... | ioanrogers/aws-sdk-perl | auto-lib/Paws/ECS/ListContainerInstances.pm | Perl | apache-2.0 | 3,994 |
# 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 obtain a... | Ensembl/ensembl-variation | scripts/misc/add_attrib_entries.pl | Perl | apache-2.0 | 2,258 |
#
# 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 | cloud/prometheus/direct/kubernetes/plugin.pm | Perl | apache-2.0 | 2,456 |
package DocSet::RunTime;
# META: this class acts as Singleton, consider to actually use
# Class::Singleton
use strict;
use warnings;
use File::Spec::Functions qw(catdir catfile splitdir);
use File::Find;
use DocSet::Util;
use Carp;
use vars qw(@ISA @EXPORT %opts);
@ISA = qw(Exporter);
@EXPORT = qw(get_opts find... | Distrotech/mod_perl | docs/lib/DocSet/RunTime.pm | Perl | apache-2.0 | 11,335 |
#! /usr/bin/env perl
use strict;
use warnings;
use FindBin qw($Bin);
die "Please specify path to xml files" unless $ARGV[0];
my $files = qx{ find $ARGV[0] -name \\*_Phenotype.xml -or -name \\*_Gene.xml -and -not -name \\*_otherfeatures_\\* };
my %doc;
foreach my $file (split("\n",$files)) {
chomp $file;
print ... | Ensembl/ensembl-webcode | utils/indexing/autocomplete/build_direct.pl | Perl | apache-2.0 | 1,435 |
#!/usr/bin/perl
use strict;
use encoding 'utf8';
use Data::Dumper;
use Errno;
use IO::Handle;
=head1 NAME
Vaam - An interface to the (V)ariant-(a)ware (a)pproximate (m)atcher
=head1 SYNOPSIS
my $vaam = new Vaam( distance => 1,
dicFile => 'some_dict.mdic',
patternFile =>... | ulir/FSDict | PERLLIB/CSL/Vaam.pm | Perl | apache-2.0 | 5,332 |
#
# 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/aws/elb/classic/mode/queues.pm | Perl | apache-2.0 | 9,353 |
use 5.008001;
use strict;
use warnings;
package Metabase::Backend::MongoDB;
our $VERSION = '1.000'; # VERSION
use MongoDB;
use Moose::Role;
use namespace::autoclean;
requires '_build_collection_name', '_ensure_index' ;
# XXX eventually, do some validation on this -- dagolden, 2011-06-30
has 'host' => (
is =>... | gitpan/Metabase-Backend-MongoDB | lib/Metabase/Backend/MongoDB.pm | Perl | apache-2.0 | 5,199 |
package Google::Ads::AdWords::v201809::AudioError;
use strict;
use warnings;
__PACKAGE__->_set_element_form_qualified(1);
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201809' };
our $XML_ATTRIBUTE_CLASS;
undef $XML_ATTRIBUTE_CLASS;
sub __get_attr_class {
return $XML_ATTRIBUTE_CLASS;
}
use base... | googleads/googleads-perl-lib | lib/Google/Ads/AdWords/v201809/AudioError.pm | Perl | apache-2.0 | 2,514 |
package Google::Ads::AdWords::v201402::Ad;
use strict;
use warnings;
__PACKAGE__->_set_element_form_qualified(1);
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201402' };
our $XML_ATTRIBUTE_CLASS;
undef $XML_ATTRIBUTE_CLASS;
sub __get_attr_class {
return $XML_ATTRIBUTE_CLASS;
}
use Class::Std::F... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201402/Ad.pm | Perl | apache-2.0 | 2,528 |
:- module(compiler, [make_po/1, ensure_loaded/1, ensure_loaded/2,
use_module/1, use_module/2, use_module/3, unload/1,
set_debug_mode/1, set_nodebug_mode/1,
set_debug_module/1, set_nodebug_module/1,
set_debug_module_source/1,
mode... | leuschel/ecce | www/CiaoDE/ciao/lib/compiler/compiler.pl | Perl | apache-2.0 | 2,698 |
/*get_slots,get_class_instances,get_class_subclasses,get_class_superclasses,get_instance_types,get_slot_domain,get_slot_facets,get_slot_type,get_slot_value,get_slot_values,get_slot_values_in_detail,individual_p,instance_of_p,get_frame_details,member_slot_value_p,member_facet_value_p,get_facet_value,get_facet_values*/
... | leuschel/ecce | www/CiaoDE/ciao/library/ontologies/iengine.pl | Perl | apache-2.0 | 7,401 |
# *************************************************************************
# Copyright (c) 2014-2017, SUSE LLC
#
# 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 c... | smithfarm/mfile-www | share/config/WWW_Config.pm | Perl | bsd-3-clause | 4,685 |
package Persist::Tabular;
use 5.008;
use strict;
use warnings;
use Carp;
use Getargs::Mixed;
our $AUTOLOAD;
our ( $VERSION ) = '$Revision: 1.11 $' =~ /\$Revision:\s+([^\s]+)/;
=head1 NAME
Persist::Tabular - Abstract base class for Persist::Table and Persist::Join
=head1 SYNOPSIS
See L<Persist::Tabular> and L<Pe... | gitpan/persist | Persist/Tabular/Tabular.pm | Perl | bsd-3-clause | 7,228 |
/* 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) 1985-2002, University of Amsterdam
All rights reserved.
Redistribution and use in source a... | TeamSPoon/logicmoo_workspace | docker/rootfs/usr/local/lib/swipl/xpce/prolog/lib/emacs/cpp_mode.pl | Perl | mit | 4,742 |
=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... | at7/ensembl | misc-scripts/xref_mapping/XrefParser/ncRNA_DBParser.pm | Perl | apache-2.0 | 3,564 |
package Paws::WAF::CreateIPSetResponse;
use Moose;
has ChangeToken => (is => 'ro', isa => 'Str');
has IPSet => (is => 'ro', isa => 'Paws::WAF::IPSet');
has _request_id => (is => 'ro', isa => 'Str');
### main pod documentation begin ###
=head1 NAME
Paws::WAF::CreateIPSetResponse
=head1 ATTRIBUTES
=head2 ... | ioanrogers/aws-sdk-perl | auto-lib/Paws/WAF/CreateIPSetResponse.pm | Perl | apache-2.0 | 651 |
#!/usr/bin/perl -w
#
# Copyright 2012, Google Inc. All Rights Reserved.
#
# 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 ... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | examples/v201409/targeting/lookup_location.pl | Perl | apache-2.0 | 3,565 |
#! /usr/bin/perl -w
use strict;
use Net::LDAP 0.33;
use Authen::SASL 2.10;
# -------- Adjust to your environment --------
my $adhost = 'a.wcmc-ad.net';
my $ldap_base = 'dc=a,dc=wcmc-ad,dc=net';
my $ldap_filter = '(&(sAMAccountName=oli2002))';
my $sasl = Authen::SASL->new(mechanism => 'GSSAPI');
my $ldap;
ev... | victorbrodsky/order-lab | orderflex/ldap_sasl.pl | Perl | apache-2.0 | 835 |
package NTPPool::API;
use strict;
use base qw(Combust::API);
__PACKAGE__->setup_api(
'staff' => 'Staff',
'notes' => 'Notes',
);
1;
| punitvara/ntppool | lib/NTPPool/API.pm | Perl | apache-2.0 | 141 |
=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/RunnableDB/GeneTrees/TreeBest.pm | Perl | apache-2.0 | 9,212 |
# 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 ... | gitpan/mod_perl | ModPerl-Registry/lib/ModPerl/RegistryBB.pm | Perl | apache-2.0 | 1,293 |
=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/Graph/NewickParser.pm | Perl | apache-2.0 | 7,573 |
# !!!!!!! 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/Lb/NU.pl | Perl | apache-2.0 | 857 |
#!/usr/bin/perl -w
use strict;
die "Usage: $0 file.conll\n\n Converts a CoNLL formatted labeled sequence into cdec's format.\n\n" unless scalar @ARGV == 1;
open F, "<$ARGV[0]" or die "Can't read $ARGV[0]: $!\n";
my @xx;
my @yy;
my @os;
my $sec = undef;
my $i = 0;
while(<F>) {
chomp;
if (/^\s*$/) {
print "<se... | carhaas/cdec-semparse | corpus/conll2cdec.pl | Perl | apache-2.0 | 887 |
#!perl -w
use warnings;
use strict;
my $n = 1;
my $j;
while ($n < 27) {
open J, ">frege/rt/Product$n.java" or die "can't open $!";
my @targs = map { "T$_" } (1..$n); # T1, T2, T3
my @nargs = map {"final Lazy<T$_> arg$_" } (1..$n); # final Lazy<T1> arg1, ...
my $cnargs = join (",", @n... | vsts/frege | scripts/genP.pl | Perl | bsd-3-clause | 4,706 |
#============================================================= -*-Perl-*-
#
# Template::Parser
#
# DESCRIPTION
# This module implements a LALR(1) parser and assocated support
# methods to parse template documents into the appropriate "compiled"
# format. Much of the parser DFA code (see _parse() method) is base... | Dokaponteam/ITF_Project | xampp/perl/vendor/lib/Template/Parser.pm | Perl | mit | 38,163 |
=pod
=head1 NAME
X509_NAME_get_index_by_NID, X509_NAME_get_index_by_OBJ, X509_NAME_get_entry,
X509_NAME_entry_count, X509_NAME_get_text_by_NID, X509_NAME_get_text_by_OBJ -
X509_NAME lookup and enumeration functions
=head1 SYNOPSIS
#include <openssl/x509.h>
int X509_NAME_get_index_by_NID(X509_NAME *name,int nid,i... | domenicosolazzo/philocademy | venv/src/node-v0.10.36/deps/openssl/openssl/doc/crypto/X509_NAME_get_index_by_NID.pod | Perl | mit | 3,585 |
#!/usr/bin/env perl
# Copyright 2009 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# This program reads a file containing function prototypes
# (like syscall_darwin.go) and generates system call bodies.
# The prototypes are ma... | sagivo/go | src/syscall/mksyscall.pl | Perl | bsd-3-clause | 8,024 |
#!/usr/bin/perl
sub fibonacci {
my $n = shift;
$n < 3 ? 1: fibonacci($n - 1) + fibonacci($n - 2)
}
sub factorial
{
my $m = shift;
if ($m==0)
{ return 1;
}
else {
return $m*factorial($m-1);
}}
print "factorial:", factorial ($ARGV[0]),"\n" ;
print "fibonacci:";
foreach (1..$ARGV[0])
{ print fibonacci($_), " ";
}
| dimir2/hse12pi2-scripts | MartirosyanA/fibo.pl | Perl | mit | 317 |
use strict;
use Data::Dumper;
use Carp;
#
# This is a SAS Component
#
=head1 NAME
query_entity_Biomass
=head1 SYNOPSIS
query_entity_Biomass [--is field,value] [--like field,value] [--op operator,field,value]
=head1 DESCRIPTION
Query the entity Biomass. Results are limited using one or more of the query flags:
... | kbase/kb_seed | scripts/query_entity_Biomass.pl | Perl | mit | 5,674 |
package Reply::Plugin::Colors;
BEGIN {
$Reply::Plugin::Colors::AUTHORITY = 'cpan:DOY';
}
$Reply::Plugin::Colors::VERSION = '0.37';
use strict;
use warnings;
# ABSTRACT: colorize output
use base 'Reply::Plugin';
use Term::ANSIColor;
BEGIN {
if ($^O eq 'MSWin32') {
require Win32::Console::ANSI;
Wi... | gitpan/Reply | lib/Reply/Plugin/Colors.pm | Perl | mit | 2,318 |
#!/usr/bin/perl -w
use strict;
my $sUsage = qq(
perl $0
<pasa transcript isoform gff>
<ctg fasta file>
<flanking lenght, 30>
<output file>
);
die $sUsage unless @ARGV >= 3;
my ($gff, $fasta, $fl, $outfile) = @ARGV;
my ($strand, $contigs, $gene_pos)= read_gff($gff);
my %fasta_seq = read_fasta($fasta);
open (OUT ,">$o... | swang8/Perl_scripts_misc | extract_intron_and_flanking_pasa.pl | Perl | mit | 2,520 |
#!/usr/bin/perl
use strict;
use warnings;
use Data::Dumper;
use XML::Simple;
my ($fin, $fout) = (\*STDIN, \*STDOUT);
if (my $ifname = shift) {
open $fin, '<', $ifname or die $!;
if (my $ofname = shift) {
open $fout, '>', $ofname or die $!;
}
}
my $xml = new XML::Simple;
my $data = $xml->XMLin($fin);
print $f... | bytbox/EVAN | tools/gen-foreigns-cc.pl | Perl | mit | 1,139 |
#!/usr/bin/perl
=pod
Hello World server
Binds REP socket to tcp://*:5555
Expects "Hello" from client, replies with "World"
Author: Daisuke Maki (lestrrat)
Original version Author: Alexander D'Archangel (darksuji) <darksuji(at)gmail(dot)com>
=cut
use strict;
use warnings;
use 5.10.0;
use ZMQ::LibZMQ3;
use ZMQ::Co... | soscpd/bee | root/tests/zguide/examples/Perl/hwserver.pl | Perl | mit | 838 |
package Text::Xslate::Parser;
use Mouse;
use Scalar::Util ();
use Text::Xslate::Symbol;
use Text::Xslate::Util qw(
$DEBUG
$STRING $NUMBER
is_int any_in
neat
literal_to_value
make_error
p
);
use constant _DUMP_PROTO => scalar($DEBUG =~ /\b dump=proto \b/xmsi);
use constant _DUMP_TOKEN => s... | rosiro/wasarabi | local/lib/perl5/x86_64-linux-thread-multi/Text/Xslate/Parser.pm | Perl | mit | 47,617 |
package Kvasir::Writer::XML;
use strict;
use warnings;
use Carp qw(croak);
use Scalar::Util qw(blessed);
use XML::LibXML;
use Kvasir::Engine;
use Kvasir::Util qw(is_existing_package);
our $VERSION = "0.02";
sub _new {
my ($pkg) = @_;
my $self = bless {
}, $pkg;
return $self;
}
sub to_file {
m... | gitpan/Kvasir-Writer-XML | lib/Kvasir/Writer/XML.pm | Perl | mit | 7,115 |
#!/usr/bin/perl -w
use strict;
use Getopt::Long;
use File::Basename;
use Bio::SeqIO;
&GetOptions( 'in=s' => \my$backbone, #
'query=s' => \my$query, #
'q' => \my$quiet,
'h' => \my$h,
'genomes=s' => \my$genomes,
'out=s' => \my$out); #
($backbone and $query and $genomes and $out) or &HELP_MESSAGE;
if($h){ &H... | mikeyweigand/Pertussis_n257 | Current/mauve.backbone-clean.pl | Perl | mit | 3,562 |
our $lock_fh;
our $meshchat_path = "/tmp/meshchat";
our $max_messages_db_size = 500;
our $max_file_storage = 512 * 1024;
our $lock_file = $meshchat_path . '/lock';
our $messages_db_file = $meshchat_path . '/messages';
our $messages_db_file_orig = $meshchat_pa... | tpaskett/meshchat | src/node/data/www/cgi-bin/meshchatconfig.pm | Perl | mit | 1,087 |
#!/usr/local/bin/perl
#$ -S /usr/local/bin/perl
#$ -cwd
#Title: Make relative exp. data
#Auther: Naoto Imamachi
#ver: 1.0.0
#Date: 2014-08-29
=pod
=cut
use warnings;
use strict;
my $input = $ARGV[0];
my $cutoff = 0.1;
my @list=(
"mRNA",
"ncRNA"
);
##################################
foreach my $filename(@list){
open... | Naoto-Imamachi/NGS_data_analysis_pipeline | cuffnorm_BRIC-seq/A_make_relative_exp_data.pl | Perl | mit | 1,054 |
#!/usr/bin/perl -w
#
use strict;
use warnings;
#
my $binpath = undef;
#
BEGIN {
use File::Basename;
#
$binpath = dirname($0);
$binpath = "." if ($binpath eq "");
}
#
# use CPAN to download Digest::CRC if it is not available.
#
# use Digest::CRC qw(crc64 crc32 crc16 crcccitt crc crc8);
#
use lib "$binpat... | ombt/analytics | apex/bin/crcs.pl | Perl | mit | 1,904 |
#!/usr/bin/perl
use strict;
use Switch;
#use warnings;
use List::MoreUtils qw/ uniq /;
use Date::Manip;
use File::Find;
use POSIX qw( strftime );
my $resultFolder = $ARGV[0];
my $autoType=$ARGV[1];
#my $domain="";#$ARGV[1];
my $cpuDataJson;
my ($content, $contentR);
my ($cycleName, $cycleMode, $device_manu, $device... | pankyopkey/pCloudy-sample-projects | Java/Advanced(Continued...)/Chapter 15- JemeterTestNGwithpCloudyAppiumwithpCloudyReports (Android Native + TestNG)/generatePerformanceReport.pl | Perl | apache-2.0 | 56,041 |
# Licensed to Elasticsearch B.V. under one or more contributor
# license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this f... | elastic/elasticsearch-perl | lib/Search/Elasticsearch/Client/6_0/Scroll.pm | Perl | apache-2.0 | 11,140 |
#
# 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/atto/fibrebridge/snmp/plugin.pm | Perl | apache-2.0 | 1,361 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.