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 |
|---|---|---|---|---|---|
########################################################################
# Bio::KBase::ObjectAPI::KBaseExpression::DB::ExpressionOntologyTerm - This is the moose object corresponding to the KBaseExpression.ExpressionOntologyTerm object
# Authors: Christopher Henry, Scott Devoid, Paul Frybarger
# Contact email: chenry@m... | kbase/KBaseFBAModeling | lib/Bio/KBase/ObjectAPI/KBaseExpression/DB/ExpressionOntologyTerm.pm | Perl | mit | 3,217 |
#
# 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... | mbroadst/debian-qpid-cpp-old | proton-c/bindings/perl/lib/qpid/proton/Messenger.pm | Perl | apache-2.0 | 7,122 |
package CPANPLUS::Dist::Build;
use if $] > 5.017, 'deprecate';
use strict;
use warnings;
use vars qw[@ISA $STATUS $VERSION];
@ISA = qw[CPANPLUS::Dist];
use CPANPLUS::Internals::Constants;
### these constants were exported by CPANPLUS::Internals::Constants
### in previous versions.. they do the same though. ... | liuyangning/WX_web | xampp/perl/lib/CPANPLUS/Dist/Build.pm | Perl | mit | 29,024 |
#!/usr/bin/perl
use Data::Dumper;
use strict;
use File::Basename;
###
### This 'ugly' perl script creates the wiki page for JsUpload
### It inspects the java classes looking for comments and put them in the wiki page.
###
my $author = "[http://manolocarrasco.blogspot.com/ Manuel Carrasco Moñino]";
# Folder with so... | cyrilmhansen/gwtupload | jsupload/gjslib.pl | Perl | apache-2.0 | 8,386 |
package CPANPLUS::Module::Author::Fake;
use CPANPLUS::Module::Author;
use CPANPLUS::Internals;
use CPANPLUS::Error;
use strict;
use vars qw[@ISA];
use Params::Check qw[check];
@ISA = qw[CPANPLUS::Module::Author];
$Params::Check::VERBOSE = 1;
=pod
=head1 NAME
CPANPLUS::Module::Author::Fake - dummy a... | leighpauls/k2cro4 | third_party/perl/perl/lib/CPANPLUS/Module/Author/Fake.pm | Perl | bsd-3-clause | 1,738 |
package DDG::Goodie::VIN;
# ABSTRACT: extract information about vehicle identification numbers
use strict;
use DDG::Goodie;
zci is_cached => 1;
zci answer_type => "vin";
triggers query_lc => qr/([\d+a-z]{17})|
(^\d+$)
/x;
# Regex for VIN.
my $vin_qr = qr/v(?:ehicle|)i... | Midhun-Jo-Antony/zeroclickinfo-goodies | lib/DDG/Goodie/VIN.pm | Perl | apache-2.0 | 3,506 |
#!/usr/bin/perl -w
use strict;
#### DEBUG
my $DEBUG = 0;
#$DEBUG = 1;
=head2
NAME dumpDb
PURPOSE
DUMP ALL THE TABLES IN A DATABASE TO .TSV FILES
INPUT
1. DATABASE NAME
2. LOCATION TO PRINT .TSV FILES
OUTPUT
1. ONE .TSV FILE FOR EACH TABLE IN DATABASE
USAGE
./dumpDb.... | agua/aguadev | bin/scripts/dumpDb.pl | Perl | mit | 3,457 |
#!/usr/local/bin/perl -w
=head1 NAME
load_clones_from_fpc.pl - Populates a core Ensembl DB with FPC clone data
=head1 SYNOPSIS
perl load_clones_from_fpc.pl [options] fpc_file
Options:
-h --help
-m --man
-r --registry_file
-s --species
-f --fasta_file
-c --cb_to_bp
-n --no_insert
=head1 OPTIONS
Reads the B... | warelab/gramene-ensembl | maize/load-scripts/load_clones_from_fpc.pl | Perl | mit | 16,626 |
package WorldCup::Command::teams;
# ABSTRACT: Returns the teams in the World Cup.
use strict;
use warnings;
use WorldCup -command;
use JSON;
use LWP::UserAgent;
use File::Basename;
use Term::ANSIColor;
use List::Util qw(max);
sub opt_spec {
return (
[ "outfile|o=s", "A file to place a listing of the teams" ... | sestaton/WorldCupStats | lib/WorldCup/Command/teams.pm | Perl | mit | 3,201 |
use strict;
use Data::Dumper;
use Carp;
#
# This is a SAS Component
#
=head1 NAME
roles_to_complexes
=head1 SYNOPSIS
roles_to_complexes [arguments] < input > output
=head1 DESCRIPTION
roles_to_complexes allows a user to connect Roles to Complexes,
from there, the connection exists to Reactions (although in the
... | kbase/kb_seed | scripts/roles_to_complexes.pl | Perl | mit | 2,489 |
#!/usr/bin/perl
$usage = qq{
rnaseqIds.pl <rnaseq-data>
<rnaseq-data> e.g. Ctr1_Lt_0h.txt or AAAAAA.txt
};
die "$usage" unless @ARGV == 1;
$file = $ARGV[0];
$med4 = 0;
$phm2 = 0;
open (FILE, $file) or die "No likey the file $file!";
@data = <FILE>;
close FILE;
foreach $line (@data) {
chomp $lin... | cuttlefishh/papers | cyanophage-light-dark-transcriptomics/code/rnaseqIds.pl | Perl | mit | 947 |
package NullSock;
use strict;
use warnings;
sub new { bless {}, shift }
sub send { }
1;
| bpa/cyborg-rally | lib/NullSock.pm | Perl | mit | 92 |
#!/usr/bin/env perl6
use v6.c;
class Node {
has Str $.id;
has Int $.x;
has Int $.y;
has Int $.size;
has Int $.used is rw;
has Int $.avail is rw;
method new(Int() :$x, Int() :$y, Int() :$size, Int() :$used, Int() :$avail) {
return self.bless(:$x, :$y, :$size, :$used, :$avail, :id("(... | duelafn/advent-of-code-2016-in-perl6 | 2016/advent-of-code/22.pl | Perl | mit | 3,936 |
#!/usr/bin/perl
# ----------------------------------------------------------------- #
# The HMM-Based Speech Synthesis System (HTS) #
# developed by HTS Working Group #
# http://hts.sp.nitech.ac.jp/ #
# ----------------------... | yutarochan/JavaOpenJtalk | util/HTS-demo_NIT-ATR503-M001/data/scripts/window.pl | Perl | mit | 5,970 |
#
# 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/snapmirrors.pm | Perl | apache-2.0 | 4,254 |
package Paws::ElastiCache::Event;
use Moose;
has Date => (is => 'ro', isa => 'Str');
has Message => (is => 'ro', isa => 'Str');
has SourceIdentifier => (is => 'ro', isa => 'Str');
has SourceType => (is => 'ro', isa => 'Str');
1;
### main pod documentation begin ###
=head1 NAME
Paws::ElastiCache::Event
=he... | ioanrogers/aws-sdk-perl | auto-lib/Paws/ElastiCache/Event.pm | Perl | apache-2.0 | 1,917 |
#!/usr/bin/env perl
# See the NOTICE file distributed with this work for additional information
# regarding copyright ownership.
#
# 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
#
# htt... | Ensembl/ensembl-compara | scripts/production/backup_master.pl | Perl | apache-2.0 | 4,062 |
#
# 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 | database/oracle/mode/tnsping.pm | Perl | apache-2.0 | 2,832 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2017] EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obta... | willmclaren/ensembl-variation | modules/Bio/EnsEMBL/Variation/DBSQL/IndividualGenotypeFeatureAdaptor.pm | Perl | apache-2.0 | 3,505 |
package Paws::AutoScaling::DescribeAutoScalingNotificationTypes;
use Moose;
use MooseX::ClassAttribute;
class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeAutoScalingNotificationTypes');
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::AutoScaling::DescribeAutoScalingNoti... | ioanrogers/aws-sdk-perl | auto-lib/Paws/AutoScaling/DescribeAutoScalingNotificationTypes.pm | Perl | apache-2.0 | 1,747 |
=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/Operon.pm | Perl | apache-2.0 | 10,752 |
#!/usr/bin/env perl
# 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... | Ensembl/ensembl-variation | scripts/import/parallel_read_coverage.pl | Perl | apache-2.0 | 5,728 |
#!/usr/bin/perl
use subs;
use strict;
use warnings;
use IO::Handle;
use Time::HiRes qw(tv_interval gettimeofday);
# test.pl
#
# runs a test and check its output
sub run($$$) {
my ($input, $options, $output) = @_;
my $extraopts = $ENV{'ESBMC_TEST_EXTRA_ARGS'};
$extraopts = "" unless defined($extraopts);
my $c... | ssvlab/esbmc-gpu | regression/cuda/gpu_verify/structs/test.pl | Perl | apache-2.0 | 4,401 |
package VMOMI::VmDasBeingResetEvent;
use parent 'VMOMI::VmEvent';
use strict;
use warnings;
our @class_ancestors = (
'VmEvent',
'Event',
'DynamicData',
);
our @class_members = (
['reason', undef, 0, 1],
);
sub get_class_ancestors {
return @class_ancestors;
}
sub get_class_members {
my $cl... | stumpr/p5-vmomi | lib/VMOMI/VmDasBeingResetEvent.pm | Perl | apache-2.0 | 444 |
package Mojo::Webqq::Friend;
use strict;
use Mojo::Webqq::Base 'Mojo::Webqq::Model::Base';
has [qw(
flag
id
category
name
face
markname
is_vip
vip_level
state
client_type
_flag
)];
has uid => sub{
my $self = shift;
return $self->{uid} if defined $... | sjdy521/Mojo-Webqq | lib/Mojo/Webqq/Friend.pm | Perl | bsd-2-clause | 1,519 |
#!/usr/bin/env perl
#
# ====================================================================
# Written by Andy Polyakov <appro@fy.chalmers.se> for the OpenSSL
# project. The module is, however, dual licensed under OpenSSL and
# CRYPTOGAMS licenses depending on where you obtain it. For further
# details see http:/... | caidongyun/nginx-openresty-windows | nginx/objs/lib/openssl-1.0.1g/crypto/rc4/asm/rc4-x86_64.pl | Perl | bsd-2-clause | 16,490 |
=pod
=head1 NAME
CMS_verify, CMS_get0_signers - verify a CMS SignedData structure
=head1 SYNOPSIS
#include <openssl/cms.h>
int CMS_verify(CMS_ContentInfo *cms, STACK_OF(X509) *certs, X509_STORE *store,
BIO *indata, BIO *out, unsigned int flags);
STACK_OF(X509) *CMS_get0_signers(CMS_ContentInfo ... | openssl/openssl | doc/man3/CMS_verify.pod | Perl | apache-2.0 | 5,347 |
#!/usr/bin/perl
use URI::Escape;
my $string = "Hello world!";
my $encode = uri_escape($string);
print "Original string: $string\n";
print "URL Encoded string: $encode\n"; | mishin/presentation | my_scripts/test_enc.pl | Perl | apache-2.0 | 176 |
# this module provides custom postp logic.
package EC::POSTP;
use strict;
use warnings;
use XML::Simple;
use ElectricCommander;
use Data::Dumper;
our $VERSION = 0.1;
#*****************************************************************************
our $PATTERNS = [{
start => qr/^\[(INFO|ERROR|WARNING|TRACE)\]/,... | electric-cloud/EC-WebLogic | src/main/resources/project/lib/EC/POSTP.pm | Perl | apache-2.0 | 5,468 |
package #
Date::Manip::TZ::afbiss00;
# 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' i... | nriley/Pester | Source/Manip/TZ/afbiss00.pm | Perl | bsd-2-clause | 1,522 |
#!/usr/bin/env perl
use strict;
my $libPath = $0;
$libPath =~ s/[^\/]+$//;
$libPath .= "lib";
print STDERR "libpath: $libPath\n";
my $cmd = "java -Xmx300M -cp $libPath JsyntenyView @ARGV";
exec $cmd;
die "ERROR, couldn't exec $cmd\n";
| asherkhb/coge | bin/dagchainer/DAGCHAINER/Java_XY_plotter/run_XYplot.pl | Perl | bsd-2-clause | 243 |
=pod
Placeholder - real PDD will appear after consultation
=cut
| autarch/perlweb | docs/dev/perl6/pdd/pdd13_bytecode.pod | Perl | apache-2.0 | 66 |
package BinaryStatic;
use Mojo::Base 'Mojolicious';
use Mojo::Util qw/slurp/;
use JSON;
use Template;
sub startup {
my $self = shift;
$self->config(decode_json(slurp $self->home->rel_dir('../config.json')));
$self->plugin(charset => {charset => 'utf-8'});
$self->plugin('DefaultHelpers');
$self->... | massihx/binary-static | mojo/lib/BinaryStatic.pm | Perl | apache-2.0 | 4,676 |
package Class::MOP::Object;
BEGIN {
$Class::MOP::Object::AUTHORITY = 'cpan:STEVAN';
}
{
$Class::MOP::Object::VERSION = '2.0602';
}
use strict;
use warnings;
use Carp qw(confess);
use Scalar::Util 'blessed';
# introspection
sub meta {
require Class::MOP::Class;
Class::MOP::Class->initialize(blessed($_[0... | leighpauls/k2cro4 | third_party/perl/perl/vendor/lib/Class/MOP/Object.pm | Perl | bsd-3-clause | 3,121 |
# Generated by Pod::WikiDoc version 0.15
=pod
=head1 NAME
Tee - Pure Perl emulation of GNU tee
=head1 VERSION
This documentation refers to version 0.13
=head1 SYNOPSIS
# from Perl
use Tee;
tee( $command, @files );
# from the command line
$ cat README.txt | ptee COPY.txt
=head1 DESCRIPTION
The C<<< ... | leighpauls/k2cro4 | third_party/cygwin/lib/perl5/vendor_perl/5.10/Tee.pod | Perl | bsd-3-clause | 4,253 |
# Implicit Func to InstMethod, zero or one args
## perl[func] -> ruby[ $_.func]
## perl[func VALUE] -> ruby[ VALUE.func]
sub ImpFuncToInstMeth {
my ($rubyfunc) = @_;
my %arghash = @arglist;
$arghash{'min'} //= 0;
$arghash{'max'} //= 1;
$arghash{'default'} //= '$_';
my @allowed = qw(min max defa... | nanobowers/perl5-to-ruby | lib/perl/P2R/FunctionMap.pm | Perl | mit | 7,429 |
#!/usr/local/bin/perl
#-------------------------------------
# Cleanup TempDir,
# (C)1997-2000 Harvard University
#
# W. S. Lane/C. M. Wendl
#
# v3.1a
#
# licensed to Finnigan
#-------------------------------------
################################################
# find and read in standard include file
{
my $path... | wangchulab/CIMAGE | cravatt_web/cgi-bin/flicka/cleanup_tempdir.pl | Perl | mit | 1,991 |
#! /usr/bin/env perl
local $, = ' ';
local $\ = "\n";
print "'(";
while (<>) {
chomp;
@fields = split /,/;
print "(@fields)";
}
print ")";
| qlkzy/project-euler-cl | listify.pl | Perl | mit | 153 |
#!/usr/bin/env perl
use warnings;
use strict;
use Data::Dumper;
use Getopt::Long;
use Spreadsheet::ParseExcel;
use Spreadsheet::XLSX;
use Bio::KBase::Transform::ScriptHelpers qw( parse_excel );
my $In_File = "";
my $Help = 0;
GetOptions("input|i=s" => \$In_File,
"help|h" => \$Help);
if($Help || !$In_File){
... | realmarcin/transform | scripts/trns_validate_KBaseBiochem.Excel.pl | Perl | mit | 1,182 |
###############################################################################
#
# FileUtil.pm
#
# Helper class for files
#
###############################################################################
package plsearch::FileUtil;
use strict;
use warnings;
# use XML::Simple;
use Data::Dumper;
use File::Basename;
u... | clarkcb/xsearch | perl/plsearch/lib/plsearch/FileUtil.pm | Perl | mit | 1,363 |
# 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/africa. Olson data version 2008c
#
# Do not edit this file directly.
#
package DateTime::TimeZ... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/DateTime/TimeZone/Africa/Asmara.pm | Perl | mit | 1,100 |
#! /usr/bin/env perl
# Create charts based on daily_summary
use Getopt::Long;
use POSIX strftime;
use IO::File;
use Socket6;
use Data::Dumper;
use JSON;
use RRDs;
use DBI;
use strict;
$| = 1;
my ( $MirrorConfig, $PrivateConfig, $dbh, %blacklisted, $midnight );
# %blacklisted is not implemented at the moment.
$ENV... | falling-sky/extras | falling-sky-chart.pl | Perl | mit | 25,948 |
#!/usr/bin/perl
$n = <STDIN>;
chomp $n;
$arr_temp = <STDIN>;
@arr = split / /,$arr_temp;
chomp @arr;
$r = pickupPlusMinus(@arr);
printf("%.6f\n%.6f\n%.6f\n",$r->[2],$r->[1],$r->[0]);
sub pickupPlusMinus{
my @a=@_;
my $r=[0,0,0];
foreach my $i(@a){
if ($i<0){
$r->[1]++;
}elsif ($i>0){
... | MarsBighead/mustang | Perl/plus-minus.pl | Perl | mit | 494 |
#!/usr/bin/env perl
use strict;
use warnings;
use Getopt::Long;
use Data::Dumper;
use Bio::KBase::KBaseTrees::Client;
use Bio::KBase::KBaseTrees::Util qw(get_tree_client);
my $DESCRIPTION =
"
NAME
tree-find-tree-ids -- search KBase for the tree IDs that match the input options
SYNOPSIS
tree-find-tree-id... | kbase/trees | scripts/tree-find-tree-ids.pl | Perl | mit | 7,823 |
#!/usr/bin/perl
use strict;
use warnings;
use Data::Dumper;
use lib qw(..);
use JSON qw( );
use GD;
print "file: $ARGV[0]\n";
print "x: $ARGV[1]\n";
print "y: $ARGV[2]\n";
print "width: $ARGV[3]\n";
print "height: $ARGV[4]\n";
print "url: $ARGV[5]\n";
print "name: $ARGV[6]\n";
print "counter id: $ARGV[7]\n";
#open... | mdapp/mdapp.github.io | replace.pl | Perl | mit | 2,642 |
use MooseX::Declare;
class Test::File::Tools extends File::Tools {
use Data::Dumper;
use Test::More;
# Ints
has 'workflowpid' => ( isa => 'Int|Undef', is => 'rw', required => 0 );
has 'workflownumber'=> ( isa => 'Str', is => 'rw' );
has 'start' => ( isa => 'Int', is => 'rw' );
has 'submit' => ( isa => 'Int... | aguadev/aguadev | t/unit/lib/Test/Monitor/Tools.pm | Perl | mit | 1,921 |
package Fsq2mixi::Controller::Docs;
use utf8;
use Mojo::Base 'Mojolicious::Controller';
sub about {
my $self = shift;
$self->render();
}
sub privacy {
my $self = shift;
$self->render();
}
1; | mugifly/Fsq2mixi | lib/Fsq2mixi/Controller/Docs.pm | Perl | mit | 197 |
package App::KADR::AniDB::Content::File;
# ABSTRACT: AniDB's file information
use App::KADR::AniDB::Content;
use aliased 'App::KADR::AniDB::EpisodeNumber';
use constant {
STATUS_CRCOK => 0x01,
STATUS_CRCERR => 0x02,
STATUS_ISV2 => 0x04,
STATUS_ISV3 => 0x08,
STATUS_ISV4 => 0x10,
STATUS_ISV5 => 0x20,
S... | privatesmith/KADR | lib/App/KADR/AniDB/Content/File.pm | Perl | mit | 4,560 |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by lib/unicore/mktables from the Unicode
# database, Version 12.1.0. Any changes made here will be lost!
# !!!!!!! INTERNAL PERL USE ONLY !!!!!!!
# This file is for internal use by core Perl only. The format and even the
# name or exist... | operepo/ope | client_tools/svc/rc/usr/share/perl5/core_perl/unicore/lib/GCB/LV.pl | Perl | mit | 5,280 |
# Adds an extended command to show the time since the last prayer and a rough
# estimate of prayer safety.
# The plugin notes crowning, but also provides an extended command to toggle
# crowning manually.
# This only really works when InterHack has seen your last prayer
#
# joc
my $praytime = 0;
my $crowned = 0;
my $... | TAEB/Interhack | plugins/praytime.pl | Perl | mit | 1,238 |
#diff two files and returns an boolean result
package Diff;
use warnings;
use strict;
our $version = 1;
#############################################################
sub diff{
my($class, $file1, $file2) = @_;
my $output = $class->fullDiff($file1, $file2);
$output ne ""; #files are different
}
#######################... | thedumbterminal/ServerSetup | lib/Diff.pm | Perl | mit | 686 |
#!env perl
use strict;
use warnings;
my $annot = '../../annotation/Hw2.maker_genes.functional.gff3.gz';
my $clusters = '7clustered_FPKM_compiled.tsv.gz';
open(my $fh => "zcat $annot |") || die $!;
my %genes;
while(<$fh>) {
next if /^\#/;
chomp;
my @row = split(/\t/,$_);
my %grp = map { split(/=/,$_) } ... | stajichlab/Hortaea_werneckii | Nucleosome/Clustered/clusters2genelocations.pl | Perl | cc0-1.0 | 1,355 |
=head1 LICENSE
Copyright [1999-2014] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licen... | dbolser-ebi/ensembl-variation | modules/Bio/EnsEMBL/Variation/RegulatoryFeatureVariation.pm | Perl | apache-2.0 | 2,600 |
#
# 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 | cloud/aws/s3/plugin.pm | Perl | apache-2.0 | 1,538 |
#
# 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 | database/oracle/mode/datacachehitratio.pm | Perl | apache-2.0 | 4,003 |
#
# 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/f5/bigip/snmp/mode/listvirtualservers.pm | Perl | apache-2.0 | 5,028 |
# 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/MediaFileService/MediaFileOperation.pm | Perl | apache-2.0 | 1,038 |
#!/usr/bin/perl
use strict;
use warnings;
use HTTP::Request;
use HTTP::Response;
use LWP::UserAgent;
use HTML::TreeBuilder;
# This code is used to obtain the key and the notes for a given song. This can be used as
# a prerequisite for other code
# The scale of the songs
my $scale = undef;
# The key used in the son... | Khalian/Modulo7POC | perl/music_score_crawler.pm | Perl | apache-2.0 | 7,271 |
#
# 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/mode/listsvm.pm | Perl | apache-2.0 | 2,650 |
###########################################$
# Copyright 2008-2010 Amazon.com, Inc. or its affiliates. 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.
# A copy of the License is located at
#
# http://aws.a... | electric-cloud/EC-EC2 | src/main/resources/project/lib/Amazon/EC2/Model/CreateVolumeResponse.pm | Perl | apache-2.0 | 3,460 |
#!/usr/bin/env perl
use warnings;
use strict;
die "Usage: perl $0 <fasta> <split number> <outprefix>\n" if(@ARGV ne 3);
open FA, $ARGV[0] or die $!;
$/ = "\n>";
my @fa;
while(<FA>)
{
chomp;
s/^>//;
push @fa, $_;
}
my $n = int(@fa / $ARGV[1]);
for(my $i = 0; $i < $ARGV[1]; $i ++)
{
open OUT, "> $ARGV[2].$i.fasta"... | BaconKwan/Perl_programme | utility/split_fasta.pl | Perl | apache-2.0 | 451 |
:- module(db_client_types,
[
socketname/1,
dbname/1,
user/1,
passwd/1,
answertableterm/1,
tuple/1,
answertupleterm/1,
sqlstring/1
],[assertions,regtypes,basicmodes]).
% ----------------------------------------------------------------------------
:- comment(title,"Types for th... | leuschel/ecce | www/CiaoDE/ciao/library/persdb_mysql/db_client_types.pl | Perl | apache-2.0 | 2,597 |
=pod
=head1 NAME
ossl_provider_find, ossl_provider_new, ossl_provider_up_ref,
ossl_provider_free,
ossl_provider_set_module_path,
ossl_provider_add_parameter, ossl_provider_set_child, ossl_provider_get_parent,
ossl_provider_up_ref_parent, ossl_provider_free_parent,
ossl_provider_default_props_update, ossl_provider_get... | openssl/openssl | doc/internal/man3/ossl_provider_new.pod | Perl | apache-2.0 | 16,797 |
package Paws::ServiceCatalog::UsageInstruction;
use Moose;
has Type => (is => 'ro', isa => 'Str');
has Value => (is => 'ro', isa => 'Str');
1;
### main pod documentation begin ###
=head1 NAME
Paws::ServiceCatalog::UsageInstruction
=head1 USAGE
This class represents one of two things:
=head3 Arguments in a c... | ioanrogers/aws-sdk-perl | auto-lib/Paws/ServiceCatalog/UsageInstruction.pm | Perl | apache-2.0 | 1,431 |
/**** Be careful when changing code, to not break auto distribution generation
****/
:- module(http, [
fetch_url/3
], ['pillow/ops',assertions,isomodes,dcg]).
:- use_module(library(strings), [string/3]).
:- use_module(library(lists), [select/3]).
:- use_module(library('pillow/pillow_aux')).
:- use_mod... | leuschel/ecce | www/CiaoDE/ciao/library/pillow/http.pl | Perl | apache-2.0 | 12,061 |
package VMOMI::ServiceLocatorCredential;
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... | stumpr/p5-vmomi | lib/VMOMI/ServiceLocatorCredential.pm | Perl | apache-2.0 | 394 |
package VMOMI::SwapPlacementOverrideNotSupported;
use parent 'VMOMI::InvalidVmConfig';
use strict;
use warnings;
our @class_ancestors = (
'InvalidVmConfig',
'VmConfigFault',
'VimFault',
'MethodFault',
);
our @class_members = ( );
sub get_class_ancestors {
return @class_ancestors;
}
sub get_cla... | stumpr/p5-vmomi | lib/VMOMI/SwapPlacementOverrideNotSupported.pm | Perl | apache-2.0 | 467 |
package Zonemaster::Constants;
use strict;
use warnings;
use parent 'Exporter';
use Net::IP::XS;
use Readonly;
our @EXPORT_OK = qw[
$ALGO_STATUS_DEPRECATED
$ALGO_STATUS_PRIVATE
$ALGO_STATUS_RESERVED
$ALGO_STATUS_UNASSIGNED
$ALGO_STATUS_VALID
$DURATION_12_HOURS_IN_SECONDS
$DURATION_180_DAYS_IN_SECONDS
... | mtoma/zonemaster | Zonemaster/lib/Zonemaster/Constants.pm | Perl | bsd-2-clause | 8,584 |
package Tapper::Reports::Web::Util::Filter::Report;
=head1 NAME
Tapper::Reports::Web::Util::Filter::Report - Filter utilities for report listing
=head1 SYNOPSIS
use Tapper::Reports::Web::Util::Filter::Report;
my $filter = Tapper::Reports::Web::Util::Filter::Report->new(context => $c);
my $filter_ar... | renormalist/Tapper-Reports-Web | lib/Tapper/Reports/Web/Util/Filter/Report.pm | Perl | bsd-2-clause | 3,433 |
package R::Model::Type::Msg;
# текстовое поле, преобразует текст в html.
# выделяются линки и переводы строк заменяются на br
# заменяются последовательности пробелов и знаки табуляции
# ненормативная лексика заменяется на ***
use common::sense;
use R::App;
#use overload "" => \&stringify;
# # конструктор
# sub new ... | darviarush/rubin-forms | lib/R/Model/Type/Msg.pm | Perl | bsd-2-clause | 3,543 |
#ExStart:1
use lib 'lib';
use strict;
use warnings;
use utf8;
use File::Slurp; # From CPAN
use JSON;
use AsposeStorageCloud::StorageApi;
use AsposeStorageCloud::ApiClient;
use AsposeStorageCloud::Configuration;
use AsposeWordsCloud::WordsApi;
use AsposeWordsCloud::ApiClient;
use AsposeWordsCloud::Configuration;
my $c... | aspose-words/Aspose.Words-for-Cloud | Examples/Perl/Drawing/ReadingImageData.pl | Perl | mit | 1,657 |
# please insert nothing before this line: -*- mode: cperl; cperl-indent-level: 4; cperl-continued-statement-offset: 4; indent-tabs-mode: nil -*-
package TestAPI::custom_response;
# custom_response() doesn't alter the response code, but is used to
# replace the standard response body
use strict;
use warnings FATAL => ... | dreamhost/dpkg-ndn-perl-mod-perl | t/response/TestAPI/custom_response.pm | Perl | apache-2.0 | 788 |
package Google::Ads::AdWords::v201406::BudgetReturnValue;
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;
}
u... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201406/BudgetReturnValue.pm | Perl | apache-2.0 | 2,033 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licen... | mjg17/ensembl | misc-scripts/xref_mapping/XrefParser/DirectParser.pm | Perl | apache-2.0 | 3,002 |
package Bio::Phylo::TreeBASE::Result::RightchangesetCharstate;
# Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE
use strict;
use warnings;
use base 'DBIx::Class::Core';
=head1 NAME
Bio::Phylo::TreeBASE::Result::RightchangesetCharstate
=cut
__PACKAGE__->table("rightchangeset_ch... | TreeBASE/treebase | treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/RightchangesetCharstate.pm | Perl | bsd-3-clause | 1,686 |
#-----------------------------------------------------------
# winrar_tln.pl
# Get WinRAR\ArcHistory entries
#
# History
# 20120829 - updated to TLN
# 20080819 - created (winrar.pl)
#
#
# copyright 2008 H. Carvey, keydet89@yahoo.com
#-----------------------------------------------------------
package wi... | kefir-/autopsy | RecentActivity/release/rr-full/plugins/winrar_tln.pl | Perl | apache-2.0 | 1,644 |
=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/PipeConfig/exonNTSpeciesTree_conf.pm | Perl | apache-2.0 | 7,458 |
% Frame number: 31
happensAt( walking( id0 ), 1240 ). holdsAt( coord( id0 )=( 75, 62 ), 1240 ).
% Frame number: 32
happensAt( walking( id0 ), 1280 ). holdsAt( coord( id0 )=( 76, 62 ), 1280 ).
% Frame number: 33
happensAt( walking( id0 ), 1320 ). holdsAt( coord( id0 )=( 76, 62 ), 1320 ).
% Frame number: 34
happensA... | JasonFil/Prob-EC | dataset/strong-noise/23-Meet_Crowd/mc1gtMovementIndv.pl | Perl | bsd-3-clause | 99,154 |
#line 1
package Module::Install::Include;
use Module::Install::Base;
@ISA = qw(Module::Install::Base);
$VERSION = '0.61';
use strict;
sub include {
shift()->admin->include(@_);
}
sub include_deps {
shift()->admin->include_deps(@_);
}
sub auto_include {
shift()->admin->auto_include(@_);
}
sub auto_include_deps... | dineshkummarc/gitak-1.0 | server/selenium-remote-control-1.0.3/selenium-perl-client-driver-1.0.1/inc/Module/Install/Include.pm | Perl | apache-2.0 | 458 |
package ExtUtils::MM_Win95;
use strict;
our $VERSION = '6.64';
require ExtUtils::MM_Win32;
our @ISA = qw(ExtUtils::MM_Win32);
use ExtUtils::MakeMaker::Config;
=head1 NAME
ExtUtils::MM_Win95 - method to customize MakeMaker for Win9X
=head1 SYNOPSIS
You should not be using this module directly.
=head1 DESCRIP... | liuyangning/WX_web | xampp/perl/lib/ExtUtils/MM_Win95.pm | Perl | mit | 1,892 |
# Itanium optimized Crypto code which was released by HP Labs at
# http://www.hpl.hp.com/research/linux/crypto/.
#
# Copyright (c) 2005 Hewlett-Packard Development Company, L.P.
#
# Permission is hereby granted, free of charge, to any person obtaining
# permit persons to whom the Software is furnished to do so, subject... | retrography/scancode-toolkit | tests/cluecode/data/ics/openssl-crypto-rc4-asm/rc4-ia64.pl | Perl | apache-2.0 | 1,035 |
package ExtUtils::CBuilder::Platform::darwin;
use strict;
use ExtUtils::CBuilder::Platform::Unix;
use vars qw($VERSION @ISA);
$VERSION = '0.21';
@ISA = qw(ExtUtils::CBuilder::Platform::Unix);
sub compile {
my $self = shift;
my $cf = $self->{config};
# -flat_namespace isn't a compile flag, it's a linker flag. ... | leighpauls/k2cro4 | third_party/cygwin/lib/perl5/5.10/ExtUtils/CBuilder/Platform/darwin.pm | Perl | bsd-3-clause | 512 |
/* Part of SWI-Prolog
Author: Marcus Uneson
E-mail: marcus.uneson@ling.lu.se
WWW: http://person.sol.lu.se/MarcusUneson/
Copyright (c) 2011-2015, Marcus Uneson
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are... | TeamSPoon/logicmoo_workspace | docker/rootfs/usr/local/lib/swipl/library/optparse.pl | Perl | mit | 38,274 |
package Package::DeprecationManager;
BEGIN {
$Package::DeprecationManager::VERSION = '0.11';
}
use strict;
use warnings;
use Carp qw( croak );
use List::MoreUtils qw( any );
use Params::Util qw( _HASH0 );
use Sub::Install;
sub import {
shift;
my %args = @_;
croak
'You must provide a hash refer... | amidoimidazol/bio_info | Beginning Perl for Bioinformatics/lib/Package/DeprecationManager.pm | Perl | mit | 7,559 |
package Geography::Countries;
#
# $Id: Countries.pm,v 1.4 2003/01/26 18:19:07 abigail Exp $
#
# $Log: Countries.pm,v $
# Revision 1.4 2003/01/26 18:19:07 abigail
# Changed license, email address. Added installation section.
#
# Revision 1.3 2003/01/26 18:12:10 abigail
# Removed INIT{} from initializing code, as th... | jywarren/armsflow | scripts/CAIDA/Countries.pm | Perl | mit | 17,743 |
while(<>) {
if(/^\s*#define\s+(SV_\S+)\s+/) {
print "$1\n";
}
}
| sptim/legacy-sputils | scripts/extract_sysval_conv1.pl | Perl | mit | 68 |
#!/usr/bin/env perl
use 5.010;
use strict;
use warnings;
use autodie qw(open);
use File::Basename;
use Getopt::Long;
my $infile;
my $outfile;
my $genus;
my $species;
my $help;
GetOptions(
'i|infile=s' => \$infile,
'o|outfile=s' => \$outfile,
'g|genus=s' => \$genus,
's|... | sestaton/transposome-scripts | select_database_species.pl | Perl | mit | 1,755 |
use 5.022;
{
package Worker;
use Moose;
use threads;
use threads::shared;
use namespace::autoclean;
my $job_in_progress :shared = 0;
my $var :shared = 0;
sub do_job {
my $self = shift;
my $thr1 = threads->create(\&job);
$thr1->join;
say $var;
... | jmcveigh/perl-design-patterns | ConcurrencyPatterns/Balking.pl | Perl | mit | 778 |
%%%%%%%%%%%%%%%%%%%%%5%%%%%%%%%%%%%%%%%%%%
%
% Newton's cooling law
%
% Possible solution in prolog for
% http://rosettacode.org/wiki/Euler_method
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff(ncl(t), Result) :-
Result is -k * (ncl(t+h) - ncl(t)).
ncl(0,Return) :-
ncl(t, Return) :-
| alexmsmartins/ChemlogSim | exp/newtons_cooling_law.pl | Perl | mit | 296 |
#!/usr/bin/env perl
# Unit test for Sourcemod plugin Multi-Giveaway
#
# Check for discrepencies in translation phrase usage. Reports potential typos.
use strict;
use warnings;
use v5.14;
use File::Basename;
my @cfiles = ('multi-giveaway.sp');
my @tfiles = ('Multi-Giveaway.phrases.txt');
my $tpath = 'translations';... | ZeroKnight/sm-Multi-Giveaway | tests/check_translations.pl | Perl | mit | 2,123 |
# 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/africa. Olson data version 2008c
#
# Do not edit this file directly.
#
package DateTime::TimeZ... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/DateTime/TimeZone/Africa/Lubumbashi.pm | Perl | mit | 946 |
# Copyrights 2003,2004,2007 by Mark Overmeer <perl@overmeer.net>.
# For other contributors see Changes.
# See the manual pages for details on the licensing terms.
# Pod stripped from pm file by OODoc 1.02.
package User::Identity;
use vars '$VERSION';
$VERSION = '0.92';
use base 'User::Identity::Item';
use strict;
use... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/User/Identity.pm | Perl | mit | 5,562 |
package SequenceMapper::Sequence_obj;
use strict;
use warnings;
use List::MoreUtils qw(any);
use Data::Dumper;
use Class::Std::Utils;
use SequenceMapper::Alignment_obj;
use SequenceMapper::Contig_obj;
{
#Class Attributes
my %name_of;
my %length_of;
my %alignments_of;
my %contigs_of;
my %cove... | hunter-cameron/Bioinformatics | perl/SequenceMapper/Sequence_obj.pm | Perl | mit | 9,852 |
use v5.14;
package Diversion::FeedFetcher {
use Moo;
use XML::Loy;
use Encode qw();
use Diversion::UrlArchiver;
has url => (
is => "ro",
required => 1
);
has feed => (
is => "lazy",
predicate => "feed_is_fetched",
);
sub _build_feed {
my (... | gugod/Diversion | lib/Diversion/FeedFetcher.pm | Perl | cc0-1.0 | 3,332 |
#
# 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/dell/fluidfs/snmp/mode/components/overall.pm | Perl | apache-2.0 | 3,163 |
package Paws::ELBv2::DeleteRule;
use Moose;
has RuleArn => (is => 'ro', isa => 'Str', required => 1);
use MooseX::ClassAttribute;
class_has _api_call => (isa => 'Str', is => 'ro', default => 'DeleteRule');
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ELBv2::DeleteRuleOutput');
class... | ioanrogers/aws-sdk-perl | auto-lib/Paws/ELBv2/DeleteRule.pm | Perl | apache-2.0 | 1,583 |
use strict;
use warnings;
use Bio::EnsEMBL::Registry;
my $registry = 'Bio::EnsEMBL::Registry';
$registry->load_all('/hps/nobackup2/production/ensembl/anja/release_97/human/regulation_effect/ensembl.registry');
my $species = 'human';
my $sa = $registry->get_adaptor($species, 'core', 'slice');
my $rfa = $registry->... | at7/work | api/find_boundary_variations.pl | Perl | apache-2.0 | 2,069 |
# Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
# Copyright [2016-2022] 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-analysis | scripts/ig/transfer_gene_segments.pl | Perl | apache-2.0 | 15,232 |
package Paws::ES::InstanceCountLimits;
use Moose;
has MaximumInstanceCount => (is => 'ro', isa => 'Int');
has MinimumInstanceCount => (is => 'ro', isa => 'Int');
1;
### main pod documentation begin ###
=head1 NAME
Paws::ES::InstanceCountLimits
=head1 USAGE
This class represents one of two things:
=head3 Arg... | ioanrogers/aws-sdk-perl | auto-lib/Paws/ES/InstanceCountLimits.pm | Perl | apache-2.0 | 1,484 |
where_food(Food, Location) :- location(object(Food, _, _, _), Location), edible(object(Food, _, _, _)).
exists_food(Food) :- where_food(Food, ?).
% recursive definition of containment
% or the Object is contained in AnotherContainer, which is contained in the original Container
is_contained_in(object(Object, Color, Si... | frapontillo/adventure-in-prolog | src/rules-items.pl | Perl | apache-2.0 | 1,844 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.