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 |
|---|---|---|---|---|---|
#------------------------------------------------------------------------------
# File: CanonRaw.pm
#
# Description: Read Canon RAW (CRW) meta information
#
# Revisions: 11/25/2003 - P. Harvey Created
# 12/02/2003 - P. Harvey Completely reworked and figured out many
# ... | mceachen/exiftool_vendored | bin/lib/Image/ExifTool/CanonRaw.pm | Perl | mit | 30,392 |
/*
Translation server. The call
regulus_language_server(<PortNumber>)
starts a translation server that accepts requests on the port <PortNumber>.
The following requests are supported:
Request: client(ClientHost).
Response: accept(ClientHost).
Request: call(Call).
Response: Call. [Call completed, instantiat... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/ext/regulus/RegulusLanguageServer/Prolog/server.pl | Perl | mit | 4,194 |
package Apache::ModPerimeterXTestUtils;
use 5.022001;
use strict;
use warnings;
require Exporter;
our @ISA = qw(Exporter);
# Items to export into callers namespace by default. Note: do not export
# names by default without a very good reason. Use EXPORT_OK instead.
# Do not simply export all your public functions/m... | PerimeterX/mod_perimeterx | Apache-ModPerimeterXTestUtils/lib/Apache/ModPerimeterXTestUtils.pm | Perl | mit | 3,512 |
#!/usr/bin/perl -w
use strict;
use Statistics::ChisqIndep;
my $sUsage = qq(
perl $0
<homeolog_variation_sites.out>
<vcf file>
<minimum coverage depth>
<output file>
);
die $sUsage unless @ARGV >= 4;
my ($variation_file, $vcf_file, $mid_dep, $output) = @ARGV;
my $chisq_test = new Statistics::ChisqIndep;
my %snps = ... | swang8/Perl_scripts_misc | chisq_test_for_homeolog_snps.pl | Perl | mit | 2,098 |
#!/usr/bin/perl -I..
################################################################
#
# Author(s) - Mark M. Gosink, Ph.D.
# Company - DSRD, Pfizer Inc.
#
# Creation Date - Wed Oct 28 11:47:48 EDT 2009
# Modified -
#
# Function - Update the MIM entries using the mim2gene file
#
###############################... | mgosink/ToxReporter | scripts/Step_06b_Update_MIMXrefs.pl | Perl | mit | 6,077 |
#!/usr/bin/perl
use strict;
use warnings;
use lib "..", "../web";
use Defs;
use DBI;
use Utils;
use Passport;
use MCache;
use Lang;
use Log;
main();
sub main {
my $db = connectDB();
my $lang = Lang->get_handle() || die "Can't get a language handle!";
my $passport = new Passport( db => $db );
... | facascante/slimerp | fifs/misc/fix_passport_umpires.pl | Perl | mit | 1,036 |
# I wanted to do this with a shell script but I can't think of a way
# without negating a backreference, which isn't possible.
# I got this far:
#
# cat 7.txt | ggrep -Pv '\[.*(.)(.)\2\1.*\]' | ggrep -P '(.)(.)\2\1'
#
# Which incorrectly matches aaaa[qwer]tyui - it should fail because
# aaaa is not a valid abba form. ... | jwhitfieldseed/advent-of-code | 2016/7a.pl | Perl | mit | 826 |
package WorkspaceCreator;
# ************************************************************
# Description : Base class for all workspace creators
# Author : Chad Elliott
# Create Date : 5/13/2002
# ************************************************************
# *************************************************... | binghuo365/BaseLab | 3rd/ACE-5.7.0/ACE_wrappers/MPC/modules/WorkspaceCreator.pm | Perl | mit | 69,121 |
#!/usr/bin/perl -w
use strict;
use warnings;
use lib "./lib";
# use loadconf;
# my %pref = &loadconf::loadConf;
package getNCBI;
require Exporter;
our @ISA = qw(Exporter);
our @EXPORT_OK = qw(getNCBI);
our $DESCRIPTION = "Returns NCBI entrances from NCBI IDs with custom headers
\tAccepts as input any NCBI re... | sauloal/projects | biomail/progs/getNCBI.pm | Perl | mit | 14,115 |
package Bio::SUPERSMART::Service::InferenceService::examl;
use strict;
use warnings;
use Bio::Tools::Run::Phylo::ExaML;
use Bio::SUPERSMART::Service::InferenceService;
use base 'Bio::SUPERSMART::Service::InferenceService';
=head1 NAME
Bio::SUPERSMART::Service::InferenceService::examl - Infers phylogenetic trees
=hea... | naturalis/supersmart | lib/Bio/SUPERSMART/Service/InferenceService/examl.pm | Perl | mit | 3,053 |
package XrefParser::MGIParser;
use strict;
use DBI;
use base qw(XrefParser::BaseParser);
# --------------------------------------------------------------------------------
# Parse command line and run if being run directly
if (!defined(caller())) {
if (scalar(@ARGV) != 1) {
print "\nUsage: MGIParser.pm file... | adamsardar/perl-libs-custom | EnsemblAPI/ensembl/misc-scripts/xref_mapping/XrefParser/MGIParser.pm | Perl | apache-2.0 | 2,954 |
package Moose::Exception::LazyAttributeNeedsADefault;
our $VERSION = '2.1404';
use Moose;
extends 'Moose::Exception';
with 'Moose::Exception::Role::EitherAttributeOrAttributeName';
sub _build_message {
my $self = shift;
"You cannot have a lazy attribute (".$self->attribute_name.") without specifying a default... | ray66rus/vndrv | local/lib/perl5/x86_64-linux-thread-multi/Moose/Exception/LazyAttributeNeedsADefault.pm | Perl | apache-2.0 | 342 |
# 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/AdGroupLabelService/MutateAdGroupLabelResult.pm | Perl | apache-2.0 | 1,059 |
#
# 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/windows/snmp/plugin.pm | Perl | apache-2.0 | 2,086 |
#
# 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 | storage/hp/p2000/xmlapi/mode/health.pm | Perl | apache-2.0 | 6,294 |
# !/usr/bin/perl
use strict;
use warnings;
use DBI;
use Carp;
use Parser::InvoiceParser;
use DB::Invoices;
use DB::Products;
use Core::InvoiceInfo;
sub usage {
die "add_invoice [invoice filename]";
}
my $invoice_filename = $ARGV[0];
if (!defined($invoice_filename)) {
usage();
}
my $invoice_parser = Pars... | nrusin/inventory | add_invoice.pl | Perl | apache-2.0 | 1,332 |
#!/usr/bin/env perl
use strict;
use warnings;
use Error::Pure::HTTP::Print qw(err);
# Error.
err '1', '2', '3';
# Output:
# Content-type: text/plain
#
# 1 | tupinek/Error-Pure-HTTP | examples/ex9.pl | Perl | bsd-2-clause | 158 |
package Mojo::Webqq::Plugin::UploadQRcode;
our $CALL_ON_LOAD=1;
use strict;
sub call{
my $client = shift;
my $data = shift;
$client->on(input_qrcode=>sub{
my($client,$qrcode_path,$qrcode_data) = @_;
#需要产生随机的云存储路径,防止好像干扰
my $json = $client->http_post('https://sm.ms/api/upload',{json=>... | sjdy521/Mojo-Webqq | lib/Mojo/Webqq/Plugin/UploadQRcode.pm | Perl | bsd-2-clause | 953 |
#########################################################################
# A Simple Parser for automating the specializations crated in FOCUS.
#
# @author Arvind S. Krishna <arvindk@dre.vanderbilt.edu>
#
# This parser, parses the specialization file given as an input argument
# and *individually* visits the tags in a ... | wfnex/openbras | src/ace/ACE_wrappers/bin/FOCUS/Parser/FOCUSParser.pm | Perl | bsd-3-clause | 21,227 |
#!/usr/bin/perl -w
use strict;
my @names = ();
my %sizes = ();
my %types = ();
while(<>) {
if( m/.*result = (.*)\$MA_(.*)\$getAttr/ ) {
push( @names, "$1.$2" );
# print scalar(@names) . ": $names[-1]\n";
}
if( m/ (.*)\$MA_(.*)\$.*init\((.*),(.*)\)/ ) {
my ($id,$size,$type) = ("$1.$2",$3,$4);
... | ekiwi/tinyos-1.x | beta/SystemCore/scripts/mgmtquery_keys.pl | Perl | bsd-3-clause | 855 |
#!/usr/bin/perl
###################################################################################
# This script executes one or more VTR tasks
#
# Usage:
# run_vtr_task.pl <task_name1> <task_name2> ... [OPTIONS]
#
# Options:
# -p <N>: Perform parallel execution using N threads. Note: Large benchmarks
# will use ... | UGent-HES/ConnectionRouter | vtr_flow/scripts/run_vtr_task.pl | Perl | mit | 15,462 |
:- module(assrt_example, [p/1]).
:- use_module(library(assertions)).
:- use_module(library(plprops)).
:- check pred p(A) :: int(A) + not_fails.
p(1).
p(2).
| TeamSPoon/logicmoo_workspace | packs_lib/assertions/examples/assrt_example.pl | Perl | mit | 159 |
## OpenXPKI::Crypto::Tool::SCEP::Command::create_certificate_reply.pm
## Written 2006 by Alexander Klink for the OpenXPKI project
## (C) Copyright 2006 by The OpenXPKI Project
package OpenXPKI::Crypto::Tool::SCEP::Command::create_certificate_reply;
use strict;
use warnings;
use Class::Std;
use OpenXPKI::Debug;
use O... | durko/openxpki | core/server/OpenXPKI/Crypto/Tool/SCEP/Command/create_certificate_reply.pm | Perl | apache-2.0 | 3,415 |
package VMOMI::HostProfileManager;
use parent 'VMOMI::ProfileManager';
use strict;
use warnings;
our @class_ancestors = (
'ProfileManager',
'ProfileManager',
'ManagedObject',
);
our @class_members = ( );
sub get_class_ancestors {
return @class_ancestors;
}
sub get_class_members {
my $class = sh... | stumpr/p5-vmomi | lib/VMOMI/HostProfileManager.pm | Perl | apache-2.0 | 435 |
# The Computer Language Benchmarks Game
# http://shootout.alioth.debian.org/
#
# contributed by David Pyke, March 2005
# optimized by Steffen Mueller, Sept 2007
use integer;
use strict;
sub nsieve {
my ($m) = @_;
my @a = (1) x $m;
my $count = 0;
foreach my $i (2..$m-1) {
if ($a[$i]) {
for ... | chrislo/sourceclassifier | sources/perl/nsieve.perl-2.perl | Perl | mit | 710 |
use POSIX 'strftime';
$date = strftime '%Y-%m-%d', localtime;
while (<testfiles/*>) {
chomp;
$x = "cp $_";
s/2015-MM-DD/$date/;
$x .= " /tmp/$_\n";
print($x);
system($x);
}
| itsdavidbaxter/Tools | scripts/pahma/batch_barcode/setupTests.pl | Perl | apache-2.0 | 190 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licen... | ckongEbi/ensembl-compara | modules/Bio/EnsEMBL/Compara/DBSQL/PeptideAlignFeatureAdaptor.pm | Perl | apache-2.0 | 21,997 |
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use ... | gitpan/mod_perl | lib/Bundle/Apache2.pm | Perl | apache-2.0 | 1,723 |
# 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 u... | rahul003/mxnet | perl-package/AI-MXNet/lib/AI/MXNet/Initializer.pm | Perl | apache-2.0 | 21,388 |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by mktables from the Unicode
# database, Version 6.1.0. Any changes made here will be lost!
# !!!!!!! INTERNAL PERL USE ONLY !!!!!!!
# This file is for internal use by core Perl only. The format and even the
# name or existence of this ... | Dokaponteam/ITF_Project | xampp/perl/lib/unicore/lib/Ea/W.pl | Perl | mit | 795 |
#! /usr/bin/perl -w
# Courtesy Ken Pizzini.
use strict;
#This file released to the public domain.
# Note: error checking is poor; trust the output only if the input
# has been checked by zic.
my $contZone = '';
while (<>) {
my $origline = $_;
my @fields = ();
while (s/^\s*((?:"[^"]*"|[^\s#])+)//) {
push ... | evq/utz | vendor/tzdata/zoneinfo2tdf.pl | Perl | mit | 1,409 |
=pod
=head1 NAME
req - PKCS#10 certificate request and certificate generating utility.
=head1 SYNOPSIS
B<openssl> B<req>
[B<-inform PEM|DER>]
[B<-outform PEM|DER>]
[B<-in filename>]
[B<-passin arg>]
[B<-out filename>]
[B<-passout arg>]
[B<-text>]
[B<-pubkey>]
[B<-noout>]
[B<-verify>]
[B<-modulus>]
[B<-new>]
[B<-ra... | domenicosolazzo/philocademy | venv/src/node-v0.10.36/deps/openssl/openssl/doc/apps/req.pod | Perl | mit | 21,989 |
use warnings;
use strict;
package App::Settings::Bug;
use Any::Moose;
extends 'Prophet::Record';
use base qw/Prophet::Record/;
sub new { shift->SUPER::new( @_, type => 'bug' ) }
sub validate_prop_name {
my $self = shift;
my %args = (@_);
return 1 if ( $args{props}->{'name'} eq 'Jesse' );
return 0;... | gitpan/Prophet | t/Settings/lib/App/Settings/Bug.pm | Perl | mit | 494 |
package IFTest::TestObjectContext;
use common::sense;
use base qw(
IFTest::Type::Datasource
);
use Test::Class;
use Test::More;
use IFTest::Application;
use IF::ObjectContext;
use IF::Query;
use aliased 'IFTest::Entity::Root';
use aliased 'IFTest::Entity::Branch';
use aliased 'IFTest::Entity::Ground';
use ali... | quile/if-framework | framework/t/IFTest/TestObjectContext.pm | Perl | mit | 9,517 |
########################################################################
# Bio::KBase::ObjectAPI::KBaseFBA::FBAReactionVariable - This is the moose object corresponding to the FBAReactionVariable object
# Authors: Christopher Henry, Scott Devoid, Paul Frybarger
# Contact email: chenry@mcs.anl.gov
# Development location... | cshenry/fba_tools | lib/Bio/KBase/ObjectAPI/KBaseFBA/FBAReactionVariable.pm | Perl | mit | 2,796 |
/*************************************************************************
File: pluggingAlgorithm.pl
Copyright (C) 2004 Patrick Blackburn & Johan Bos
This file is part of BB1, version 1.2 (August 2005).
BB1 is free software; you can redistribute it and/or modify
it under the terms of the GNU Gen... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/ext/CURT/bb1/pluggingAlgorithm.pl | Perl | mit | 6,087 |
use c_rt_lib;
use c_fe_lib;
use string;
use hash;
use array;
use dfile;
use ptd;
use nast;
use nparser;
use boolean_t;
use pretty_printer;
use generator_c;
use generator_pm;
use generator_js;
use generator_java;
use translator;
use nlasm;
use post_processing;
use post_processing_t;
use tc_types;
use type_checker;
use m... | nianiolang/nl | bin/nianio_lang_pm/compiler.pm | Perl | mit | 161,828 |
package ITS::WICS::XML2XLIFF;
use strict;
use warnings;
use Carp;
our @CARP_NOT = qw(ITS);
use Log::Any qw($log);
use ITS qw(its_ns);
use ITS::DOM;
use ITS::DOM::Element qw(new_element);
use ITS::WICS::LogUtils qw(node_log_id log_match);
use ITS::WICS::XML2XLIFF::ITSProcessor qw(
its_requires_inline
con... | renatb/ITS2.0-WICS-converter | lib/ITS/WICS/XML2XLIFF.pm | Perl | mit | 7,787 |
# File: Updater.pm
#
# Purpose: Migrates data files from older versions to newer versions.
#
# Updates data/configration files to new locations/formats based
# on versioning information. Ensures data/configuration files are in the
# proper location and using the latest data structure.
# SPDX-FileCopyrightText: 2021 Pr... | pragma-/pbot | lib/PBot/Core/Updater.pm | Perl | mit | 2,826 |
#!/usr/bin/perl -w
use strict;
use Irssi;
use Irssi::Irc;
sub handle_cmd {
my ($server, $msg, $nick, $address, $target) = @_;
if ($msg eq ".eatpizza") {
$server->command("msg $target .............................................pizza");
}
if ($msg eq ".payback") {
$server->command("msg $target ($nick) PAYBA... | n7st/irssi-scripts | pizza/pizza-extra.pl | Perl | mit | 499 |
#------------------------------------------------------------------------------
# File: PanasonicRaw.pm
#
# Description: Read/write Panasonic/Leica RAW/RW2/RWL meta information
#
# Revisions: 2009/03/24 - P. Harvey Created
# 2009/05/12 - PH Added RWL file type (same format as RW2)
#
# Referenc... | rizzles/convert | imageprocessor/processorcommand/lib/Image/ExifTool/PanasonicRaw.pm | Perl | mit | 22,888 |
:- compile('$REGULUS/Prolog/dialogue_server').
:- use_module('$REGULUS/Examples/Calendar/Prolog/database1').
%:- server(1985, '$REGULUS/Examples/Calendar/scripts/calendar.cfg').
:- server(1985,
'$REGULUS/Examples/Calendar/scripts/calendar.cfg',
["EBL_LOAD", "LOAD_DIALOGUE", "LOAD_HELP"],
'$REGULUS/logfiles'... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/ext/regulus/Examples/Calendar/scripts/load_and_run_server_regulus_parser.pl | Perl | mit | 334 |
:- use_module(library('linda/server')).
:- use_module(library(system),[pid/1]).
start(Host:Port):-
open('/tmp/curtHostPort',write,Stream1),
format(Stream1,"host_port('~p',~p).~n",[Host,Port]),
close(Stream1),
pid(Pid),
open('/tmp/curtServerPid',write,Stream2),
for... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/ext/CURT/bb0/curtServer.pl | Perl | mit | 427 |
$a = 1;
$aval0 = ($a == 1);
$aval1 = ($a != 1);
$aval2 = ($a > 1);
$aval3 = ($a < 1);
$aval4 = ($a >= 1);
$aval5 = ($a <= 1);
$aval6 = ($a <=> 1);
$b = 1;
$bval0 = ($b eq 1);
$bval1 = ($b ne 1);
$bval2 = ($b gt 1);
$bval3 = ($b lt 1);
$bval4 = ($b ge 1);
$bval5 = ($b le 1);
$bval6 = ($b cmp 1);
| nanobowers/perl5-to-ruby | test/working/test_compare.pl | Perl | mit | 298 |
#!/usr/bin/env perl
use warnings;
use strict;
use feature qw/say/;
use utf8;
use Data::Printer;
use Mojo::UserAgent;
use Storable;
use open qw/:std :utf8/;
my $courses;
if (-r '.cache') {
$courses = retrieve('.cache');
goto PROCESS;
}
my $ua = Mojo::UserAgent->new;
my $dom = $ua->get('http://mfk.msu.ru/se... | evdenis/ifc | ifc.pl | Perl | mit | 2,751 |
%% Utility Procedures %%
%% Alan Bundy, 31.1.12 %%
%% Revised By Boris Mitrovic, 16.05.13; 11.06.16 %%
%% pprint(E): convert to input form and print
pprint(vble(X)) :- print(X),!.
pprint(vble(X)) :- print(X),!.
pprint([F|Args]) :- atomic(F), !,
convert(E,[F|Args]), print(E).
pprint([]).
ppri... | BorisMitrovic/reformation | util.pl | Perl | mit | 9,636 |
package namespace::clean;
=head1 NAME
namespace::clean - Keep imports and functions out of your namespace
=cut
use warnings;
use strict;
use vars qw( $VERSION $STORAGE_VAR $SCOPE_HOOK_KEY $SCOPE_EXPLICIT );
use Symbol qw( qualify_to_ref gensym );
use B::Hooks::EndOfScope;
use Sub::Identify qw(sub_fulln... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/namespace/clean.pm | Perl | mit | 10,875 |
#!/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/makefilter.pl | Perl | mit | 5,856 |
# 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/CustomerManagerLinkService/MoveManagerLinkResponse.pm | Perl | apache-2.0 | 1,065 |
#!/usr/bin/perl
package Picard::MarkDuplicates;
use strict;
use warnings;
use File::Basename;
use CQS::PBS;
use CQS::ConfigUtils;
use CQS::SystemUtils;
use CQS::FileUtils;
use CQS::Task;
use CQS::NGSCommon;
use CQS::StringUtils;
our @ISA = qw(CQS::Task);
sub new {
my ($class) = @_;
my $self = $... | shengqh/ngsperl | lib/Picard/MarkDuplicates.pm | Perl | apache-2.0 | 3,386 |
package Google::Ads::AdWords::v201809::AdGroupCriterionService::getResponse;
use strict;
use warnings;
{ # BLOCK to scope variables
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201809' }
__PACKAGE__->__set_name('getResponse');
__PACKAGE__->__set_nillable();
__PACKAGE__->__set_minOccurs();
__PACKAGE__... | googleads/googleads-perl-lib | lib/Google/Ads/AdWords/v201809/AdGroupCriterionService/getResponse.pm | Perl | apache-2.0 | 1,798 |
#!/usr/bin/env perl
#this program takes the two accessions from a blast entry an then puts them back in alphabetical order
#this is done because otherwise we have to create a potentially huge hash that uses a lot of RAM
#essentially puts forward and reverse matches to the accessions are in the same order
#later sorted... | EnzymeFunctionInitiative/est-precompute-bw | include/efiest-0.9.5/alphabetize.pl | Perl | apache-2.0 | 1,371 |
#!/usr/bin/perl -w
# titlebytes - find the title and size of documents
use LWP::UserAgent;
use HTTP::Request;
use HTTP::Response;
use URI::Heuristic;
my $raw_url = "http://ec2-23-21-234-240.compute-1.amazonaws.com:8080/jenkins/job/Tools_Cloc-All/lastBuild/consoleText"; #shift or die "usage: $0... | deleidos/digitaledge-platform | commons/buildtools/cloc/cloc-output-summation.pl | Perl | apache-2.0 | 4,331 |
package Paws::EC2::ImportImage;
use Moose;
has Architecture => (is => 'ro', isa => 'Str');
has ClientData => (is => 'ro', isa => 'Paws::EC2::ClientData');
has ClientToken => (is => 'ro', isa => 'Str');
has Description => (is => 'ro', isa => 'Str');
has DiskContainers => (is => 'ro', isa => 'ArrayRef[Paws::... | ioanrogers/aws-sdk-perl | auto-lib/Paws/EC2/ImportImage.pm | Perl | apache-2.0 | 3,395 |
#
# Copyright 2021 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | Tpo76/centreon-plugins | apps/mq/activemq/jmx/mode/listbrokers.pm | Perl | apache-2.0 | 2,649 |
package Google::Ads::AdWords::v201402::ConstantDataService::getUserInterestCriterionResponse;
use strict;
use warnings;
{ # BLOCK to scope variables
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201402' }
__PACKAGE__->__set_name('getUserInterestCriterionResponse');
__PACKAGE__->__set_nillable();
__PAC... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201402/ConstantDataService/getUserInterestCriterionResponse.pm | Perl | apache-2.0 | 1,893 |
# 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/V10/Services/SmartCampaignSuggestService/SuggestSmartCampaignBudgetOptionsRequest.pm | Perl | apache-2.0 | 1,177 |
package Paws::SSM::DescribeDocument;
use Moose;
has DocumentVersion => (is => 'ro', isa => 'Str');
has Name => (is => 'ro', isa => 'Str', required => 1);
use MooseX::ClassAttribute;
class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeDocument');
class_has _returns => (isa => 'Str', is =... | ioanrogers/aws-sdk-perl | auto-lib/Paws/SSM/DescribeDocument.pm | Perl | apache-2.0 | 1,797 |
package Paws::Route53::DeleteTrafficPolicyResponse;
use Moose;
use MooseX::ClassAttribute;
class_has _payload => (is => 'ro', default => '');
has _request_id => (is => 'ro', isa => 'Str');
1;
### main pod documentation begin ###
=head1 NAME
Paws::Route53::DeleteTrafficPolicyResponse
=head1 ATTRIBUTES
=... | ioanrogers/aws-sdk-perl | auto-lib/Paws/Route53/DeleteTrafficPolicyResponse.pm | Perl | apache-2.0 | 325 |
=head1 TITLE
wait() and waitpid() should return false on failure
=head1 VERSION
Maintainer: Nathan Torkington <gnat@frii.com>
Date: 13 Sep 2000
Mailing List: perl6-language@perl.org
Number: 220
Version: 1
Status: Developing
=head1 ABSTRACT
All system calls in Perl should return false on failure.
=hea... | autarch/perlweb | docs/dev/perl6/rfc/220.pod | Perl | apache-2.0 | 743 |
#
# Copyright 2015 Electric Cloud, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agree... | electric-cloud/EC-OpenStack | src/main/resources/project/procedures/cleanup.pl | Perl | apache-2.0 | 1,137 |
package Paws::DeviceFarm::ListOfferingPromotions;
use Moose;
has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken' );
use MooseX::ClassAttribute;
class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListOfferingPromotions');
class_has _returns => (isa... | ioanrogers/aws-sdk-perl | auto-lib/Paws/DeviceFarm/ListOfferingPromotions.pm | Perl | apache-2.0 | 1,819 |
=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.
# ... | james-monkeyshines/ensembl-analysis | modules/Bio/EnsEMBL/Analysis/Hive/RunnableDB/HiveAssemblyLoading/HiveRepeatMasker.pm | Perl | apache-2.0 | 4,702 |
=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.
# ... | kiwiroy/ensembl-analysis | modules/Bio/EnsEMBL/Analysis/RunnableDB/AlignmentNets.pm | Perl | apache-2.0 | 19,849 |
package VMOMI::ClusterActionHistory;
use parent 'VMOMI::DynamicData';
use strict;
use warnings;
our @class_ancestors = (
'DynamicData',
);
our @class_members = (
['action', 'ClusterAction', 0, ],
['time', undef, 0, ],
);
sub get_class_ancestors {
return @class_ancestors;
}
sub get_class_members {... | stumpr/p5-vmomi | lib/VMOMI/ClusterActionHistory.pm | Perl | apache-2.0 | 455 |
package VMOMI::ClusterDasHostRecommendation;
use parent 'VMOMI::DynamicData';
use strict;
use warnings;
our @class_ancestors = (
'DynamicData',
);
our @class_members = (
['host', 'ManagedObjectReference', 0, ],
['drsRating', undef, 0, 1],
);
sub get_class_ancestors {
return @class_ancestors;
}
su... | stumpr/p5-vmomi | lib/VMOMI/ClusterDasHostRecommendation.pm | Perl | apache-2.0 | 476 |
package resources::server;
use strict;
use warnings;
no warnings('once');
use Conf;
use Data::Dumper;
use Cache::Memcached;
use parent qw(resources::resource);
use WebApplicationDBHandle;
# Override parent constructor
sub new {
my ($class, @args) = @_;
# Call the constructor of the parent class
my $self... | wilke/MG-RAST | src/MGRAST/lib/resources/server.pm | Perl | bsd-2-clause | 5,152 |
package t::StapThread;
use strict;
use warnings;
our $GCScript = <<'_EOC_';
global ids, cur
global in_req = 0
global alive_reqs
function gen_id(k) {
if (ids[k]) return ids[k]
ids[k] = ++cur
return cur
}
F(ngx_http_handler) {
if (!alive_reqs[$r] && $r == $r->main) {
in_req++... | caidongyun/nginx-openresty-windows | ngx_lua/t/StapThread.pm | Perl | bsd-2-clause | 5,955 |
use strict;
open( INFILE, "<", $ARGV[0] )
or die("Cannot open file $ARGV[0] for reading: $!");
while ( my $line = <INFILE> ) {
next if ( $line =~ m/^\s$/ );
my ( $n, $m ) = ( $line =~ /([^,]+),([^\n])/ );
printf( "%d\n", rindex( $n, $m ) );
}
close(INFILE);
| nikai3d/ce-challenges | easy/rightmost.pl | Perl | bsd-3-clause | 272 |
# vgetty-lib.pl
# Common functions for editing the vgetty config files
# XXX options under ring_type
# XXX DTMF command shells http://vocp.sourceforge.net/
# XXX DTMF terminals http://telephonectld.sourceforge.net/
BEGIN { push(@INC, ".."); };
use WebminCore;
&init_config();
# vgetty_inittabs()
# Returns a list of i... | xtso520ok/webmin | vgetty/vgetty-lib.pl | Perl | bsd-3-clause | 4,398 |
# SNMP::Info::RapidCity
# $Id$
#
# Copyright (c) 2014 Eric Miller
# 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 notice,
#... | 42wim/snmp-info | Info/RapidCity.pm | Perl | bsd-3-clause | 41,931 |
#
# Copyright 2016 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | bcournaud/centreon-plugins | hardware/pdu/apc/snmp/mode/hardware.pm | Perl | apache-2.0 | 13,315 |
=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/MappedSliceContainer.pm | Perl | apache-2.0 | 18,151 |
#!/usr/bin/perl
use strict;
use warnings;
# use lib './blib/lib';
use DBI;
use IO::File;
use File::Spec;
use Getopt::Long;
use Bio::DB::GFF;
use Bio::DB::GFF::Util::Binning 'bin';
use constant MYSQL => 'mysql';
use constant FDATA => 'fdata';
use constant FTYPE => 'ftype';
use constant FGROUP => 'fgroup'... | irusri/Extract-intron-from-gff3 | scripts/bp_bulk_load_gff.pl | Perl | mit | 20,903 |
print "Help Desk -- What Editor do you use? ";
chomp($editor = <STDIN>);
if ($editor =~ /emacs/i) {
print "Why aren't you using vi?\n";
} elsif ($editor =~ /vi/i) {
print "Why aren't you using emacs?\n";
} else {
print "I think that's the problem\n";
}
| pop-idol/pop_examples | pop/lint-notes/Perl-Tidy-20140328/docs/testfile.pl | Perl | apache-2.0 | 260 |
#!/usr/bin/perl -wl
# CommonAccord - bringing the world to agreement
# Written in 2014 by Primavera De Filippi To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warran... | CommonAccord/Cmacc-Tech | vendor/library/tree-parse.pl | Perl | mit | 1,092 |
#!/usr/bin/env perl
#
use strict;
my ($include_dir, $data_dir, $feature_file);
if( @ARGV ) {
die "Invalid number of arguments" if scalar @ARGV != 3;
($include_dir, $data_dir, $feature_file) = @ARGV;
-d $include_dir or die "No such directory: $include_dir\n";
-d $data_dir or die "No such directory: $... | erja-gp/openthread | third_party/mbedtls/repo/scripts/generate_features.pl | Perl | bsd-3-clause | 2,085 |
#Copyright 2009, 2010 Daniel Gaston, Andrew Roger Lab
#This code is copyrighted under the GNU General Public License Version 3.0
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either... | GastonLab/fundi-dev | FunDi.pl | Perl | mit | 45,279 |
package Date::Manip::TZdata;
# 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.
###############################################################################
require 5.010000;
use IO::File;
us... | jkb78/extrajnm | local/lib/perl5/Date/Manip/TZdata.pm | Perl | mit | 39,298 |
#!C:\Perl\bin\perl.exe
###############
#
# Filename: skype2google.pl
# Project: skype2google
# Number of Files: 1
# Language: Perl
# Platform: Windows
# Summary: Convert a Skype contact file into the format of a Google
# Contacts CSV file.
#
###########... | codemonkey2841/skype2google | skype2google.pl | Perl | mit | 2,091 |
# File: Rank.pm
#
# Purpose: Ranks players by various keywords.
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
# SPDX-License-Identifier: MIT
package PBot::Plugin::Spinach::Rank;
use PBot::Imports;
use FindBin;
use lib "$FindBin::RealBin/../../..";
use PBot::Plugin::Spinach::Stats;
use Math... | pragma-/pbot | lib/PBot/Plugin/Spinach/Rank.pm | Perl | mit | 13,385 |
#! /usr/bin/env perl
# Read the recent few days of survey day, update summary tables;
# Create CSV files for dygraphs javascript charting library
use Getopt::Long;
use POSIX strftime;
use IO::File;
use Socket6;
use Data::Dumper;
use JSON;
use DBI;
use strict;
$| = 1;
my ( $MirrorConfig, $PrivateConfig, $dbh, $midni... | falling-sky/extras | falling-sky-dyngraphs-csv.pl | Perl | mit | 15,167 |
package # hidden from PAUSE
TestApp::Controller::Root;
use strict;
use warnings;
use parent 'Catalyst::Controller';
#
# Sets the actions in this controller to be registered with no prefix
# so they function identically to actions created in MyApp.pm
#
__PACKAGE__->config->{namespace} = '';
=head1 NAME
TestA... | gitpan/Book-Chinese-MasterPerlToday | eg/Catalyst/TestApp/lib/TestApp/Controller/Root.pm | Perl | mit | 1,475 |
#!/usr/bin/env perl
use strict;
use warnings;
my $ival = 12;
my $fval = 3.14;
my $sci = 1.82e45;
my $dval = 0xffffffff;
my $oval = 0457;
my $bin = 0b0101;
my $readable = 10_000_000;
my $str1 = "hello, it's not a joke";
$str1 = qq#hello, it's not a joke#;
my $str2 = 'hello, ... | chuanqinggao/daily-mark | perl/junior/variable/scalar.pl | Perl | mit | 713 |
=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 obt... | willmclaren/ensembl-rest | lib/EnsEMBL/REST/Types.pm | Perl | apache-2.0 | 982 |
=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/PSILC.pm | Perl | apache-2.0 | 11,286 |
#
# Copyright 2015 SmartBear Software
#
# 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 ... | onlineconvert/onlineconvert-api-sdk-perl | lib/WWW/SwaggerClient/ConversionApi.pm | Perl | apache-2.0 | 15,345 |
#!/usr/bin/perl
&usage, exit 1 if ($#ARGV+1) != 2;
my $ConfigFile = shift;
my $CMakeListFile = shift;
my $CMakeListFile_Tmp = "CMakeLists.txt_tmp";
my $CMakeListFile_Build = "CMakeLists.txt_build";
my %CompileParameter = {};
my $Key;
my $Value;
my $Endian = "BIG";
my $Cmd;
open CONFIG, "<$ConfigFile" or die "Cannot ... | Ansersion/myRtspClient | third_party/JRTPLIB/myRtspClientConfig/config_mips.pl | Perl | apache-2.0 | 2,337 |
#!/usr/bin/env perl
# 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 Licens... | Ensembl/ensembl-analysis | scripts/genebuild/make_biotypes_attributes.pl | Perl | apache-2.0 | 4,717 |
new9(A,B,C,D,E,F) :- B=0.
new9(A,B,C,D,E,F) :- G=1+E, B=< -1, new5(A,C,D,G,F).
new9(A,B,C,D,E,F) :- G=1+E, B>=1, new5(A,C,D,G,F).
new7(A,B,C,D,E) :- F=1, B-D=<0, new9(A,F,B,C,D,E).
new7(A,B,C,D,E) :- F=0, B-D>=1, new9(A,F,B,C,D,E).
new5(A,B,C,D,E) :- D-E=< -1, new7(A,B,C,D,E).
new5(A,B,C,D,E) :- F=1+C, D-E>=0, new4(A,B... | bishoksan/RAHFT | benchmarks_scp/misc/programs-clp/INVGEN-nested5.map.c.map.pl | Perl | apache-2.0 | 537 |
use Paws::JsonParamsService::Method2;
package Paws::QueryParamsService;
use Moose;
sub service { 'queryparams' }
sub version { '2010-03-31' }
sub flattened_arrays { 0 }
has max_attempts => (is => 'ro', isa => 'Int', default => 5);
has retry => (is => 'ro', isa => 'HashRef', default => sub {
{ base => '... | ioanrogers/aws-sdk-perl | t/lib/Paws/QueryParamsService.pm | Perl | apache-2.0 | 1,220 |
package Paws::ELBv2::ModifyTargetGroup;
use Moose;
has HealthCheckIntervalSeconds => (is => 'ro', isa => 'Int');
has HealthCheckPath => (is => 'ro', isa => 'Str');
has HealthCheckPort => (is => 'ro', isa => 'Str');
has HealthCheckProtocol => (is => 'ro', isa => 'Str');
has HealthCheckTimeoutSeconds => (is ... | ioanrogers/aws-sdk-perl | auto-lib/Paws/ELBv2/ModifyTargetGroup.pm | Perl | apache-2.0 | 3,587 |
package VMOMI::ArrayOfNetIpStackInfoDefaultRouter;
use parent 'VMOMI::ComplexType';
use strict;
use warnings;
our @class_ancestors = ( );
our @class_members = (
['NetIpStackInfoDefaultRouter', 'NetIpStackInfoDefaultRouter', 1, 1],
);
sub get_class_ancestors {
return @class_ancestors;
}
sub get_class_membe... | stumpr/p5-vmomi | lib/VMOMI/ArrayOfNetIpStackInfoDefaultRouter.pm | Perl | apache-2.0 | 459 |
#!/usr/bin/perl
use strict;
use warnings;
use Net::Proxy;
# show some information on STDERR
Net::Proxy->set_verbosity(1);
# run this on your workstation
my $proxy = Net::Proxy->new(
{ in =>
{
# local port for local SSH client
port => 2222,
type => 'tcp',
},
... | jmcveigh/komodo-tools | scripts/perl/run_two_services_on_a_single_tcp_port/verbose_proxy.pl | Perl | bsd-2-clause | 723 |
#!/usr/bin/perl -w
# PPath@Cornell
# Surya Saha Mar 18, 2011
use strict;
use warnings;
use Getopt::Long;
use POSIX;
eval {
require Bio::SearchIO;
require Bio::SeqIO;
};
use Bio::SearchIO;
use Bio::SeqIO;
=head1 NAME
getAlignedPairs_blastn.v1.pl - Get the pairs which align to the reference genome with correct orien... | suryasaha/NGS | archive/getAlignedPairs_blastn.v1.pl | Perl | bsd-2-clause | 14,734 |
# SNMP::Info::Layer3::PacketFront
# $Id$
#
# Copyright (c) 2011 Jeroen van Ingen
# 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 copy... | 42wim/snmp-info | Info/Layer3/PacketFront.pm | Perl | bsd-3-clause | 5,860 |
#! /usr/bin/perl
use Getopt::Std;
getopts("qc:t:o:");
require $opt_c;
use File::Find;
use File::Glob;
use File::Basename;
use File::Path;
use IO::Compress::Gzip;
my $generator = "CDoc";
my $doc_type = $opt_t;
my $doc_output = $opt_o;
my $doc_quiet = $opt_q;
sub print_stdout {
if (!$doc_quiet) {
print STDOU... | NIFTi-Fraunhofer/nifti_arm | remake/doc/cdoc.pl | Perl | bsd-3-clause | 10,509 |
###########################################################################
#
# 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/hy.pod | Perl | mit | 10,871 |
package Paws::SES::DeleteConfigurationSetResponse;
use Moose;
has _request_id => (is => 'ro', isa => 'Str');
1;
### main pod documentation begin ###
=head1 NAME
Paws::SES::DeleteConfigurationSetResponse
=head1 ATTRIBUTES
=head2 _request_id => Str
=cut
| ioanrogers/aws-sdk-perl | auto-lib/Paws/SES/DeleteConfigurationSetResponse.pm | Perl | apache-2.0 | 267 |
#!/usr/bin/env perl
# Time-stamp: <2011-01-16 21:15:53 barre>
#
# Convert VTK headers to doxygen format
#
# roeim : Vetle Roeim <vetler@ifi.uio.no>
# barre : Sebastien Barre <sebastien@barre.nom.fr>
#
# 0.9 (barre) :
# - add --conds : add \cond...\endcond around public:, private:, protected:
#
# 0.83 (barre)... | cjh1/vtkmodular | Utilities/Doxygen/doc_header2doxygen.pl | Perl | bsd-3-clause | 20,567 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.