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 |
|---|---|---|---|---|---|
package wasarabi::Model::Mail;
use strict;
use warnings;
use utf8;
sub send {
}
sub make {
}
1;
| rosiro/wasarabi | lib/wasarabi/Model/Mail.pm | Perl | mit | 99 |
package Paws::EC2::DescribeFlowLogs;
use Moose;
has Filter => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Filter]');
has FlowLogIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'FlowLogId' );
has MaxResults => (is => 'ro', isa => 'Int');
has NextToken => (is => 'ro'... | ioanrogers/aws-sdk-perl | auto-lib/Paws/EC2/DescribeFlowLogs.pm | Perl | apache-2.0 | 2,754 |
#!/usr/bin/perl -wT
############################################################
#
# $Id$
# probe_machine.pl - Example script for Parse::DMIDecode
#
# Copyright 2006 Nicola Worthington
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the... | neechbear/Parse-DMIDecode | examples/probe_machines.pl | Perl | apache-2.0 | 16,200 |
#!/usr/bin/env perl
# 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/HiveDownloadUniProtFiles.pm | Perl | apache-2.0 | 7,312 |
# 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/V9/Enums/PageOnePromotedStrategyGoalEnum.pm | Perl | apache-2.0 | 880 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% This file is part of VivoMind Prolog Unicode Resources
% SPDX-License-Identifier: CC0-1.0
%
% VivoMind Prolog Unicode Resources is free software distributed using the
% Creative Commons CC0 1.0 Universal (CC0 1.0) - Public Domain Ded... | LogtalkDotOrg/logtalk3 | library/unicode_data/unicode_prop_list/unicode_logical_order_exception.pl | Perl | apache-2.0 | 1,968 |
#
# 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/video/zixi/restapi/mode/feederoutputusage.pm | Perl | apache-2.0 | 5,695 |
=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/GeneTrees/OrthoTree.pm | Perl | apache-2.0 | 22,535 |
:- module(file_server,[p/2],[]).
p(X,Y):- name(X,Y).
p(X,(F,A)):- functor(X,F,A).
p(X,Y):- name(X,[Y|_]).
p(X,Y):- name(X,A), A=[B|_], name(Y,[B|A]).
| leuschel/ecce | www/CiaoDE/ciao/library/ams/test/example/file_server.pl | Perl | apache-2.0 | 152 |
#! /usr/bin/perl
# Usage:
# change_stuff.perl
# Where input is from STDIN and output is to STDOUT. Thus, a typical
# invocation would be
# change_stuff.perl < /path/to/in/file > /path/to/out/file
# or
# change_stuff.perl < file > file.changed
#
# To use on multiple files, use a loop from the shell
# for VA... | kingsdigitallab/tvof-kiln | preprocess/legacy/KWIC/shared_files/step0_nuke_spaces.perl | Perl | apache-2.0 | 1,845 |
#
# 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 | network/juniper/common/screenos/mode/components/module.pm | Perl | apache-2.0 | 2,345 |
# vim:ts=4
#
# Copyright (c) 2005 Hypertriton, Inc. <http://hypertriton.com/>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
... | stqism/ToxBuild | ToxBuild/sdl_cpuinfo.pm | Perl | bsd-2-clause | 1,703 |
#!/usr/bin/perl
$me='himitator';
use RErrorHandler;
use RConfiguration;
use RHTTPVariables;
use RHTTPHeader;
use RTemplate;
use RDataBase;
my $cf=RComplexPlainTextConfiguration->load('../configuration/gastbuch.cf');
my $vars=RHTTPVariables->load;
my $head=RHTTPHeader->create;
my $tpl=RTemplate->load('../templates... | pbl64k/gb | scripts/himitator.pl | Perl | bsd-2-clause | 3,248 |
$cc="g++";
$gdb="gdb";
$ddd="ddd";
$default_header="#include <c-script.h>\n";
$output_opt="-o ";
$normal_opt=qq(
-O4
-DNDEBUG
-march=native
--no-warn
);
$normal_opt=qq(
-O4
-DNDEBUG
-mfpmath=sse
-mmmx
-msse2
-march=native
-ftree-vectorize
--no-warn
);
$normal_opt=qq(
-O4
);
$debug_opt ="-g";
$opt=qq(
-I$... | junjihashimoto/c-script | init/init.pl | Perl | bsd-3-clause | 1,563 |
use utf8;
package vcspr::schema::Result::DTaskLog;
# Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME
vcspr::schema::Result::DTaskLog
=cut
use strict;
use warnings;
#use base 'DBIx::Class::Core';
use base qw/DBIx::Class/; #1
__PACKAGE__->load_components(qw/UTF8Colum... | spunkmars/VCSPR | share/vcsprwebconsole/lib/vcspr/schema/Result/DTaskLog.pm | Perl | bsd-3-clause | 5,456 |
#!/usr/bin/perl
use strict;
use warnings;
BEGIN {
use FindBin;
use lib "$FindBin::Bin/../accreditation/lib";
}
use DateTime;
use Encode qw(decode);
use Getopt::Long qw(:config no_auto_abbrev);
use List::MoreUtils qw(uniq);
use List::Util qw(first max);
use MFR;
use PDF::API2;
use XXX;
$|++;
use constant mm ... | alexrj/mfr15 | graphics/banner.pl | Perl | bsd-3-clause | 5,726 |
package Bot::BetterBot::Plugin::Notice;
use strict;
use warnings;
use Moose;
use namespace::autoclean;
extends 'Bot::BetterBot::Plugin';
override on_msg => sub {
my ($self, $msg) = @_;
my ($cmd, $args) = $self->parse_cmd($msg);
(my $channel, $msg) = split(/\s+/, $args, 2);
if ($cmd eq "say") {
... | cullum/betterbot | lib/Bot/BetterBot/Plugin/Notice.pm | Perl | bsd-3-clause | 858 |
#!/usr/bin/perl
# script by karabaja4
# mail: karabaja4@archlinux.us
my $blackFG_yellowBG = "\e[30;43m";
my $blackFG_redBG = "\e[30;41m";
my $blackFG_purpleBG = "\e[30;45m";
my $yellowFG_blackBG = "\e[1;33;40m";
my $yellowFG_redBG = "\e[1;33;41m";
my $redFG_yellowBG = "\e[31;43m";
my $purpleFG_yellowBG = "\e[35;43... | frank604/scripts | hypnotoad.pl | Perl | mit | 3,821 |
package #
Date::Manip::Offset::off124;
# 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'... | nriley/Pester | Source/Manip/Offset/off124.pm | Perl | bsd-2-clause | 1,671 |
package #
Date::Manip::TZ::amsao_00;
# 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/amsao_00.pm | Perl | bsd-2-clause | 44,342 |
package #
Date::Manip::TZ::asyere00;
# 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/asyere00.pm | Perl | bsd-2-clause | 15,658 |
# !!!!!!! 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/To/Nv.pl | Perl | apache-2.0 | 5,757 |
#!/usr/bin/perl
# 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");... | apache/lucy | devel/bin/lucytidy.pl | Perl | apache-2.0 | 8,748 |
# $Id: XPathContext.pm 422 2002-11-08 17:10:30Z phish $
package XML::LibXML::XPathContext;
use strict;
use vars qw($VERSION @ISA $USE_LIBXML_DATA_TYPES);
use Carp;
use XML::LibXML;
use XML::LibXML::NodeList;
$VERSION = "1.66"; # VERSION TEMPLATE: DO NOT CHANGE
# should LibXML XPath data types be used for simple ob... | leighpauls/k2cro4 | third_party/cygwin/lib/perl5/vendor_perl/5.10/i686-cygwin/XML/LibXML/XPathContext.pm | Perl | bsd-3-clause | 2,842 |
#!/usr/bin/perl
use strict;
use warnings;
my $means;
my $std;
while (my $line = <STDIN>) {
chomp($line);
if ($line =~ m/\(.*\)/) {
my @values = split(' ', $line);
if ($#values <= 0) {
next;
}
foreach my $meanStd (@values) {
$meanStd =~ tr/()//d;
my @arrayMean = split(',', $meanStd);
$means = $... | eklinkhammer/aadil-common | c_to_m.pl | Perl | mit | 496 |
# This file is auto-generated by the Perl DateTime Suite time zone
# code generator (0.07) This code generator comes with the
# DateTime::TimeZone module distribution in the tools/ directory
#
# Generated from debian/tzdata/europe. Olson data version 2008c
#
# Do not edit this file directly.
#
package DateTime::TimeZ... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/DateTime/TimeZone/Europe/Tallinn.pm | Perl | mit | 9,633 |
eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
if 0;
my $pname = $0; $pname =~ s/.*\/(.*)/$1/s; # プログラム名取得
#
# ステータスファイル受信処理
#
# get-statusfile.pl
#
use strict;
use vars qw/$opt_d/;
use vars qw/$BucketDir $RecvDir $StatFileDir $LockFile/;
use Getopt::Std;
use Net::FTP;
use Cwd;
my $debug = 0;
getopts('d');
if ( $opt_d )... | MiraitSystems/enju_trunk | script/enjusync/get-statusfile.pl | Perl | mit | 2,652 |
#!env perl
=head1 NAME
orthomcl_to_table.pl -
Generate a tab delimited table of gene counts from orthomcl / MCL
output, with an appended Pfam domain table summary
=head1 USAGE
perl Comparative_pipeline/scripts/orthomcl_to_table.pl
-r Orthologs/Basidiobolus.OrthoMCL.I15.counts.tab
-i Orthologs/Basidiobolus.Ort... | stajichlab/Comparative_pipeline | scripts/orthomcl_to_table.pl | Perl | mit | 6,808 |
:- module(webPlayer, []).
initialize(PlayerName, PlayerCount) :-
show(1, 'I am ~w of a ~w player game.~n', [PlayerName, PlayerCount]).
getGems(_,_).
buyCard(_).
reserveCard(_).
reserveCardFromDeck(_).
selectNoble(_,_) :- false.
decideAction(Player, Oponents, StateProxy, Action) :- Action=none
.
| kadron/splendor-prolog | players/webPlayer.pl | Perl | mit | 305 |
# 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/antarctica. Olson data version 2016a
#
# Do not edit this file directly.
#
package DateTime:... | jkb78/extrajnm | local/lib/perl5/DateTime/TimeZone/Antarctica/Mawson.pm | Perl | mit | 1,481 |
#!/usr/bin/perl
# push(@INC, "/home/astropeak/Dropbox/project/aspk-code-base/perl");
use Aspk::HtmlElement;
use ConvertInput qw(build_element_tree);
use Aspk::Debug;
sub _divide_element_horizonally{
my ($element, $len) =@_;
foreach (@{$len}) {
my $e = Aspk::HtmlElement->new({tag=>"div", parent=>$eleme... | astropeak/auto-html | main.pl | Perl | mit | 6,315 |
#!/usr/bin/perl
use warnings;
use strict;
use Getopt::Long;
##############################################################
# script: fasta_length.pl
# author: Jia-Xing Yue (GitHub ID: yjx1217)
# last edited: 2018.01.14
# description: calculate the length of each sequences in the input fasta file
# example: perl f... | yjx1217/LRSDAY | scripts/fasta_length.pl | Perl | mit | 2,298 |
#
# 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... | golgoth31/centreon-plugins | snmp_standard/mode/dynamiccommand.pm | Perl | apache-2.0 | 6,949 |
package Google::Ads::AdWords::v201809::FeedMappingService::FeedMappingServiceInterfacePort;
use strict;
use warnings;
use Class::Std::Fast::Storable;
use Scalar::Util qw(blessed);
use base qw(SOAP::WSDL::Client::Base);
# only load if it hasn't been loaded before
require Google::Ads::AdWords::v201809::TypeMaps::FeedMap... | googleads/googleads-perl-lib | lib/Google/Ads/AdWords/v201809/FeedMappingService/FeedMappingServiceInterfacePort.pm | Perl | apache-2.0 | 6,760 |
# 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/license... | dbolser-ebi/ensembl-compara | docs/tutorial/examples/tut_family1.pl | Perl | apache-2.0 | 1,761 |
#
# 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 | cloud/azure/database/redis/mode/health.pm | Perl | apache-2.0 | 1,924 |
package VMOMI::VmDateRolledBackEvent;
use parent 'VMOMI::VmEvent';
use strict;
use warnings;
our @class_ancestors = (
'VmEvent',
'Event',
'DynamicData',
);
our @class_members = ( );
sub get_class_ancestors {
return @class_ancestors;
}
sub get_class_members {
my $class = shift;
my @super_me... | stumpr/p5-vmomi | lib/VMOMI/VmDateRolledBackEvent.pm | Perl | apache-2.0 | 415 |
package Moose::Exception::AttributeIsRequired;
our $VERSION = '2.1404';
use Moose;
extends 'Moose::Exception';
with 'Moose::Exception::Role::Class';
has 'attribute_name' => (
is => 'ro',
isa => 'Str',
required => 1,
documentation => "This attribute can be used for fetching at... | ray66rus/vndrv | local/lib/perl5/x86_64-linux-thread-multi/Moose/Exception/AttributeIsRequired.pm | Perl | apache-2.0 | 752 |
#
# 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/fortinet/fortiauthenticator/snmp/mode/disklog.pm | Perl | apache-2.0 | 2,195 |
#
# 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/ruckus/zonedirector/snmp/mode/listaccesspoints.pm | Perl | apache-2.0 | 3,764 |
package Paws::Snowball::Shipment;
use Moose;
has Status => (is => 'ro', isa => 'Str');
has TrackingNumber => (is => 'ro', isa => 'Str');
1;
### main pod documentation begin ###
=head1 NAME
Paws::Snowball::Shipment
=head1 USAGE
This class represents one of two things:
=head3 Arguments in a call to a service
... | ioanrogers/aws-sdk-perl | auto-lib/Paws/Snowball/Shipment.pm | Perl | apache-2.0 | 1,627 |
:- module(_, _, [persdb_mysql, functions]).
% Some contributions from Guy-Noel Mathieu
:- use_module(library(write)).
:- use_module(library(format)).
:- use_module(user_and_password).
sql_persistent_location(people, db(people, User, Password, HP)):-
mysql_host_and_port(HP),
mysql_user(User),
... | leuschel/ecce | www/CiaoDE/ciao/library/persdb_mysql/examples/people.pl | Perl | apache-2.0 | 3,006 |
#!/usr/bin/env perl
# 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 Licens... | willmclaren/ensembl-rest | script/ensembl_rest_cgi.pl | Perl | apache-2.0 | 1,171 |
# 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 obtain a... | james-monkeyshines/ensembl-analysis | modules/Bio/EnsEMBL/Analysis/Tools/IMGT/SeqIO/imgt_embl.pm | Perl | apache-2.0 | 13,803 |
package Paws::ECS::ListTasks;
use Moose;
has Cluster => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'cluster' );
has ContainerInstance => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'containerInstance' );
has DesiredStatus => (is => 'ro', isa => 'Str', tr... | ioanrogers/aws-sdk-perl | auto-lib/Paws/ECS/ListTasks.pm | Perl | apache-2.0 | 5,030 |
#!/usr/bin/perl -W
# TODO:
# Column listing reordering (based on annotations)
# Document allowed null values
# Document column name used to fetch values
use strict;
use Carp;
use Config::IniFiles;
use Cwd;
use TeX::Encode;
use Encode;
use File::Basename;
use File::Copy;
use File::Spec;
use File::Temp;
use FindBin;
u... | inab/BP-Schema-tools | model-doc-generator.pl | Perl | apache-2.0 | 3,819 |
#! /usr/bin/env perl
use strict;
use warnings;
my $dense_file = $ARGV[0];
# ARGV[1] is idf file, not needed because first line contains column names.
my $sparse_file = $ARGV[2];
open my $fh_dense, '<', $dense_file or die "Couldn't open $dense_file: $!\n";
open my $fh_sparse, '>', $sparse_file;
print $fh_sparse '@REL... | toonn/bdap-proj1 | Toon_Nolten-Assignment1/part3/dense_to_sparse.pl | Perl | bsd-2-clause | 973 |
package Google::Ads::AdWords::v201406::SharedSetService::get;
use strict;
use warnings;
{ # BLOCK to scope variables
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201406' }
__PACKAGE__->__set_name('get');
__PACKAGE__->__set_nillable();
__PACKAGE__->__set_minOccurs();
__PACKAGE__->__set_maxOccurs();
__... | gitpan/Google-Ads-AdWords-Client | lib/Google/Ads/AdWords/v201406/SharedSetService/get.pm | Perl | apache-2.0 | 1,977 |
#
# 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/server/dell/idrac/snmp/mode/components/storagectrl.pm | Perl | apache-2.0 | 2,907 |
package #
Date::Manip::TZ::amdanm00;
# 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/amdanm00.pm | Perl | bsd-2-clause | 8,931 |
#!/usr/bin/perl
#
# Methods for to Get and Set single pixels in images using PerlMagick
#
use strict;
use Image::Magick;
# read image
my $im=Image::Magick->new();
$im->Read('logo:');
# ---
# Get/Set a single pixel as a string
my $skin=$im->Get('pixel[400,200]');
print "Get('pixel[x,y]') = ", $skin, "\n";
$im->Set('... | mikesplain/imagemagick | PerlMagick/demo/single_pixels.pl | Perl | apache-2.0 | 1,100 |
#
# 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... | Shini31/centreon-plugins | network/f5/bigip/snmp/mode/components/temperature.pm | Perl | apache-2.0 | 3,099 |
=pod
=head1 NAME
TS_RESP_CTX_new_ex, TS_RESP_CTX_new,
TS_RESP_CTX_free - Timestamp response context object creation
=head1 SYNOPSIS
#include <openssl/ts.h>
TS_RESP_CTX *TS_RESP_CTX_new_ex(OSSL_LIB_CTX *libctx, const char *propq);
TS_RESP_CTX *TS_RESP_CTX_new(void);
void TS_RESP_CTX_free(TS_RESP_CTX *ctx);
=he... | jens-maus/amissl | openssl/doc/man3/TS_RESP_CTX_new.pod | Perl | bsd-3-clause | 1,520 |
# !!!!!!! 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/To/NameAlia.pl | Perl | apache-2.0 | 13,235 |
#!/usr/bin/env perl
# ====================================================================
# Written by Andy Polyakov <appro@fy.chalmers.se> for the OpenSSL
# project. The module is, however, dual licensed under OpenSSL and
# CRYPTOGAMS licenses depending on where you obtain it. For further
# details see http://www.op... | dkoontz/nodegit | vendor/openssl/openssl/crypto/sha/asm/sha512-sparcv9.pl | Perl | mit | 21,686 |
#
# This is a SAS Component
#
use strict;
use Data::Dumper;
use Carp;
use Getopt::Long;
use LWP::UserAgent;
use Digest::MD5;
=head1 svr_cdd_scan
svr_cdd_scan [options] < seqs.fa > cdd.table
Scans protein sequences for conserved domain hits in NCBI CD-Database.
=head2 Command-Line options
=over 4
=item -d
Wi... | kbase/kb_seed | service-scripts/svr_cdd_scan.pl | Perl | mit | 8,767 |
#!/usr/bin/env perl
# Make a calendar file from scraping All funny Real list of national days page
use strict;
use warnings;
use Web::Query;
use Encode 'encode_utf8';
use HTML::Entities 'decode_entities';
my $calendar_file = "calendar.funny_national_days";
my @days;
wq('http://all-funny.info/real-list-of-national-da... | stvnwlsn/web-scraping | funny_calendar.pl | Perl | mit | 966 |
valuable(gold).
female(jane).
owns(jane, gold).
father(john, mary).
gives(john, book, mary).
| MarekDudek/prolog-tutorial | examples.pl | Perl | mit | 93 |
#! /usr/bin/perl
# Adapted from the MathJax-dev repository file /fonts/OTF/TeX/makeFF under the
# Apache 2 license
# We use this file to recover the mapping from TeX fonts to KaTeX fonts, to
# accurately extract the metrics from the corresponding .tfm (TeX font metric)
# files
use JSON;
$map{cmr10} = {
"Main-Regu... | Khan/KaTeX | src/metrics/mapping.pl | Perl | mit | 41,904 |
cidade(loanda).
cidade(nova_esperanca).
cidade(maringa).
cidade(sarandi).
cidade(londrina).
cidade(cornelio_procopio).
cidade(arapongas).
cidade(mandaguari).
cidade(fenix).
cidade(jandaia_do_sul).
cidade(apucarana).
cidade(ponta_grossa).
cidade(iretama).
cidade(campo_mourao).
cidade(umuarama).
cidade(guaira).
cidade(to... | LionsWrath/prolog_itinerario | dados/dados_teste.pl | Perl | mit | 3,426 |
###########################################################################
#
# This file is auto-generated by the Perl DateTime Suite time locale
# generator (0.04). This code generator comes with the
# DateTime::Locale distribution in the tools/ directory, and is called
# generate_from_cldr.
#
# This file as generat... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/DateTime/Locale/se.pm | Perl | mit | 2,906 |
#!/usr/bin/perl -w
use strict;
use Getopt::Long;
&GetOptions( 'in=s' => \my$matrix, # input permutation matrix
'dir=s' => \my$dir, # output directory
'out=s' => \my$out); # output file adjacency table
($matrix and $dir and $out) or &HELP_MESSAGE;
system("mauve.MLBE-adjacencies.pl $matrix $dir");
system("Table... | mikeyweigand/Pertussis_n257 | Weigand_JBact2017/mauve.matrix2adj.pl | Perl | mit | 1,783 |
#!/usr/bin/perl -w
use strict;
use Bio::DB::Fasta;
use Bio::SearchIO;
my $sUsage = <<END;
Usage:
perl $0
<ortholog gene pairs list file, 3B_S293 3A_S1531>
<3B BAC sequences in fasta>
<3B transcript isoform annotation file generated by PASA, gff3 format>
<3A contig/scaffold sequences in fasta>
<3A transcript isoform an... | swang8/Perl_scripts_misc | compare_3A_3B_alternative_splicing_V3.pl | Perl | mit | 17,868 |
#!/usr/bin/env perl
=head1 NAME
AddAccessionStockpropCvterms
=head1 SYNOPSIS
mx-run ThisPackageName [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 the necessary cvterm for stor... | solgenomics/sgn | db/00088/AddAccessionStockpropCvterms.pm | Perl | mit | 2,163 |
%% Parsing modules for SWI docs
:- module(docs, [sentence/3]).
:- use_module(library(dcg/basics)).
sentence(Diff) -->
fragment(R),
sentence(Rest),
{ append(R, Rest, Diff) }, !.
sentence(Rest) -->
fragment(R),
ending(E),
{ append(R, E, Rest) }, !.
sentence(Rest) -->
fragment(R),
newline(E),
{ ap... | logicmoo/yesbot | extensions/submodules/docs.pl | Perl | mit | 1,115 |
#!/usr/bin/perl -w
# random_gff3_create.pl
# This script will create new gff3s for training SNAP based on random datasets.
# Megan Bowman
# 29 October 2014
use strict;
use Getopt::Long;
use Bio::Seq;
use Bio::SeqIO;
my $usage = "\nUsage: $0 --align_gff <path to the MAKER alignment gff3> --rand_1 <path to the rand... | Childs-Lab/GC_specific_MAKER | random_gff3_create.pl | Perl | mit | 7,024 |
package AssetExistenceFilter::L10N;
use strict;
use base qw( MT::Plugin::L10N );
1;
__END__
| masiuchi/mt-plugin-asset-existence-filter | plugins/AssetExistenceFilter/lib/AssetExistenceFilter/L10N.pm | Perl | mit | 93 |
package #
Date::Manip::TZ::atberm00;
# 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/atberm00.pm | Perl | mit | 44,281 |
package Test::Builder::Tester::Color;
use strict;
our $VERSION = '1.302162';
require Test::Builder::Tester;
=head1 NAME
Test::Builder::Tester::Color - turn on colour in Test::Builder::Tester
=head1 SYNOPSIS
When running a test script
perl -MTest::Builder::Tester::Color test.t
=head1 DESCRIPTION
Import... | operepo/ope | client_tools/svc/rc/usr/share/perl5/core_perl/Test/Builder/Tester/Color.pm | Perl | mit | 973 |
#!/usr/bin/env perl
use Catalyst::ScriptRunner;
Catalyst::ScriptRunner->run('Brainbase', 'FastCGI');
1;
=head1 NAME
brainbase_fastcgi.pl - Catalyst FastCGI
=head1 SYNOPSIS
brainbase_fastcgi.pl [options]
Options:
-? -help display this help and exits
-l --listen Socket path to listen on
... | Paciorkowski-Lab/BrainBase | script/brainbase_fastcgi.pl | Perl | mit | 1,231 |
#!/usr/bin/env perl
use strict;
my %posdel;
my $infile = shift;
unless($infile) {
die "Usage: $0 [mpileup file]\n";
}
if($infile =~ /\.gz$/) {
open(IN, "gunzip -c $infile 2>/dev/null |");
} else {
open(IN, $infile) or die "Unable to open file $infile\n";
}
print join("\t", ("id", "pos", "refbase", "tot... | mccrowjp/utilities | mpileup_to_basecounts.pl | Perl | mit | 1,966 |
%% Using concat only, write a Prolog predicate delimit( U, S, L )
%% which is true if S is a sublist in L, and S is delimited by element U,
%% and false otherwise. That is, U marks the beginning and the end of S inside L.
%% You may assume that U doesn’t occur in S. (Note: U is a singleton element,
%% while S is a list... | MichaelReiter/ProgrammingPractice | prolog.pl | Perl | mit | 1,160 |
:- module(config,[port/1]).
port(8500).
urls("module_name/module_urls").
urls("module_name/module_urls2").
project_name("project_name").
| Lacka8/wobble | template_project/config.pl | Perl | mit | 140 |
check([], X, X).
check([H | T], X, Y) :-
X1 is X * H,
check(T, X1, Y).
arr(K, X, R) :-
comb(K, X, R1),
perm(R1, R).
comb(0, _, []).
comb(K, [H | T], [H | Tr]) :-
K > 0,
K1 is K - 1,
comb(K1, T, Tr).
comb(K, [_ | T], Y) :-
K > 0,
comb(K, T, Y).
insert([], E, [E]).
insert([H | T], ... | rusucosmin/courses | ubb/plf/exam/aranj.pl | Perl | mit | 586 |
# 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/Utils/ResourceNames.pm | Perl | apache-2.0 | 54,608 |
#
# 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 | network/redback/snmp/mode/cpu.pm | Perl | apache-2.0 | 6,919 |
package Paws::SES::GetSendStatistics;
use Moose;
use MooseX::ClassAttribute;
class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetSendStatistics');
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SES::GetSendStatisticsResponse');
class_has _result_key => (isa => 'Str', is => ... | ioanrogers/aws-sdk-perl | auto-lib/Paws/SES/GetSendStatistics.pm | Perl | apache-2.0 | 1,515 |
=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/public-plugins | ensembl/modules/EnsEMBL/Web/Document/Element/StaticTabs.pm | Perl | apache-2.0 | 1,428 |
package UI::Steering;
#
#
# 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, softw... | knutsel/traffic_control-1 | traffic_ops/app/lib/UI/Steering.pm | Perl | apache-2.0 | 4,147 |
#!/usr/bin/perl -w
use strict;
BEGIN {
use Cwd qw/ abs_path /;
use File::Basename;
my $script_dir = dirname(abs_path($0));
print STDERR "script_dir=$script_dir\n";
push @INC, $script_dir;
}
use FindBin qw($Bin);
use MosesRegressionTesting;
use Getopt::Long;
use File::Temp qw ( tempfile );
use POSIX qw ( strftime ... | shyamjvs/cs626_project | stat_moses/tools/moses/regression-testing/run-test-scorer.perl | Perl | apache-2.0 | 1,827 |
#!/usr/bin/env perl
# Generates blast, blast+ and mblast commands
use strict;
use warnings;
use File::Basename;
$\="\n";
my @blast_commands;
my @blast_plus_commands;
my @mblast_commands;
my $data_dir = `readlink -f ../data/fasta_databases`;
chomp $data_dir;
my @data_files = split /\n/, `ls $data_dir/blast | grep .f... | bio-boris/bioinformatics_experiments | testMblast/generateCommands.pl | Perl | apache-2.0 | 2,581 |
# 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/ReachPlanService/ProductAllocation.pm | Perl | apache-2.0 | 1,121 |
# 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/Enums/LocationPlaceholderFieldEnum.pm | Perl | apache-2.0 | 1,061 |
package VMOMI::InvalidFolder;
use parent 'VMOMI::VimFault';
use strict;
use warnings;
our @class_ancestors = (
'VimFault',
'MethodFault',
);
our @class_members = (
['target', 'ManagedObjectReference', 0, ],
);
sub get_class_ancestors {
return @class_ancestors;
}
sub get_class_members {
my $cl... | stumpr/p5-vmomi | lib/VMOMI/InvalidFolder.pm | Perl | apache-2.0 | 444 |
%###############################################################
%###################### MODULE: SUB-TYPING #####################
%###############################################################
:- module(subType, [subType/3]).
:- use_module(self_check_rul).
:- use_module(auxil,[wellDefined/3,removeClause/4,orderSubG... | leuschel/ecce | ecce_source/rul/subType.pl | Perl | apache-2.0 | 5,877 |
package Sisimai::Mail;
use feature ':5.10';
use strict;
use warnings;
use Class::Accessor::Lite (
'new' => 0,
'ro' => [
'path', # [String] path to mbox or Maildir/
'kind', # [String] Data type: mailbox, maildir, stdin, or memory
],
'rw' => [
'data', # [Sisimai::Mail... | sisimai/p5-Sisimai | lib/Sisimai/Mail.pm | Perl | bsd-2-clause | 4,511 |
=head1 NAME
Rubyish::Array - Array (class)
=cut
package Rubyish::Array;
use strict;
use 5.010;
use base qw(Rubyish::Object); # inherit parent
use Rubyish::Syntax::def;
use Rubyish::Enumerable;
=head1 FUNCTIONS
=head2 new
Not Documented
=cut
sub new {
my $self = ref($_[1]) eq "ARRAY" ? $_[1] : [];
bles... | gugod/rubyish-perl | lib/Rubyish/Array.pm | Perl | mit | 1,838 |
###########################################################################
#
# 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/fr_WF.pod | Perl | mit | 9,694 |
#!/usr/bin/perl
#determines number of iterations needed for error < threshold
#writes the iterations needed for different sizes to outfile
#run "./converTest -h" for usage
#threshold set to 0.5
use Getopt::Std;
getopts("ha:bc:sv");
if (defined($opt_h)) {
print "Usage: converSOR.pl <min> <max> <threshold> <outfile> ... | hellok/PetaBricks | examples/multigrid/scripts/converSOR.pl | Perl | mit | 1,495 |
package Paws::DMS::ModifyEndpointResponse;
use Moose;
has Endpoint => (is => 'ro', isa => 'Paws::DMS::Endpoint');
has _request_id => (is => 'ro', isa => 'Str');
### main pod documentation begin ###
=head1 NAME
Paws::DMS::ModifyEndpointResponse
=head1 ATTRIBUTES
=head2 Endpoint => L<Paws::DMS::Endpoint>
T... | ioanrogers/aws-sdk-perl | auto-lib/Paws/DMS/ModifyEndpointResponse.pm | Perl | apache-2.0 | 380 |
#!/usr/bin/perl
sub ComputeTAM()
{
my $sent=@_[0];
my $vibh_home = @_[1];
my $slang = @_[2];
my @uns_VG_nodes = &get_nodes(3,"VGF",$sent); #get all the VG nodes
my @VGINF_nodes = &get_nodes(3,"VGINF",$sent); #get all the VG nodes
my @VGNF_nodes = &get_nodes(3,"VGNF",$sent); #get all the VG nodes
my @VGNN_node... | darshan95/Shift-Reduce-Chunk-Expander | dependencies/vibhakticomputation/src/ComputeTAM.pl | Perl | mit | 4,745 |
#!/usr/local/bin/perl
# Yeah, I know, probably 1000 other persons already wrote a script like
# this, but I'll tell ya:
# THEY DON'T FIT ME :-)
# Get readme file as parameter:
if($ARGV[0] eq "-c") {
$c=1;
shift @ARGV;
}
my $README = $ARGV[0];
if($README eq "") {
print "usage: mkreadme.pl [-c] <README>... | hhool/transmission | third-party/curl/src/mkhelp.pl | Perl | apache-2.0 | 5,016 |
# !!!!!!! 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 ... | liuyangning/WX_web | xampp/perl/lib/unicore/lib/Jg/HamzaOnH.pl | Perl | mit | 418 |
+{
locale_version => 0.93,
suppress => [0x0410, 0x0430, 0x04D8, 0x04D9, 0x0413, 0x0433, 0x0415, 0x0435,
0x0416, 0x0436, 0x0417, 0x0437, 0x0418, 0x0438, 0x0406, 0x0456,
0x041E, 0x043E, 0x04E8, 0x04E9, 0x041A, 0x043A, 0x0423, 0x0443,
0x0427, 0x0447, 0x042B, 0x044B, 0x042D, 0x044D, 0x0474, 0x0475],
entry =>... | Dokaponteam/ITF_Project | xampp/perl/lib/Unicode/Collate/Locale/sr.pl | Perl | mit | 4,266 |
#####
# FCKeditor - The text editor for internet
# Copyright (C) 2003-2006 Frederico Caldeira Knabben
#
# Licensed under the terms of the GNU Lesser General Public License:
# http://www.opensource.org/licenses/lgpl-license.php
#
# For further information visit:
# http://www.fckeditor.net/
#
# "Support ... | WilliamGoossen/epsos-common-components.gnomonportal | webapps/ROOT/html/js/editor/fckeditor/editor/filemanager/browser/liferay/connectors/perl/util.pl | Perl | apache-2.0 | 1,160 |
use utf8;
package Schema::Result::StatsSummary;
# Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME
Schema::Result::StatsSummary
=cut
use strict;
use warnings;
use base 'DBIx::Class::Core';
=head1 TABLE: C<stats_summary>
=cut
__PACKAGE__->table("stats_summary");
=h... | serDrem/incubator-trafficcontrol | traffic_ops/app/lib/Schema/Result/StatsSummary.pm | Perl | apache-2.0 | 2,789 |
package DDG::Spice::GameInfo;
# ABSTRACT: Information about video games
use strict;
use DDG::Spice;
primary_example_queries "homesick video game";
description "See information about a video game";
name "GameInfo";
icon_url "/i/www.giantbomb.ico";
source "GiantBomb";
topics "gaming";
category "reference";
attribution g... | ppant/zeroclickinfo-spice | lib/DDG/Spice/GameInfo.pm | Perl | apache-2.0 | 810 |
package DDG::Goodie::Dessert;
# ABSTRACT: find desserts starting with a given letter.
use strict;
use DDG::Goodie;
use utf8;
use warnings;
use strict;
zci answer_type => 'dessert';
# We add is_cached so that we get different results for the same query.
zci is_cached => 0;
# Metadata for our instant answer.
primary_e... | dnmfarrell/zeroclickinfo-goodies | lib/DDG/Goodie/Dessert.pm | Perl | apache-2.0 | 5,785 |
#!/usr/bin/perl
use strict;
use warnings;
use feature 'say';
use List::MoreUtils qw(firstval);
use List::Util qw(reduce);
sub visit {
my ($con, $seen, $el) = @_;
foreach my $val ( @{ $con->{$el} } ) {
if (not $seen->{$val}++) {
visit($con, $seen, $val);
}
}
return;
}
my... | bewuethr/advent_of_code | 2017/day14/day14b.pl | Perl | mit | 2,259 |
package Less::Boilerplate;
use 5.26.0;
use strict;
use warnings;
use feature ();
use utf8::all;
use autodie ();
use Carp;
use Try::Tiny;
use Import::Into;
sub import {
my ($class) = @_;
my $caller = caller;
warnings->import;
warnings->unimport('experimental::signatures');
strict->import;
fe... | Ovid/ovid.github.com | lib/Less/Boilerplate.pm | Perl | mit | 1,063 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.