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 |
|---|---|---|---|---|---|
#
# (c) Jan Gehring <jan.gehring@gmail.com>
#
# vim: set ts=2 sw=2 tw=0:
# vim: set expandtab:
package Rex::Virtualization::LibVirt::start;
use strict;
use warnings;
our $VERSION = '0.56.1'; # VERSION
use Rex::Logger;
use Rex::Helper::Run;
sub execute {
my ( $class, $arg1, %opt ) = @_;
my $virt_settings = Rex:... | gitpan/Rex | lib/Rex/Virtualization/LibVirt/start.pm | Perl | apache-2.0 | 821 |
#!/usr/local/ensembl/bin/perl -w
use strict;
use Bio::EnsEMBL::Compara::DBSQL::DBAdaptor;
use Bio::AlignIO;
use Bio::EnsEMBL::Registry;
use File::Spec;
use Getopt::Long;
my $tree_id_list;
my $url;
my $help = 0;
my $aln_out;
my $fasta_out;
my $fasta_cds_out;
my $nh_out;
my $nhx_out;
my $verbose = 0;
my $aa = 1;
my $nc... | adamsardar/perl-libs-custom | EnsemblAPI/ensembl-compara/scripts/tree/dumpTreeMSA_id.pl | Perl | apache-2.0 | 7,495 |
=head1 LICENSE
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
http://www.apache.org/l... | Ensembl/ensembl-compara | modules/Bio/EnsEMBL/Compara/DBSQL/MethodLinkSpeciesSetAdaptor.pm | Perl | apache-2.0 | 25,525 |
package Moose::Exception::NoBodyToInitializeInAnAbstractBaseClass;
our $VERSION = '2.1404';
use Moose;
extends 'Moose::Exception';
has 'package_name' => (
is => 'ro',
isa => 'Str',
required => 1
);
sub _build_message {
my $self = shift;
"No body to initialize, " .$self->package_name. "... | ray66rus/vndrv | local/lib/perl5/x86_64-linux-thread-multi/Moose/Exception/NoBodyToInitializeInAnAbstractBaseClass.pm | Perl | apache-2.0 | 355 |
#!/usr/bin/perl
# ****************************************************************************
# Script to generate the JIRA gadget XML files for TestRail activity summary
# for a specific test plan
# ****************************************************************************
use Config::Properties;
use MIME::Base6... | zenoss/testrail-jira-gadgets | scripts/generate-activity-gadget-xml.pl | Perl | apache-2.0 | 3,609 |
#
# 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 | os/linux/local/mode/cmdreturn.pm | Perl | apache-2.0 | 5,868 |
package API::Profile;
#
# 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.0
#
# Un... | PSUdaemon/traffic_control | traffic_ops/app/lib/API/Profile.pm | Perl | apache-2.0 | 5,906 |
package Paws::IoT::AttachPrincipalPolicy;
use Moose;
has PolicyName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'policyName', required => 1);
has Principal => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'principal', required => 1);
use MooseX::ClassAttribute;... | ioanrogers/aws-sdk-perl | auto-lib/Paws/IoT/AttachPrincipalPolicy.pm | Perl | apache-2.0 | 2,104 |
#
# 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 | apps/lmsensors/mode/voltage.pm | Perl | apache-2.0 | 7,268 |
package VMOMI::CryptoSpecEncrypt;
use parent 'VMOMI::CryptoSpec';
use strict;
use warnings;
our @class_ancestors = (
'CryptoSpec',
'DynamicData',
);
our @class_members = (
['cryptoKeyId', 'CryptoKeyId', 0, ],
);
sub get_class_ancestors {
return @class_ancestors;
}
sub get_class_members {
my $... | stumpr/p5-vmomi | lib/VMOMI/CryptoSpecEncrypt.pm | Perl | apache-2.0 | 446 |
package VMOMI::TaskFilterSpecRecursionOption;
use parent 'VMOMI::SimpleType';
use strict;
use warnings;
1;
| stumpr/p5-vmomi | lib/VMOMI/TaskFilterSpecRecursionOption.pm | Perl | apache-2.0 | 109 |
=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... | willmclaren/ensembl | misc-scripts/surgery/SeqStoreConverter/CaenorhabditisBriggsae.pm | Perl | apache-2.0 | 9,506 |
=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.
... | Ensembl/ensembl-pipeline | modules/Bio/EnsEMBL/Pipeline/DBSQL/FlagAdaptor.pm | Perl | apache-2.0 | 7,452 |
#line 1
package Module::Install::Base;
use strict 'vars';
use vars qw{$VERSION};
BEGIN {
$VERSION = '0.91';
}
# Suspend handler for "redefined" warnings
BEGIN {
# my $w = $SIG{__WARN__};
# $SIG{__WARN__} = sub { $w };
}
#line 42
sub new {
my $class = shift;
unless ( defined &{"${class}::call"} ) {
*{"${class}:... | gitpan/Text-Markdown | inc/Module/Install/Base.pm | Perl | bsd-3-clause | 1,017 |
# SNMP::Info::Layer2::ZyXEL_DSLAM
# $Id$
#
# Copyright (c) 2008 Max Baker
# 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 copyright n... | 42wim/snmp-info | Info/Layer2/ZyXEL_DSLAM.pm | Perl | bsd-3-clause | 5,290 |
#!/usr/bin/perl -w
#
# Version: 0.3, 121809
#
# purpose: Transfer particle coordinates from xmipp format (.raw) to Boxer.
#
# description: Takes as input
#
# author: Slaton Lipscomb <slaton@ocf.berkeley.edu> & Michael Cianfrocco (2010)
#
# usage: spi2boxdb -b BOXSIZE -i FILE -o FILE [-d] -s image Size of microgr... | leschzinerlab/FreeHand | raw2boxdb2.pl | Perl | mit | 2,914 |
#!/usr/bin/perl
BEGIN {
push(@INC, "../modules/isis");
# these are for the "menu.pl" script, which
# requires different relative paths
push(@INC, "../queries/modules/");
push(@INC, "../queries/modules/isis");
push(@INC, "../../lib/");
}
use dup_addrs;
use adjacency;
use mtu_mismatch;
use... | noise-lab/rcc | perl/src/queries/scripts/test_all_isis.pl | Perl | mit | 3,381 |
###########################################################################
#
# 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/as_IN.pod | Perl | mit | 12,051 |
package Date::Manip::Date;
# Copyright (c) 1995-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.
########################################################################
# Any routine that starts with an underscore... | nriley/Pester | Source/Manip/Date.pm | Perl | bsd-2-clause | 143,848 |
#!/usr/bin/env perl
# Copyright 2017-2020 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/... | pmq20/ruby-compiler | vendor/openssl/crypto/sha/asm/keccak1600-avx512.pl | Perl | mit | 16,330 |
use strict;
use warnings;
use Socket;
binmode(STDIN);
$| = 1;
binmode(STDOUT);
if (@ARGV != 2) {
die "Usage: netcat.pl HOST PORT\n";
}
my $host = shift;
my $port = shift;
my $address = inet_aton($host) or die;
my $address_and_port = sockaddr_in($port, $address);
my $protocol = getprotobyname('tcp');
socket(SOCKE... | bennekrouf/comaz | node_modules/socket.io/node_modules/expresso/deps/jscoverage/tests/netcat.pl | Perl | mit | 565 |
#!/usr/bin/perl -w
use strict;
use Getopt::Long;
use SAPserver;
use ScriptThing;
#
# This is a SAS Component.
#
=head1 svr_discriminating_functions
svr_discriminating_functions genome_ids1.tbl genome_ids2.tbl >role_list.tbl
Analyze two groups of genomes and return a list of the functions that discriminate
betw... | kbase/kb_seed | service-scripts/svr_discriminating_functions.pl | Perl | mit | 4,345 |
#!/C:\strawberry\perl\bin\perl.exe
# Explain output and find bug
use strict;
use warnings;
print format_number( 9999 ), "\n";
sub format_number {
local $_ = shift;
1 while s/^([-+]?\d+)(\d{3})/$1,$2/;
$_; # was print - returns 1 instead of $_
}
| bewuethr/ctci | llama_book/chapter05/wb_chapter05_ex03.pl | Perl | mit | 262 |
package SanrioCharacterRanking::M::Character;
use strict;
use warnings;
use utf8;
use 5.012;
use parent qw/SanrioCharacterRanking::M/;
use Amon2::Declare;
sub daily_votes {
my ($class, $id) = @_;
c()->db->search_by_sql("
SELECT
TO_CHAR(statuses.created_at, 'YYYY-MM-DD') AS date,
... | mono0x/ranking.sucretown.net | lib/SanrioCharacterRanking/M/Character.pm | Perl | mit | 538 |
package SGN::Controller::MixedModels;
use Moose;
use URI::FromHash qw | uri |;
BEGIN { extends 'Catalyst::Controller' };
sub mixed_model_index :Path('/tools/mixedmodels') Args(0) {
my $self = shift;
my $c = shift;
if (!$c->user()) {
$c->res->redirect( uri( path => '/user/login', query => { goto_ur... | solgenomics/sgn | lib/SGN/Controller/MixedModels.pm | Perl | mit | 428 |
go:- nl,write('Enter a list : '), read(L),
write('Enter position: '), read(N),
nth_ele(N,L,X),
write('Element : '), write(X),nl.
nth_ele(1,[X|_],X):-!.
nth_ele(N,[_|T],X):- N1 is N-1, nth_ele(N1,T,X).
| jatin69/lab-codes | artificial-intelligence/practicals/q15.pl | Perl | mit | 216 |
#!/usr/bin/env perl
#===============================================================================
#
# FILE: logtcp.pl
#
# USAGE: ./logtcp.pl
#
# DESCRIPTION: Logs the output from tcpping.
#
# OPTIONS: ---
# REQUIREMENTS: ---
# BUGS: ---
# NOTES: ---
# AUTHOR: YOUR NAME ()... | torstefan/logtcp | logtcp.pl | Perl | mit | 2,961 |
#!/usr/local/bin/perl
use MSPDI;
#########################################################################
# Usage:
#
# use MSPDI;
# use InclusionRectangles;
#
# # This function returns the left and right vector respectively
# sub differentialInclusion { my ($x,$y) = @_; return((($y, -$x), ($y, -$x)); }
#
# rectangl... | asandler/spdi | examples/MSPDI/lib/InclusionRectangles.pm | Perl | mit | 3,524 |
# 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/northamerica. Olson data version 2008c
#
# Do not edit this file directly.
#
package DateTime:... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/DateTime/TimeZone/America/North_Dakota/Center.pm | Perl | mit | 11,739 |
use bytes;
#=====================================================================================
# Help.pm
# by Shinsuke MORI
# Last change : 17 February 1998
#===============================================================================... | tkd53/KKConv | lib/perl/Help.pm | Perl | mit | 1,475 |
=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/Converter/bio_ens_featurePair.pm | Perl | apache-2.0 | 5,056 |
#
# 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/checkpoint/snmp/mode/disk.pm | Perl | apache-2.0 | 5,505 |
=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 | misc-scripts/xref_mapping/XrefParser/InterproFromCoreParser.pm | Perl | apache-2.0 | 5,343 |
#
# 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 | snmp_standard/mode/liststorages.pm | Perl | apache-2.0 | 13,379 |
##
## Copyright (c) 2017, Alliance for Open Media. All rights reserved
##
## This source code is subject to the terms of the BSD 2 Clause License and
## the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
## was not distributed with this source code in the LICENSE file, you can
## obtain it at w... | GoogleChromeLabs/wasm-av1 | third_party/aom/aom_scale/aom_scale_rtcd.pl | Perl | apache-2.0 | 2,847 |
#
# 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/azure/database/sqldatabase/mode/databasesize.pm | Perl | apache-2.0 | 7,918 |
package Paws::ApiGateway::ApiKey;
use Moose;
has CreatedDate => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'createdDate');
has CustomerId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'customerId');
has Description => (is => 'ro', isa => 'Str', traits =... | ioanrogers/aws-sdk-perl | auto-lib/Paws/ApiGateway/ApiKey.pm | Perl | apache-2.0 | 1,856 |
package Paws::ServiceCatalog::DescribeProvisioningArtifact;
use Moose;
has AcceptLanguage => (is => 'ro', isa => 'Str');
has ProductId => (is => 'ro', isa => 'Str', required => 1);
has ProvisioningArtifactId => (is => 'ro', isa => 'Str', required => 1);
has Verbose => (is => 'ro', isa => 'Bool');
use Moos... | ioanrogers/aws-sdk-perl | auto-lib/Paws/ServiceCatalog/DescribeProvisioningArtifact.pm | Perl | apache-2.0 | 2,331 |
package Moose::Exception::InvalidValueForIs;
our $VERSION = '2.1404';
use Moose;
extends 'Moose::Exception';
with 'Moose::Exception::Role::InvalidAttributeOptions';
sub _build_message {
my $self = shift;
"I do not understand this option (is => ".$self->params->{is}.") on attribute (".$self->attribute_name.")"... | ray66rus/vndrv | local/lib/perl5/x86_64-linux-thread-multi/Moose/Exception/InvalidValueForIs.pm | Perl | apache-2.0 | 328 |
=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/PopulationGenotype.pm | Perl | apache-2.0 | 5,445 |
package Paws::MobileHub::ListBundles;
use Moose;
has MaxResults => (is => 'ro', isa => 'Int', traits => ['ParamInQuery'], query_name => 'maxResults');
has NextToken => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'nextToken');
use MooseX::ClassAttribute;
class_has _api_call => (isa ... | ioanrogers/aws-sdk-perl | auto-lib/Paws/MobileHub/ListBundles.pm | Perl | apache-2.0 | 2,087 |
=head1 LICENSE
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
http://www.apache.org/l... | Ensembl/ensembl-compara | modules/Bio/EnsEMBL/Compara/PipeConfig/Metazoa/ProteinTrees_conf.pm | Perl | apache-2.0 | 4,673 |
=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.ap... | mn1/ensembl-analysis | modules/Bio/EnsEMBL/Analysis/Runnable/EPCR.pm | Perl | apache-2.0 | 12,300 |
package VMOMI::ArrayOfHostNatServicePortForwardSpec;
use parent 'VMOMI::ComplexType';
use strict;
use warnings;
our @class_ancestors = ( );
our @class_members = (
['HostNatServicePortForwardSpec', 'HostNatServicePortForwardSpec', 1, 1],
);
sub get_class_ancestors {
return @class_ancestors;
}
sub get_class... | stumpr/p5-vmomi | lib/VMOMI/ArrayOfHostNatServicePortForwardSpec.pm | Perl | apache-2.0 | 465 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% entrada
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
entry(1,
'Imprime los teatros que echan a Hamlet a las 20',
... | leuschel/ecce | www/CiaoDE/ciao/bugs/Fixed/SAGE/sage/entry.pl | Perl | apache-2.0 | 2,593 |
# exoclient: the first exochat client
# version 1.0
# by Byron Kellett
# http://almightybyron.co.uk/a/exochat
use File::Slurp;
#use CSV;
print "exoclient\n\n";
$ans = <>;
chomp($ans); | ByronKellett/exoclient | exoclient.pl | Perl | bsd-2-clause | 185 |
#!/usr/bin/perl -w
# set.pl -- solver for the card game "Set".
# by Neil Kandalgaonkar
# Copyright (c) 2007, Neil Kandalgaonkar
# Released under the BSD license
# http://www.opensource.org/licenses/bsd-license.php
# How to use it:
#
# run program
# on standard input, enter in a group of cards encoded like so
# 1rf... | neilk/set-solver | set.pl | Perl | bsd-2-clause | 2,700 |
package App::Wubot::Plugin::CPAN;
use Moose;
our $VERSION = '0.3.4'; # VERSION
use App::Wubot::Logger;
has 'expire_age' => ( is => 'rw',
isa => 'Num',
default => sub { 60*60 },
);
has 'reactor' => ( is => 'ro',
isa => 'CodeRef',
... | gitpan/wubot | lib/App/Wubot/Plugin/CPAN.pm | Perl | bsd-3-clause | 4,824 |
# vim:ts=4:sw=4:expandtab
# x11vis - an X11 protocol visualizer
# © 2011 Michael Stapelberg and contributors (see ../LICENSE)
#
package PacketHandler;
use strict;
use warnings;
use Data::Dumper;
use AnyEvent::Socket;
use AnyEvent::Handle;
use AnyEvent;
use Moose;
use JSON::XS;
use IO::Handle;
use Time::HiRes qw(gettim... | x11vis/x11vis | interceptor/lib/PacketHandler.pm | Perl | bsd-3-clause | 19,650 |
#!/usr/bin/perl
use strict;
use utf8;
use open ':utf8';
binmode STDERR, ':utf8';
use XML::LibXML;
my $num_args = $#ARGV + 1;
if ($num_args != 2) {
print "\nUsage: perl xfst2xml.pl quz.xfst book_id \n";
exit;
}
my $file = $ARGV[0];
my $bookID = $ARGV[1];
open (XFST, "<", $file) or die "Can't open input file \... | a-rios/squoia | bilingwis_stuff/xfst2xml.pl | Perl | apache-2.0 | 5,335 |
use strict;
package main;
require("lib_userConfig.pl");
# Set UserIndex
$userIndex = setUserIndex();
# init message variables
$sessionObj->param("userMessage2", "");
my $errorMessage = "";
# Login is perfstat admin
if ($sessionObj->param("userName") eq "perfstat") {
$adminName = $request->param('adminName');
check... | ktenzer/perfstat | ui/appConfigs/userConfig/level1/act_insertUser.pl | Perl | apache-2.0 | 1,985 |
#!/usr/bin/env perl
#
# Cross-platform Makefile generator.
#
# Reads the file `Recipe' to determine the list of generated
# executables and their component objects. Then reads the source
# files to compute #include dependencies. Finally, writes out the
# various target Makefiles.
# PuTTY specifics which could still do... | juergenpf/MINGW-packages | mingw-w64-putty/putty/mkfiles.pl | Perl | bsd-3-clause | 76,580 |
#------------------------------------------------------------------------------
# File: fr.pm
#
# Description: ExifTool French language translations
#
# Notes: This file generated automatically by Image::ExifTool::TagInfoXML
#------------------------------------------------------------------------------... | mkjanke/Focus-Points | focuspoints.lrdevplugin/bin/exiftool/lib/Image/ExifTool/Lang/fr.pm | Perl | apache-2.0 | 162,795 |
#
# 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... | nichols-356/centreon-plugins | network/extreme/snmp/mode/components/psu.pm | Perl | apache-2.0 | 5,562 |
#!/usr/local/bin/perl
use strict;
package Stomp::Receipt;
use base qw( Stomp::Message );
sub new {
my $proto = shift;
my $class = ref($proto) || $proto;
my $self = {};
bless $self, $class;
$self->_init(@_);
return $self;
}
sub id
{
my $self=shift;
return $self->header("receipt-id");
}
1;
| liuhs/stomperl | acceptance/Stomp-0.02/Stomp/Receipt.pm | Perl | apache-2.0 | 316 |
#!/usr/bin/perl -w
#
# Verifies that Bowtie's paired-end mode gives alignments that are
# consistent with the alignments produced in single-end mode with -a
# and --nostrata options.
#
# Run this from the Bowtie directory.
#
# Usage: perl ../scripts/pe_verify.pl [mode] [index] [mates1] [nates2]
#
# Defaults are:
# [m... | vipints/oqtans | oqtans_tools/Bowtie/1.0.0/scripts/pe_verify.pl | Perl | bsd-3-clause | 10,945 |
#------------------------------------------------------------------------------
# File: Fixup.pm
#
# Description: Utility to handle pointer fixups
#
# Revisions: 01/19/2005 - P. Harvey Created
# 04/11/2005 - P. Harvey Allow fixups to be tagged with a marker,
# ... | opf-attic/ref | tools/fits/0.6.1/tools/exiftool/perl/lib/Image/ExifTool/Fixup.pm | Perl | apache-2.0 | 11,809 |
#!/usr/bin/perl -w
# Copyright (C) 2005, 2006, 2007, 2009 Apple Inc. All rights reserved.
# Copyright (C) 2009, Julien Chaffraix <jchaffraix@webkit.org>
# Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmobile.com/)
# Copyright (C) 2011 Ericsson AB. All rights reserved.
#
# Redistribution an... | xlsdg/phantomjs-linux-armv6l | src/qt/src/3rdparty/webkit/Source/WebCore/dom/make_names.pl | Perl | bsd-3-clause | 35,259 |
#============================================================= -*-Perl-*-
#
# Template::Constants.pm
#
# DESCRIPTION
# Definition of constants for the Template Toolkit.
#
# AUTHOR
# Andy Wardley <abw@wardley.org>
#
# COPYRIGHT
# Copyright (C) 1996-2007 Andy Wardley. All Rights Reserved.
#
# This module is fr... | Dokaponteam/ITF_Project | xampp/perl/vendor/lib/Template/Constants.pm | Perl | mit | 9,748 |
package Moose::Error::Croak;
use strict;
use warnings;
our $VERSION = '0.93';
$VERSION = eval $VERSION;
our $AUTHORITY = 'cpan:STEVAN';
use base qw(Moose::Error::Default);
sub new {
my ( $self, @args ) = @_;
$self->create_error_croak(@args);
}
__PACKAGE__
__END__
=pod
=head1 NAME
Moose::Error::Croak ... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/Moose/Error/Croak.pm | Perl | mit | 769 |
package Pdbc::Connection;
use strict;
use warnings;
our @ISA = qw(Exporter);
our @EXPORT = qw();
use DBI;
use Data::Dumper;
sub new {
my $pkg = shift;
my $self = {
driver => 'Pg',
database => 'postgres',
host => 'localhost',
port => 5432,
user => 'postgres',
password => '',
@_
};
return bless ... | duck8823/pdbc-gen | lib/Pdbc/Connection.pm | Perl | mit | 722 |
package Amon2::Plugin::Web::FillInFormLite;
use strict;
use warnings;
use Amon2::Util;
use HTML::FillInForm::Lite;
sub init {
my ($class, $c, $conf) = @_;
Amon2::Util::add_method(ref $c || $c, 'fillin_form', \&_fillin_form2);
Amon2::Util::add_method(ref $c->create_response(), 'fillin_form', \&_fillin_form... | rosiro/wasarabi | local/lib/perl5/Amon2/Plugin/Web/FillInFormLite.pm | Perl | mit | 1,531 |
# 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/BU3Xn7v6Kb/europe. Olson data version 2015g
#
# Do not edit this file directly.
#
package DateTime::Tim... | rosiro/wasarabi | local/lib/perl5/DateTime/TimeZone/Europe/Tirane.pm | Perl | mit | 29,848 |
#BEGIN_HEADER
#
# Copyright (C) 2020 Mahdi Safsafi.
#
# https://github.com/MahdiSafsafi/opcodesDB
#
# See licence file 'LICENCE' for use and distribution rights.
#
#END_HEADER
use strict;
use warnings;
ICLASS addsub_carry => {
title => 'Add/subtract (with carry)',
diagram => 'sf:u=0bx op:u=0bx S:u=0bx ig0... | MahdiSafsafi/opcodesDB | db/aarch64/basic/iclasses.pl | Perl | mit | 10,518 |
#!/usr/bin/perl
#
# $Header: svn://svn/SWM/trunk/misc/moneylogInsert.pl 8250 2013-04-08 08:24:36Z rlee $
#
use strict;
use lib "..","../web","../web/comp", "../web/user", '../web/RegoForm', "../web/dashboard", "../web/RegoFormBuilder",'../web/PaymentSplit', "../web/Clearances";
use Defs;
use Utils;
use DBI;
use Wor... | facascante/slimerp | fifs/misc/submitRego.pl | Perl | mit | 669 |
package #
Date::Manip::Offset::off066;
# Copyright (c) 2008-2015 Sullivan Beck. All rights reserved.
# This program is free software; you can redistribute it and/or modify it
# under the same terms as Perl itself.
# This file was automatically generated. Any changes to this file will
# be lost the next time 'tzdata'... | jkb78/extrajnm | local/lib/perl5/Date/Manip/Offset/off066.pm | Perl | mit | 853 |
package Prophet::Replica::prophet;
{
$Prophet::Replica::prophet::VERSION = '0.751';
}
use Any::Moose;
extends 'Prophet::FilesystemReplica';
use Params::Validate qw(:all);
use LWP::UserAgent;
use LWP::ConnCache;
use File::Spec ();
use File::Path;
use Cwd ();
use File::Find;
use Prophet::Util;
use POSIX qw();
use Memo... | gitpan/Prophet | lib/Prophet/Replica/prophet.pm | Perl | mit | 24,770 |
package MIP::Recipes::Download::Cadd_whole_genome_snvs;
use 5.026;
use Carp;
use charnames qw{ :full :short };
use English qw{ -no_match_vars };
use File::Basename qw{ dirname };
use File::Spec::Functions qw{ catdir catfile };
use open qw{ :encoding(UTF-8) :std };
use Params::Check qw{ allow check last_error };
use ut... | henrikstranneheim/MIP | lib/MIP/Recipes/Download/Cadd_whole_genome_snvs.pm | Perl | mit | 6,521 |
#
# Copyright 2019 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | Sims24/centreon-plugins | hardware/sensors/akcp/snmp/mode/components/temperature.pm | Perl | apache-2.0 | 7,580 |
#
# 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/hp/3par/ssh/mode/components/disk.pm | Perl | apache-2.0 | 2,295 |
###########################################$
# 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/InstanceBlockDeviceMapping.pm | Perl | apache-2.0 | 2,478 |
=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... | willmclaren/ensembl | misc-scripts/xref_mapping/XrefParser/FetchFiles.pm | Perl | apache-2.0 | 8,401 |
=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... | Ensembl/ensembl-funcgen | modules/Bio/EnsEMBL/Funcgen/DBSQL/DNAMethylationFileAdaptor.pm | Perl | apache-2.0 | 3,729 |
#
# Copyright 2022 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | centreon/centreon-plugins | apps/tomcat/web/plugin.pm | Perl | apache-2.0 | 1,477 |
package Paws::EC2::DescribeSpotFleetInstances;
use Moose;
has DryRun => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'dryRun' );
has MaxResults => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'maxResults' );
has NextToken => (is => 'ro', isa => 'Str', trai... | ioanrogers/aws-sdk-perl | auto-lib/Paws/EC2/DescribeSpotFleetInstances.pm | Perl | apache-2.0 | 2,696 |
#
# Copyright 2018 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | wilfriedcomte/centreon-plugins | network/dell/6200/snmp/plugin.pm | Perl | apache-2.0 | 1,787 |
=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 | misc-scripts/xref_mapping/XrefParser/ChecksumParser.pm | Perl | apache-2.0 | 2,981 |
package Google::Ads::AdWords::v201409::AppPaymentModel;
use strict;
use warnings;
__PACKAGE__->_set_element_form_qualified(1);
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201409' };
our $XML_ATTRIBUTE_CLASS;
undef $XML_ATTRIBUTE_CLASS;
sub __get_attr_class {
return $XML_ATTRIBUTE_CLASS;
}
use... | gitpan/Google-Ads-AdWords-Client | lib/Google/Ads/AdWords/v201409/AppPaymentModel.pm | Perl | apache-2.0 | 2,339 |
#!/usr/bin/env perl
# mysqltuner.pl - Version 1.7.13
# High Performance MySQL Tuning Script
# Copyright (C) 2006-2018 Major Hayden - major@mhtx.net
#
# For the latest updates, please visit http://mysqltuner.com/
# Git repository available at http://github.com/major/MySQLTuner-perl
#
# This program is free software: you... | bingen/rpi_docker_home_server | images/rpi-mariadb/mysqltuner.pl | Perl | apache-2.0 | 219,803 |
#!/usr/bin/perl
srand();
my $testcase = shift;
unless($testcase =~ /^\d+$/){
print "USGE: ./gentestcase.pl <TESTCASE#>\n";
exit;
}
my @grammars = ();
my %rules1 = qw(
S aBa|bBb|cBc|g
B bCb|cCc|dDd|f
C a|b|c
D d|a|e|E
E hacker
);
push(@grammars,%rules1);
my %rules2 = qw(
S aBa|bBb|cBc|dDd
B b
C aDDD|aDD|aDd|aDd|aDD
... | krux702/crashandcompile | prob/r2_grammar-hard/gentestcase.pl | Perl | bsd-2-clause | 2,093 |
# vim:ts=4
#
# Copyright (c) 2002-2012 Hypertriton, Inc. <http://hypertriton.com/>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyr... | stqism/ToxBuild | ToxBuild/cxx.pm | Perl | bsd-2-clause | 5,315 |
#! /usr/bin/perl -w
use strict;
use warnings;
use Carp;
use Switch;
use Archive::Tar;
use Archive::Tar::Constant;
use Archive::Zip qw( :ERROR_CODES :CONSTANTS );
use Compress::Zlib;
use POSIX;
use File::Copy;
use File::stat;
sub adddir($$) {
my ($dir, $ref) = @_;
$dir =~ s/^\.\///;
my $base = $dir;
$base =~ s... | chancegarcia/mumble | scripts/release.pl | Perl | bsd-3-clause | 5,242 |
use utf8;
package Netdisco::DB::Result::DevicePower;
# Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE
use strict;
use warnings;
use base 'DBIx::Class::Core';
__PACKAGE__->table("device_power");
__PACKAGE__->add_columns(
"ip",
{ data_type => "inet", is_nullable => 0 },
"modul... | jeneric/netdisco-frontend-sandpit | Netdisco/lib/Netdisco/DB/Result/DevicePower.pm | Perl | bsd-3-clause | 785 |
package Millc::Lex;
use Exporter 'import';
use List::Util 'min';
use Modern::Perl;
our @EXPORT_OK = qw(lex);
my @patterns = (
[ qr/::/, 'colon_colon' ],
[ qr/==/, 'eq_eq' ],
[ qr/:/, 'colon' ],
[ qr/;/, 'semicolon' ],
[ qr/\./, 'period' ],
[ qr/\(/, 'left_parenthesis' ],
[ qr/\)/, 'right_p... | tomalakgeretkal/mill | millc/lib/Millc/Lex.pm | Perl | bsd-3-clause | 1,581 |
% This file is part of AceRules.
% Copyright 2008-2012, Tobias Kuhn, http://www.tkuhn.ch
%
% AceRules is free software: you can redistribute it and/or modify it under the terms of the GNU
% Lesser General Public License as published by the Free Software Foundation, either version 3 of
% the License, or (at your option)... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/ext/AceRules/engine/webservice/acerules_server.pl | Perl | mit | 2,761 |
% Simple illustration of using Aleph to do incremental learning
% To run do the following:
% a. Load Aleph
% b. read_all(mem).
% c. induce_incremental.
% After that, just follow the menus on screen.
/** <examples>
?- induce_incremental(Program).
% try with this input
mem(1,[1]).
overgeneral.
show(cons... | TeamSPoon/logicmoo_workspace | packs_web/swish/examples/aleph/interactive_mem.pl | Perl | mit | 856 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licen... | mjg17/ensembl | modules/Bio/EnsEMBL/SubSlicedFeature.pm | Perl | apache-2.0 | 2,878 |
package Google::Ads::AdWords::v201409::IdError::Reason;
use strict;
use warnings;
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201409'};
# derivation by restriction
use base qw(
SOAP::WSDL::XSD::Typelib::Builtin::string);
1;
__END__
=pod
=head1 NAME
=head1 DESCRIPTION
Perl data type class... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201409/IdError/Reason.pm | Perl | apache-2.0 | 1,101 |
# !!!!!!! 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/To/Bpt.pl | Perl | mit | 1,692 |
package Moose::Meta::Method::Accessor::Native::Hash::clear;
BEGIN {
$Moose::Meta::Method::Accessor::Native::Hash::clear::AUTHORITY = 'cpan:STEVAN';
}
{
$Moose::Meta::Method::Accessor::Native::Hash::clear::VERSION = '2.0602';
}
use strict;
use warnings;
use Moose::Role;
with 'Moose::Meta::Method::Accessor::Native... | leighpauls/k2cro4 | third_party/perl/perl/vendor/lib/Moose/Meta/Method/Accessor/Native/Hash/clear.pm | Perl | bsd-3-clause | 769 |
# $Id: Reader.pm,v 1.1.2.1 2004/04/20 20:09:48 pajas Exp $
#
# This is free software, you may use it and distribute it under the same terms as
# Perl itself.
#
# Copyright 2001-2003 AxKit.com Ltd., 2002-2006 Christian Glahn, 2006-2009 Petr Pajas
#
#
package XML::LibXML::Reader;
use XML::LibXML;
use Carp;
use strict;
u... | Dokaponteam/ITF_Project | xampp/perl/vendor/lib/XML/LibXML/Reader.pm | Perl | mit | 5,827 |
############################################################################
# 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 copyri... | hxquangnhat/PIG-ROLLUP-MRCUBE | test/e2e/pig/drivers/TestDriverScript.pm | Perl | apache-2.0 | 15,418 |
use strict;
use warnings;
use PostgresNode;
use TestLib;
use Test::More;
if ($^O eq 'msys' && `uname -or` =~ /^2.*Msys/)
{
plan skip_all => 'High bit name tests fail on Msys2';
}
else
{
plan tests => 14;
}
# We're going to use byte sequences that aren't valid UTF-8 strings. Use
# LATIN1, which accepts any byte an... | 50wu/gpdb | src/bin/pg_dump/t/010_dump_connstr.pl | Perl | apache-2.0 | 7,201 |
package Statistics::Descriptive::Weighted;
$VERSION = '0.5';
use Statistics::Descriptive;
use Data::Dumper;
package Statistics::Descriptive::Weighted::Sparse;
use strict;
use vars qw($AUTOLOAD @ISA %fields);
@ISA = qw(Statistics::Descriptive::Sparse);
use Carp qw(cluck confess);
##Define a new field to be used as m... | lskatz/lskScripts | lib/Statistics/Descriptive/Weighted.pm | Perl | mit | 32,345 |
use strict;
use Data::Dumper;
use Bio::KBase::Utilities::ScriptThing;
use Carp;
#
# This is a SAS Component
#
=head1 NAME
get_entity_Contig
=head1 SYNOPSIS
get_entity_Contig [-c N] [-a] [--fields field-list] < ids > table.with.fields.added
=head1 DESCRIPTION
A contig is thought of as composing a part of the DNA
... | kbase/kb_seed | scripts/get_entity_Contig.pl | Perl | mit | 4,645 |
% nal_reader.pl
% Read Non_Axiomatic Logic from Prolog
:-module(nal_reader,[
nal_test/0,
nal_test/1,
nal_read_clause/2,
% nal_test/2,
% nal_call/2,
nal_call/3
]).
:- set_module(class(library)).
:- set_module(base(system))... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nars/prolog/nars/nal_reader.pl | Perl | mit | 31,392 |
package MIP::Dependency_tree;
use 5.026;
use Carp;
use charnames qw{ :full :short };
use English qw{ -no_match_vars };
use open qw{ :encoding(UTF-8) :std };
use Params::Check qw{ allow check last_error };
use utf8;
use warnings;
use warnings qw{ FATAL utf8 };
## CPANM
use autodie qw{ :all };
use List::MoreUtils qw{ a... | henrikstranneheim/MIP | lib/MIP/Dependency_tree.pm | Perl | mit | 17,460 |
#!/usr/bin/perl
use strict;
use CXGN::Page;
my $page=CXGN::Page->new('');
$page->header('SGN: Phenotype search help');
print <<EOHTML;
<p>
The <a href="/search/direct_search.pl?search=phenotypes">phenotype search</a> is a
tool for searching SGN's database for accessions from phenotyped populations.
</p>
<img src="/... | solgenomics/sgn | cgi-bin/help/phenotype_search_help.pl | Perl | mit | 1,582 |
#!/usr/bin/perl
#
# Author: Long H. Do (long.h.do@gmail.com)
#
# This script takes as input .diff files produced by CuffDiff to produce plots that search for GEDDs
# Requires R and the Bioconductor preprocessCore library
#
# usage: ./thisscript cuffdiff1 cuffdiff2 cuffdiff3
#
#########################################... | lhdo/GEDDplot | makeSpearmanFigures.pl | Perl | mit | 8,808 |
#!/usr/bin/perl
use strict;
use warnings;
my %steps;
while (<>) {
if (/Step (.) must be finished before step (.) can begin./) {
$steps{$1} = {} if !exists $steps{$1};
$steps{$2} = {} if !exists $steps{$2};
$steps{$2}->{$1} = 1;
}
}
my $next = get_next();
while (defined $n... | KenMGJ/advent-of-code | 2018/07/part1.pl | Perl | mit | 677 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.