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 FCGI;
use Socket;
use POSIX qw(setsid);
require 'syscall.ph';
&daemonize;
#this keeps the program alive or something after exec'ing perl scripts
END() { } BEGIN() { }
*CORE::GLOBAL::exit = sub { die "fakeexit\nrc=".shift()."\n"; };
eval q{exit};
if ($@) {
exit unless $@ =~ /^fakeexit/;
};
... | heyihan/scripts | perl-fcgi/perl-fastcgi.pl | Perl | bsd-3-clause | 2,757 |
###############################################################################
## Copyright 2005-2016 OCSInventory-NG/OCSInventory-Server contributors.
## See the Contributors file for more details about them.
##
## This file is part of OCSInventory-NG/OCSInventory-ocsreports.
##
## OCSInventory-NG/OCSInventory-Serve... | himynameismax/codeigniter | ocsinventory-server/perl/Apache/Ocsinventory/Interface/History.pm | Perl | mit | 2,570 |
package BkxMojo::Plugin::Bkmrx;
use Mojo::Base 'Mojolicious::Plugin';
use Net::IP::Match::Regexp qw( create_iprange_regexp match_ip );
use Mojo::URL;
use Mojo::Util qw(url_escape squish);
use Data::Validate::Domain;
use Data::Validate::IP;
use List::Util qw( max min );
use POSIX qw( ceil );
use HTML::Entities;
sub re... | vasun77/bkmrx.com | lib/BkxMojo/Plugin/Bkmrx.pm | Perl | mit | 5,628 |
#-------------------------------------------------------------------------------
# Copyright (c) 2014-2019 René Just, Darioush Jalali, and Defects4J contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to d... | rjust/defects4j | framework/core/Project/Jsoup.pm | Perl | mit | 3,103 |
#!/usr/bin/env perl
#
#-------------------------------------------------------------------------------
# Copyright (c) 2014-2019 René Just, Darioush Jalali, and Defects4J contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files ... | jose/defects4j | framework/bin/run_klocs.pl | Perl | mit | 4,190 |
#------------------------------------------------------------------------------
# File: fr.pm
#
# Description: ExifTool French language translations
#
# Notes: This file generated automatically by Image::ExifTool::TagInfoXML
#------------------------------------------------------------------------------... | pericles-project/pet | nativeTools/exiftool_OSX/lib/Image/ExifTool/Lang/fr.pm | Perl | apache-2.0 | 161,290 |
#------------------------------------------------------------------------------
# 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... | mkjanke/Focus-Points | focuspoints.lrdevplugin/bin/exiftool/lib/Image/ExifTool/Audible.pm | Perl | apache-2.0 | 11,795 |
use Apache2::Const -compile => qw(NOT_FOUND);
my $r = shift;
$r->status(Apache2::Const::NOT_FOUND);
$r->print("Content-type: text/plain\n\n");
| gitpan/mod_perl | ModPerl-Registry/t/cgi-bin/status_change.pl | Perl | apache-2.0 | 144 |
=pod
=head1 NAME
EVP_MD-SM3 - The SM3 EVP_MD implementations
=head1 DESCRIPTION
Support for computing SM3 digests through the B<EVP_MD> API.
=head2 Identity
This implementation is only available with the default provider, and is
identified with the name "SM3".
=head2 Gettable Parameters
This implementation supp... | jens-maus/amissl | openssl/doc/man7/EVP_MD-SM3.pod | Perl | bsd-3-clause | 795 |
package DateTime::TimeZone::OffsetOnly;
{
$DateTime::TimeZone::OffsetOnly::VERSION = '1.46';
}
use strict;
use warnings;
use parent 'DateTime::TimeZone';
use DateTime::TimeZone::UTC;
use Params::Validate qw( validate SCALAR );
sub new {
my $class = shift;
my %p = validate(
@_, {
of... | leighpauls/k2cro4 | third_party/perl/perl/vendor/lib/DateTime/TimeZone/OffsetOnly.pm | Perl | bsd-3-clause | 2,790 |
#------------------------------------------------------------------------------
# File: GIMP.pm
#
# Description: Read meta information from GIMP XCF images
#
# Revisions: 2010/10/05 - P. Harvey Created
#
# References: 1) GIMP source code
# 2) http://svn.gnome.org/viewvc/gimp/trunk/devel-docs... | mudasobwa/exifice | vendor/Image-ExifTool-10.02/lib/Image/ExifTool/GIMP.pm | Perl | mit | 7,482 |
+{
locale_version => 0.88,
# schwa doesn't require tailoring
entry => <<'ENTRY', # for DUCET v6.1.0
00E7 ; [.1603.0020.0002.00E7] # LATIN SMALL LETTER C WITH CEDILLA
0063 0327 ; [.1603.0020.0002.00E7] # LATIN SMALL LETTER C WITH CEDILLA
00C7 ; [.1603.0020.0008.00C7] # LATIN CAPITAL LETTER C WITH CEDILLA... | leighpauls/k2cro4 | third_party/perl/perl/lib/Unicode/Collate/Locale/az.pl | Perl | bsd-3-clause | 3,801 |
#!/usr/bin/perl -w
my $emp_line_cnt = 0;
my %result;
my $namespace_filter = @ARGV >= 1 ? $ARGV[0] : 0;
while (<STDIN>) {
my $line = $_;
chomp($line);
if ($line =~ /^$/) {
$emp_line_cnt++;
if ($emp_line_cnt == 2) {
last;
}
} elsif ($emp_line_cnt == 1 && $line =~ /^ *([0-9.]+) +[^ ]+ +[^ ]+ +[^ ]+ +[^ ]+ ... | sunfish-shogi/sunfish3 | tools/analyze_prof.pl | Perl | mit | 951 |
#!/usr/bin/perl -w
use strict;
use warnings;
use Best qw[ YAML::XS YAML::Syck YAML ];
my $data = {
a => 'b',
c => [ qw(d e f) ],
g => {
h => 'i',
j => [ qw(k l m) ],
},
};
$data->{g}{n} = $data->{c};
sub ::Y { Dump(@_) }
sub ::YY { require Carp; Carp::confess(::Y(@_)) }
print ::Y($data);
printf "YAML... | gaal/best | example/debug_dump.pl | Perl | mit | 362 |
#-*-Mode:perl;coding:utf-8;tab-width:4;c-basic-offset:4;indent-tabs-mode:()-*-
# ex: set ft=perl fenc=utf-8 sts=4 ts=4 sw=4 et nomod:
#
# MIT License
#
# Copyright (c) 2014-2017 Michael Truog <mjtruog at protonmail dot com>
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this softw... | CloudI/CloudI | src/api/perl/CloudI/InvalidInputException.pm | Perl | mit | 1,470 |
package Response;
use File::Basename;
my $dirname = dirname(__FILE__);
use lib "$dirname/Response";
my $path = "$dirname/Response/*.pm";
my @files = < $path >;
foreach my $fullname (@files) {
# TO LOG: system("echo \"**** $mod requiring $fullname\" >> log_module_Response");
require $fullname;
}
1;
__END__
| open-ch/contagent | perl/Response.pm | Perl | mit | 320 |
package Utils::Redis;
use strict;
use warnings;
use Log::Log4perl ();
use Redis ();
# Utils::Redis - Redis wrapper module
#
# Author - Georgios Davaris
#
# This module acts like a wrapper to Redis.pm.
# It is a dependency to Throttle.pm and Utils::Semaphore.
#
# The module implements the Redis blpop, del, get, getse... | davarisg/distributed-throttle | lib/Utils/Redis.pm | Perl | mit | 3,074 |
go:- nl,write('Enter list : '), read(L),
sumlist(L,Sum),
write('Sum : '), write(Sum).
sumlist([],0).
sumlist([X|T], Res) :- sumlist(T,R1), Res is X + R1.
| jatin69/lab-codes | artificial-intelligence/practicals/q19.pl | Perl | mit | 175 |
#!/usr/bin/perl -w
=head1 DESCRIPTION
=head1 SYNOPSIS
=head1 AUTHOR
Charles Tilford <podmail@biocode.fastmail.fm>
//Subject __must__ include 'Perl' to escape mail filters//
=head1 LICENSE
Copyright 2014 Charles Tilford
http://mit-license.org/
Permission is hereby granted, free of charge, to any person obtaini... | VCF/MapLoc | BMS/SnpTracker/MapLoc/mapLocReporter.pl | Perl | mit | 144,078 |
use Win32::OLE 'in';
use Win32::OLE::Const;
my $Locator=Win32::OLE->new("WbemScripting.SWbemLocator");
%wd = %{Win32::OLE::Const->Load($Locator)};
my %types;
while (($type,$nr)=each (%wd)){
if ($type=~/Cimtype/){
$type=~s/wbemCimtype//g;
$types{$nr}=$type;
}
}
my $ComputerName = ".";
my $NameSpace = "r... | VDBBjorn/Besturingssystemen-III | Labo/reeks4/Reeks4_13.pl | Perl | mit | 899 |
#!/usr/bin/perl
open(SIG, $ARGV[0]) || die "open $ARGV[0]: $!";
$n = sysread(SIG, $buf, 1000);
if($n > 510){
print STDERR "boot block too large: $n bytes (max 510)\n";
exit 1;
}
print STDERR "boot block is $n bytes (max 510)\n";
$buf .= "\0" x (510-$n);
$buf .= "\x55\xAA";
open(SIG, ">$ARGV[0]") || die "o... | chaoys/os | kernel/bootloader/sign.pl | Perl | mit | 367 |
#!/sw/bin/perl
=head1 NAME
B<combine replicates>
=head1 DESCRIPTION
Combine counts from individual condition/replicate/lane files into multicolumn files. Genes in all files B<must> be in the same order.
Warning: replicate and lane number and file name templates hardcoded in the script (sorry...)
Usage:
combine... | bartongroup/profDGE48 | General/combine_replicates.pl | Perl | mit | 5,581 |
#!/usr/bin/perl
use strict;
use warnings;
use DBI;
my $db = DBI->connect_cached("DBI:mysql:time:db.host", "user", "pass");
my $accounts = $db->selectall_arrayref("
SELECT * FROM accounts WHERE active = 1 AND admin = 0
", { Slice => {} });
my $employees = $db->selectall_hashref("
SELECT * FROM employees WHERE acti... | ryanzachry/timeclock | manager/scripts/clean_access.pl | Perl | mit | 631 |
#!/usr/bin/perl -w
use strict;
my $sUsage = qq(
perl $0
A/B/D
);
die $sUsage unless @ARGV;
my $subgenome = shift;
my @accs = qw(Grandin ID0444 Jaypee Jupateco Steele Stephens Truman);
my %record_hash;
foreach my $acc (@accs)
{
my $notNA_file = $acc . "_" . $subgenome . "_notNA.txt";
my $silen_file = $acc . "_" . $... | swang8/Perl_scripts_misc | extract_silenced_gene_matrix.pl | Perl | mit | 1,032 |
#!/usr/bin/env perl
# find genes that are druggable from dgidb.org. Script taken from that site.
#You may need to install the CPAN JSON package before this script will work
#http://www.cpan.org/modules/INSTALL.html
#On a mac you can do the following:
# First configure the 'cpan' tool
# % sudo cpan
# Then at a cpan pr... | chrisamiller/bioinfoSnippets | dgidb.pl | Perl | mit | 5,034 |
#
# You may distribute this module under the same terms as perl itself
#
# POD documentation - main docs before the code
=pod
=head1 NAME
Bio::EnsEMBL::Compara::RunnableDB::BlastComparaPepAcross
=cut
=head1 SYNOPSIS
my $db = Bio::EnsEMBL::Compara::DBAdaptor->new($locator);
my $blast = Bio::EnsEMBL::Compara:... | adamsardar/perl-libs-custom | EnsemblAPI/ensembl-compara/modules/Bio/EnsEMBL/Compara/RunnableDB/BlastComparaPepAcross.pm | Perl | apache-2.0 | 14,252 |
#
# 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/redback/snmp/mode/components/temperature.pm | Perl | apache-2.0 | 3,049 |
#
# 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 | centreon/common/dell/powerconnect3000/mode/globalstatus.pm | Perl | apache-2.0 | 3,990 |
package DDG::Spice::Xkcd::Display;
# ABSTRACT: Displays an xkcd comic
use strict;
use DDG::Spice;
name "xkcd";
description "Get the latest xkcd comic";
source "xkcd";
primary_example_queries "xkcd";
secondary_example_queries "xkcd 102";
category "special";
topics "entertainment", "geek", "special_interest";
icon_url ... | tagawa/zeroclickinfo-spice | lib/DDG/Spice/Xkcd/Display.pm | Perl | apache-2.0 | 1,034 |
#
# 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/evertz/FC7800/snmp/plugin.pm | Perl | apache-2.0 | 1,257 |
#
# 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 | centreon/common/foundry/snmp/mode/components/fan.pm | Perl | apache-2.0 | 2,843 |
false :-
main_verifier_error.
verifier_error(A,B,C) :-
A=0,
B=0,
C=0.
verifier_error(A,B,C) :-
A=0,
B=1,
C=1.
verifier_error(A,B,C) :-
A=1,
B=0,
C=1.
verifier_error(A,B,C) :-
A=1,
B=1,
C=1.
fibo2(A,B,C,D,E) :-
A=1,
B=1,
C=1.
fibo2(A,B,C,D,E) :-
A=0,
B=1,
C=1.
fib... | bishoksan/RAHFT | benchmarks_scp/SVCOMP15/svcomp15-clp/fibo_2calls_4_true-unreach-call.c.pl | Perl | apache-2.0 | 883 |
use Search::Kino03::KinoSearch;
1;
__END__
__AUTO_XS__
my $synopsis = <<'END_SYNOPSIS';
my $foo_and_maybe_bar = Search::Kino03::KinoSearch::Search::RequiredOptionalQuery->new(
required_query => $foo_query,
optional_query => $bar_query,
);
my $hits = $searcher->hits( query => $foo_and_may... | robertkrimen/Search-Kino03 | lib/Search/Kino03/KinoSearch/Search/RequiredOptionalQuery.pm | Perl | apache-2.0 | 1,322 |
package Google::Ads::AdWords::v201809::RegionCodeError::Reason;
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 ty... | googleads/googleads-perl-lib | lib/Google/Ads/AdWords/v201809/RegionCodeError/Reason.pm | Perl | apache-2.0 | 1,121 |
#
# 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/emc/isilon/snmp/mode/components/power.pm | Perl | apache-2.0 | 3,097 |
use utf8;
package EpiRR::Schema::Result::Archive;
# Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME
EpiRR::Schema::Result::Archive
=cut
use strict;
use warnings;
use base 'DBIx::Class::Core';
=head1 TABLE: C<archive>
=cut
__PACKAGE__->table("archive");
=head1 ACC... | EMBL-EBI-GCA/EpiRR | lib/EpiRR/Schema/Result/Archive.pm | Perl | apache-2.0 | 2,352 |
=head1 NAME
Workarounds for some known bugs in browsers.
=head1 Description
Unfortunately for web programmers, browser bugs are not uncommon, and
sometimes we have to deal with them; refer to this chapter for some
known bugs and how you can work around them.
=head1 Same Browser Requests Serialization
The followin... | Distrotech/mod_perl | docs/src/docs/tutorials/client/browserbugs/browserbugs.pod | Perl | apache-2.0 | 4,302 |
=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 | misc-scripts/cloud/EnsCloud/Image/VolumeBundle/Volume.pm | Perl | apache-2.0 | 1,694 |
#
# 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 | centreon/common/emc/navisphere/mode/spcomponents/memory.pm | Perl | apache-2.0 | 2,069 |
package Paws::IAM::EnableMFADevice;
use Moose;
has AuthenticationCode1 => (is => 'ro', isa => 'Str', required => 1);
has AuthenticationCode2 => (is => 'ro', isa => 'Str', required => 1);
has SerialNumber => (is => 'ro', isa => 'Str', required => 1);
has UserName => (is => 'ro', isa => 'Str', required => 1);
... | ioanrogers/aws-sdk-perl | auto-lib/Paws/IAM/EnableMFADevice.pm | Perl | apache-2.0 | 3,475 |
#
# 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/f5/bigip/mode/connections.pm | Perl | apache-2.0 | 6,536 |
package Paws::API::Builder::EC2 {
use Data::Printer;
use Data::Dumper;
use autodie;
use Moose;
extends 'Paws::API::Builder';
has response_role => (is => 'ro', lazy => 1, default => sub { 'Paws::Net::XMLResponse' });
has '+parameter_role' => (
default => sub {
return "Paws::Net::EC2Caller"... | ioanrogers/aws-sdk-perl | builder-lib/Paws/API/Builder/EC2.pm | Perl | apache-2.0 | 6,181 |
#!/usr/local/bin/perl
if (@ARGV < 1) { die "usage:\tmadx2placet.pl FILE 1 (:take apertures from madX (0 apertures 1 m)) 1 (: for wakefield studies) 1 unsplitted elements \n"; }
open(FILE, $ARGV[0]) or die "Could not open file $ARGV[0]\n";
@names = ();
@line = ();
@elemnames = ();
@elemleng = ();
@key = ();
@a_x = ()... | pymad/cpymad | src/cern/cpymad/_models/repdata/CLICr/MainBeam/BDS/v_10_10_11/madx2placet_bds.pl | Perl | apache-2.0 | 21,249 |
package VMOMI::VmFailedToPowerOffEvent;
use parent 'VMOMI::VmEvent';
use strict;
use warnings;
our @class_ancestors = (
'VmEvent',
'Event',
'DynamicData',
);
our @class_members = (
['reason', 'LocalizedMethodFault', 0, ],
);
sub get_class_ancestors {
return @class_ancestors;
}
sub get_class_m... | stumpr/p5-vmomi | lib/VMOMI/VmFailedToPowerOffEvent.pm | Perl | apache-2.0 | 463 |
#!/usr/bin/perl
use Digest::MD5 qw(md5 md5_hex md5_base64);
@testfiles = ();
sub findfiles
{
my $path = shift;
opendir(my $dh, $path) || die "Can't opendir: $!";
while (my $filename = readdir($dh)) {
if (($filename =~ m/_tests\.c$/i) && -f "$path/$filename") {
push @testfiles, "$path/$filename";
}
elsif (... | seanofw/smile | smilelibtests/gentests.pl | Perl | apache-2.0 | 3,448 |
#!/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/refseq_import/load_refseq_synonyms.pl | Perl | apache-2.0 | 10,601 |
#!/usr/bin/perl
use strict;
use warnings;
use FindBin;
use lib "$FindBin::Bin/../../lib";
use lib "$FindBin::Bin/../../lib/Grids/VM/Memory/lib";
use lib "$FindBin::Bin/../../lib/Grids/VM/Memory/blib/arch/auto/Grids/VM/Memory";
use lib "$FindBin::Bin/../../lib/Grids/VM/Register/lib";
use lib "$FindBin::Bin/../../lib/G... | revmischa/grids | tools/node/gridsnode.pl | Perl | bsd-3-clause | 2,784 |
use WebServices::Zazzle;
use Digest::MD5 qw(md5_hex);
use LWP::UserAgent;
use URI::Escape qw(uri_escape);
use XML::Simple qw(xml_in);
# Test 1: object initialization
my $obj = WebServices::Zazzle->new('user', 'secret');
print "ok 1\n";
# Test 2: test md5_hex
my $good_sum = 'd67673f506f955d7c61821867a3a41dc';
my $test... | troby/zazzle | test.pl | Perl | bsd-3-clause | 950 |
#!/usr/bin/perl
# Copyright (c) 2015 Genome Research Ltd.
#
# Author: Robert Davies <rmd+git@sanger.ac.uk>
#
# 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 abo... | daviesrob/pthread_mon | pmon_plot.pl | Perl | bsd-3-clause | 6,022 |
% Frame number: 0
% Frame number: 1
% Frame number: 2
% Frame number: 3
happensAt( walking( id0 ), 120 ). holdsAt( coord( id0 )=( 182, 197 ), 120 ).
holdsAt( coord( id1 )=( 71, 77 ), 120 ).
% Frame number: 4
% Frame number: 5
happensAt( walking( id0 ), 200 ).
% Frame number: 6
% Frame number... | JasonFil/Prob-EC | dataset/strong-noise/14-LeftBag/lb1gtMovementIndv_new.pl | Perl | bsd-3-clause | 44,109 |
#!/usr/bin/perl
$usage = qq{
hashLookup.pl <file1> <file2> <field1> <field2a> <field2b>
<file1> table or list of IDs to look up (.tsv)
<file2> lookup table with two or more fields (.tsv)
<field1> field of file1 to match (eg 0)
<field2a> field of file2 that matches file1 field
... | cuttlefishh/papers | vibrio-fischeri-transcriptomics/code/perl/hashLookup_v1.pl | Perl | mit | 1,320 |
#
# 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 | hardware/server/supermicro/snmp/plugin.pm | Perl | apache-2.0 | 1,326 |
package # hide from pause
DBIx::Class::Carp;
use strict;
use warnings;
# load Carp early to prevent tickling of the ::Internal stash being
# interpreted as "Carp is already loaded" by some braindead loader
use Carp ();
$Carp::Internal{ (__PACKAGE__) }++;
sub __find_caller {
my ($skip_pattern, $class) = @_;
my... | ray66rus/vndrv | local/lib/perl5/DBIx/Class/Carp.pm | Perl | apache-2.0 | 5,096 |
#
# 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... | maksimatveev/centreon-plugins | network/hirschmann/standard/snmp/mode/cpu.pm | Perl | apache-2.0 | 3,383 |
#------------------------------------------------------------------------------
# File: RSRC.pm
#
# Description: Read Mac OS Resource information
#
# Revisions: 2010/03/17 - P. Harvey Created
#
# References: 1) http://developer.apple.com/legacy/mac/library/documentation/mac/MoreToolbox/MoreToolbox-99.html... | mkjanke/Focus-Points | focuspoints.lrdevplugin/bin/exiftool/lib/Image/ExifTool/RSRC.pm | Perl | apache-2.0 | 9,622 |
########################################################################
# Bio::KBase::ObjectAPI::KBaseGenomes::Feature_quality_measure - This is the moose object corresponding to the KBaseGenomes.Feature_quality_measure object
# Authors: Christopher Henry, Scott Devoid, Paul Frybarger
# Contact email: chenry@mcs.anl.g... | cshenry/fba_tools | lib/Bio/KBase/ObjectAPI/KBaseGenomes/Feature_quality_measure.pm | Perl | mit | 1,777 |
# 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/ympzZnp0Uq/europe. Olson data version 2012c
#
# Do not edit this file directly.
#
package DateTime::Tim... | leighpauls/k2cro4 | third_party/perl/perl/vendor/lib/DateTime/TimeZone/Europe/Amsterdam.pm | Perl | bsd-3-clause | 14,720 |
# !!!!!!! 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/Ccc/CCC31.pl | Perl | mit | 425 |
=head1 NAME
XML::LibXML::Comment - XML::LibXML Comment Class
=head1 SYNOPSIS
use XML::LibXML;
# Only methods specific to Comment nodes are listed here,
# see XML::LibXML::Node manpage for other methods
$node = XML::LibXML::Comment( $content );
=head1 DESCRIPTION
This class provides all functions of L<<<... | leighpauls/k2cro4 | third_party/cygwin/lib/perl5/vendor_perl/5.10/i686-cygwin/XML/LibXML/Comment.pod | Perl | bsd-3-clause | 1,386 |
# if regular doxycomment add a @{
# at next empty line add a //@}
$ingroup = 0;
$semicount =0;
$endbracecount = 0;
$endparencount = 0;
while(<>)
{
chomp;
$line = $_;
# if the line is not an empty line
if( $line =~ /\S+/ )
{
if ( /\/\*\*(.*)/ )
{
# I guess it was not a group, dump savebuff... | dsarrut/RTK | documentation/Doxygen/itkgroup.pl | Perl | apache-2.0 | 1,820 |
#! /usr/bin/perl -w
# Copyright (C) 2007 Apple Inc. 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 list ... | mogoweb/webkit_for_android5.1 | webkit/Source/WebKit/win/WebKit.vcproj/FixMIDLHeaders.pl | Perl | apache-2.0 | 2,752 |
# Copyrights 1995-2008 by Mark Overmeer <perl@overmeer.net>.
# For other contributors see ChangeLog.
# See the manual pages for details on the licensing terms.
# Pod stripped from pm file by OODoc 1.04.
use strict;
package Mail::Mailer::sendmail;
use vars '$VERSION';
$VERSION = '2.03';
use base 'Mail::Mailer::rfc822'... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/Mail/Mailer/sendmail.pm | Perl | mit | 780 |
#!/usr/bin/perl
#
# MySQL SQL generating perl module
# This file is part of http://github/m5n/nutriana
use strict;
sub sql_comment {
my ($comment) = @_;
return "-- $comment";
}
sub sql_how_to_run_as_admin {
my ($user_name, $outfile) = @_;
return "mysql --local_infile=1 -v -u root < $outfile";
}
su... | m5n/nutriana | src/MySQL.pm | Perl | mit | 6,559 |
package HMMER2GO::Command::map2gaf;
# ABSTRACT: Generate association file for gene and GO term mappings.
use 5.010;
use strict;
use warnings;
use HMMER2GO -command;
use POSIX qw(strftime);
use IPC::System::Simple qw(system);
use HTTP::Tiny;
use File::Basename;
use Bio::DB::Taxonomy;
#use Data::Dump::Col... | sestaton/HMMER2GO | lib/HMMER2GO/Command/map2gaf.pm | Perl | mit | 7,524 |
#!/usr/bin/perl
use strict;
use lib "/httpd/modules";
use TOXML;
use FLOW::LIST;
use TOXML::UTIL;
use Data::Dumper;
use ZTOOLKIT;
my $USERNAME = '';
my $FORMAT = 'WRAPPER';
my @USERS = ();
push @USERS, '';
# push @USERS, "sporks";
my $dbh = &DBINFO::db_zoovy_connect();
&DBINFO::db_zoovy_close();
foreach my $USERNA... | CommerceRack/backend-static | upgradespec.pl | Perl | mit | 3,806 |
#!/usr/bin/env perl
#The MIT License (MIT)
#Copyright (c) <year> <copyright holders>
#Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights ... | Irabor/tbot | tbot.pl | Perl | mit | 3,481 |
#!/usr/bin/perl
# Copyright (C) 2000-2004 Carsten Haitzler, Geoff Harrison and various contributors
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without ... | burzumishi/e16 | sample-scripts/testroller.pl | Perl | mit | 3,303 |
#!/usr/bin/env perl
#===============================================================================
#
# FILE: lsf_job_manager.pl
#
# USAGE: ./lsf_job_manager.pl
#
# DESCRIPTION:
#
# OPTIONS: ---
# REQUIREMENTS: ---
# BUGS: ---
# NOTES: ---
# AUTHOR: NJWALKER (), nw11@sanger.ac... | RGunning/customscripts | lsf_dispatcher1.pl | Perl | mit | 6,075 |
# !!!!!!! 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/Nv/0.pl | Perl | mit | 1,386 |
package Anagram;
use strict;
use warnings;
use Exporter qw<import>;
our @EXPORT_OK = qw<match_anagrams>;
sub match_anagrams {
my ($input) = @_;
return undef;
}
1;
| exercism/xperl5 | exercises/practice/anagram/Anagram.pm | Perl | mit | 169 |
package #
Date::Manip::TZ::afnair00;
# 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/afnair00.pm | Perl | mit | 2,035 |
#!/usr/bin/perl
##---------------------------------------------------------------------------##
## File:
## @(#) clusterProfillicAlignmentProfiles
## Author:
## Paul Thatcher Edlefsen pedlefse@fredhutch.org
## Description:
## Script for using Profile HMMs to cluster sequences.
## By default it ... | pedlefsen/hiv-founder-id | clusterProfillicAlignmentProfiles.pl | Perl | mit | 3,537 |
# 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/LanguageInfo.pm | Perl | apache-2.0 | 1,033 |
=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.
You may obta... | muffato/public-plugins | tools_hive/modules/EnsEMBL/Web/PipeConfig/Tools_conf.pm | Perl | apache-2.0 | 2,410 |
=head1 NAME
Unison -- Unison database API for perl
S<$Id$>
=head1 SYNOPSIS
use Unison;
=head1 DESCRIPTION
C<use Unison;> loads the most commonly used Unison modules into the
Unison:: namespace. See `perldoc Unison::common' for information about
which modules are included, and see `perldoc Unison::intro' for mo... | unison/unison | perl5/Unison.pm | Perl | apache-2.0 | 972 |
#
# 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-WebSphere | src/main/resources/project/server/modifyApplicationClassLoader.pl | Perl | apache-2.0 | 2,816 |
new10(A,B,C,D,E) :- A=0.
new9(A,B,C,D) :- E=1, B=<100, new10(E,A,B,C,D).
new9(A,B,C,D) :- E=0, B>=101, new10(E,A,B,C,D).
new7(A,B,C,D) :- E=1+A, F=1+B, A-D=< -1, new7(E,F,C,D).
new7(A,B,C,D) :- A-D>=0, new9(A,B,C,D).
new6(A,B,C,D) :- E=0, C-D=<0, new7(C,E,C,D).
new5(A,B,C,D) :- C>=0, new6(A,B,C,D).
new4(A,B,C,D) :- D=<... | bishoksan/RAHFT | benchmarks_scp/misc/programs-clp/DAGGER-substring1.map.c.map.pl | Perl | apache-2.0 | 430 |
# OpenXPKI::Server::Workflow::Condition::CertificateNotYetRevoked
# Written by Alexander Klink for the OpenXPKI project 2007
# Copyright (c) 2007 by The OpenXPKI Project
package OpenXPKI::Server::Workflow::Condition::CertificateNotYetRevoked;
use strict;
use warnings;
use base qw( Workflow::Condition );
use Workflow::... | aleibl/openxpki | core/server/OpenXPKI/Server/Workflow/Condition/CertificateNotYetRevoked.pm | Perl | apache-2.0 | 2,597 |
package Google::Ads::AdWords::v201402::ConstantDataService::ConstantDataServiceInterfacePort;
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::v201402::TypeMaps::Const... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201402/ConstantDataService/ConstantDataServiceInterfacePort.pm | Perl | apache-2.0 | 15,942 |
=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... | danstaines/ensembl-compara | modules/Bio/EnsEMBL/Compara/RunnableDB/DBMergeCheck.pm | Perl | apache-2.0 | 16,904 |
#!/usr/bin/perl -W
use strict;
use File::Copy;
use File::Path;
my($MINSEQLENGTH)=30;
my($HAREA)=20;
my($HMIN)=3;
my($CDHIT_IDENTITY)=0.97;
my($CDHIT_WORD_SIZE)=5;
my($BLAST_PATH)='dc_blastall';
my($BLAST_ALGO)='tera-blastp';
my($KNOWNSEQS_DB)='fusionated';
my($BLAST_EVALUE)=1e-5;
my($BLAST_HITS)=500;
my($PDBPREFILE... | inab/GOPHER | prototype/gopher-prepare.pl | Perl | apache-2.0 | 12,819 |
package Paws::CloudDirectory::IndexAttachment;
use Moose;
has IndexedAttributes => (is => 'ro', isa => 'ArrayRef[Paws::CloudDirectory::AttributeKeyAndValue]');
has ObjectIdentifier => (is => 'ro', isa => 'Str');
1;
### main pod documentation begin ###
=head1 NAME
Paws::CloudDirectory::IndexAttachment
=head1 U... | ioanrogers/aws-sdk-perl | auto-lib/Paws/CloudDirectory/IndexAttachment.pm | Perl | apache-2.0 | 1,609 |
package Paws::SimpleWorkflow::HistoryEvent;
use Moose;
has ActivityTaskCanceledEventAttributes => (is => 'ro', isa => 'Paws::SimpleWorkflow::ActivityTaskCanceledEventAttributes', request_name => 'activityTaskCanceledEventAttributes', traits => ['NameInRequest']);
has ActivityTaskCancelRequestedEventAttributes => ... | ioanrogers/aws-sdk-perl | auto-lib/Paws/SimpleWorkflow/HistoryEvent.pm | Perl | apache-2.0 | 35,528 |
#!/usr/bin/perl
package Format::Bam2Fastq;
use strict;
use warnings;
use File::Basename;
use CQS::PBS;
use CQS::ConfigUtils;
use CQS::SystemUtils;
use CQS::FileUtils;
use CQS::Task;
use CQS::StringUtils;
our @ISA = qw(CQS::Task);
sub new {
my ($class) = @_;
my $self = $class->SUPER::new();
$s... | realizor/ngsperl | lib/Format/Bam2Fastq.pm | Perl | apache-2.0 | 3,542 |
package Paws::Lightsail::CreateDomain;
use Moose;
has DomainName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'domainName' , required => 1);
use MooseX::ClassAttribute;
class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateDomain');
class_has _returns => (isa => ... | ioanrogers/aws-sdk-perl | auto-lib/Paws/Lightsail/CreateDomain.pm | Perl | apache-2.0 | 1,930 |
:- module(load_simple_ciaopp, [load_file/1,my_clause/3], [assertions, isomodes, doccomments, dynamic]).
%! \title Simple program loader
%
% \module
% Load clauses in `my_clause/3` (keeps a unique identifer for each
% clause). Drops any `:- _` declaration.
:- use_module(ciaopp(ciaopp)).
:- use_module(ciaopp(p_u... | bishoksan/chclibs | src/ciaopp/load_simple_ciaopp.pl | Perl | apache-2.0 | 1,535 |
package Tapper::Reports::Receiver::Util;
# ABSTRACT: Receive test reports
use 5.010;
use strict;
use warnings;
use Data::Dumper;
use DateTime::Format::Natural;
use File::MimeInfo::Magic;
use IO::Scalar;
use Moose;
use YAML::Syck;
use Devel::Backtrace;
use Try::Tiny;
use Sys::Syslog; # core module since 1994
use Tapp... | tapper/Tapper-Reports-Receiver | lib/Tapper/Reports/Receiver/Util.pm | Perl | bsd-2-clause | 12,053 |
# 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/sys_types.pm | Perl | bsd-2-clause | 2,325 |
#!%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-backend/src/mirror/mx1-mirror.pl | Perl | bsd-3-clause | 18,100 |
#!/usr/bin/perl
# vim: ts=4 sts=4 sw=4
#
# Markdown -- A text-to-HTML conversion tool for web writers
#
# Copyright (c) 2013 Matthew Kerwin
# <https://github.com/phluid61/mmdc/>
#
# Copyright (c) 2004 John Gruber
# <http://daringfireball.net/projects/markdown/>
#
package Markdown;
require 5.006_000;
use strict;
use ... | phluid61/mmdc | Markdown.pl | Perl | bsd-3-clause | 36,645 |
#! /usr/bin/env perl
# Copyright 2014-2016 The OpenSSL Project Authors. All Rights Reserved.
#
# Licensed under the OpenSSL license (the "License"). You may not use
# this file except in compliance with the License. You can obtain a copy
# in the file LICENSE in the source distribution or at
# https://www.openssl.org... | youtube/cobalt | third_party/boringssl/src/crypto/fipsmodule/modes/asm/ghashv8-armx.pl | Perl | bsd-3-clause | 11,861 |
#!/usr/bin/perl
#
# Copyright © 2013 University of Wisconsin-La Crosse.
# All rights reserved.
#
# See COPYING in top-level directory.
#
# $HEADER$
#
use strict;
use warnings;
use Getopt::Long;
use JSON;
use lib "@bindir@";
use Perl_IB_support;
main(@ARGV);
#########################... | shekkbuilder/hwloc | utils/netloc_reader_ib/netloc_reader_ib_backend_general.pl | Perl | bsd-3-clause | 7,477 |
#ExStart:1
use lib 'lib';
use strict;
use warnings;
use utf8;
use File::Slurp; # From CPAN
use JSON;
use AsposeStorageCloud::StorageApi;
use AsposeStorageCloud::ApiClient;
use AsposeStorageCloud::Configuration;
use AsposePdfCloud::PdfApi;
use AsposePdfCloud::ApiClient;
use AsposePdfCloud::Configuration;
my $configFi... | asposepdf/Aspose_Pdf_Cloud | Examples/Perl/Attachments/GetSpecificAttachment.pl | Perl | mit | 1,590 |
/* Part of XPCE --- The SWI-Prolog GUI toolkit
Author: Jan Wielemaker and Anjo Anjewierden
E-mail: jan@swi.psy.uva.nl
WWW: http://www.swi.psy.uva.nl/projects/xpce/
Copyright (c) 2000-2011, University of Amsterdam
All rights reserved.
Redistribution and use in source a... | TeamSPoon/logicmoo_workspace | docker/rootfs/usr/local/lib/swipl/xpce/prolog/lib/doc/table.pl | Perl | mit | 12,529 |
##
## French tables, contributed by Emmanuel Bataille (bem@residents.frmug.org)
##
package Date::Language::French;
use Date::Language ();
use vars qw(@ISA @DoW @DoWs @MoY @MoYs @AMPM @Dsuf %MoY %DoW $VERSION);
@ISA = qw(Date::Language);
$VERSION = "1.04";
@DoW = qw(dimanche lundi mardi mercredi jeudi vendredi samedi... | operepo/ope | client_tools/svc/rc/usr/share/perl5/vendor_perl/Date/Language/French.pm | Perl | mit | 1,020 |
#-----------------------------------------------------------
# usb
# Similar to usbstor plugin, but prints output in .csv format;
# also checks MountedDevices keys
#
#
# copyright 2008 H. Carvey, keydet89@yahoo.com
#-----------------------------------------------------------
package autopsyusb;
use strict;
my %config... | kefir-/autopsy | RecentActivity/release/rr/plugins/autopsyusb.pl | Perl | apache-2.0 | 2,774 |
package CoGe::Algos::Pairwise;
use strict;
use base 'Class::Accessor';
use Data::Dumper;
use IO::Socket;
use CoGe::Accessory::Web;
BEGIN {
use Exporter ();
use vars qw($P $VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS $NWALIGN $MATRIX_FILE);
$VERSION = '0.1';
@ISA = (@ISA, qw(Exporter));
... | asherkhb/coge | modules/Algos/Pairwise/lib/CoGe/Algos/Pairwise.pm | Perl | bsd-2-clause | 33,357 |
:-table reach/2.
go:-
cputime(Start),
top,
cputime(End),
T is End-Start,
write('TIME:'),write(T),nl.
main:-top.
top:-
reach(X,Y),
% write(r(X,Y)),nl,
fail.
top.
reach(X,Y):-edge(X,Y).
reach(X,Y):-edge(X,Z),reach(Z,Y).
:-['edge.pl'].
| TeamSPoon/pfc | t/tabling-tests/Bench/tabling/tcr.pl | Perl | bsd-2-clause | 269 |
=pod
=head1 NAME
BIO_get_ex_new_index, BIO_set_ex_data, BIO_get_ex_data,
BIO_set_app_data, BIO_get_app_data,
DH_get_ex_new_index, DH_set_ex_data, DH_get_ex_data,
DSA_get_ex_new_index, DSA_set_ex_data, DSA_get_ex_data,
EC_KEY_get_ex_new_index, EC_KEY_set_ex_data, EC_KEY_get_ex_data,
ENGINE_get_ex_new_index, ENGINE_set... | jens-maus/amissl | openssl/doc/man3/BIO_get_ex_new_index.pod | Perl | bsd-3-clause | 5,506 |
package AsposeEmailCloud::Object::LineNumberRestartMode;
require 5.6.0;
use strict;
use warnings;
use utf8;
use JSON qw(decode_json);
use Data::Dumper;
use Module::Runtime qw(use_module);
use Log::Any qw($log);
use Date::Parse;
use DateTime;
use base "AsposeEmailCloud::Object::BaseObject";
#
#
#
#NOTE: This class is... | asposeemail/Aspose_Email_Cloud | SDKs/Aspose.Email-Cloud-SDK-for-Perl/lib/AsposeEmailCloud/Object/LineNumberRestartMode.pm | Perl | mit | 772 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.