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 |
|---|---|---|---|---|---|
#!/usr/bin/perl -w
package Metrics::metric_access_authorization;
use strict;
use LWP::Simple;
use JSON::Parse 'parse_json';
use CGI;
use lib '../';
use FAIRMetrics::TesterHelper;
require Exporter;
use vars ('@ISA', '@EXPORT');
@ISA = qw(Exporter);
@EXPORT = qw(execute_metric_test);
my %schemas = ('allows' => ['str... | GOFAIR/MetricsGroup | MetricsEvaluatorCode/Perl/Metrics/metric_access_authorization.pm | Perl | mit | 2,536 |
package Alatar::PostgreSQL::Extractors::PgViewExtractor;
use strict;
use String::Util qw(trim);
use Data::Dumper;
use Alatar::Model::SqlView;
use Alatar::Model::SqlRequest;
use Alatar::PostgreSQL::Extractors::PgExtractor;
our @ISA = qw(Alatar::PostgreSQL::Extractors::PgExtractor);
sub new {
my ($class,$owner,$code)... | olivierauverlot/alatar | Alatar/PostgreSQL/Extractors/PgViewExtractor.pm | Perl | mit | 814 |
#!/usr/bin/perl
use strict;
my $CU_AD_FORMAT_UNSIGNED_INT8 = 0x01;
my $CU_AD_FORMAT_UNSIGNED_INT16 = 0x02;
my $CU_AD_FORMAT_FLOAT = 0x20;
if (!-f 'sgemm_pre_128.sass' || (stat 'sgemm128.sass')[9] > (stat 'sgemm_pre_128.sass')[9])
{
print `maxas.pl -p sgemm128.sass sgemm_pre_128.sass`;
exit if $?;
... | NervanaSystems/maxas | sgemm/sgemm.pl | Perl | mit | 2,388 |
/*************************************************************************
name: modelCheckerTestSuiteDRT.pl
version: July 10, 2001
description: Test Suite for DRT model checkers
authors: Patrick Blackburn & Johan Bos
*************************************************************************/
... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/ext/CURT/bb0/modelCheckerTestSuiteDRT.pl | Perl | mit | 1,795 |
package Tablize::L10N;
use strict;
use base 'MT::Plugin::L10N';
1;
| usualoma/movable-type-plugin-tablize | lib/Tablize/L10N.pm | Perl | mit | 68 |
/* Part of ClioPatria
Author: Jan Wielemaker
E-mail: J.Wielemaker@cs.vu.nl
WWW: http://www.swi-prolog.org
Copyright (C): 2012 VU University Amsterdam
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public Licen... | TeamSPoon/logicmoo_workspace | packs_web/ClioPatria/applications/flint.pl | Perl | mit | 6,221 |
:- module(
cli_help,
[
cli_help/3 % +Name, +Usages, +Specs
]
).
/** <module> Command-line tools: help messages
*/
:- use_module(library(apply)).
:- use_module(library(clpfd)).
:- use_module(library(dcg)).
:- use_module(library(dict)).
:- use_module(library(pair_ext)).
:- use_module(library(string_ext)).
... | wouterbeek/Prolog_Library_Collection | prolog/cli_help.pl | Perl | mit | 3,915 |
# Copyrights 2001-2008 by Mark Overmeer.
# For other contributors see ChangeLog.
# See the manual pages for details on the licensing terms.
# Pod stripped from pm file by OODoc 1.04.
use strict;
use warnings;
package Mail::Message::Field::Fast;
use vars '$VERSION';
$VERSION = '2.082';
use base 'Mail::Message::Field'... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/Mail/Message/Field/Fast.pm | Perl | mit | 2,265 |
package Prophet::CLI::ProgressBar;
{
$Prophet::CLI::ProgressBar::VERSION = '0.751';
}
use Any::Moose 'Role';
use Time::Progress;
use Params::Validate ':all';
sub progress_bar {
my $self = shift;
my %args = validate(
@_,
{
max => 1,
format =>
{ optional =... | gitpan/Prophet | lib/Prophet/CLI/ProgressBar.pm | Perl | mit | 2,251 |
#!/usr/local/ensembl/bin/perl -w
use strict;
use DBI;
use Getopt::Long;
use Bio::EnsEMBL::Compara::Production::DBSQL::DBAdaptor;
use Bio::EnsEMBL::Compara::GenomeDB;
use Bio::EnsEMBL::Analysis;
use Bio::EnsEMBL::DBLoader;
use Bio::EnsEMBL::Hive;
use Bio::EnsEMBL::Compara::MethodLinkSpeciesSet;
my $conf_file;
my %anal... | adamsardar/perl-libs-custom | EnsemblAPI/ensembl-compara/scripts/pipeline/loadLowCoverageAlignerSystem.pl | Perl | apache-2.0 | 29,132 |
#!/usr/bin/env perl
# 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... | mn1/ensembl-analysis | scripts/clones/clone_gff_parse.pl | Perl | apache-2.0 | 22,934 |
package VMOMI::VirtualDiskSeSparseBackingOption;
use parent 'VMOMI::VirtualDeviceFileBackingOption';
use strict;
use warnings;
our @class_ancestors = (
'VirtualDeviceFileBackingOption',
'VirtualDeviceBackingOption',
'DynamicData',
);
our @class_members = (
['diskMode', 'ChoiceOption', 0, ],
['w... | stumpr/p5-vmomi | lib/VMOMI/VirtualDiskSeSparseBackingOption.pm | Perl | apache-2.0 | 755 |
# Copyright 2020, Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | googleads/google-ads-perl | lib/Google/Ads/GoogleAds/V8/Services/UserListService/GetUserListRequest.pm | Perl | apache-2.0 | 1,049 |
% CVS: $Id: crypt_wamcc.pl,v 1.3 1998/10/19 06:35:12 pets Exp $
goal :- crypt.
myodd(X) :-
odd(X).
myeven(X) :-
even(X).
%%%%%%%%%%%%%%%%%%%%%%%%
% Cryptomultiplication:
% Find the unique answer to:
% OEE
% EE
% ---
% EOEE
% EOE
% ----
% OOEE
%
% where E=even, O=odd.
% This program generali... | pschachte/groundness | benchmarks/crypt_wamcc.pl | Perl | apache-2.0 | 1,986 |
#
# 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/emc/symmetrix/dmx34/local/mode/components/config.pm | Perl | apache-2.0 | 1,830 |
:- module(domino_state_space,[
domino_game_state_space/1
]).
:- use_module(library(aggregate)).
:- use_module(library(clpfd)).
:- use_module('../../gameyard_config').
:- use_module(gameyard(game_state_space)).
:- use_module(gameyard(misc/list_extras)).
domino_game_state_space(GS) :-
default_game_state_space(GS1... | joaoraf/gameyard | src/main/prolog/game_types/domino/domino_state_space.pl | Perl | apache-2.0 | 16,386 |
#
# 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/adva/fsp3000/snmp/mode/listinterfaces.pm | Perl | apache-2.0 | 4,427 |
#
# 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
# distributed und... | delphix/dxtoolkit | lib/MaskingJob_obj.pm | Perl | apache-2.0 | 7,458 |
#
# 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/network/plugin.pm | Perl | apache-2.0 | 1,509 |
package VMOMI::DVPortgroupEvent;
use parent 'VMOMI::Event';
use strict;
use warnings;
our @class_ancestors = (
'Event',
'DynamicData',
);
our @class_members = ( );
sub get_class_ancestors {
return @class_ancestors;
}
sub get_class_members {
my $class = shift;
my @super_members = $class->SUPER:... | stumpr/p5-vmomi | lib/VMOMI/DVPortgroupEvent.pm | Perl | apache-2.0 | 393 |
#!/usr/bin/env perl
use v5.14;
use strict;
use warnings;
use CoGe::Accessory::Web qw(get_defaults);
use Data::Dumper;
use File::Basename;
use File::Path;
use File::Spec::Functions;
my %opts = @ARGV;
my $gid = $opts{'gid'};
my $chr = $opts{'chr'};
my $config = get_defaults(catfile(File::Basename::dirname(File::Basename... | LyonsLab/coge | scripts/generate_chr_fasta.pl | Perl | bsd-2-clause | 1,199 |
package MyElements::getScientificNameFromTSN;
use strict;
use warnings;
{ # BLOCK to scope variables
sub get_xmlns { 'http://itis_service.itis.usgs.org' }
__PACKAGE__->__set_name('getScientificNameFromTSN');
__PACKAGE__->__set_nillable();
__PACKAGE__->__set_minOccurs();
__PACKAGE__->__set_maxOccurs();
__PACKAGE__->... | phylotastic-legacy/TNRastic | tnrs_handler/bin/tnrs_adapter/itis/SOAPInterface/MyElements/getScientificNameFromTSN.pm | Perl | bsd-3-clause | 1,647 |
package MyElements::getRankNamesResponse;
use strict;
use warnings;
{ # BLOCK to scope variables
sub get_xmlns { 'http://itis_service.itis.usgs.org' }
__PACKAGE__->__set_name('getRankNamesResponse');
__PACKAGE__->__set_nillable();
__PACKAGE__->__set_minOccurs();
__PACKAGE__->__set_maxOccurs();
__PACKAGE__->__set_re... | phylotastic-legacy/TNRastic | tnrs_handler/bin/tnrs_adapter/itis/SOAPInterface/MyElements/getRankNamesResponse.pm | Perl | bsd-3-clause | 1,881 |
/* assert on complexType */
'assert on empty complexType (none, invalid)'(fail):
{|xml||
<assert_complexType_empty_none>
String
</assert_complexType_empty_none>
|}.
'assert on empty complexType (none, valid)':
{|xml||
<assert_complexType_empty_none></assert_complexType_empty_none>
|}.
'assert on empty complexTy... | jonakalkus/xsd | test/validation/xpath_calls.pl | Perl | mit | 4,034 |
package Google::Ads::AdWords::v201406::Dimensions;
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 Class... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201406/Dimensions.pm | Perl | apache-2.0 | 1,477 |
## OpenXPKI::Server::Authentication::Connector
##
## Written 2013 by Oliver Welter, based on
## OpenXPKI::Server::Authentication::Password
## (C) Copyright 2013 by The OpenXPKI Project
package OpenXPKI::Server::Authentication::Connector;
use strict;
use warnings;
use OpenXPKI::Debug;
use OpenXPKI::Exception;
use Ope... | stefanomarty/openxpki | core/server/OpenXPKI/Server/Authentication/Connector.pm | Perl | apache-2.0 | 4,054 |
package Google::Ads::AdWords::v201406::AdGroupAdService::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();
__PACKAGE__->_... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201406/AdGroupAdService/queryResponse.pm | Perl | apache-2.0 | 1,773 |
#------------------------------------------------------------------------------
# File: Ricoh.pm
#
# Description: Ricoh EXIF maker notes tags
#
# Revisions: 03/28/2005 - P. Harvey Created
#
# References: 1) http://www.ozhiker.com/electronics/pjmt/jpeg_info/ricoh_mn.html
# 2) http://homepage3... | philmoz/Focus-Points | focuspoints.lrdevplugin/bin/exiftool/lib/Image/ExifTool/Ricoh.pm | Perl | apache-2.0 | 37,305 |
#!/usr/bin/perl -w
#
# Copyright (C) 2006 Apple Computer, Inc.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later ver... | Treeeater/WebPermission | css/make-css-file-arrays.pl | Perl | bsd-2-clause | 2,920 |
#!/usr/bin/perl -w
# Perl utility to run or verify FIPS 140-2 CAVP algorithm tests based on the
# pathnames of input algorithm test files actually present (the unqualified
# file names are consistent but the pathnames are not).
#
# FIPS test definitions
# List of all the unqualified file names we expect and command li... | GaloisInc/hacrypto | src/C/openssl/openssl-fips-ecp-2.0.11/fips/fipsalgtest.pl | Perl | bsd-3-clause | 35,776 |
# !!!!!!! 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/Scx/Grek.pl | Perl | mit | 856 |
=pod
=head1 NAME
X509_VERIFY_PARAM_set_flags, X509_VERIFY_PARAM_clear_flags, X509_VERIFY_PARAM_get_flags, X509_VERIFY_PARAM_set_purpose, X509_VERIFY_PARAM_set_trust, X509_VERIFY_PARAM_set_depth, X509_VERIFY_PARAM_get_depth, X509_VERIFY_PARAM_set_auth_level, X509_VERIFY_PARAM_get_auth_level, X509_VERIFY_PARAM_set_time... | GaloisInc/hacrypto | src/C/openssl/openssl-1.1.0b/doc/crypto/X509_VERIFY_PARAM_set_flags.pod | Perl | bsd-3-clause | 13,639 |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by 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 existence of this ... | Dokaponteam/ITF_Project | xampp/perl/lib/unicore/lib/Blk/CypriotS.pl | Perl | mit | 423 |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by 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 existence of this ... | Dokaponteam/ITF_Project | xampp/perl/lib/unicore/lib/Blk/Enclosed.pl | Perl | mit | 421 |
package PPI::Token::DashedWord;
=pod
=head1 NAME
PPI::Token::DashedWord - A dashed bareword token
=head1 INHERITANCE
PPI::Token::DashedWord
isa PPI::Token
isa PPI::Element
=head1 DESCRIPTION
The "dashed bareword" token represents literal values like C<-foo>.
NOTE: this class is currently unused. All ... | Dokaponteam/ITF_Project | xampp/perl/vendor/lib/PPI/Token/DashedWord.pm | Perl | mit | 2,548 |
#line 1
package Module::Install::Metadata;
use strict 'vars';
use Module::Install::Base ();
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
$VERSION = '1.12';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
my @boolean_keys = qw{
sign
};
my @scalar_keys = qw{
name
module_name
abstract
version
distribution_... | gitpan/WWW-Search-KacurCZ | inc/Module/Install/Metadata.pm | Perl | bsd-2-clause | 18,114 |
package LogReporter::ConfigLoader;
use strict;
use warnings;
use Exporter 'import';
our @EXPORT = qw/LoadConfig/;
sub LoadConfig {
my ($filename) = @_;
my ($config, $EX);
{
local $@;
$config = do $filename;
$EX = $@;
}
die $EX if $EX;
return $config;
}
1;
| imMute/LogReporter | lib/LogReporter/ConfigLoader.pm | Perl | mit | 308 |
minN(X,Y,X):-X=<Y,!.
minN(X,Y,Y):-!.
minL([X],X):-!.
minL([X|Y],M):-minL(Y,Z),minN(X,Z,M).
removeE(X,[],[]):-!.
removeE(X,[X|Y],Y):-!.
removeE(X,[Z|Y],[Z|L]):-removeE(X,Y,L).
ordena([],[]):-!.
ordena(X,[W|Z]):-minL(X,W),removeE(W,X,M),ordena(M,Z).
| LorhanSohaky/UFSCar | 2019/PLP/L1/20.pl | Perl | mit | 250 |
# File: Registerable.pm
#
# Purpose: Provides functionality to register and execute one or more subroutines.
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
# SPDX-License-Identifier: MIT
package PBot::Core::Registerable;
use PBot::Imports;
sub new {
my ($class, %args) = @_;
my $self ... | pragma-/pbot | lib/PBot/Core/Registerable.pm | Perl | mit | 1,757 |
#!/usr/bin/perl
use CGI qw(:standard);
print header,
start_html({
-title=>"my title",
-alink=>"red",
-vlink=>"black",
-bgcolor=>"yellow" }),
h1('Hello World!'),
hr({-size=>"5",-width=>"70%",-color=>"red"}),
h2('Fall semester'),
ol(
li('Perl'),
li('PHP'),
li('Python'),
),
hr,
h1('Course Roadmap'),
table({-bor... | nertwork/cypresspl | labs/lab4_1.pl | Perl | mit | 829 |
# Time-stamp: "Sat Jul 14 00:27:32 2001 by Automatic Bizooty (__blocks2pm.plx)"
$Text::\SEPA\Unicode\Unidecode::Char[0x71] = [
'Hu ', 'Xi ', 'Shu ', 'He ', 'Xun ', 'Ku ', 'Jue ', 'Xiao ', 'Xi ', 'Yan ', 'Han ', 'Zhuang ', 'Jun ', 'Di ', 'Xie ', 'Ji ',
'Wu ', qq{[?] }, qq{[?] }, 'Han ', 'Yan ', 'Huan ', 'Men ', 'Ju ', '... | dmitrirussu/php-sepa-xml-generator | src/Unicode/data/perl_source/x71.pm | Perl | mit | 2,258 |
%% cascade "Minimum/script/server.pl"
%% override load_modules -> {
use <% $module %>::Admin;
use Plack::App::File;
use Plack::Session::Store::DBI;
use DBI;
%% }
%% override app -> {
use 5.010_001;
my $basedir = File::Spec->rel2abs(dirname(__FILE__));
my $app = builder {
enable 'Plack::Middleware::Auth::Basic',
... | rosiro/wasarabi | local/lib/perl5/auto/share/dist/Amon2/flavor/Large/script/admin.pl | Perl | mit | 1,123 |
#!/usr/bin/perl
use warnings;
use strict;
use File::Basename;
use Cwd qw(abs_path);
use lib dirname(abs_path(__FILE__));
use env;
foreach my $var (keys %gidgetConfigVars) {
print "found $var: $gidgetConfigVars{$var}\n";
}
| cancerregulome/gidget | gidget/util/test_env.pl | Perl | mit | 229 |
use SyTest::ApplicationService;
push our @EXPORT, qw( AS_USER APPSERV );
our @AS_USER = map {
my $AS_INFO = $_;
fixture(
requires => [ $main::API_CLIENTS[0], $AS_INFO ],
setup => sub {
my ( $http, $as_user_info ) = @_;
Future->done( new_User(
http => $http,
... | matrix-org/sytest | tests/60app-services/00prepare.pl | Perl | apache-2.0 | 760 |
#
# Copyright 2016 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | golgoth31/centreon-plugins | network/riverbed/steelhead/snmp/mode/connections.pm | Perl | apache-2.0 | 5,831 |
#
# Copyright 2021 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | Tpo76/centreon-plugins | apps/proxmox/ve/restapi/mode/liststorages.pm | Perl | apache-2.0 | 2,710 |
=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/BaseAlignFeature.pm | Perl | apache-2.0 | 25,168 |
# 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/ConversionUploadService/UploadCallConversionsResponse.pm | Perl | apache-2.0 | 1,132 |
=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... | markmcdowall/ensembl-production | modules/Bio/EnsEMBL/Production/Pipeline/EBeye/ChecksumGenerator.pm | Perl | apache-2.0 | 1,568 |
#
# 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/barracuda/cloudgen/snmp/mode/vpnstatus.pm | Perl | apache-2.0 | 5,110 |
#
# 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/elasticpool/mode/dtu.pm | Perl | apache-2.0 | 10,952 |
#
# Copyright 2021 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | Tpo76/centreon-plugins | apps/mq/vernemq/restapi/mode/listeners.pm | Perl | apache-2.0 | 5,202 |
package Socket;
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
$VERSION = "1.7";
=head1 NAME
Socket, sockaddr_in, sockaddr_un, inet_aton, inet_ntoa - load the C socket.h defines and structure manipulators
=head1 SYNOPSIS
use Socket;
$proto = getprotobyname('udp');
socket(Socket_Handle, P... | wolispace/cow_windows_server | oldcow_on_apache/perl/lib/Socket.pm | Perl | apache-2.0 | 8,279 |
#
# Copyright 2022 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | centreon/centreon-plugins | storage/netapp/ontap/snmp/mode/clusternodes.pm | Perl | apache-2.0 | 16,369 |
#
# 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-Chef | src/main/resources/project/drivers/CreateCookbookDriver.pl | Perl | apache-2.0 | 4,248 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% This file is part of VivoMind Prolog Unicode Resources
% SPDX-License-Identifier: CC0-1.0
%
% VivoMind Prolog Unicode Resources is free software distributed using the
% Creative Commons CC0 1.0 Universal (CC0 1.0) - Public Domain Ded... | LogtalkDotOrg/logtalk3 | library/unicode_data/unicode_prop_list/unicode_terminal_punctuation.pl | Perl | apache-2.0 | 9,424 |
#
# 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 | hardware/devices/abb/cms700/snmp/mode/listsensors.pm | Perl | apache-2.0 | 4,610 |
package VMOMI::HostTargetTransport;
use parent 'VMOMI::DynamicData';
use strict;
use warnings;
our @class_ancestors = (
'DynamicData',
);
our @class_members = ( );
sub get_class_ancestors {
return @class_ancestors;
}
sub get_class_members {
my $class = shift;
my @super_members = $class->SUPER::get... | stumpr/p5-vmomi | lib/VMOMI/HostTargetTransport.pm | Perl | apache-2.0 | 389 |
#!/usr/bin/env perl
use strict;
use warnings;
use utf8;
my @mpc = split(/\n/, `mpc -f '%artist%--%title%'`);
my @status = split( / /, $mpc[1] );
# Playing status
my $play = $status[0];
if ( $play =~ /playing/ ) {
$play = '>';
}
elsif ( $play =~ /paused/ ) {
$play = '||';
}
else {
$play = '[]';
}
$status... | Difrex/scripts | dzen2/panel.pl | Perl | bsd-3-clause | 949 |
#!/usr/local/bin/perl -w
=head1 NAME
get_ensembl_data.pl -- this program provides methods to extract data from
an ensembl database for the maize ftp site.
=head1 SYNOPSIS
perl get_ensembl_data.pl [options]
Options:
-h --help
-m --man
-r --registry_file
-s --species
-o --output
=head1 OPTIONS
gets data ... | warelab/gramene-ensembl | maize/load-scripts/get_maize_ftp_data.pl | Perl | mit | 6,764 |
'Should work #1':
{|xml||
<att num="123" str="randString" id="5" />
|}.
'Should work #2':
{|xml||
<att str="randString" num="123" id="5" />
|}.
'Should work #3':
{|xml||
<att str="randString" id="5" />
|}.
'Should work #4':
{|xml||
<att id="5" />
|}.
'Invalid Type'(fail):
{|xml||
<att num="asd" id="5" />
|}.
... | jonakalkus/xml-validate | test/validation/attribute_2.pl | Perl | mit | 519 |
#
# 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/serverscheck/sensorgateway/snmp/mode/components/sensors.pm | Perl | apache-2.0 | 3,052 |
#!/usr/bin/perl -w
use strict;
##converts fq to fa
if (!defined @ARGV){
die "Do not run directly, to be called by relocaTE.pl\n";
}
my ( $infq, $outfa ) = ( $ARGV[0], $ARGV[1] );
if ( $infq !~ /\.(fq|fastq)$/ ) {
die
"Was expecting a fq file to convert to a fa file, but I have this instead $infq\n";
}
open INFQ... | stajichlab/RelocaTE | scripts/relocaTE_fq2fa.pl | Perl | bsd-3-clause | 697 |
=pod
=head1 NAME
EVP_CIPHER_meth_new, EVP_CIPHER_meth_dup, EVP_CIPHER_meth_free,
EVP_CIPHER_meth_set_iv_length, EVP_CIPHER_meth_set_flags,
EVP_CIPHER_meth_set_impl_ctx_size, EVP_CIPHER_meth_set_init,
EVP_CIPHER_meth_set_do_cipher, EVP_CIPHER_meth_set_cleanup,
EVP_CIPHER_meth_set_set_asn1_params, EVP_CIPHER_meth_set_g... | jens-maus/amissl | openssl/doc/man3/EVP_CIPHER_meth_new.pod | Perl | bsd-3-clause | 10,306 |
=pod
=head1 NAME
DH_meth_new, DH_meth_free, DH_meth_dup, DH_meth_get0_name, DH_meth_set1_name,
DH_meth_get_flags, DH_meth_set_flags, DH_meth_get0_app_data,
DH_meth_set0_app_data, DH_meth_get_generate_key, DH_meth_set_generate_key,
DH_meth_get_compute_key, DH_meth_set_compute_key, DH_meth_get_bn_mod_exp,
DH_meth_set_b... | jens-maus/amissl | openssl/doc/man3/DH_meth_new.pod | Perl | bsd-3-clause | 7,610 |
package fastaOO;
use strict;
use warnings;
our @EXPORT = qw ( destroy getFH getChrom getPos );
my $dna = 0;
my $fh;
my $fileName;
my @chromPos;
if (($ARGV[0]) && ( $ARGV[0] eq "test" ))
{
&selftest();
}
#sub selftest
#{
# print "SELF TESTING\n";
# my $inFile = '/var/rolf/input/Debaryomy... | sauloal/projects | probes/hadoop2/filters/fastaOO.pm | Perl | mit | 5,184 |
#
# 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 | database/mysql/mode/uptime.pm | Perl | apache-2.0 | 4,024 |
#!/usr/bin/perl
## --------------------------------------------------------------------------
##
## Copyright 1996-2020 The NASM Authors - All Rights Reserved
## See the file AUTHORS included with the NASM distribution for
## the specific copyright holders.
##
## Redistribution and use in source and binary form... | techkey/nasm | x86/insns.pl | Perl | bsd-2-clause | 35,177 |
#!/usr/bin/perl
#
# Copyright (C) 2003 by Virtusa Corporation
# http://www.virtusa.com
#
# Anuradha Ratnaweera
# http://www.linux.lk/~anuradha/
#
# We use addstr() instead of printw()
use Curses;
$mesg = "Enter a string: ";
initscr();
getmaxyx($row, $col);
addstr($row / 2, ($col - length($mesg)) / 2, $mesg);
getstr... | cpressey/ncurses_programs | perl/04.pl | Perl | mit | 392 |
#!/usr/bin/env perl
#Usage: perl generate_macros_xml.pl > macros.xml
#Note, this script uses einfo.py to get database info. It also uses manually compiled data stored at the bottom of this script that is based on: https://www.ncbi.nlm.nih.gov/books/NBK25499/table/chapter4.T._valid_values_of__retmode_and/?report=obje... | loraine-gueguen/tools-iuc | tools/ncbi_entrez_eutils/generate_macros_xml.pl | Perl | mit | 28,827 |
package Class::Inspector::Functions;
use 5.006;
use strict;
use warnings;
use Exporter ();
use Class::Inspector ();
use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS $VERSION);
BEGIN {
$VERSION = '1.27';
@ISA = 'Exporter';
@EXPORT = qw(
installed
loaded
filename
functions
methods
subclas... | leighpauls/k2cro4 | third_party/perl/perl/vendor/lib/Class/Inspector/Functions.pm | Perl | bsd-3-clause | 2,603 |
###########################################################################
#
# This file is auto-generated by the Perl DateTime Suite locale
# generator (0.05). This code generator comes with the
# DateTime::Locale distribution in the tools/ directory, and is called
# generate-from-cldr.
#
# This file as generated fr... | liuyangning/WX_web | xampp/perl/vendor/lib/DateTime/Locale/sh_CS.pm | Perl | mit | 10,360 |
package Alatar::Model::Refs::SqlArgumentReference;
use strict;
use Alatar::Model::SqlObject;
use Alatar::Model::Refs::SqlReference;
our @ISA = qw(Alatar::Model::Refs::SqlReference);
sub new {
my ($class,$owner,$name,$objectName) = @_;
my $this = $class->SUPER::new($owner,$name);
$this->{_objectName} = $objectN... | olivierauverlot/alatar | Alatar/Model/Refs/SqlArgumentReference.pm | Perl | mit | 704 |
/*Owner & Copyrights: Vance King Saxbe. A.*/package AutoLoader;
use strict;
use 5.006_001;
our($VERSION, $AUTOLOAD);
my $is_dosish;
my $is_epoc;
my $is_vms;
my $is_macos;
BEGIN {
$is_dosish = $^O eq 'dos' || $^O eq 'os2' || $^O eq 'MSWin32' || $^O eq 'NetWare';
$is_epoc = $^O eq 'epoc';
$is_vms = $^O eq... | VanceKingSaxbeA/ASX-Engine | App/vdrive/.sys/miniperl/lib/Autoloader.pm | Perl | mit | 15,243 |
# 1PIF converter
#
# Copyright 2015 Mike Cappella (mike@cappella.us)
package Converters::Onepif 1.03;
our @ISA = qw(Exporter);
our @EXPORT = qw(do_init do_import do_export);
our @EXPORT_OK = qw();
use v5.14;
use utf8;
use strict;
use warnings;
#use diagnostics;
binmode STDOUT, ":utf8";
binmode STDERR, ":utf8"... | mikecappella/onepassword-utilities | convert_to_1p4/Converters/Onepif.pm | Perl | mit | 8,518 |
#!/usr/bin/perl
# Program 'stringAndLists'
# Given: A string s of length at most 200 letters and four integers
# a, b, c, d
# Return: The slice of this string from indices a through b and c through
# d (with space in between), inclusively
# Date: 2015 Sept 18
# Version: 5.16
use strict;
use warnings;
open( I... | erictleung/rosalind-programming | python-village/INI3_Strings_and_Lists/stringAndLists.pl | Perl | mit | 988 |
role Bailador::Template {
method render($template, @params) { ... }
}
| sergot/Bailador | lib/Bailador/Template.pm | Perl | mit | 74 |
#!/usr/bin/env perl
use strict;
use warnings;
use File::Copy;
use File::Spec;
use File::Which;
use File::Basename;
use Getopt::Long;
my %options = (
code_root => '~mh12/bin/MetaFinisherSC-5.1/srcRefactor/',
);
my $ops_ok = GetOptions(
\%options,
'code_root|c=s',
'noclean',
);
if ($#ARGV != 2 or !($o... | martinghunt/bioinf-scripts | perl/bigmac_wrapper.pl | Perl | mit | 2,442 |
#!/usr/bin/env perl
=head1 NAME
FixTrialPluralTypes.pm
=head1 SYNOPSIS
mx-run FixTrialPluralTypes [options] -H hostname -D dbname -u username [-F]
this is a subclass of L<CXGN::Metadata::Dbpatch>
see the perldoc of parent class for more details.
=head1 DESCRIPTION
This patch fixes the odd "Preliminary Yield Tri... | solgenomics/sgn | db/00103/FixTrialPluralTypes.pm | Perl | mit | 3,479 |
package Genesis::Vault;
use strict;
use warnings;
use Genesis;
use Genesis::UI;
use JSON::PP qw/decode_json/;
use UUID::Tiny ();
### Class Variables {{{
my (@all_vaults, $default_vault, $current_vault);
# }}}
### Class Methods {{{
# new - raw instantiation of a vault object {{{
sub new {
my ($class, $url, $name, $... | starkandwayne/genesis | lib/Genesis/Vault.pm | Perl | mit | 76,611 |
# Text::Aligner - Align text in columns
package Text::Aligner;
use strict;
use warnings;
use 5.008;
BEGIN {
use Exporter ();
use vars qw ($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
$VERSION = '0.13';
@ISA = qw (Exporter);
@EXPORT = qw ();
@EXPORT_OK = qw ( align);
... | 4ureliek/TEanalysis | Lib/Text/Aligner.pm | Perl | mit | 14,666 |
package Feeds;
use strict;
use warnings;
use XML::RSS::Parser;
use utf8;
use Aquareader::Login qw (get_current_user);
use Aquareader::News qw (insert_news_if_necessary delete_news_for_feed);
my $db = $CreateDB::dbh;
# Takes a feed's url and a user's id and returns the feed's id from the feeds' table.
sub get_feed_i... | milanov/Aquareader | Aquareader/Feeds.pm | Perl | mit | 5,036 |
#!/usr/bin/perl
use strict;
use warnings;
use Data::Dumper;
use LWP::Simple;
use HTML::TreeBuilder;
binmode STDOUT, ':utf8';
my $c = get('http://www.metro.ru/stations/codes/');
my $t = HTML::TreeBuilder->new_from_content( $c );
my @table = $t->look_down(class => 'data station-codes');
my $table = $table[0];
my @t... | oachkatzlschwoaf/EVENTS | bin/util/get_metro.pl | Perl | mit | 682 |
#!/usr/bin/perl -w
# vim:set tw=80 sts=2 sw=2 et:
use strict;
use warnings;
use Irssi;
our $VERSION = '0.1.0';
our %IRSSI = (
authors => 'Donald King',
contact => 'chronos@chronos-tachyon.net',
name => 'irssi-libnotify',
description => 'Uses notify-send(1) to alert you when someone is talking to... | chronos-tachyon/irssi-libnotify | libnotify.pl | Perl | mit | 1,033 |
package Diversion::Lookup;
use v5.18;
use Moo;
with "Diversion::Service";
has what => (
is => "ro",
required => 1,
);
sub bulk_lookup_by_id {
my ($self, $vals) = @_;
my @missing = @$vals;
my %lookup;
while (@missing) {
my $question_marks = join(',' , map { '?' } @missing);
my... | gugod/Diversion | lib/Diversion/Lookup.pm | Perl | cc0-1.0 | 3,121 |
=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/DBSQL/OntologyTermAdaptor.pm | Perl | apache-2.0 | 33,978 |
#
# 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
# distributed under ... | delphix/dxtoolkit | bin/dx_upgrade_db.pl | Perl | apache-2.0 | 5,274 |
package Paws::EC2::LoadPermissionModifications;
use Moose;
has Add => (is => 'ro', isa => 'ArrayRef[Paws::EC2::LoadPermissionRequest]');
has Remove => (is => 'ro', isa => 'ArrayRef[Paws::EC2::LoadPermissionRequest]');
1;
### main pod documentation begin ###
=head1 NAME
Paws::EC2::LoadPermissionModifications
=... | ioanrogers/aws-sdk-perl | auto-lib/Paws/EC2/LoadPermissionModifications.pm | Perl | apache-2.0 | 1,532 |
#!/usr/bin/perl -w
# Copyright 2012 Arnab Ghoshal
# 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
#
# THIS CODE IS PROVIDED *AS IS* BASIS, WIT... | chagge/Kaldi-timit | s5/local/timit_norm_trans.pl | Perl | apache-2.0 | 3,361 |
package Forge::Model::R::Oos::MarketPlaceSetting;
use strict;
use base qw(Forge::Model::R::Oos);
__PACKAGE__->meta->setup(
table => 'market_place_setting',
columns => [
id => { type => 'bigint', not_null => 1 },
version => { type => 'bigint', not_null => 1 },
a... | ant-i/db-crud | lib/Forge/Model/R/Oos/MarketPlaceSetting.pm | Perl | apache-2.0 | 953 |
#!/usr/local/bin/perl
use strict;
use warnings;
use Configuration;
use Cwd 'abs_path';
#-------------------------------------------------------------------
# Daniel Bolanos 2010
# Boulder Language Technologies / University of Colorado at Boulder
#
# description: decoding (multiple processors)
#
# parameters:
#
#... | nlphacker/bavieca | tasks/wsj/scripts/test/20k/decodeExperiment.pl | Perl | apache-2.0 | 1,891 |
valid([]).
valid([Head|Tail]) :-
fd_all_different(Head),
valid(Tail).
print9(Solution) :-
format("\
~d ~d ~d ~d ~d ~d ~d ~d ~d~n\
~d ~d ~d ~d ~d ~d ~d ~d ~d~n\
~d ~d ~d ~d ~d ~d ~d ~d ~d~n\
~d ~d ~d ~d ~d ~d ~d ~d ~d~n\
~d ~d ~d ~d ~d ~d ~d ~d ~d~n\
~d ... | Leonidas-from-XIV/7langs7weeks | prolog/sudoku9.pl | Perl | apache-2.0 | 2,838 |
package Google::Ads::AdWords::v201809::PlacesOfInterestOperand::Category;
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
Pe... | googleads/googleads-perl-lib | lib/Google/Ads/AdWords/v201809/PlacesOfInterestOperand/Category.pm | Perl | apache-2.0 | 1,146 |
#
# 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 | centreon/common/ibm/nos/snmp/mode/cpu.pm | Perl | apache-2.0 | 2,879 |
package Configuration;
use JSON;
use Moose;
# configuration file
has 'configuration_file' => (is => 'ro', isa => 'Str', required => 1, trigger => \&_load);
# all available configurations
has '_configurations' => (is => 'rw', isa => 'HashRef', lazy => 0 );
sub _load {
my $this = shift;
my $config = $this->... | ypetinot/web-summarization | src/perl/Configuration.pm | Perl | apache-2.0 | 1,909 |
package VMOMI::OvfFileItem;
use parent 'VMOMI::DynamicData';
use strict;
use warnings;
our @class_ancestors = (
'DynamicData',
);
our @class_members = (
['deviceId', undef, 0, ],
['path', undef, 0, ],
['compressionMethod', undef, 0, 1],
['chunkSize', undef, 0, 1],
['size', undef, 0, 1],
... | stumpr/p5-vmomi | lib/VMOMI/OvfFileItem.pm | Perl | apache-2.0 | 598 |
package Perun::TasksAgent;
use strict;
use warnings;
use Perun::Common;
my $manager = 'tasksManager';
use fields qw(_agent _manager);
sub new
{
my $self = fields::new(shift);
$self->{_agent} = shift;
$self->{_manager} = $manager;
return $self;
}
sub getTaskResultsForDestinations
{
return Perun::Common::call... | balcirakpeter/perun | perun-cli/Perun/TasksAgent.pm | Perl | bsd-2-clause | 394 |
#!/usr/bin/perl
# <copyright>
# Copyright (c) 2013 Intel Corporation. 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 retain the above ... | hfinkel/libomp_oss-bgq | tools/message-converter.pl | Perl | bsd-3-clause | 22,255 |
% Copyright (c) 2014-2016, Johan Nordlander, Jonas Duregård, Michał Pałka,
% Patrik Jansson and Josef Svenningsson
% All rights reserved.
%
% Redistribution and use in source and binary forms, with or without
% modification, are permitted provided that the following conditions are met:
%
% *... | josefs/autosar | sem/test.pl | Perl | bsd-3-clause | 2,360 |
#! /usr/bin/perl
use strict;
use warnings;
BEGIN
{
unshift @INC, '../modules/';
}
use File::Basename;
use Getopt::Std;
use Jls::Array;
use Jls::File;
use Jls::Fasta;
use Jls::BarcodeValidator;
use Jls::Set;
# Check command line and retrieve the user-specified arguments
my $opts = {};
my $prog = basename($0... | Biomatters/barcode-validator | validation/resources/com/biomatters/plugins/barcoding/validator/validation/pci/program/validator_pci.pl | Perl | bsd-3-clause | 9,336 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.