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 ClioPatria SeRQL and SPARQL server
Author: Jan Wielemaker
E-mail: J.Wielemaker@cs.vu.nl
WWW: http://www.swi-prolog.org
Copyright (C): 2010, University of Amsterdam,
VU University Amsterdam
This program is free software; you can redistribute it and/or
mo... | TeamSPoon/logicmoo_workspace | packs_web/ClioPatria/api/json.pl | Perl | mit | 4,276 |
# Time-stamp: "Sat Jul 14 00:27:37 2001 by Automatic Bizooty (__blocks2pm.plx)"
$Text::\SEPA\Unicode\Unidecode::Char[0xaf] = [
'ggyeols', 'ggyeolt', 'ggyeolp', 'ggyeolh', 'ggyeom', 'ggyeob', 'ggyeobs', 'ggyeos', 'ggyeoss', 'ggyeong', 'ggyeoj', 'ggyeoc', 'ggyeok', 'ggyeot', 'ggyeop', 'ggyeoh',
'ggye', 'ggyeg', 'ggyegg',... | dmitrirussu/php-sepa-xml-generator | src/Unicode/data/perl_source/xaf.pm | Perl | mit | 2,574 |
#!/usr/bin/env perl
use strict;
use warnings;
use List::Util qw( min max );
use Data::Dumper;
my $filename = $ARGV[0];
open IN,"$filename";
my @headers;
my %lib_stats;
my $k = 0;
my $print = 0;
while (<IN>) {
my $line = $_;
chomp($line);
if ($line =~ /^#/) {print "$line\n";}
else {
$print = 1;
my @... | GDKO/gdk_scripts | popgenvcf/remove_het_vcf.pl | Perl | mit | 674 |
use strict;
use Data::Dumper;
use Carp;
#
# This is a SAS Component
#
=head1 NAME
all_entities_CodonUsage
=head1 SYNOPSIS
all_entities_CodonUsage [-a] [--fields fieldlist] > entity-data
=head1 DESCRIPTION
Return all instances of the CodonUsage entity.
This entity contains information about the codon usage
freq... | kbase/kb_seed | scripts/all_entities_CodonUsage.pl | Perl | mit | 3,779 |
=pod
=encoding utf8
=head1 The Hive Query Tool
The Hive Query Tool (HQT, for short) is a web-interface for running reports
using L<Apache Hive|http://hive.apache.org>. It is intended, first and
foremost, to be as easy-to-use as possible for non-technical people, while
allowing them to customize the reports they run ... | tripadvisor/hive-query-tool | README.pod | Perl | apache-2.0 | 7,470 |
=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 obta... | EnsemblGenomes/eg-web-parasite | modules/EnsEMBL/Web/Object/Account.pm | Perl | apache-2.0 | 1,767 |
#
# Copyright 2019 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | Sims24/centreon-plugins | apps/openldap/ldap/plugin.pm | Perl | apache-2.0 | 1,254 |
use strict;
use warnings;
package Metabase::Test::Index::SQLite;
use Test::More;
use Test::Routine;
use Test::Routine::Util;
use File::Temp ();
use File::Spec::Functions qw/catfile/;
use Metabase::Index::SQLite;
has tempdir => (
is => 'ro',
isa => 'Any',
lazy_build => 1,
);
sub _build_tempdir {
# "$ENV{HOM... | gitpan/Metabase-Backend-SQL | t/lib/Metabase/Test/Index/SQLite.pm | Perl | apache-2.0 | 366 |
#
# 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/management/loganalytics/mode/kustoquery.pm | Perl | apache-2.0 | 4,948 |
#
# 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/instancestypes.pm | Perl | apache-2.0 | 9,399 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016] 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 ... | danstaines/ensembl | modules/Bio/EnsEMBL/ArchiveStableId.pm | Perl | apache-2.0 | 13,791 |
#!/usr/bin/env perl
# Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
# Copyright [2016-2017] EMBL-European Bioinformatics Institute
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.... | willmclaren/ensembl-variation | scripts/misc/release/gvf2vcf.pl | Perl | apache-2.0 | 27,099 |
package Paws::RDS::CopyOptionGroup;
use Moose;
has SourceOptionGroupIdentifier => (is => 'ro', isa => 'Str', required => 1);
has Tags => (is => 'ro', isa => 'ArrayRef[Paws::RDS::Tag]');
has TargetOptionGroupDescription => (is => 'ro', isa => 'Str', required => 1);
has TargetOptionGroupIdentifier => (is => 'r... | ioanrogers/aws-sdk-perl | auto-lib/Paws/RDS/CopyOptionGroup.pm | Perl | apache-2.0 | 2,964 |
#
# 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 | database/postgres/psqlcmd.pm | Perl | apache-2.0 | 11,162 |
# 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/ManagedPlacementViewService/GetManagedPlacementViewRequest.pm | Perl | apache-2.0 | 1,073 |
#
# 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/telephony/avaya/aes/snmp/plugin.pm | Perl | apache-2.0 | 1,744 |
#
# 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 | network/raisecom/snmp/mode/components/voltage.pm | Perl | apache-2.0 | 4,044 |
# 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/KeywordPlanCampaignService/GetKeywordPlanCampaignRequest.pm | Perl | apache-2.0 | 1,071 |
:- module(mqu_and1p1,[queens/1],_).
:- use_module(qe_andorra_lib).
:- use_module(library(when),[when/2]).
:- use_module(library(prolog_sys),[statistics/2]).
:- use_module(library(write),[write/1]).
queens(A) :-
queens(A,_1,_2),
wakeup(_1,_2).
queens(A,_1,_2) :-
queens(A,A,A,B,_1,_3),
wakeup(_1,_3),
... | leuschel/ecce | www/CiaoDE/ciao/library/andorra/benchmarks/mqu_and1p1.pl | Perl | apache-2.0 | 18,668 |
package VMOMI::LicenseServerSource;
use parent 'VMOMI::LicenseSource';
use strict;
use warnings;
our @class_ancestors = (
'LicenseSource',
'DynamicData',
);
our @class_members = (
['licenseServer', undef, 0, ],
);
sub get_class_ancestors {
return @class_ancestors;
}
sub get_class_members {
my... | stumpr/p5-vmomi | lib/VMOMI/LicenseServerSource.pm | Perl | apache-2.0 | 448 |
# Copyright 2020, Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | googleads/google-ads-perl | lib/Google/Ads/GoogleAds/V9/Resources/ConversionCustomVariable.pm | Perl | apache-2.0 | 1,233 |
/* A Model Checker for CTL fomulas */
/* written for XSB-Prolog */
/* by Michael Leuschel, Thierry Massart */
/* tries to compute witnesses/counter-examples as well */
/* :- table sat/2. */
sat(State,Formula) :- sat(State,Formula,_Trace).
/* :- table sat/3. */
sat(_E,true,[]).
sat(_E,false,_) :- fai... | leuschel/ecce | www/benchmarks/ctl_trace.pl | Perl | apache-2.0 | 2,695 |
#!/usr/bin/perl
# Get temperature info for MRTG
# 23:39 2013/5/31
# Jonathan Tsai
$chkmode=!defined($ARGV[0])?"sensors":$ARGV[0];
if ($chkmode eq "sensors") {
$chkkey=!defined($ARGV[1])?"Temp":$ARGV[1];
# Note : You Must config /etc/sensors.conf Let temp -> CPU Temp (2 words)
# M/B Temp:
# CPU Temp:
$keycol=!de... | tryweb/trysrvtool | mrtg/temper.pl | Perl | apache-2.0 | 1,905 |
package Sisimai::SMTP::Status;
use feature ':5.10';
use strict;
use warnings;
# http://www.iana.org/assignments/smtp-enhanced-status-codes/smtp-enhanced-status-codes.xhtml
#
# ------------------------------------------------------------------------------
# [Class Sub-Codes]
# 2.X.Y Success
# 4.X.Y Persistent Transien... | azumakuniyuki/p5-Sisimai | lib/Sisimai/SMTP/Status.pm | Perl | bsd-2-clause | 43,045 |
#!/usr/bin/perl
# image2opf.pl
# PDFShrink
#
# Created by naoki iimura on 1/13/13.
# Copyright (c) 2013 naoki iimura. All rights reserved.
use strict;
use warnings;
use utf8;
# 標準出力のエンコードを調整する
if ( $^O eq "MSWin32" ) {
binmode STDOUT, ":encoding(cp932)";
} else {
binmode STDOUT, ":utf8"... | amatubu/PDFShrink | PDFShrink/image2opf.pl | Perl | bsd-2-clause | 3,762 |
#!/usr/bin/perl -w
use strict;
use warnings;
use Term::ANSIColor;
use Getopt::Long;
use Pod::Usage;
my $app_version = 0.1;
# my $opt_config = "$ENV{'HOME'}/.checkstylerc";
# my $opt_config = "checkvalastylerc";
my ($opt_quiet, $opt_silent, $opt_summary, $opt_lang, $opt_help, $opt_man, $opt_version);
Getopt::Long::C... | Parrot-Developers/alchemy | scripts/codecheck/checkvalastyle.pl | Perl | bsd-3-clause | 8,985 |
=head1 NAME
incline - a replicator for RDB shards
=head1 SYNOPSIS
incline [options] command
=head1 DESCRIPTION
Incline is a replicator for MySQL / PostgreSQL with following characteristics.
=over 4
=item * replicates information within a single database node or between database shards
=item * replication rules ... | gitpan/incline | README.pod | Perl | bsd-3-clause | 14,864 |
# Copyright (c) 2015, Mitchell Cooper
package Ferret::Core::Specials;
use warnings;
use strict;
use utf8;
use 5.010;
use Ferret::Core::Conversion qw(
flist_wrap fhash_fromref flist fbool
pdescription pstring fnumber fstring
);
my %specials = (
self => \&_self,
ISA => \&_ISA,
... | cooper/ferret | lib/Ferret/Core/Specials.pm | Perl | bsd-3-clause | 3,975 |
###########################################################################
#
# 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/th_TH.pod | Perl | mit | 15,436 |
#!/usr/bin/perl
use strict;
#Goal: *Prune a set of clusters in the BreakDancer Likelihood Metric.
# *Breakdancer Metric --> The intersection of two variants is > 50% of the union of the two variants.
#
# What about pruning a set of clusters AND concordant coverage information? (Wait until later!)
my $... | daviddliu/THetA_luigi | PipelineSoftware/gasv/scripts/GASVPruneClusters.pl | Perl | mit | 7,965 |
package Net::Braintree::PayPalAccount;
use Moose;
extends 'Net::Braintree::PaymentMethod';
my $meta = __PACKAGE__->meta;
sub BUILD {
my ($self, $attributes) = @_;
$self->set_attributes_from_hash($self, $attributes);
}
has email => ( is => 'rw' );
sub find {
my ($class, $token) = @_;
$class->gateway->paypal_... | gitpan/Net-Braintree | lib/Net/Braintree/PayPalAccount.pm | Perl | mit | 521 |
package OpenXPKI::Server::Session::Driver::File;
use Moose;
use utf8;
with "OpenXPKI::Server::Session::DriverRole";
=head1 NAME
OpenXPKI::Server::Session::Driver::File - Session implementation that
persists to files in a folder
=head1 DESCRIPTION
Please see L<OpenXPKI::Server::Session::DriverRole> for a description... | stefanomarty/openxpki | core/server/OpenXPKI/Server/Session/Driver/File.pm | Perl | apache-2.0 | 4,270 |
package Google::Ads::AdWords::v201406::DateRange;
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/DateRange.pm | Perl | apache-2.0 | 1,499 |
#
# Copyright 2016 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | bcournaud/centreon-plugins | storage/hp/3par/7000/mode/node.pm | Perl | apache-2.0 | 5,033 |
=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/VEP_plugins | ExAC.pm | Perl | apache-2.0 | 9,517 |
package #
Date::Manip::Offset::off126;
# 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/off126.pm | Perl | bsd-2-clause | 847 |
package Gnuplot;
use strict;
use warnings;
use Exporter;
use Util qw( read_file );
our @ISA = qw( Exporter );
our @EXPORT = ();
our @EXPORT_OK = qw( read_output_eps );
our %EXPORT_TAGS = ();
# read the output eps from gnuplot script
# args
# -< gnuplot script
# return
# -> output eps ... | vitduck/VASP | Gnuplot.pm | Perl | bsd-3-clause | 520 |
# !!!!!!! 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/Blk/Samarita.pl | Perl | mit | 433 |
#! /usr/bin/env perl
# Copyright 1998-2016 The OpenSSL Project Authors. All Rights Reserved.
#
# Licensed under the OpenSSL license (the "License"). You may not use
# this file except in compliance with the License. You can obtain a copy
# in the file LICENSE in the source distribution or at
# https://www.openssl.org... | endlessm/chromium-browser | third_party/boringssl/src/crypto/fipsmodule/sha/asm/sha1-586.pl | Perl | bsd-3-clause | 44,185 |
#!/usr/bin/perl
print "Status: 204 OK\r\n";
print "Content-Type: text/html\r\n";
print "X-Content-Type-Options: nosniff\r\n\r\n";
| nwjs/chromium.src | third_party/blink/web_tests/http/tests/inspector-protocol/network/resources/204.pl | Perl | bsd-3-clause | 131 |
#-----------------------------------------------------------
# haven_and_hearth.pl
# Extracts the username and savedtoken for Haven & Hearth
#
# Change history
# 20110830 [fpi] + banner, no change to the version number
#
# References
# Haven & Hearth Homepage
# http://www.havenandhearth.com/
#
# Copyright (c... | APriestman/autopsy | thirdparty/rr-full/plugins/haven_and_hearth.pl | Perl | apache-2.0 | 2,867 |
# This file is auto-generated by the Perl DateTime Suite time zone
# code generator (0.07) This code generator comes with the
# DateTime::TimeZone module distribution in the tools/ directory
#
# Generated from /tmp/Q713JNUf8G/europe. Olson data version 2016a
#
# Do not edit this file directly.
#
package DateTime::Tim... | jkb78/extrajnm | local/lib/perl5/DateTime/TimeZone/Europe/Berlin.pm | Perl | mit | 33,042 |
=encoding utf8
=head1 NAME
Book::Chinese::MasterPerlToday::BeACPANTester - Be a CPAN Tester
=head1 DESCRIPTION
本章主要描述如何配置 CPAN 和成为一个 CPAN 测试者。
=head2 配置 CPAN
当你安装 Perl 完毕之后,在命令行状态下输入
$ cpan
会出现类似如下的东西
E:\Fayland\chinese-perl-book>cpan
cpan shell -- CPAN exploration and modules installation (v1... | gitpan/Book-Chinese-MasterPerlToday | lib/Book/Chinese/MasterPerlToday/BeACPANTester.pod | Perl | mit | 6,612 |
package O2CMS::Obj::Survey::Poll;
use strict;
use base 'O2::Obj::Object';
use O2 qw($context);
#-----------------------------------------------------------------------------
sub getAnswerAlternativeByIndex {
my ($obj, $i) = @_;
my @alternatives = $obj->getAnswerAlternatives();
return $alternatives[$i];
}
#---... | haakonsk/O2-CMS | lib/O2CMS/Obj/Survey/Poll.pm | Perl | mit | 2,500 |
/** <module> Command handling.
*/
:- module(_, [
command/3,
command/4,
list_commands/2,
list_collection_names/2,
list_database_infos/2,
list_database_names/2,
drop_collection/1,
drop_database/1,
get_last_error/2
]).
:- include(include/common).
command_collection('$cmd').
admin_da... | khueue/prolongo | src/mongo_command.pl | Perl | mit | 4,131 |
#!/usr/bin/perl
use warnings;
use strict;
use threads;
use threads::shared;
use Thread::Queue;
my $script_path = shift;
# WORK QUEUE
my $work_queue = Thread::Queue->new();
my $keep_working :shared = 1;
# WORKERS
my @workers;
# Set up threads
my $cores = `nproc` - 2;
for(1..$cores)
{
push(@workers, threads->create... | mbiokyle29/bioinformatics | misc/perl/mosaics/misc/run_pre_GCN.pl | Perl | mit | 963 |
#=======================================================================
# ____ ____ _____ _ ____ ___ ____
# | _ \| _ \| ___| _ _ / \ | _ \_ _| |___ \
# | |_) | | | | |_ (_) (_) / _ \ | |_) | | __) |
# | __/| |_| | _| _ _ / ___ \| __/| | / __/
# |_| ... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/PDF/API2/Resource/ColorSpace/Indexed.pm | Perl | mit | 6,572 |
use strict;
use warnings;
use Data::Dumper;
use Unicode::Normalize;
use JSON;
use MIME::Base64;
my ($lang) = @ARGV;
die "The first argument should be a language iso code (e.g., \"fr\")" unless ($lang && $lang =~ /^\w+$/);
my $dir = '../src';
my $test_dir = '../test';
my $regexp_space = "[\\s\x{a0}]";
my $v... | Agrando/Bible-Passage-Reference-Parser | bin/01.add_lang.pl | Perl | mit | 39,980 |
package geneAnnotationFunctions;
use strict;
use warnings;
use Exporter;
use Scalar::Util::Numeric qw(isint);
use POSIX;
our @ISA = ('Exporter');
our @EXPORT = qw(checkExonIntactness getIntronTable getSLineData);
my @stopCodonsList = qw(TAA TAG TGA);
my %stopCodons = map{$_ => 1}@stopCodonsList;
sub checkExonIntact... | hillerlab/CESAR2.0 | tools/geneAnnotationFunctions.pm | Perl | mit | 25,799 |
BEGIN { push @INC, '/www/cgi-bin', '/usr/lib/cgi-bin' }
use meshchatconfig;
our $version = '1.02';
$messages_db_file = $messages_db_file_orig . '.' . zone_name();
if ( $platform eq 'node' && -d '/mnt/usb/meshchat/files' ) {
$local_files_dir = '/mnt/usb/meshchat/files';
}
sub dbg {
my $txt = shift;
if ... | tpaskett/meshchat | src/shared/data/www/cgi-bin/meshchatlib.pm | Perl | mit | 15,107 |
# This file is auto-generated by the Perl DateTime Suite time zone
# code generator (0.07) This code generator comes with the
# DateTime::TimeZone module distribution in the tools/ directory
#
# Generated from /tmp/Q713JNUf8G/southamerica. Olson data version 2016a
#
# Do not edit this file directly.
#
package DateTim... | jkb78/extrajnm | local/lib/perl5/DateTime/TimeZone/America/Guyana.pm | Perl | mit | 1,974 |
# 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... | mn1/ensembl-analysis | scripts/genebuild/find_seq_in_fasta.pl | Perl | apache-2.0 | 1,838 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2021] EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obta... | Ensembl/ensembl | misc-scripts/xref_mapping/XrefParser/FetchFiles.pm | Perl | apache-2.0 | 8,730 |
#
# 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/sun/snmp/mode/hardware.pm | Perl | apache-2.0 | 3,073 |
package VMOMI::TaskReasonSystem;
use parent 'VMOMI::TaskReason';
use strict;
use warnings;
our @class_ancestors = (
'TaskReason',
'DynamicData',
);
our @class_members = ( );
sub get_class_ancestors {
return @class_ancestors;
}
sub get_class_members {
my $class = shift;
my @super_members = $cla... | stumpr/p5-vmomi | lib/VMOMI/TaskReasonSystem.pm | Perl | apache-2.0 | 403 |
#
# 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/xtremio/restapi/plugin.pm | Perl | apache-2.0 | 1,876 |
=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-webcode | modules/EnsEMBL/Web/ZMenu/ExpandTrack.pm | Perl | apache-2.0 | 1,785 |
#
# 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 | centreon/common/emc/navisphere/mode/spcomponents/sp.pm | Perl | apache-2.0 | 2,004 |
#!/usr/bin/perl -w
use utf8;
use strict;
use Getopt::Long "GetOptions";
use FindBin qw($RealBin);
binmode(STDIN, ':utf8');
binmode(STDOUT, ':utf8');
binmode(STDERR, ':utf8');
print STDERR "Training Transliteration Module - Start\n".`date`;
my $ORDER = 5;
my $OUT_DIR = "/tmp/Transliteration-Model.$$";
my $___FACTOR_... | shyamjvs/cs626_project | stat_moses/tools/moses/scripts/Transliteration/train-transliteration-module.pl | Perl | apache-2.0 | 13,490 |
# Ensembl module for Bio::EnsEMBL::Analysis::Runnable
# 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 ex... | kiwiroy/ensembl-analysis | modules/Bio/EnsEMBL/Analysis/Runnable.pm | Perl | apache-2.0 | 19,547 |
package VMOMI::VmVnicPoolReservationViolationClearEvent;
use parent 'VMOMI::DvsEvent';
use strict;
use warnings;
our @class_ancestors = (
'DvsEvent',
'Event',
'DynamicData',
);
our @class_members = (
['vmVnicResourcePoolKey', undef, 0, ],
['vmVnicResourcePoolName', undef, 0, 1],
);
sub get_cla... | stumpr/p5-vmomi | lib/VMOMI/VmVnicPoolReservationViolationClearEvent.pm | Perl | apache-2.0 | 525 |
package VMOMI::HostDnsConfigSpec;
use parent 'VMOMI::HostDnsConfig';
use strict;
use warnings;
our @class_ancestors = (
'HostDnsConfig',
'DynamicData',
);
our @class_members = (
['virtualNicConnection', 'HostVirtualNicConnection', 0, 1],
);
sub get_class_ancestors {
return @class_ancestors;
}
sub... | stumpr/p5-vmomi | lib/VMOMI/HostDnsConfigSpec.pm | Perl | apache-2.0 | 475 |
# 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/Resources/CustomerClientLink.pm | Perl | apache-2.0 | 1,211 |
:- dynamic r/2.
r(X,Y):- r(Y,X).
r(a,b).
%% :- oldt(user:r(X,Y)), displayq(r(X,Y)), nl, fail.
| leuschel/ecce | www/CiaoDE/ciao/contrib/oldt/examples/reconsume_solutions.pl | Perl | apache-2.0 | 97 |
package API::DeliveryService;
#
# 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/LICENSE-2.... | PSUdaemon/traffic_control | traffic_ops/app/lib/API/DeliveryService.pm | Perl | apache-2.0 | 14,909 |
package Twitter::Credentials;
=head1 NAME
Twitter::Credentials
Standard Credentials object passed to all functions which require Twitter authentication.
Every function which requires authentication should accept a key named 'credentials' containing an instance of a Credentials object.
=head1 SYNOPSIS
use... | gitpan/Twitter | lib/Twitter/Credentials.pm | Perl | bsd-3-clause | 906 |
#!/usr/bin/perl
use DBI;
use XBase;
#my $rootdir = "/Users/mjpan/dental";
my $homedir = `echo \$HOME`;
chomp($homedir);
my $rootdir = "$homedir/dental";
my $origdir = "$rootdir/DBFS";
my $convdir = "$rootdir/MySQL";
my $columnsDir = "$rootdir/columns";
#note: cannot end select statement with ";" for xbase
#If you a... | mjpan/jdentpro | scripts/dentpro2opendent.pl | Perl | bsd-3-clause | 27,368 |
package Binder;
use Mouse;
use namespace::autoclean;
has 'base_string' => (is => 'rw', isa => 'Str', required => 1);
has 'slot_number' => (is => 'rw', isa => 'Int');
has 'bound_string' => (is => 'rw', isa => 'Str');
has 'bind_symbol' => (is => 'rw', isa => 'Str', default => '(?)');
sub BUILD {
my $self = shift;
$se... | mbiokyle29/MosaicsPerl | lib/Binder.pm | Perl | mit | 987 |
#!/usr/bin/env perl
use strict;
use warnings;
use Text::Diff;
use File::Compare;
my $f1 = $ARGV[0];
my $f2 = $ARGV[1];
my $outfile = $ARGV[2];
open FILE1, "$f1" or die "Could not open file: $! \n";
open FILE2, "$f2" or die "Could not open file: $! \n";
if (compare($f1,$f2) == 0) {
print "They're equal\n";
}
else ... | bkahlert/seqan-research | raw/pmsb13/pmsb13-data-20130530/sources/jo3m1hxqqtlpeaer/2013-05-24T20-20-49.212+0200/sandbox/group2/apps/seqc/output/file_comparison.pl | Perl | mit | 507 |
package VSAP::Server::Modules::vsap::webmail::distlist;
use 5.008001;
use strict;
use warnings;
use XML::LibXML;
our $VERSION = '0.02';
our %_ERR = ( WM_BAD_LIST => 100,
WM_BAD_LISTID => 101,
WM_UNIQUE_LISTID => 102,
WM_FS_ERROR => 103,
WM_LISTNAME => 104,
WM... | opencpx/opencpx | modules/VSAP-Server-Modules-vsap-webmail-distlist/lib/VSAP/Server/Modules/vsap/webmail/distlist.pm | Perl | apache-2.0 | 15,851 |
#
# Copyright 2016 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | bcournaud/centreon-plugins | apps/exchange/2010/local/mode/owamailbox.pm | Perl | apache-2.0 | 7,688 |
#
# Copyright 2016 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | bcournaud/centreon-plugins | apps/iis/wsman/mode/applicationpoolstate.pm | Perl | apache-2.0 | 8,197 |
=pod
=head1 NAME
DH_generate_parameters_ex, DH_generate_parameters,
DH_check, DH_check_params,
DH_check_ex, DH_check_params_ex, DH_check_pub_key_ex
- generate and check Diffie-Hellman
parameters
=head1 SYNOPSIS
#include <openssl/dh.h>
Deprecated since OpenSSL 3.0, can be hidden entirely by defining
B<OPENSSL_API_... | jens-maus/amissl | openssl/doc/man3/DH_generate_parameters.pod | Perl | bsd-3-clause | 5,000 |
:- module(typechange,[typechange/5 % +OldCat,+OldSem,+Att,+NewCat,-NewSem
]).
:- use_module(boxer(slashes)).
:- use_module(boxer(lexicon),[semlex/5]).
:- use_module(boxer(categories),[att/3]).
:- use_module(semlib(errors),[warning/2]).
:- use_module(library(lists),[member/2]).
/* -------------... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/ext/candc/src/prolog/boxer/typechange.pl | Perl | mit | 5,041 |
#!/usr/bin/perl
# $Id: ackermann.perl-2.perl,v 1.1 2005-04-04 14:56:35 bfulgham Exp $
# http://www.bagley.org/~doug/shootout/
# With help from Ernesto Hernandez-Novich
use integer;
# Note: If memoization were allowed in this program, we could
# do so by adding:
use Memoize;
memoize("Ack");
# in our quest for speed,... | kaushik94/sourceclassifier | sources/perl/ackermann.perl-2.perl | Perl | mit | 617 |
#! /usr/bin/env perl
$node = shift;
$script = shift;
$name = "job_dagman_script_args-" . $node . "-" . $script . ".out";
open(OUT, ">$name") or die "Can't open file $name";
foreach $arg (@ARGV) {
print OUT "<$arg> ";
}
print OUT "\n";
close(OUT);
| djw8605/htcondor | src/condor_tests/job_dagman_script_args-script.pl | Perl | apache-2.0 | 252 |
#!/usr/bin/perl
use strict;
use warnings;
$|++;
use AnyEvent;
use Net::RabbitFoot;
my $conn = Net::RabbitFoot->new()->load_xml_spec()->connect(
host => 'localhost',
port => 5672,
user => 'guest',
pass => 'guest',
vhost => '/',
);
my $channel = $conn->open_channel();
$channel->declare_queue(queu... | bwong199/rabbitmq-tutorials | perl/rpc_server.pl | Perl | apache-2.0 | 1,101 |
#####
# FCKeditor - The text editor for Internet - http://www.fckeditor.net
# Copyright (C) 2003-2009 Frederico Caldeira Knabben
#
# == BEGIN LICENSE ==
#
# Licensed under the terms of any of the following licenses at your
# choice:
#
# - GNU General Public License Version 2 or later (the "GPL")
# ... | efraxpc/wtpress | web/js/fckeditor/editor/filemanager/connectors/perl/util.pl | Perl | mit | 1,409 |
#!/usr/bin/perl -w
package SHGeneBbhSearch;
use strict;
use Tracer;
use CGI qw(-nosticky);
use Sprout;
use Stats;
use RHFeatures;
use base 'SearchHelper';
=head1
=head2 Introduction
This is a simple search that accepts as input a FIG ID or alias and lists all of
the bidirectional best... | kbase/kb_seed | lib/SHGeneBbhSearch.pm | Perl | mit | 7,217 |
package Bio::SUPERSMART::Service;
use strict;
use warnings;
use Moose;
use Bio::Phylo::PhyLoTA::DAO;
use Bio::SUPERSMART::Config;
use Bio::Phylo::Util::Logger;
use Bio::Phylo::Util::Exceptions 'throw';
my $config = Bio::SUPERSMART::Config->new;
my $schema = Bio::Phylo::PhyLoTA::DAO->new;
my $logger = Bio::Phylo::Util:... | naturalis/supersmart | lib/Bio/SUPERSMART/Service.pm | Perl | mit | 10,278 |
#!/usr/bin/perl
# This is a very simple helper script for running a Burstcoin plotter
# on similar servers in a (possibly large) server room / farm.
# We assume the hostnames contain a numbering (e.g. srv001, ..., srv666)
# and that each server has the same amount of disk space to be allocated
# for plot files. All t... | larilampen/misc-scripts | burst-plot.pl | Perl | mit | 2,214 |
package O2::Gui::Error;
use strict;
use base 'O2::Gui';
use O2 qw($cgi);
#--------------------------------------------------------------------------------------------------
sub code500 {
my ($obj) = @_;
$cgi->_untieStdOut();
require O2::Cgi::FatalsToBrowser;
print O2::Cgi::FatalsToBrowser::html("Internal Se... | haakonsk/O2-Framework | lib/O2/Gui/Error.pm | Perl | mit | 467 |
use MooseX::Declare;
=head3
PACKAGE Init
PURPOSE
CARRY OUT INITIAL Agua SETUP:
1. CREATE, STOP/START/TERMINATE AND OTHERWISE MANAGE
AWS AMIs, MANAGE VOLUMES AND OTHER RESOURCES
2. STORE AWS CREDENTIALS INFO IN FILES
3. STORE AWS CREDENTIALS INFO IN aws DATABASE TABLE
LICENCE
This code is rele... | agua/aguadev | lib/Agua/Init.pm | Perl | mit | 35,167 |
#=======================================================================
# ____ ____ _____ _ ____ ___ ____
# | _ \| _ \| ___| _ _ / \ | _ \_ _| |___ \
# | |_) | | | | |_ (_) (_) / _ \ | |_) | | __) |
# | __/| |_| | _| _ _ / ___ \| __/| | / __/
# |_| ... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/PDF/API2/Basic/TTF/Vhea.pm | Perl | mit | 4,575 |
#!/usr/bin/perl -w
use strict;
use warnings;
my $subject;
my $url;
my @subjects = ();
my @uniq = ();
if (@ARGV eq 1){
$subject = $ARGV[0];
$url = "http://www.timetable.unsw.edu.au/2015/$subject\\KENS.html";
open F, "wget -q -O- $url|" or die;
while (my $line = <F>){
if ($line =~ /($subject\d{4})/){
... | Knln/COMP2041 | testinglab7/courses.pl | Perl | mit | 546 |
% Compile the main Regulus code
:- compile('$REGULUS/Prolog/load').
% Compile generator
:- regulus_batch('$REGULUS/Examples/Toy1RoleMarked/scripts/toy1_french_generation.cfg', ["LOAD_GENERATION"]).
:- halt.
| TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/ext/regulus/Examples/Toy1RoleMarked/scripts/build_french_generator.pl | Perl | mit | 212 |
package ComplaintGroup::Tokenizer::Backend::KyotoCabinet;
use strict;
use KyotoCabinet;
use base qw( ComplaintGroup::Tokenizer::Backend );
sub new {
my $invocant = shift;
my $class = ref( $invocant ) || $invocant;
my $self = {
filename => '/tmp/kyoto.kch',
@_,
};
... | petermblair/libemail | complaintgroup/lib/ComplaintGroup/Tokenizer/Backend/KyotoCabinet.pm | Perl | mit | 856 |
package WWW::Kickstarter::Iterator;
use strict;
use warnings;
no autovivification;
sub _done { () }
sub new {
my ($class, $generator, $buf) = @_;
my $self = bless({}, $class);
$self->{generator} = $generator || \&_done;
$self->{buf } = $buf || [];
return $self;
}
sub get {
my ($self... | gitpan/WWW-Kickstarter | lib/WWW/Kickstarter/Iterator.pm | Perl | cc0-1.0 | 3,034 |
# 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/Resources/Asset.pm | Perl | apache-2.0 | 2,056 |
#
# 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/hp/storeonce/ssh/plugin.pm | Perl | apache-2.0 | 1,328 |
#
# 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 | hardware/devices/camera/mobotix/snmp/mode/system.pm | Perl | apache-2.0 | 5,559 |
#
# 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/rds/mode/listinstances.pm | Perl | apache-2.0 | 2,715 |
{
authentation => {
consumer_key => '',
consumer_key_secret => '',
token => '',
token_secret => '',
},
account_ids => {
99036699,
},
};
| aokcub/jo_ri_name | config.sample.pl | Perl | apache-2.0 | 192 |
=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-webcode | modules/EnsEMBL/Draw/GlyphSet/geneexon_bgtrack.pm | Perl | apache-2.0 | 3,729 |
=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/Utils/Logger.pm | Perl | apache-2.0 | 17,413 |
#
# 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/custom/api.pm | Perl | apache-2.0 | 6,765 |
# Contributed by Ricardo Signes
use CPAN::Visitor;
use Text::CSV_XS;;
use YAML::Tiny;
my $visitor = CPAN::Visitor->new(cpan => "/Users/rjbs/mirrors/minicpan");
my $count = $visitor->select;
printf "preparing to scan %s files...\n", $count;
my $csv = Text::CSV_XS->new;
my $total = 0;
my @data;
$csv->eol("\n");
... | gitpan/CPAN-Visitor | examples/scan-meta-files.pl | Perl | apache-2.0 | 1,549 |
#!/usr/bin/env perl
=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:/... | simonjupp/ensembl-rdf | scripts/ensembl2ttl.pl | Perl | apache-2.0 | 17,513 |
=head1 NAME
Link - DESCRIPTION of Object
=head1 SYNOPSIS
=head1 DESCRIPTION
Object oriented graph system which is based on Node and Link objects. There is
no 'graph' object, the graph is constructed out of Nodes and Links, and the
graph is 'walked' from Node to Link to Node. Can be used to represent any graph
str... | adamsardar/perl-libs-custom | EnsemblAPI/ensembl-compara/modules/Bio/EnsEMBL/Compara/Graph/Link.pm | Perl | apache-2.0 | 5,752 |
# ${license-info}
# ${developer-info
# ${author-info}
# ${build-info}
=pod
=head1 Hooks for customizing kickstart creation on AII
The generation of the Kickstart configuration file may be customized
via C<hooks>. Hooks are a sort of components which are executed from
the Kickstart plugin.
Using hooks allows for ex... | kwaegema/aii | aii-core/src/main/perl/aii-hooks.pod | Perl | apache-2.0 | 6,371 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.