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 |
|---|---|---|---|---|---|
#
# 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/postgres/mode/backends.pm | Perl | apache-2.0 | 5,623 |
package KinoSearch1::Util::ByteBuf;
use strict;
use warnings;
use KinoSearch1::Util::ToolSet;
use base qw( KinoSearch1::Util::CClass );
1;
__END__
__H__
#ifndef H_KINOSEARCH_UTIL_BYTEBUF
#define H_KINOSEARCH_UTIL_BYTEBUF 1
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
#include "KinoSearch1UtilCarp.h"
#i... | gitpan/KinoSearch1 | lib/KinoSearch1/Util/ByteBuf.pm | Perl | apache-2.0 | 5,131 |
#
# 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 | hardware/server/hp/proliant/snmp/mode/components/fcaexternalacc.pm | Perl | apache-2.0 | 4,592 |
package Paws::CloudHSM::Tag;
use Moose;
has Key => (is => 'ro', isa => 'Str', required => 1);
has Value => (is => 'ro', isa => 'Str', required => 1);
1;
### main pod documentation begin ###
=head1 NAME
Paws::CloudHSM::Tag
=head1 USAGE
This class represents one of two things:
=head3 Arguments in a call to a ... | ioanrogers/aws-sdk-perl | auto-lib/Paws/CloudHSM/Tag.pm | Perl | apache-2.0 | 1,389 |
package AlchemyAPI_ConceptParams;
use 5.008000;
use strict;
use warnings;
require Exporter;
use AutoLoader qw(AUTOLOAD);
use base qw( AlchemyAPI_BaseParams );
use Error qw(:try);
use URI::Escape;
#our @ISA = "AlchemyAPI_BaseParams";
# Items to export into callers namespace by default. Note: do not... | AlchemyAPI/alchemyapi_perl | module/lib/AlchemyAPI_ConceptParams.pm | Perl | apache-2.0 | 3,623 |
# Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
# Copyright [2016-2018] EMBL-European Bioinformatics Institute
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a... | kiwiroy/ensembl-analysis | modules/Bio/EnsEMBL/Analysis/Tools/Otter/DBSQL/DnaAlignFeatureAdaptor.pm | Perl | apache-2.0 | 9,173 |
1;
666;
"false";
"Steve Peters, Master Of True Value Finding, was here.";
| jmcveigh/komodo-tools | scripts/perl/simulate_hostile_environments_in_your_tests/fun_true_values.pl | Perl | bsd-2-clause | 74 |
package KorAP::XML::Annotation::LWC::Dependency;
use KorAP::XML::Annotation::Base;
use strict;
use warnings;
sub parse {
my $self = shift;
# Relation data
$$self->add_tokendata(
foundry => 'lwc',
layer => 'dependency',
cb => sub {
my ($stream, $source, $tokens) = @_;
# Get MultiTermToke... | KorAP/KorAP-XML-Krill | lib/KorAP/XML/Annotation/LWC/Dependency.pm | Perl | bsd-2-clause | 3,239 |
#!/usr/bin/perl -w
use strict;
use warnings;
use utf8;
use Encode;
use IO::Socket::UNIX;
use XML::LibXML;
use vars qw($VERSION %IRSSI);
use User::pwent;
use Data::Dumper;
use Irssi::TextUI;
use IO::Handle;
use POSIX;
use Log::Log4perl qw(:easy);
#Log::Log4perl->easy_init($INFO);
my $conf = q(
log4perl.logger ... | stenbacka/irc2you | irc.clients/irssi/irc2you.pl | Perl | bsd-3-clause | 7,603 |
#!%PERL%
# Copyright (c) vhffs project and its contributors
# 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 copyright
# notice, this... | najamelan/vhffs-4.5 | vhffs-robots/src/svn.pl | Perl | bsd-3-clause | 2,223 |
#!/usr/bin/perl -w
use strict;
require LWP::UserAgent;
require HTML::Parser;
require DBI;
require CLHousingSearch;
my $SITE = "sfbay";
my $HOST = "meiwu";
my $DRIVER = "mysql";
my $USER = "cl_housing";
my $PASSWORD = "password";
my $DATABASE = "cl_housing";
my $TABLE = "posts";
my $clhs = CLHousingSearch->new();
$... | sheheitthey/CLHousingSearch | harvest.pl | Perl | bsd-3-clause | 2,065 |
package Paws::EMR::DescribeStepOutput;
use Moose;
has Step => (is => 'ro', isa => 'Paws::EMR::Step');
has _request_id => (is => 'ro', isa => 'Str');
### main pod documentation begin ###
=head1 NAME
Paws::EMR::DescribeStepOutput
=head1 ATTRIBUTES
=head2 Step => L<Paws::EMR::Step>
The step details for the ... | ioanrogers/aws-sdk-perl | auto-lib/Paws/EMR/DescribeStepOutput.pm | Perl | apache-2.0 | 385 |
# 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 ... | kidaa/lucy | perl/lib/Lucy.pod | Perl | apache-2.0 | 5,794 |
package Google::Ads::AdWords::v201406::CompetitionSearchParameter::Level;
use strict;
use warnings;
sub get_xmlns { 'https://adwords.google.com/api/adwords/o/v201406'};
# derivation by restriction
use base qw(
SOAP::WSDL::XSD::Typelib::Builtin::string);
1;
__END__
=pod
=head1 NAME
=head1 DESCRIPTION
Per... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201406/CompetitionSearchParameter/Level.pm | Perl | apache-2.0 | 1,263 |
#############################################################################
# Pod/Parser.pm -- package which defines a base class for parsing POD docs.
#
# Copyright (C) 1996-2000 by Bradford Appleton. All rights reserved.
# This file is part of "PodParser". PodParser is free software;
# you can redistribute it and/o... | operepo/ope | bin/usr/share/perl5/core_perl/Pod/Parser.pm | Perl | mit | 65,757 |
#!/usr/bin/env perl
# Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://ww... | ckongEbi/ensembl-compara | scripts/examples/mixed_getBlastAlignmentsOverlappingHomologuesWithDnaDnaAlignFeature.pl | Perl | apache-2.0 | 3,815 |
#
# 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 | apps/protocols/smtp/lib/smtp.pm | Perl | apache-2.0 | 4,376 |
## OpenXPKI::Crypto::Backend::OpenSSL::Command::get_pkcs8_keytype
## Written 2006 by Alexander Klink for the OpenXPKI project
## (C) Copyright 2006 by The OpenXPKI Project
use strict;
use warnings;
package OpenXPKI::Crypto::Backend::OpenSSL::Command::get_pkcs8_keytype;
use base qw(OpenXPKI::Crypto::Backend::OpenSSL:... | durko/openxpki | core/server/OpenXPKI/Crypto/Backend/OpenSSL/Command/get_pkcs8_keytype.pm | Perl | apache-2.0 | 2,626 |
#! /usr/bin/perl
# Merge driver - make commands for merging BWTs together
use strict;
use Getopt::Long;
my $numThreads = 1;
my $sgaBin = "sga";
my $bHelp = 0;
GetOptions("threads=i" => \$numThreads,
"bin=s" => \$sgaBin,
"help" => \$bHelp);
if($bHelp)
{
print "sga-mergeDriver.pl - generate ... | gnewton/MBB-Bio-Roll | mbb-bio/sga/SOURCES/sga-0.9.20/src/bin/sga-mergeDriver.pl | Perl | mit | 1,873 |
=pod
=head1 NAME
provider-storemgmt - The OSSL_STORE library E<lt>-E<gt> provider functions
=head1 SYNOPSIS
#include <openssl/core_dispatch.h>
/*
* None of these are actual functions, but are displayed like this for
* the function signatures for functions that are offered as function
* pointers in OSSL_DIS... | jens-maus/amissl | openssl/doc/man7/provider-storemgmt.pod | Perl | bsd-3-clause | 7,223 |
########################################################################
# Bio::KBase::ObjectAPI::KBaseGenomes::GenomeComparisonGenome - This is the moose object corresponding to the KBaseGenomes.GenomeComparisonGenome object
# Authors: Christopher Henry, Scott Devoid, Paul Frybarger
# Contact email: chenry@mcs.anl.gov... | samseaver/KBaseFBAModeling | lib/Bio/KBase/ObjectAPI/KBaseGenomes/GenomeComparisonGenome.pm | Perl | mit | 1,772 |
eval 'exec perl -wS $0 ${1+"$@"}'
if 0;
#
# $Id$
#
# Created 2010
# Author: Mike Ovsiannikov
#
# Copyright 2010 Quantcast Corp.
#
# This file is part of Kosmos File System (KFS).
#
# Licensed under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. Yo... | qnu/qfs | src/test-scripts/allocate.pl | Perl | apache-2.0 | 2,097 |
#!/usr/bin/env perl
if ($#ARGV != 2) {
print"Content-type: text/html\n\n";
die "usage: perl fnhtml.pl sys_dir log_dir fnid\n";
}
$sys_dir = $ARGV[0];
$log_dir = $ARGV[1];
$fnid = $ARGV[2];
print "Content-type: text/html\n\n";
print "<HTML>\n";
print "<HEAD>\n";
print "<TITLE> AST for Function $fnid </TITLE>... | CoryMcCartan/chapel | compiler/etc/www/fnhtml.pl | Perl | apache-2.0 | 1,271 |
package DDG::Goodie::Reverse;
# ABSTRACT: Reverse the order of chars in the remainder
use strict;
use DDG::Goodie;
triggers startend => "reverse text";
zci answer_type => "reverse";
zci is_cached => 1;
handle remainder => sub {
my $in = $_;
return unless $in; # Guard against empty query.
#Filter out req... | aleksandar-todorovic/zeroclickinfo-goodies | lib/DDG/Goodie/Reverse.pm | Perl | apache-2.0 | 682 |
use utf8;
package Schema::Result::Cachegroup;
# Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME
Schema::Result::Cachegroup
=cut
use strict;
use warnings;
use base 'DBIx::Class::Core';
=head1 TABLE: C<cachegroup>
=cut
__PACKAGE__->table("cachegroup");
=head1 ACCES... | rscrimojr/incubator-trafficcontrol | traffic_ops/app/lib/Schema/Result/Cachegroup.pm | Perl | apache-2.0 | 5,972 |
=head1 NAME
Imager::Filters - Entire Image Filtering Operations
=head1 SYNOPSIS
use Imager;
$img = ...;
$img->filter(type=>'autolevels');
$img->filter(type=>'autolevels', lsat=>0.2);
$img->filter(type=>'turbnoise')
# and lots of others
load_plugin("dynfilt/dyntest.so")
or die "unable to load pl... | Dokaponteam/ITF_Project | xampp/perl/vendor/lib/Imager/Filters.pod | Perl | mit | 20,829 |
package DDG::Spice::RedditSearch;
# ABSTRACT: Search for Reddit
use strict;
use DDG::Spice;
name "Reddit Search";
description "Search Reddit posts";
source "Reddit";
primary_example_queries "reddit baking";
category "forums";
topics "geek", "social";
code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/ma... | ppant/zeroclickinfo-spice | lib/DDG/Spice/RedditSearch.pm | Perl | apache-2.0 | 719 |
#!/usr/bin/env perl
use strict;
sub main {
my $input = do { local $/; <> };
$input =~ s/.*?\n= Commands\n//s;
$input =~ s/(.*?\n== Configuration Commands\n.*?\n)==? .*/$1/s;
my @list;
while ($input =~ s/.*?^- (.*?)(?=\n- |\n== |\z)//ms) {
my $text = $1;
$text =~ /\A(.*)\n/
... | dnmfarrell/git-hub | tool/generate-completion.pl | Perl | mit | 692 |
package IO::Compress::Deflate ;
require 5.006 ;
use strict ;
use warnings;
use bytes;
require Exporter ;
use IO::Compress::RawDeflate 2.069 ();
use IO::Compress::Adapter::Deflate 2.069 ;
use IO::Compress::Zlib::Constants 2.069 ;
use IO::Compress::Base::Common 2.069 qw();
our ($VERSION, @ISA, @EXPORT_OK, %EXPORT... | rosiro/wasarabi | local/lib/perl5/x86_64-linux-thread-multi/IO/Compress/Deflate.pm | Perl | mit | 23,640 |
#!/usr/bin/env perl
########################################################################
# Authors: Christopher Henry, Scott Devoid, Paul Frybarger
# Contact email: chenry@mcs.anl.gov
# Development location: Mathematics and Computer Science Division, Argonne National Lab
############################################... | kbase/KBaseFBAModeling | scripts/fba-gapfill.pl | Perl | mit | 10,804 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% A Learning Engine for Proposing Hypotheses %
% %
% A L E P H %
% Version 5 (... | TeamSPoon/logicmoo_workspace | packs_lib/aleph/prolog/aleph.pl | Perl | mit | 368,896 |
use strict;
use Irssi;
use vars qw($VERSION %IRSSI);
use MIME::Base64;
use Authen::SASL "Perl";
$VERSION = "1.1";
%IRSSI = (
authors => ['Mantas Mikulėnas',
'Michael Tharp',
'Jilles Tjoelker'],
contact => ['grawity@gmail.com',
'gxti@partiallystapled.com'],
name => 'cap_authe... | grawity/hacks | irc/irssi/cap_authen_sasl.pl | Perl | mit | 7,455 |
# This file is auto-generated by the Perl DateTime Suite time zone
# code generator (0.07) This code generator comes with the
# DateTime::TimeZone module distribution in the tools/ directory
#
# Generated from /tmp/Q713JNUf8G/asia. Olson data version 2016a
#
# Do not edit this file directly.
#
package DateTime::TimeZ... | jkb78/extrajnm | local/lib/perl5/DateTime/TimeZone/Asia/Ashgabat.pm | Perl | mit | 7,405 |
% Autor: Jan Bartels, Patrick Steinhauer
% Datum: 22.03.2016
transportiere(1, Von, _, Nach) :-
write('Bringe eine Scheibe von '), write(Von), write(' nach '), write(Nach), write(.), nl.
transportiere(AnzahlScheiben, Anfang, Mitte, Ende) :-
AnzahlScheiben > 1,
ObereScheiben is AnzahlScheiben - 1,
write('@ '),... | Blackgen/HAW-IS | Aufgabe 1/Hanoi.pl | Perl | mit | 492 |
#!/usr/bin/perl
print<<1;
Content-type:text/html\n\n
<html>
<body>
<table cellpadding=5 border=1>
<tr>
<th>ENV_VARIABLES</th>
<th>VALUE</th>
</tr>
1
foreach $i (sort keys %ENV)
{
print "<tr><td>$i</td><td>$ENV{$i}</td></tr>";
}
print "</table></body></html>";
| KarthikNayak/VTU | CSE/7thSem/web-lab/5/5a.pl | Perl | mit | 287 |
#!/usr/bin/env perl
#---------------------------------------------------------------------------------------------------
# This script will create a new gallery taking photos with their full resolution and scaling them
# down to an acceptable level for reasonably fast presentation per web browser.
#
#------------------... | cpausmit/Config | bin/photos/createGallery.pl | Perl | mit | 2,890 |
=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/SchemaConversion.pm | Perl | apache-2.0 | 11,670 |
## Configuration file for the Epo Low Coverage pipeline
package Bio::EnsEMBL::Compara::PipeConfig::EpoLowCoverage_conf;
use strict;
use warnings;
use base ('Bio::EnsEMBL::Compara::PipeConfig::ComparaGeneric_conf'); # All Hive databases configuration files should inherit from HiveGeneric, directly or indirectly
sub ... | adamsardar/perl-libs-custom | EnsemblAPI/ensembl-compara/modules/Bio/EnsEMBL/Compara/PipeConfig/EpoLowCoverage_conf.pm | Perl | apache-2.0 | 15,887 |
package AcdWideWeb::Main;
use Mojo::Base 'Mojolicious::Controller';
sub welcome {
my $self = shift;
# Render template "example/welcome.html.ep" with message
$self->render(
message => 'Welcome to the Mojolicious real-time web framework!'),
}
1;
| ivanoff/ACDwide | opt/ACDwide/web/lib/AcdWideWeb/Main.pm | Perl | apache-2.0 | 257 |
=head1 LICENSE
# 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.
# ... | Ensembl/ensembl-analysis | modules/Bio/EnsEMBL/Analysis/Hive/RunnableDB/HiveLincRNAFinder.pm | Perl | apache-2.0 | 6,326 |
use Bio::DB::Sam;
use strict;
# Copyright {2015} Yuxiang Tan
#
# 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 require... | yuxiangtan/QueryFuse | QueryFuse_v1/split_bam.file.no_sec_align.pl | Perl | apache-2.0 | 2,961 |
#
# Copyright 2019 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | Sims24/centreon-plugins | centreon/common/fortinet/fortigate/mode/signatures.pm | Perl | apache-2.0 | 6,090 |
package Paws::SimpleWorkflow::RespondDecisionTaskCompleted;
use Moose;
has Decisions => (is => 'ro', isa => 'ArrayRef[Paws::SimpleWorkflow::Decision]', traits => ['NameInRequest'], request_name => 'decisions' );
has ExecutionContext => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'exec... | ioanrogers/aws-sdk-perl | auto-lib/Paws/SimpleWorkflow/RespondDecisionTaskCompleted.pm | Perl | apache-2.0 | 2,603 |
package Google::Ads::AdWords::v201809::AssetPage;
use strict;
use warnings;
__PACKAGE__->_set_element_form_qualified(1);
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201809' };
our $XML_ATTRIBUTE_CLASS;
undef $XML_ATTRIBUTE_CLASS;
sub __get_attr_class {
return $XML_ATTRIBUTE_CLASS;
}
use base ... | googleads/googleads-perl-lib | lib/Google/Ads/AdWords/v201809/AssetPage.pm | Perl | apache-2.0 | 1,869 |
=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/Utils/BaseVepTabixPlugin.pm | Perl | apache-2.0 | 11,496 |
=head1 LICENSE
Copyright (c) 1999-2011 The European Bioinformatics Institute and
Genome Research Limited. All rights reserved.
This software is distributed under a modified Apache license.
For license details, please see
http://www.ensembl.org/info/about/code_licence.html
=head1 CONTACT
Please emai... | adamsardar/perl-libs-custom | EnsemblAPI/ensembl-functgenomics/modules/Bio/EnsEMBL/Funcgen/Importer.pm | Perl | apache-2.0 | 85,382 |
#
# 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/dlink/dgs3100/snmp/mode/components/fan.pm | Perl | apache-2.0 | 3,029 |
package Paws::Greengrass::UpdateLoggerDefinition;
use Moose;
has LoggerDefinitionId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'LoggerDefinitionId', required => 1);
has Name => (is => 'ro', isa => 'Str');
use MooseX::ClassAttribute;
class_has _api_call => (isa => 'Str', is => 'ro',... | ioanrogers/aws-sdk-perl | auto-lib/Paws/Greengrass/UpdateLoggerDefinition.pm | Perl | apache-2.0 | 2,031 |
:- module(assrt_synchk,
[
],
[assertions]).
:- comment(title,"Simple syntax checking of code and assertions").
:- comment(module,"
@cindex{checking syntax of code}
@cindex{checking syntax of assertions}
This module defines some predicates which are useful for checking the
syntax of the code and assertions in a ... | leuschel/ecce | www/CiaoDE/ciao/lib/assertions/assrt_synchk.pl | Perl | apache-2.0 | 994 |
use strict;
| Litres/FB3Editor | Backend/perl/fb3edit.pl | Perl | bsd-2-clause | 13 |
#!/usr/bin/perl -w
#
# handlertree.pl
# ~~~~~~~~~~~~~~
# A tool for post-processing the debug output generated by Asio-based programs
# to print the tree of handlers that resulted in some specified handler ids.
# Programs write this output to the standard error stream when compiled with
# the define `BOOST_ASIO_ENABLE_... | stan-dev/math | lib/boost_1.75.0/libs/asio/tools/handlertree.pl | Perl | bsd-3-clause | 3,615 |
# Functions for reading and writing autoreply files
# read_autoreply(file, &simple)
# Fills in the autoreply parts of a simple alias structure from a file
sub read_autoreply
{
local ($file, $simple) = @_;
local @lines;
open(FILE, $file);
while(<FILE>) {
if (/^Reply-Tracking:\s*(.*)/) {
$simple->{'replies'} = $1;
... | xtso520ok/webmin | filter/autoreply-file-lib.pl | Perl | bsd-3-clause | 2,180 |
#!/usr/bin/perl -w
#
# This program makes use of the JSDoc module to make a JavaDoc equivalent
# for JavaScript. The template that is used is based on the JavaDoc
# doclet. This program only needs to be invoked with one or more
# JS OO sourcefiles as command-line args.
#
use strict;
use HTML::Template;
use File::Cop... | dermidgen/sjl | lib/jsdoc/jsdoc.pl | Perl | bsd-3-clause | 54,465 |
# please insert nothing before this line: -*- mode: cperl; cperl-indent-level: 4; cperl-continued-statement-offset: 4; indent-tabs-mode: nil -*-
package TestCommon::Utils;
use strict;
use warnings FATAL => 'all';
use APR::Brigade ();
use APR::Bucket ();
use Apache2::Filter ();
use Apache2::Connection ();
use Apache2... | dreamhost/dpkg-ndn-perl-mod-perl | t/lib/TestCommon/Utils.pm | Perl | apache-2.0 | 2,391 |
#!/usr/bin/perl
$ENV{'PATH'} = '/bin:/usr/bin:/usr/local/bin';
#####################################
# make a circular plasmid image file
#####################################
my $location = $ARGV[0];
chdir($location);
my $dateID = $ARGV[1];
my $file = $ARGV[2]; # cirdna.txt
system("cp $file cirdna.cirp");
my $pla... | LivingComputingProject/cello | resources/scripts/make_cirdna_plasmid.pl | Perl | bsd-2-clause | 1,100 |
package TownCrier::Handler::Admin;
use TownCrier::Handler::Admin::Event;
1;
| robn/towncrier | lib/TownCrier/Handler/Admin.pm | Perl | mit | 78 |
#/usr/bin/perl
use strict;
use warnings;
use lib './libs/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi';
use Digest::SHA1 qw(sha1 sha1_hex sha1_base64);
sub getXMLText
{
my $tempDirPath = $_[0];
my $pdfFilePath = $_[1];
my $captionMapsDir = $tempDirPath."/CaptionMaps/";
my $synDirPath = $tempDirPath... | SeerLabs/PDFMEF | resources/algextract/perl/AlgoXmlGenerator.pl | Perl | apache-2.0 | 3,140 |
#-----------------------------------------------------------
# ntusernetwork.pl
# Plugin for Registry Ripper,
# Network key parser
#
#-----------------------------------------------------------
package ntusernetwork;
use strict;
my %config = (hive => "NTUSER\.DAT",
hasShortDescr => 1,
... | dgrove727/autopsy | thirdparty/rr-full/plugins/ntusernetwork.pl | Perl | apache-2.0 | 1,679 |
#!/usr/bin/perl -wT
# flush the buffers after each print
select (STDOUT);
$| = 1;
print "Content-Type: image/svg+xml\r\n";
print "Expires: Thu, 01 Dec 2003 16:00:00 GMT\r\n";
print "Cache-Control: no-store, no-cache, must-revalidate\r\n";
print "Pragma: no-cache\r\n";
print "\r\n";
sleep 2;
open(FILE, "intrinsic-ra... | nwjs/chromium.src | third_party/blink/web_tests/http/tests/misc/resources/intrinsic-ratio-slow.pl | Perl | bsd-3-clause | 375 |
#!/opt/ActivePerl-5.22/bin/perl
use 5.022;
{
package Prototype;
use Moose::Role;
requires 'Clone';
requires 'Hello'
}
{
package ConcretePrototype1;
use Moose;
use Clone 'clone';
with 'Prototype';
use namespace::autoclean;
sub Clone {
my $self = shift;
... | jmcveigh/perl-design-patterns | CreationalPatterns/PrototypePattern.pl | Perl | mit | 844 |
#voeg toe in vorige oplossin
foreach $nsheet (in $book->{Worksheets}){
$range=$nsheet->{UsedRange};
printf "\n\t%-30s heeft %3d kolommen en %3d rijen\n",$nsheet->{name},$range->{columns}->{count},$range->{rows}->{count} ;
}
| VDBBjorn/Besturingssystemen-III | Labo/reeks2/Reeks2_03.pl | Perl | mit | 234 |
/* Part of SWI-Prolog
Author: Matt Lilley
E-mail: matt.s.lilley@gmail.com
WWW: http://www.swi-prolog.org
Copyright (c) 2014, Mike Elston, Matt Lilley
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitte... | TeamSPoon/logicmoo_workspace | docker/rootfs/usr/local/lib/swipl/library/cql/sql_keywords.pl | Perl | mit | 8,858 |
% Adapted from LP/SGST06/times.pl
% terminating
%query: times(i,i,o).
times(X,Y,Z) :- mult(X,Y,0,Z).
mult(0,Y,0,Z) :- !, eq(Z,0).
mult(s(X),Y,0,Z) :- !, mult(X,Y,Y,Z).
mult(X,Y,W,s(Z)) :- p(W,P), mult(X,Y,P,Z).
p(0,0).
p(s(X),X).
eq(X,X).
| ComputationWithBoundedResources/ara-inference | doc/tpdb_trs/Logic_Programming_with_Cut/Stroeder_09/times1.pl | Perl | mit | 257 |
#
# Just a few database utils. Not OO. Only thing that has state is a database
# handle. Please never use this for anything other than this thrown together
# project.
#
package YtrmvcLite::Database;
use strict;
use warnings;
use parent 'Exporter';
use YtrmvcLite::Strings;
our @EXPORT = (
qw(table_exists get_autoi... | marlencrabapple/YtrmvcLite | Database.pm | Perl | mit | 1,923 |
use Win32::OLE 'in';
use Win32::OLE::Const 'Microsoft WMI Scripting ';
my $ComputerName = ".";
my $NameSpace = "root/cimv2";
#my $NameSpace = "root/msapps12";
my $ClassName = "";
#my $ClassName = "__EventGenerator"; #om snel te testen
my $Level=($ClassName ? -1 : -2);
my $Locator=Win32::OLE->new("WbemScripting.SWbem... | VDBBjorn/Besturingssystemen-III | Labo/reeks4/Reeks4_24.pl | Perl | mit | 783 |
package Artemis::Item;
use strict;
use warnings;
use Carp qw(confess cluck);
use Class::Method::Modifiers;
use Role::Tiny::With;
with qw(
Artemis::Role::Domain
Artemis::Role::Model
);
sub columns { qw(id type subtype name cost) }
sub cost {
my $self = shift;
$self->{'cost'} ||= '0 gp';
}
1;
__END_... | jgoodman/Artemis | lib/Artemis/Item.pm | Perl | mit | 380 |
package Util;
=head1 DESCRIPTION
This package includes various utility subroutines.
=head1 SYNOPSIS
=head1 AUTHOR
Xuning Wang
=cut
use strict;
use Carp qw(carp croak);
use Excel::Writer::XLSX;
=head2 tab2xlsx
Usage : Util::tab2xlsx($tabfile, $outfile)
Function: Generate Excel file from tab-separated file... | pinetree1/crispr-dav | Modules/Util.pm | Perl | mit | 4,250 |
#!/usr/bin/perl -w
$factor0 = 6;
$factor1 = 7;
print $factor0 * $factor1, "\n";
| oringal/ass1_cs2041 | 1/answer4.pl | Perl | mit | 80 |
#!/usr/bin/env perl
=head1 NAME
AddTissueSampleCvterm
=head1 SYNOPSIS
mx-runAddTissueSampleCvterm [options] -H hostname -D dbname -u username [-F]
this is a subclass of L<CXGN::Metadata::Dbpatch>
see the perldoc of parent class for more details.
=head1 DESCRIPTION
This patch adds stock)type cvterm for tissue sa... | solgenomics/sgn | db/00090/AddTissueSampleCvterm.pm | Perl | mit | 1,703 |
=pod
=head1 NAME
openssl-sess_id,
sess_id - SSL/TLS session handling utility
=head1 SYNOPSIS
B<openssl> B<sess_id>
[B<-help>]
[B<-inform PEM|DER>]
[B<-outform PEM|DER|NSS>]
[B<-in filename>]
[B<-out filename>]
[B<-text>]
[B<-noout>]
[B<-context ID>]
=head1 DESCRIPTION
The B<sess_id> process the encoded version of... | pmq20/ruby-compiler | vendor/openssl/doc/man1/sess_id.pod | Perl | mit | 4,179 |
name(logicmoo_nars).
version('2.0.3').
title('Narsese: Like OpenNARS in Prolog').
keywords([nars,ai,agi,chatbot,interpeters]).
author( 'Douglas Miles', 'http://www.linkedin.com/in/logicmoo' ).
packager( 'logicmoo/LogicMoo', 'https://github.com/logicmoo/' ).
maintainer( 'logicmoo', 'https://github.com/logicmoo/' ).
home... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nars/pack.pl | Perl | mit | 483 |
/* Part of SWI-Prolog
Author: Jan Wielemaker
E-mail: J.Wielemaker@vu.nl
WWW: http://www.swi-prolog.org
Copyright (c) 2016, VU University Amsterdam
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted p... | TeamSPoon/logicmoo_workspace | docker/rootfs/usr/local/lib/swipl/library/hash_stream.pl | Perl | mit | 4,787 |
package GAL::List::Numeric;
use strict;
use vars qw($VERSION);
$VERSION = 0.2.0;
use base qw(GAL::List);
use Statistics::Descriptive;
=head1 NAME
GAL::List::Numeric - Provide functions for lists of numbers
=head1 VERSION
This document describes GAL::List::Numeric version 0.2.0
=head1 SYNOPSIS
use GAL::List... | 4ureliek/TEanalysis | Lib/GAL/List/Numeric.pm | Perl | mit | 17,045 |
#!perl
use strict;
use warnings;
use constant DAT_DIR => 'csv/';
use constant OUT_DIR => 'idx/';
use Text::CSV;
my $csv = Text::CSV->new();
my @files;
{
opendir (DAT, DAT_DIR) or die "can't open: ", DAT_DIR, ":$!";
@files = map DAT_DIR. $_, grep /\.csv$/, readdir(DAT);
}
# generate wordlist
my %words;
my %tw... | yxes/Capstone | data/perl/index.pl | Perl | mit | 1,256 |
# PerlModule
use strict;
use Perl::Module;
use Error::Programatic;
use Error::Logical;
use Data::UUID;
use Data::Hub qw($Hub);
use Data::Hub::Util qw(:all);
use Data::OrderedHash;
our $UG = Data::UUID->new();
our $TYPE_AUTO = 'auto';
our $TYPE_CATEGORY = 'category';
our $TYPE_WEBPAGE = 'webpage';
sub ACCESS {
my $u... | ryangies/lsn-lime | src/share/web/ext/sitemap/module.pm | Perl | mit | 7,379 |
#!/usr/bin/perl
## this script reads an -m 8 blast file and prints the requested field (0,1,2,...)
## usage: perl m8_seqid.pl <input blast file> <field number>
## splits input file using \t (whitespace: tab only)
my $field;
$field = $ARGV[1];
open(IN, $ARGV[0]) or die "cannot open file $ARGV[0]\n";
while ($line =... | cuttlefishh/papers | cyanophage-light-dark-transcriptomics/code/m8_tab.pl | Perl | mit | 432 |
# PODNAME: Pod::WikiDoc::Cookbook
# ABSTRACT: Examples of Pod::WikiDoc usage
our $VERSION = '0.20'; # VERSION
__END__
=pod
=head1 NAME
Pod::WikiDoc::Cookbook - Examples of Pod::WikiDoc usage
=head1 VERSION
version 0.20
=head1 DESCRIPTION
This file contains some examples of ways to use L<Pod::WikiDoc>
or to inte... | gitpan/Pod-WikiDoc | lib/Pod/WikiDoc/Cookbook.pod | Perl | apache-2.0 | 4,775 |
# Copyright 2012 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.amazon.com/apache2.0/
#
# or in the "LICENSE" file ... | nativetouch/ansible-aws-metrics | files/usr/local/aws-scripts-mon/AwsSignatureV4.pm | Perl | apache-2.0 | 17,041 |
#!/usr/bin/perl
# Creates an md5 hash of an directory tree
# Version of this script
my $version = "2.0.2.1";
use warnings;
use strict;
use LoxBerry::System;
use File::Find::Rule;
use Getopt::Long;
use Digest::MD5;
my $basepath = ".";
my $filename;
my $comparemd5;
my $verbose;
GetOptions (
"path=s" => \$basepath... | mschlenstedt/Loxberry | bin/dirtree_md5.pl | Perl | apache-2.0 | 1,694 |
#!C:/Trainings/Softwares/ActivePerl64/bin/perl.exe
print "<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">";
print "<html>";
print "<head>";
print "<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">";
print "<title>Loans Public Page</title... | Illusionist80/SpringTutorial | SpringChapter0/CGIPerlSample/WebContent/htdocs/loans.pl | Perl | apache-2.0 | 565 |
package Bio::BioVeL::AsynchronousService::Mock;
use strict;
use warnings;
use Bio::BioVeL::AsynchronousService;
use base 'Bio::BioVeL::AsynchronousService';
=head1 NAME
Bio::BioVeL::AsynchronousService::Mock - example asynchronous service
=head1 DESCRIPTION
This dummy service runs the 'sleep' shell command for the ... | naturalis/biovel-nbc | lib/Bio/BioVeL/AsynchronousService/Mock.pm | Perl | apache-2.0 | 1,189 |
#!/usr/bin/perl
# License: http://www.apache.org/licenses/LICENSE-2.0.txt
use strict;
use CGI;
use CGI::Carp qw(fatalsToBrowser);
use GD::Simple;
my ( $in, $percent );
my ( $nickname, $doel, $donaties, $toezeggingen, $titel, $subtitel, $intro, $img);
my $query = CGI::new();
my $nick = $query->param("nick");
$nick = ... | seccubus/ad6bergjes | alpe_email.pl | Perl | apache-2.0 | 3,999 |
package ReseqTrack::Hive::PipeSeed::RunMergeSeed;
use strict;
use warnings;
use base ('ReseqTrack::Hive::PipeSeed::BasePipeSeed');
use ReseqTrack::Tools::Exception qw(throw);
use Exporter qw( import );
our @EXPORT_OK = qw( _check_exp_attribute );
sub create_seed_params {
my ($self) = @_;
my $options = $self->opt... | EMBL-EBI-GCA/bp_project | lib/ReseqTrack/Hive/PipeSeed/RunMergeSeed.pm | Perl | apache-2.0 | 11,890 |
#
# 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/netapp/restapi/mode/fcportstatus.pm | Perl | apache-2.0 | 6,374 |
=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/Pecan.pm | Perl | apache-2.0 | 10,273 |
#!/usr/bin/env perl
=head1 LICENSE
Copyright (c) 1999-2011 The European Bioinformatics Institute and
Genome Research Limited. All rights reserved.
This software is distributed under a modified Apache license.
For license details, please see
http://www.ensembl.org/info/about/code_licence.html
=head1 C... | adamsardar/perl-libs-custom | EnsemblAPI/ensembl-functgenomics/scripts/pipeline/create_input_ids.pl | Perl | apache-2.0 | 11,778 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2021] EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obta... | Ensembl/ensembl-variation | modules/Bio/EnsEMBL/Variation/Utils/DbNSFPProteinFunctionAnnotation.pm | Perl | apache-2.0 | 9,576 |
package Google::Ads::AdWords::v201809::CampaignFeed::Status;
use strict;
use warnings;
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201809'};
# derivation by restriction
use base qw(
SOAP::WSDL::XSD::Typelib::Builtin::string);
1;
__END__
=pod
=head1 NAME
=head1 DESCRIPTION
Perl data type ... | googleads/googleads-perl-lib | lib/Google/Ads/AdWords/v201809/CampaignFeed/Status.pm | Perl | apache-2.0 | 1,105 |
#
# Copyright 2022 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | centreon/centreon-plugins | storage/hp/eva/cli/mode/components/diskgrp.pm | Perl | apache-2.0 | 2,415 |
package Paws::DMS::DeleteReplicationSubnetGroup;
use Moose;
has ReplicationSubnetGroupIdentifier => (is => 'ro', isa => 'Str', required => 1);
use MooseX::ClassAttribute;
class_has _api_call => (isa => 'Str', is => 'ro', default => 'DeleteReplicationSubnetGroup');
class_has _returns => (isa => 'Str', is =>... | ioanrogers/aws-sdk-perl | auto-lib/Paws/DMS/DeleteReplicationSubnetGroup.pm | Perl | apache-2.0 | 1,789 |
package VMOMI::HostPortGroup;
use parent 'VMOMI::DynamicData';
use strict;
use warnings;
our @class_ancestors = (
'DynamicData',
);
our @class_members = (
['key', undef, 0, 1],
['port', 'HostPortGroupPort', 1, 1],
['vswitch', undef, 0, 1],
['computedPolicy', 'HostNetworkPolicy', 0, ],
['spe... | stumpr/p5-vmomi | lib/VMOMI/HostPortGroup.pm | Perl | apache-2.0 | 571 |
x_and_y_offsets(37, 2).
| leuschel/ecce | www/CiaoDE/ciao/lib/compiler/emulator_data.pl | Perl | apache-2.0 | 24 |
package VMOMI::VmPoweringOnWithCustomizedDVPortEvent;
use parent 'VMOMI::VmEvent';
use strict;
use warnings;
our @class_ancestors = (
'VmEvent',
'Event',
'DynamicData',
);
our @class_members = (
['vnic', 'VnicPortArgument', 1, ],
);
sub get_class_ancestors {
return @class_ancestors;
}
sub get... | stumpr/p5-vmomi | lib/VMOMI/VmPoweringOnWithCustomizedDVPortEvent.pm | Perl | apache-2.0 | 471 |
package Error::Pure::Bio;
# Pragmas.
use base qw(Exporter);
use strict;
use warnings;
# Modules.
use Error::Pure::Utils qw(err_helper);
use Error::Pure::Output::Bio qw(err_bio);
use List::MoreUtils qw(none);
use Readonly;
# Constants.
Readonly::Array our @EXPORT_OK => qw(err);
Readonly::Scalar my $EVAL => 'eval {...... | tupinek/Error-Pure-Bio | Bio.pm | Perl | bsd-2-clause | 842 |
# Contains a function to supply the syslog module with extra logs
do 'squid-lib.pl';
# syslog_getlogs()
# Returns the Squid cache and store logs
sub syslog_getlogs
{
local @rv;
if (-d $config{'log_dir'}) {
push(@rv, { 'file' => "$config{'log_dir'}/cache.log",
'desc' => $text{'syslog_cache'},
'active' => ... | xtso520ok/webmin | squid/syslog_logs.pl | Perl | bsd-3-clause | 462 |
#!/usr/bin/env perl
use strict;
use warnings;
use Data::Dumper;
use Algorithm::Permute;
use File::Slurp qw/read_file/;
my @data = read_file('input');
my %conn;
foreach my $line (@data) {
chomp $line;
my ($from, $to, $dist) = $line =~ m/^(\w+) to (\w+) = (\d+)$/;
$conn{$from}{$to} = $dist;
$conn{$to}{$from} = $d... | Aneurysm9/advent | 2015/day9/day9.pl | Perl | bsd-3-clause | 694 |
#!/usr/bin/perl
use strict;
use warnings;
use LWP::Simple qw(get $ua);
# WPEngine does not allow LWP::Simple clients
$ua->agent("Mozilla/0.1");
our $VERSION = '0.01';
#my $content = get('http://dev.maxmind.com/static/maxmind-region-codes.csv');
my $content = get('http://dev.maxmind.com/static/csv/codes/maxmind/regio... | ishmaelthedestroyer/noSeed | node_modules/geoip/deps/geoip-api-c-1.6.0/regioncode/update-region-codes.pl | Perl | mit | 1,933 |
# Copyright 2012, Google Inc. 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.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/SOAP/Generator/TypemapVisitor.pm | Perl | apache-2.0 | 5,299 |
package #
Date::Manip::TZ::ansyow00;
# 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/ansyow00.pm | Perl | bsd-2-clause | 1,277 |
use 5.008;
package fields;
require 5.005;
use strict;
no strict 'refs';
unless( eval q{require warnings::register; warnings::register->import; 1} ) {
*warnings::warnif = sub {
require Carp;
Carp::carp(@_);
}
}
use vars qw(%attr $VERSION);
$VERSION = '2.23';
$VERSION =~ tr/_//d;
# constant.pm ... | operepo/ope | bin/usr/share/perl5/core_perl/fields.pm | Perl | mit | 9,488 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.