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 |
|---|---|---|---|---|---|
#!/usr/bin/perl
use LWP::Simple;
$url = @ARGV[0];
$res = get($url);
if (defined $res) {
print $res;
} else {
exit -1;
} | orangetw/Tiny-URL-Fuzzer | bin/requester/get.pl | Perl | mit | 128 |
package Google::Ads::AdWords::v201809::CampaignGroupPerformanceTargetPage;
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_ATTRI... | googleads/googleads-perl-lib | lib/Google/Ads/AdWords/v201809/CampaignGroupPerformanceTargetPage.pm | Perl | apache-2.0 | 2,034 |
#!/usr/bin/perl
use LoxBerry::Log;
use strict;
use warnings;
print "\nTest Notification\n";
print "=================\n";
print "Documentation of notify for Perl: http://www.loxwiki.eu:80/x/eQd7AQ\n\n";
print "All tests are using package 'test' and groupname 'testing'\n\n";
print "Notification directory is: " . $LoxBer... | mschlenstedt/Loxberry | libs/perllib/LoxBerry/testing/testnotify.pl | Perl | apache-2.0 | 2,384 |
#
# 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 | network/extreme/snmp/mode/memory.pm | Perl | apache-2.0 | 5,872 |
#!/usr/bin/env perl
use warnings;
use Getopt::Long;
$use = "g2sdf.pl [-outAll|-outAllJobs|-outOptimized|-outFinal|-outE E] [-calcDeltaE] gau.out... >out.sdf\n"
." Default is -outFinal\n"
." -outE Search and output only record with the exact string-match energy\n"
." -outFinal Ouput the final gemoet... | chemalot/chemalot | bin/g2sdf.pl | Perl | apache-2.0 | 7,551 |
#
# Copyright 2019 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | Sims24/centreon-plugins | apps/mq/rabbitmq/restapi/mode/listqueues.pm | Perl | apache-2.0 | 2,539 |
package Paws::IoTData::UpdateThingShadow;
use Moose;
has Payload => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'payload', required => 1);
has ThingName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'thingName', required => 1);
use MooseX::ClassAttribute;
cl... | ioanrogers/aws-sdk-perl | auto-lib/Paws/IoTData/UpdateThingShadow.pm | Perl | apache-2.0 | 2,090 |
:- use_module(library(http/thread_httpd)).
:- use_module(library(http/http_dispatch)).
:- use_module(library(http/http_error)).
:- use_module(library(http/html_write)).
:- use_module(library(http/http_parameters)).
:- ensure_loaded("../algorithm/memorization").
:- ensure_loaded("../data/entries").
:- ensure_loaded("../... | JustAnotherSoul/01 | server/web_server.pl | Perl | apache-2.0 | 6,850 |
=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-production | modules/Bio/EnsEMBL/Production/Pipeline/PipeConfig/CopyDatabase_conf.pm | Perl | apache-2.0 | 1,894 |
package receptor_model.pm;
sub make_model{#consecutive output as inputs
my $modeller_inp1=$ncore."_salign.py";
my $modeller_inp2=$ncore."_align2d_mult.py";
my $modeller_inp3=$ncore."_model_mult.py";
my $modeller_inp4=$ncore."_evaluate_model.py";
my $modeller_inp5=$ncore."_plot_profiles.py";
`python $modeller_inp1`; ... | wjurkowski/tmdrug | modules/obsolete/receptor_model2.pm | Perl | apache-2.0 | 14,182 |
#!/usr/bin/env perl
=head1 NAME
make_input_ids.pl
=head1 SYNOPSIS
make_input_ids.pl -p_host ecs1a -p_user user -p_pass **** -p_name pipe_mouse -set chr12-03
=head1 DESCRIPTION
This script allows to prime the pipeline database with the input_ids of the seq_region name(s) provided.
If no values are provided for t... | Ensembl/ensembl-pipeline | scripts/Finished/make_input_ids.pl | Perl | apache-2.0 | 4,840 |
# Copyright (c) 2016 Timm Murray
# 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,
# this list of conditio... | frezik/SQL-Functional | lib/SQL/Functional/InsertClause.pm | Perl | bsd-2-clause | 2,316 |
#!/usr/bin/perl
use 5.010;
use warnings;
use strict;
my $exit = 0;
my $out = `./rosalind-iev 1 0 0 1 0 1`;
$exit++ if $out ne "3.5\n";
$out = `./rosalind-iev 17694 17964 19355 18338 19724 16114`;
$exit++ if $out ne "157257\n";
$out = `./rosalind-iev 19693 17215 19087 19450 18998 18989`;
$exit++ if $out ne "160163\n";... | mikeyhc/rosalind | iev/t/01_default.pl | Perl | bsd-3-clause | 897 |
package HTTP2::Draft::Framer;
use 5.008;
use strict;
use warnings FATAL => 'all';
use HTTP2::Draft::FrameStream;
use HTTP2::Draft::Frame qw ( :frames :settings :errors );
use strict;
use warnings;
use IO::Async::SSL;
use Data::Dumper;
use HTTP2::Draft;
use HTTP2::Draft::Log qw( $log );
=head1 NAME
HTTP2::Draft:... | sludin/http2-perl | lib/HTTP2/Draft/Framer.pm | Perl | bsd-3-clause | 8,140 |
%:- if(( ( \+ ((current_prolog_flag(logicmoo_include,Call),Call))) )).
:- module(mpred_pttp_static,[]).
%:- endif.
:- ensure_loaded(library(pfc_lib)).
:- ensure_loaded(library('pfc2.0'/'mpred_header.pi')).
:- '$set_source_module'(baseKB).
:-
%swi_module(mpred_pttp_statics,[
% pttp1/2,
op(400,fy,-), % ... | TeamSPoon/logicmoo_base | prolog/logicmoo/pttp/dbase_i_mpred_pttp_statics.pl | Perl | mit | 43,363 |
#------------------------------------------------------------------------------
# File: Audible.pm
#
# Description: Read metadata from Audible audio books
#
# Revisions: 2015/04/05 - P. Harvey Created
#
# References: 1) https://github.com/jteeuwen/audible
# 2) https://code.google.com/p/pyaud... | philmoz/Focus-Points | focuspoints.lrdevplugin/bin/exiftool/lib/Image/ExifTool/Audible.pm | Perl | apache-2.0 | 11,796 |
package Google::Ads::AdWords::v201406::SharedSetService::ResponseHeader;
use strict;
use warnings;
{ # BLOCK to scope variables
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201406' }
__PACKAGE__->__set_name('ResponseHeader');
__PACKAGE__->__set_nillable();
__PACKAGE__->__set_minOccurs();
__PACKAGE__-... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201406/SharedSetService/ResponseHeader.pm | Perl | apache-2.0 | 1,044 |
package Google::Ads::AdWords::v201409::ConversionTrackerService::ResponseHeader;
use strict;
use warnings;
{ # BLOCK to scope variables
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201409' }
__PACKAGE__->__set_name('ResponseHeader');
__PACKAGE__->__set_nillable();
__PACKAGE__->__set_minOccurs();
__PA... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201409/ConversionTrackerService/ResponseHeader.pm | Perl | apache-2.0 | 1,068 |
package DDG::Spice::SeatGeek::EventsByCity;
# ABSTRACT: Returns upcoming concerts in a city
use strict;
use DDG::Spice;
triggers start =>
'upcoming concert in',
'upcoming concerts in',
'concerts in',
'live in',
'live shows in',
'shows in',
'gigs in';
spice proxy_cache_valid => "200 304 12... | sagarhani/zeroclickinfo-spice | lib/DDG/Spice/SeatGeek/EventsByCity.pm | Perl | apache-2.0 | 691 |
##**************************************************************
##
## Copyright (C) 1990-2011, Condor Team, Computer Sciences Department,
## University of Wisconsin-Madison, WI.
##
## Licensed under the Apache License, Version 2.0 (the "License"); you
## may not use this file except in compliance with the License. Yo... | neurodebian/htcondor | src/condor_scripts/CondorPersonal.pm | Perl | apache-2.0 | 63,103 |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by lib/unicore/mktables from the Unicode
# database, Version 6.2.0. Any changes made here will be lost!
# !!!!!!! INTERNAL PERL USE ONLY !!!!!!!
# This file is for internal use by core Perl only. The format and even the
# name or existe... | Bjay1435/capstone | rootfs/usr/share/perl/5.18.2/unicore/To/Scx.pl | Perl | mit | 15,009 |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by lib/unicore/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 existe... | efortuna/AndroidSDKClone | ndk_experimental/prebuilt/linux-x86_64/lib/perl5/5.16.2/unicore/lib/Perl/Blank.pl | Perl | apache-2.0 | 489 |
package Module::Build::PodParser;
use strict;
use vars qw($VERSION);
$VERSION = '0.4003';
$VERSION = eval $VERSION;
use vars qw(@ISA);
sub new {
# Perl is so fun.
my $package = shift;
my $self;
@ISA = ();
$self = bless {have_pod_parser => 0, @_}, $package;
unless ($self->{fh}) {
die "No 'file' or 'f... | Dokaponteam/ITF_Project | xampp/perl/lib/Module/Build/PodParser.pm | Perl | mit | 1,345 |
package Mouse::Exporter;
use strict;
use warnings;
use Carp ();
my %SPEC;
my $strict_bits;
my $warnings_extra_bits;
BEGIN{
$strict_bits = strict::bits(qw(subs refs vars));
$warnings_extra_bits = warnings::bits(FATAL => 'recursion');
}
# it must be "require", because Mouse::Util depends on Mouse::Expo... | volanja/isucon3-yosen-re | perl/local/lib/perl5/x86_64-linux/Mouse/Exporter.pm | Perl | mit | 8,680 |
% ----------------------------------------------------------------------
% BEGIN LICENSE BLOCK
% Version: CMPL 1.1
%
% The contents of this file are subject to the Cisco-style Mozilla Public
% License Version 1.1 (the "License"); you may not use this file except
% in compliance with the License. You may obtain a copy ... | linusyang/barrelfish | usr/skb/eclipse_kernel/lib/history.pl | Perl | mit | 3,280 |
package PPI::Statement::Include::Perl6;
=pod
=head1 NAME
PPI::Statement::Include::Perl6 - Inline Perl 6 file section
=head1 SYNOPSIS
use v6-alpha;
grammar My::Grammar {
...
}
=head1 INHERITANCE
PPI::Statement::Include::Perl6
isa PPI::Statement::Include
isa PPI::Statement
isa PP... | Dokaponteam/ITF_Project | xampp/perl/vendor/lib/PPI/Statement/Include/Perl6.pm | Perl | mit | 1,675 |
package Fixtures::Hwinfo;
#
#
# 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, s... | rscrimojr/incubator-trafficcontrol | traffic_ops/app/lib/Fixtures/Hwinfo.pm | Perl | apache-2.0 | 1,806 |
:- set_prolog_flag(double_quotes, string).
:- install_constant_renamer_until_eof.
:- set_prolog_flag(do_renames_sumo,never).
%textCached('Are-TheWord', denotation, [ 'CountNoun', 'Are-UnitOfArea']).
%textCached('Be-TheWord', denotation, [ 'BeAux', 'is-Underspecified']).
%textCached('My-TheWord', denotation, [ 'Possess... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/ext/pldata/posm_cached_data2.pl | Perl | mit | 14,829 |
package ScrapingHub::API::Client::Storage::Items;
use Moo;
extends 'ScrapingHub::API::Client';
use URI::Escape;
use ScrapingHub::API::Utils qw/flag_missing_params/;
sub get_items {
my ($self, $args) = @_;
flag_missing_params($args, qw/job/);
my $job = $args->{job} and delete $args->{job};
my $fi... | mgoodnight/scrapinghub-scrapy-cloud-client | lib/ScrapingHub/API/Client/Storage/Items.pm | Perl | mit | 1,415 |
package #
Date::Manip::TZ::euberl00;
# 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' i... | jkb78/extrajnm | local/lib/perl5/Date/Manip/TZ/euberl00.pm | Perl | mit | 47,658 |
#!/usr/bin/perl
use POSIX;
use strict;
use lib "/httpd/modules";
use CFG;
use ZOOVY;
my ($CFG) = CFG->new();
my (@USERS) = @{CFG->new()->users()};
#
# perl -e 'foreach $letter ("a".."z","0".."9") { opendir $D1, "/data/users/$letter"; while (my $user = readdir($D1)) { next if (substr($user,0,1) eq "."); next if (!... | CommerceRack/backend | scripts/cron/diskspace.pl | Perl | mit | 2,620 |
##############################################################################
# $URL: http://perlcritic.tigris.org/svn/perlcritic/trunk/distributions/Perl-Critic/lib/Perl/Critic/Policy/ValuesAndExpressions/ProhibitMixedBooleanOperators.pm $
# $Date: 2012-07-02 22:16:39 -0700 (Mon, 02 Jul 2012) $
# $Author: ... | amidoimidazol/bio_info | Beginning Perl for Bioinformatics/lib/Perl/Critic/Policy/ValuesAndExpressions/ProhibitMixedBooleanOperators.pm | Perl | mit | 4,571 |
=head1 NAME
Mail::Message::Head::ListGroup - mailinglist related header fields
=head1 INHERITANCE
Mail::Message::Head::ListGroup
is a Mail::Message::Head::FieldGroup
is a Mail::Reporter
=head1 SYNOPSIS
my $lg = Mail::Message::Head::ListGroup->new(head => $head, ...);
$head->addListGroup($lg);
my $lg = $... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/Mail/Message/Head/ListGroup.pod | Perl | mit | 9,638 |
package Eldhelm::AI::BehaviourTree::End;
use strict;
use parent 'Eldhelm::AI::BehaviourTree::Node';
sub new {
my ($class, %args) = @_;
my $self = $class->SUPER::new(%args);
bless $self, $class;
return $self;
}
sub update {
my ($self) = @_;
my $status = $self->{status} ||= 'failed';
$self->... | wastedabuser/eldhelm-platform | lib/Eldhelm/AI/BehaviourTree/End.pm | Perl | mit | 363 |
:- module(quote, [quote/1]).
:- use_module(sandbox).
:- dynamic(quote/1).
quote(Quote) :-
open('quotes', read, Stream),
read_lines(Stream, Quotes),
asserta(quote(Q) :- random_member(Q, Quotes)),
close(Stream),
!, quote(Quote).
| ljos/epictetus | src/epictetus/quote.pl | Perl | mit | 248 |
if($^O eq "linux") {
$CFLAGS .= " -I/usr/include/mysql";
foreach(@lib_dirs) {
$CFLAGS .= " -I$_/mysql";
}
}
check_lib "mysqlclient", <<C;
#include <mysql.h>
int main() {
MYSQL mysql;
mysql_init(&mysql);
}
C
needs_static_init;
| slash-lang/slash | ext/mysql/configure.pl | Perl | mit | 281 |
package HMF::Pipeline::Functions::Config;
use FindBin::libs;
use discipline;
use Carp;
use File::Basename;
use File::Copy::Recursive qw(rcopy);
use File::Path qw(make_path);
use File::Spec::Functions;
use FindBin;
use Getopt::Long;
use IO::Pipe;
use List::MoreUtils qw(uniq);
use POSIX qw(strftime);
use Time::HiRes qw... | hartwigmedical/pipeline | lib/HMF/Pipeline/Functions/Config.pm | Perl | mit | 8,374 |
#!/usr/bin/perl -w
use strict;
use Getopt::Long;
use Pod::Usage;
use Bio::SearchIO;
#use Test::More;
my ($help, $man)='0';
my $output = 'first';
my $outfile = 'AlignmentOutput.txt';
GetOptions ("outformat:s" => \$output, "outfile:s" => \$outfile, "help" => \$help, "man" => \$man);
pod2usage(-exitval => 0, -verbose =>... | lsollars/Perl-Scripts | SummariseBlast.pl | Perl | mit | 12,981 |
#!/usr/bin/env perl
use strict;
use warnings;
use utf8;
use feature 'say';
# Find modules installed w/ Carton
use FindBin;
use lib "$FindBin::Bin/../local/lib/perl5";
# Actual modules the script requires
use Data::Dumper;
use Text::CSV_XS;
use Mojo::Util qw/ encode slurp spurt /;
use Mojo::Loader;
use Mojo::Templat... | phillipadsmith/everycandidate.org | _scripts/generate_school_wards.pl | Perl | mit | 1,840 |
# 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/Common/KeywordAnnotations.pm | Perl | apache-2.0 | 1,023 |
=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-compara | modules/Bio/EnsEMBL/Compara/Production/Projection/DisplayProjection.pm | Perl | apache-2.0 | 2,960 |
#! /usr/bin/perl
use strict;
use warnings;
use Getopt::Long;
use Pod::Usage;
my $man = 0;
my $help = 0;
# my $port = 0;
# my $host = "";
GetOptions(
'help|?' => \$help,
'man' => \$man,
# 'p|port=i' => \$port,
# 'a:s' => \$host
) or pod2usage(-verbose => 2);
pod2... | mishin/presentation | 4_trans/template.pl | Perl | apache-2.0 | 955 |
=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/RunnableDB/Flatfiles/UpdateTableFromFile.pm | Perl | apache-2.0 | 2,969 |
#
# 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/ibm/fs900/snmp/mode/components/fan.pm | Perl | apache-2.0 | 5,479 |
#
# 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 | os/windows/local/mode/cmdreturn.pm | Perl | apache-2.0 | 6,084 |
package Paws::ServiceCatalog::TagOptionSummary;
use Moose;
has Key => (is => 'ro', isa => 'Str');
has Values => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
1;
### main pod documentation begin ###
=head1 NAME
Paws::ServiceCatalog::TagOptionSummary
=head1 USAGE
This class represents one of two things:
=head3 ... | ioanrogers/aws-sdk-perl | auto-lib/Paws/ServiceCatalog/TagOptionSummary.pm | Perl | apache-2.0 | 1,415 |
#
# Copyright 2022 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | centreon/centreon-plugins | cloud/aws/cloudfront/mode/errors.pm | Perl | apache-2.0 | 5,534 |
#
# 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/digi/sarian/snmp/mode/memory.pm | Perl | apache-2.0 | 3,978 |
=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-production | modules/Bio/EnsEMBL/Production/Pipeline/RNAGeneXref/AnalysisConfiguration.pm | Perl | apache-2.0 | 2,026 |
# Licensed under the Upwork's API Terms of Use;
# you may not use this file except in compliance with the Terms.
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or i... | upwork/perl-upwork | lib/Net/Upwork/API/Routers/Activities/Team.pm | Perl | apache-2.0 | 4,636 |
=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/Production/HomologySet.pm | Perl | apache-2.0 | 6,672 |
package API::Deliveryservice2;
#
#
# 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 writi... | naamashoresh/incubator-trafficcontrol | traffic_ops/app/lib/API/Deliveryservice2.pm | Perl | apache-2.0 | 24,503 |
# Copyright (c) 2015 Timm Murray
# 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,
# this list of conditio... | frezik/UAV-Pilot | lib/UAV/Pilot/Server.pm | Perl | bsd-2-clause | 1,546 |
#!/usr/bin/env perl
#
# ====================================================================
# Written by Andy Polyakov <appro@openssl.org> for the OpenSSL
# project. The module is, however, dual licensed under OpenSSL and
# CRYPTOGAMS licenses depending on where you obtain it. For further
# details see http://www.open... | aliclark/libquic | boringssl/crypto/modes/asm/ghash-x86_64.pl | Perl | bsd-3-clause | 42,578 |
#!/usr/bin/env perl
use strict;
use warnings;
use Carp;
use Getopt::Long qw(:config no_ignore_case bundling pass_through);
use File::Basename;
use FindBin;
my $usage = <<__EOUSAGE__;
###################################################################################
#
# -K <int> define K clusters via k-mean... | ssn1306/trinityrnaseq | Analysis/DifferentialExpression/define_clusters_by_cutting_tree.pl | Perl | bsd-3-clause | 6,213 |
#!/usr/bin/perl
# crhFile.pm
#
# file subroutines
# v1.13 crh 20-jan-09 -- initial release
# dos2UnixPath($) -- converts DOS path separators to Unix
# unix2DosPath($) -- converts Unix path separators to DOS
# absPath(;$) -- returns absolute pathname
# checkDir ($) -- check directory exists
# checkFile ($) -- check fil... | ciscrh/crhLib | crhFile.pm | Perl | mit | 7,244 |
/*****************************************************************************
* This file is part of the Prolog Development Tool (PDT)
*
* Author: Günter Kniesel
* WWW: http://sewiki.iai.uni-bonn.de/research/pdt/start
* Mail: pdt@lists.iai.uni-bonn.de
* Copyright (C): 2013, CS Dept. III, University of Bonn
*
... | TeamSPoon/logicmoo_base | prolog/logicmoo/pdt_server/pdt.common/pl/pdt_search_WORK_IN_PROGRESS.pl | Perl | mit | 20,807 |
/* Part of Extended Libraries for SWI-Prolog
Author: Edison Mera Menendez
E-mail: efmera@gmail.com
WWW: https://github.com/edisonm/xlibrary
Copyright (C): 2017, Process Design Center, Breda, The Netherlands.
All rights reserved.
Redistribution and use in source and bin... | TeamSPoon/logicmoo_workspace | packs_lib/xlibrary/prolog/resolve_calln.pl | Perl | mit | 2,103 |
#!/usr/bin/env perl
use lib qw(lib examples/lib);
use Cat;
use Rubyish;
my $oreo = Cat->new->name("Oreo");
puts $oreo->methods;
print $oreo->sound . "\n";
$oreo->play(qw(CHEESE BURGER));
print '$oreo is a ' . ref($oreo) . "\n";
print "Oreo to YAML:\n" . $oreo->to_yaml;
puts $oreo->inspect;
puts $oreo->ancestor... | gitpan/Rubyish-Perl | examples/cat.pl | Perl | mit | 323 |
package Time::Local;
use strict;
use Carp ();
use Exporter;
our $VERSION = '1.28';
use parent 'Exporter';
our @EXPORT = qw( timegm timelocal );
our @EXPORT_OK
= qw( timegm_modern timelocal_modern timegm_nocheck timelocal_nocheck );
my @MonthDays = ( 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 );
# Determi... | operepo/ope | client_tools/svc/rc/usr/share/perl5/core_perl/Time/Local.pm | Perl | mit | 14,362 |
#! /usr/bin/perl
# generates a sorted list of fake events to be used by various SEG tests
# kept for posterity, a sample test data file is included in the pkg.
my $events;
my $start;
for ($i = 0; $i < 50; $i++) {
my $r = int(rand(2));
if ($r == 0) {
$events->{$start}->{$i} = "pending";
$star... | gridcf/gct | gram/jobmanager/scheduler_event_generator/source/test/make-test-data.pl | Perl | apache-2.0 | 1,086 |
package DateTime::TimeZone::Local::VMS;
{
$DateTime::TimeZone::Local::VMS::VERSION = '1.57';
}
use strict;
use warnings;
use parent 'DateTime::TimeZone::Local';
sub Methods { return qw( FromEnv ) }
sub EnvVars {
return qw( TZ SYS$TIMEZONE_RULE SYS$TIMEZONE_NAME UCX$TZ TCPIP$TZ );
}
1;
# ABSTRACT: Determine ... | Dokaponteam/ITF_Project | xampp/perl/vendor/lib/DateTime/TimeZone/Local/VMS.pm | Perl | mit | 1,404 |
# !!!!!!! 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/Sc/Linb.pl | Perl | mit | 495 |
=pod
=head1 NAME
provider-kdf - The KDF library E<lt>-E<gt> provider functions
=head1 SYNOPSIS
=for openssl multiple includes
#include <openssl/core_dispatch.h>
#include <openssl/core_names.h>
/*
* None of these are actual functions, but are displayed like this for
* the function signatures for functions t... | kipid/blog | nodejs/openssl-master/doc/man7/provider-kdf.pod | Perl | mit | 11,667 |
use v5.14;
use warnings;
=head1 NAME
Attean::SimpleQueryEvaluator - Simple query evaluator
=head1 VERSION
This document describes Attean::SimpleQueryEvaluator version 0.002
=head1 SYNOPSIS
use v5.14;
use Attean;
my $e = Attean::SimpleQueryEvaluator->new( model => $model );
my $iter = $e->evaluate( $algebr... | gitpan/Attean | lib/Attean/SimpleQueryEvaluator.pm | Perl | mit | 39,154 |
###############################################################################
# search_controller.pl
# =============================================================================
# Version: Vegetable Revolution 3.0
# Released: 1st June 2009
# Revision: $Rev$
# Copyright: James Aitken <http://loonypandora.co... | LoonyPandora/VegRev | app/models/search_model.pl | Perl | mit | 2,509 |
#!/usr/bin/env perl
use strict;
use warnings;
use Genome;
while(<>) {
my $file = $_;
chomp $file;
my ($id) = $file =~ /^(.+)\.bam$/;
unless($id) {
die "Unable to grab software id from bam name\n";
}
my $sr = Genome::SoftwareResult->get($id) or die "Unable to grab software results from... | ernfrid/oneoffs | sample_names_for_bam_ids.pl | Perl | mit | 600 |
package API::Routes::FacebookReviews;
use Dancer ':syntax';
use Dancer::Exception qw(:all);
use Dancer::Plugin::Res;
use API::Plugins::FacebookManager;
set serializer => 'JSON';
get '/api/v1/new_reviews' => sub {
my $revs;
try {
$revs = facebook_manager()->check_new_reviews;
} catch {
se... | connoryates/facebook_review_app | lib/API/Routes/FacebookReviews.pm | Perl | mit | 656 |
package TOXML::UTIL;
use strict;
use lib "/backend/lib";
require DBINFO;
require ZOOVY;
require TOXML;
@TOXML::WRAPPER_THEME_ATTRIBS = (
'name','pretty','content_background_color','content_font_face','content_font_size',
'content_text_color','table_heading_background_color','table_heading_font_face',
'table_headin... | CommerceRack/backend | lib/TOXML/UTIL.pm | Perl | mit | 12,090 |
package MIP::Recipes::Analysis::Glnexus;
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 devnull };
use open qw{ :encoding(UTF-8) :std };
use Params::Check qw{ allow check last_error };
use utf8;
use... | henrikstranneheim/MIP | lib/MIP/Recipes/Analysis/Glnexus.pm | Perl | mit | 9,101 |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by lib/unicore/mktables from the Unicode
# database, Version 12.1.0. Any changes made here will be lost!
# !!!!!!! INTERNAL PERL USE ONLY !!!!!!!
# This file is for internal use by core Perl only. The format and even the
# name or exist... | operepo/ope | client_tools/svc/rc/usr/share/perl5/core_perl/unicore/lib/SB/NU.pl | Perl | mit | 1,156 |
sub'v{$==!$-+rand pop}[s/\d+/$|--?($-=$&-1)+v$-%$c?3:2:$&-print||`stty size`-
print$'?"\e[?25l\e[2J":y!Oo*.! !r/ge?s/(?<=f|(.))...B.\K./$1||chr 32>>$=/ge..
4E4:s/|/o*... //s//\e[B\b /g/s//\e[1;${\v$c=`tput cols`-2}fO/]while*_=_.v-42#
| Minizarbi/nudist_platypus_gold | nudist_platypus_gold.pl | Perl | mit | 234 |
use v5.14;
use FindBin;
use JSON::PP;
use HTTP::Tiny;
use File::Path qw<make_path>;
use File::Slurp qw<write_file read_file>;
my $json = JSON::PP->new->canonical->pretty;
my $watchlist = $json->decode( scalar read_file("${FindBin::Bin}/watchlist.json") );
my $http = HTTP::Tiny->new;
my @grabs = @ARGV > 0 ? @ARGV : ... | gugod/vote-watch-2016 | run.pl | Perl | cc0-1.0 | 1,286 |
# 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/FeedItemSetLinkService/GetFeedItemSetLinkRequest.pm | Perl | apache-2.0 | 1,063 |
#
# 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/juniper/mag/plugin.pm | Perl | apache-2.0 | 1,839 |
package Google::Ads::AdWords::v201809::CampaignSharedSetService::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/CampaignSharedSetService/getResponse.pm | Perl | apache-2.0 | 1,803 |
package ACDwide::DB::Schema::Result::OperatorsFreeOnline;
# Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE
use strict;
use warnings;
use base 'DBIx::Class::Core';
=head1 NAME
ACDwide::DB::Schema::Result::OperatorsFreeOnline
=cut
__PACKAGE__->table("operators_free_online");
=... | ivanoff/ACDwide | opt/ACDwide/DB/Schema/Result/OperatorsFreeOnline.pm | Perl | apache-2.0 | 1,092 |
# 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/CampaignCriterionSimulationService.pm | Perl | apache-2.0 | 1,069 |
#
# Copyright 2019 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | Sims24/centreon-plugins | storage/emc/symmetrix/dmx34/local/mode/components/disk.pm | Perl | apache-2.0 | 4,624 |
% prolog solution for number 3
% Name: Oscar Kurniawan Manule
% NPM: 0706272080
% % Collaboration with Denvil
delonelem(_, [], []).
deloneelem(X,[X|T1],T1).
deloneelem(X,[H|T1],[H|T2]) :- deloneelem(X,T1,T2),!.
| misugijunz/codingexercise | algorithm/logic_programming/sourcecode/PR2/no3.pl | Perl | apache-2.0 | 217 |
#!/usr/bin/perl
#execute a nested for loop
foreach $a ('1', '2') {
foreach $b ('a', 'b') {
print "$a $b\n";
}
}
| mileiio/pyforsysadmin | nestedforloop/nested_for_loop.pl | Perl | apache-2.0 | 130 |
#!/usr/bin/perl
#
# Copyright 2016 Georgia Institute of Technology
#
# 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 requ... | pundit-project/pundit | pundit-central/tests/TrReceiverTest.pl | Perl | apache-2.0 | 1,688 |
package Paws::Route53::ListResourceRecordSetsResponse;
use Moose;
has IsTruncated => (is => 'ro', isa => 'Bool', required => 1);
has MaxItems => (is => 'ro', isa => 'Str', required => 1);
has NextRecordIdentifier => (is => 'ro', isa => 'Str');
has NextRecordName => (is => 'ro', isa => 'Str');
has NextRecor... | ioanrogers/aws-sdk-perl | auto-lib/Paws/Route53/ListResourceRecordSetsResponse.pm | Perl | apache-2.0 | 1,841 |
=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/AlignmentChains.pm | Perl | apache-2.0 | 13,023 |
#
# 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/pineapp/securemail/snmp/plugin.pm | Perl | apache-2.0 | 1,253 |
package LHBclass;
use strict;
use warnings;
require Exporter;
use vars qw(@ISA @EXPORT $VERSION);
use HingeAlchemy::ConstHAlch;
our @ISA = qw(Exporter);
our @EXPORT = qw(vrclass sumvrclass);
$VERSION=1.0;
sub vrclass{
my (@Ra1_r,@Ra1_l,@Va1_r,@Va1_l,@l_ccl,@b_ccl,@h_ccl,@l_pcl,@b_pcl,@h_pcl,$R,$V);
my (@Ra1_1,@Ra1_2,... | wjurkowski/hint | modules/LHBclass.pm | Perl | apache-2.0 | 3,573 |
%
% Checks if structure is a binary tree.
% Example: tree(8,tree(4,tree(1,void,void),tree(5,void,void)),tree(12,void,void))
%
is_binary_tree(void).
is_binary_tree(tree(X,L,R)):-is_binary_tree(L),is_binary_tree(R).
| vlad1m1r990/PrologSamples | binary_tree/is_binary_tree.pl | Perl | apache-2.0 | 215 |
package Paws::Budgets::Subscriber;
use Moose;
has Address => (is => 'ro', isa => 'Str', required => 1);
has SubscriptionType => (is => 'ro', isa => 'Str', required => 1);
1;
### main pod documentation begin ###
=head1 NAME
Paws::Budgets::Subscriber
=head1 USAGE
This class represents one of two things:
=head... | ioanrogers/aws-sdk-perl | auto-lib/Paws/Budgets/Subscriber.pm | Perl | apache-2.0 | 1,429 |
#
# 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/purestorage/restapi/custom/api.pm | Perl | apache-2.0 | 8,606 |
# please insert nothing before this line: -*- mode: cperl; cperl-indent-level: 4; cperl-continued-statement-offset: 4; indent-tabs-mode: nil -*-
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional informa... | dreamhost/dpkg-ndn-perl-mod-perl | lib/ModPerl/BuildMM.pm | Perl | apache-2.0 | 11,897 |
#!/usr/bin/perl
# ------------------------------------------------------------
# projector_turn_on.pl
# ------------------------------------------------------------
use feature qw{say} ;
use utf8 ;
use Net::PJLink qw{ :RESPONSES } ;
# These projectors are behind a firewall, inaccessable directly
my $pass = 'admin' ;
... | GreaterLaLa/ProjectorControl | projector_off.pl | Perl | apache-2.0 | 521 |
=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.
You may obta... | Ensembl/ensembl-analysis | modules/Bio/EnsEMBL/Analysis/Hive/RunnableDB/HiveProcessAssemblyReport.pm | Perl | apache-2.0 | 25,011 |
=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/CeleraTranscriptParser.pm | Perl | apache-2.0 | 830 |
#
# 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-JBoss | src/main/resources/project/conf/createcfg.pl | Perl | apache-2.0 | 3,038 |
package API::Cachegroup;
#
#
# 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, so... | knutsel/traffic_control-1 | traffic_ops/app/lib/API/Cachegroup.pm | Perl | apache-2.0 | 15,757 |
#!/usr/bin/env perl
# Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
# Copyright [2016-2021] EMBL-European Bioinformatics Institute
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.... | Ensembl/ensembl-production | scripts/copy_database.pl | Perl | apache-2.0 | 1,920 |
package VMOMI::ArrayOfHostPlugStoreTopologyPath;
use parent 'VMOMI::ComplexType';
use strict;
use warnings;
our @class_ancestors = ( );
our @class_members = (
['HostPlugStoreTopologyPath', 'HostPlugStoreTopologyPath', 1, 1],
);
sub get_class_ancestors {
return @class_ancestors;
}
sub get_class_members {
... | stumpr/p5-vmomi | lib/VMOMI/ArrayOfHostPlugStoreTopologyPath.pm | Perl | apache-2.0 | 453 |
#!/usr/bin/env perl
# 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 Licen... | Ensembl/ensembl-pipeline | scripts/EST/make_exonerate_bsubs.pl | Perl | apache-2.0 | 4,604 |
package Parakeet::Dependency::Item;
use strict;
use warnings;
use utf8;
use v5.12;
use Misc::DmUtil::Data qw(dumperSelective isEmpty notEmpty toStr);
use Misc::DmUtil::Log qw(:level);
use Data::Dumper;
use Time::HiRes qw(gettimeofday tv_interval);
use overload
'<=>' => \&cmp,
'""' => \&asString,
'cmp' => \&c... | duncanmartin/parakeet | lib/Parakeet/Dependency/Item.pm | Perl | bsd-2-clause | 7,790 |
#!/usr/bin/env perl -w
##-----------------------------------------------------------------------------
## This file is part of ctan-o-mat.
## This program is distributed under BSD-like license. See file LICENSE
##
## (c) 2016-2017 Gerd Neugebauer
##
## Net: gene@gerd-neugebauer.de
##
## This program is free software; y... | ge-ne/ctan-o-mat | ctan-o-mat.pl | Perl | bsd-3-clause | 19,694 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.