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 App::Netdisco::SSHCollector::Platform::VOSS;
=head1 NAME
App::Netdisco::SSHCollector::Platform::VOSS
=head1 DESCRIPTION
Collect ARP entries from Extreme VSP devices running the VOSS operating system.
This is useful if running multiple VRFs as the built-in SNMP ARP collection will only fetch from the defaul... | netdisco/netdisco | lib/App/Netdisco/SSHCollector/Platform/VOSS.pm | Perl | bsd-3-clause | 3,514 |
# SNMP::Info::Layer1::Asante
# $Id$
#
# Copyright (c) 2008 Max Baker changes from version 0.8 and beyond.
#
# Copyright (c) 2002,2003 Regents of the University of California
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the foll... | 42wim/snmp-info | Info/Layer1/Asante.pm | Perl | bsd-3-clause | 6,232 |
#!/usr/bin/perl -CSD
#
# Simple command script for executing ParsCit in an
# offline mode (direct API call instead of going through
# the web service).
#
# Isaac Councill, 08/23/07
#
use strict;
use FindBin;
use lib "$FindBin::Bin/../lib";
use ParsCit::Controller;
my $textFile = $ARGV[0];
my $outFile = $ARGV[1];
if (... | WebSciences/citeseer-ucl | src/perl/ParsCit/bin/citeExtract.pl | Perl | apache-2.0 | 631 |
#!perl
##########################################################################
# FILE mk_distro.pl
# PURPOSE General Interface for making a Windows distribution
# ====================================================================
# Licensed to the Apache Software Foundation (ASF) under one
# or more... | jmckaskill/subversion | packages/windows-innosetup/tools/mk_distro.pl | Perl | apache-2.0 | 4,314 |
#------------------------------------------------------------------------------
# File: cz.pm
#
# Description: ExifTool language-specific tag information
#
# Notes: This file generated automatically by Image::ExifTool::TagInfoXML
#-------------------------------------------------------------------------... | opf-attic/ref | tools/fits/0.5.0/tools/exiftool/perl/lib/Image/ExifTool/Lang/cz.pm | Perl | apache-2.0 | 42,797 |
package #
Date::Manip::TZ::asthim00;
# 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/asthim00.pm | Perl | bsd-2-clause | 1,531 |
#!/usr/bin/perl
require "/perfstat/build/serialize/create/ServiceConfig.pl";
#add create new service
$service = Service->new( serviceName => "conn",
);
#add metric 0
$obj = Metric->new( rrdIndex => 0,
metricName => "http",
friendlyName => "Web Server",
status => "nostatus",
servicePort =>... | ktenzer/perfstat | misc/serialize/create/SunOs/120304/conn.port.pl | Perl | apache-2.0 | 1,440 |
=pod
=head1 NAME
SSL_SESSION_get0_id_context,
SSL_SESSION_set1_id_context
- get and set the SSL ID context associated with a session
=head1 SYNOPSIS
#include <openssl/ssl.h>
const unsigned char *SSL_SESSION_get0_id_context(const SSL_SESSION *s,
unsigned int *len)... | jens-maus/amissl | openssl/doc/man3/SSL_SESSION_get0_id_context.pod | Perl | bsd-3-clause | 1,653 |
#! /usr/bin/env perl
# Copyright 2012-2020 The OpenSSL Project Authors. All Rights Reserved.
#
# Licensed under the Apache License 2.0 (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.... | jens-maus/amissl | openssl/crypto/aes/asm/aes-c64xplus.pl | Perl | bsd-3-clause | 44,249 |
=pod
=head1 NAME
SSL_get_peer_signature_nid, SSL_get_peer_signature_type_nid,
SSL_get_signature_nid, SSL_get_signature_type_nid - get TLS message signing
types
=head1 SYNOPSIS
#include <openssl/ssl.h>
int SSL_get_peer_signature_nid(SSL *ssl, int *psig_nid);
int SSL_get_peer_signature_type_nid(const SSL *ssl, in... | jens-maus/amissl | openssl/doc/man3/SSL_get_peer_signature_nid.pod | Perl | bsd-3-clause | 1,874 |
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | vasili-v/themis | vendor/github.com/apache/thrift/lib/perl/lib/Thrift/MemoryBuffer.pm | Perl | apache-2.0 | 2,725 |
#!/usr/bin/perl
#
# Create a dot(1) graph file from a directory hierarchy
#
# (C) Copyright 2001 Diomidis Spinellis.
#
# Permission to use, copy, and distribute this software and its
# documentation for any purpose and without fee is hereby granted,
# provided that the above copyright notice appear in all copie... | JasonGross/graphviz-packaging | reference-graphviz-2.39.20141222.0545/contrib/dirgraph/dirgraph.pl | Perl | mit | 1,734 |
###########################################################################
#
# This file is auto-generated by the Perl DateTime Suite locale
# generator (0.05). This code generator comes with the
# DateTime::Locale distribution in the tools/ directory, and is called
# generate-from-cldr.
#
# This file as generated fr... | Dokaponteam/ITF_Project | xampp/perl/vendor/lib/DateTime/Locale/ss.pm | Perl | mit | 11,769 |
#!/usr/bin/env perl
#
# Copyright 2015 Comcast Cable Communications Management, 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
#
# Unle... | petrocc/traffic_control | traffic_ops/app/bin/routes.pl | Perl | apache-2.0 | 2,378 |
use strict;
use DBI;
my $mon = "Nov_2018";
print STDERR "Using $mon for the SQLite database\n";
my $dbfile = "/home3/redwards/SRA/SRAdb/$mon/SRAmetadb.sqlite";
unless (-e $dbfile) {
die "Can not find SQLite file $dbfile";
}
my $dbh = DBI->connect("dbi:SQLite:dbname=$dbfile","","");
my $n=250;
my $inputfile = shift |... | linsalrob/EdwardsLab | sra/runs_to_abstracts.pl | Perl | mit | 1,325 |
# 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/australasia. Olson data version 2008c
#
# Do not edit this file directly.
#
package DateTime::... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/DateTime/TimeZone/Pacific/Palau.pm | Perl | mit | 945 |
# toExMS(M)cli.pl
#
# Arranges information in Mascot-exported CVS files to that necessary for
# ExMS. Remember to export to .xlsx afterwards! Made to work with Mascot as run by the IBBR as of 2014-07-18.
# Mascot claims last update 2010-03-30.
#
#######################################################################... | dweber3/MascotCVSconversion | toExMS(M)cli.pl | Perl | mit | 4,384 |
#!/usr/bin/env perl
use warnings;
use strict;
#use utf8;
#use open qw/:std :utf8/;
#use Encode;
sub binize
{
my $str = shift;
$str =~ s/^%//;
pack 'C', hex($str);
}
for my $arg (@ARGV) {
$arg =~ s/%([[:xdigit:]]{2})/binize($1)/ge;
print $arg;
print "\n";
}
__DATA__
1%E5%88%86%E9%92%9F%E6%91%84%E5%BD%B1%E8%AF... | zeroxia/mystery | archive/2013/perl/unescape-html-entity.pl | Perl | mit | 1,926 |
package Tool;
use strict;
use warnings;
use FindBin '$Bin';
use Exporter;
use Exploits;
use Subs;
use Print;
use Banner;
use File::Basename;
## Copy@right Alisam Technology see License.txt
my @ISA = qw(Exporter);
my @EXPORT_OK = qw(tool);
my $scriptv = Subs::scriptv();
my @c = Prin... | AlisamTechnology/ATSCAN | inc/lib/lib/Tool.pm | Perl | mit | 927 |
#!/usr/bin/perl -w
#
use strict;
use warnings;
my $verzeichnis = "Wachst:uchschmel?zen.odt";
$verzeichnis =~ s/:/xDpX/g;
print "$verzeichnis\n";
$verzeichnis =~ s/\?/xFzX/g;
print "$verzeichnis\n";
$verzeichnis =~ s/xDpX/:/g;
print "$verzeichnis\n";
$verzeichnis =~ s/xFzX/?/g;
print "$verzeichnis\n";
| GuKKDevel/TestRepository | AnwendungenPerl/test1.pl | Perl | cc0-1.0 | 307 |
#!/usr/local/ensembl/bin/perl -w
use strict;
use Bio::EnsEMBL::Compara::DBSQL::DBAdaptor;
use Bio::EnsEMBL::Compara::GenomicAlign;
use Bio::EnsEMBL::Compara::DnaFrag;
use Bio::EnsEMBL::DnaDnaAlignFeature;
use Getopt::Long;
my $usage = "\nUsage: $0 [options] axtFile|STDIN
Insert into a compara database axt alignment... | adamsardar/perl-libs-custom | EnsemblAPI/ensembl-compara/scripts/dumps/LoadAxtAlignments.pl | Perl | apache-2.0 | 12,569 |
#
# 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 | hardware/devices/cisco/ces/restapi/mode/certificates.pm | Perl | apache-2.0 | 3,878 |
=head1 NAME
mod_perl 1.0 Win32 Installation Instructions
=head1 Description
This document discusses how to install mod_perl 1.0 under Win32, both
in building from sources and in installing pre-compiled binary
packages.
=head1 Synopsis
Unless you are using an all-in-one package, you should
first install Perl and A... | Distrotech/mod_perl | docs/src/docs/1.0/os/win32/install.pod | Perl | apache-2.0 | 14,677 |
package WebHooker;
use Mojo::Base 'Mojolicious';
use Mojo::JSON qw(decode_json);
use Mojo::URL;
use Config::GitLike;
use Git::Sub qw(push);
# This method will run once at server start
sub startup {
my $self = shift;
$self->plugin('Config', default => {
repo_dir => '/home/git/repositories',
... | ldidry/webhooker | lib/WebHooker.pm | Perl | apache-2.0 | 3,250 |
#!/usr/bin/env perl
#Author Boris Sadkhin
#Date Created Oct 31, 2014
#Summary : Wrapper for Dan's script for blast reduce
use strict;
use File::Basename;
use Time::HiRes qw( time );
my $start = time();
my $dir = shift;
if(!$dir || not -s $dir){
die "$dir does not exist";
}
my $unit = basename($dir);
my $fasta = "$di... | EnzymeFunctionInitiative/est-precompute-bw | 5-alphabetize.pl | Perl | apache-2.0 | 1,635 |
=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/FASTA/BlastIndexer.pm | Perl | apache-2.0 | 4,474 |
#!/usr/bin/perl
package Alignment::Shrimp2;
use strict;
use warnings;
use File::Basename;
use CQS::PBS;
use CQS::ConfigUtils;
use CQS::SystemUtils;
use CQS::FileUtils;
use CQS::Task;
use CQS::NGSCommon;
use CQS::StringUtils;
our @ISA = qw(CQS::Task);
sub new {
my ($class) = @_;
my $self = $clas... | shengqh/ngsperl | lib/Alignment/Shrimp2.pm | Perl | apache-2.0 | 3,760 |
#!/usr/bin/perl
use warnings;
use strict;
use Carp;
use Core::Upc;
use Core::ProductInfo;
use Spreadsheet::XLSX;
package Parser::OrderParser;
# OrderParser
sub new {
my $class = shift;
my $self = { };
$self->{excel} = undef;
$self->{sheet} = undef;
$self->{row} = undef;
$self->{header} ... | nrusin/inventory | Source/Parser/OrderParser.pm | Perl | apache-2.0 | 3,920 |
#
# 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/fortinet/fortigate/plugin.pm | Perl | apache-2.0 | 2,305 |
package Sisimai::Lhost::IMailServer;
use parent 'Sisimai::Lhost';
use feature ':5.10';
use strict;
use warnings;
sub description { 'IPSWITCH IMail Server' }
sub make {
# Detect an error from IMailServer
# @param [Hash] mhead Message headers of a bounce email
# @param [String] mbody Message body o... | sisimai/p5-Sisimai | lib/Sisimai/Lhost/IMailServer.pm | Perl | bsd-2-clause | 5,377 |
#
# $Id: Screenshot.pm,v eff9afda3723 2015/01/04 12:34:23 gomor $
#
# xorg::screenshot Brik
#
package Metabrik::Xorg::Screenshot;
use strict;
use warnings;
use base qw(Metabrik::Shell::Command);
sub brik_properties {
return {
revision => '$Revision: eff9afda3723 $',
tags => [ qw(unstable screenshot) ],... | gitpan/Metabrik-Repository | lib/Metabrik/Xorg/Screenshot.pm | Perl | bsd-3-clause | 1,515 |
# SNMP::Info::SONMP
#
# Copyright (c) 2012 Eric Miller
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice,
# this... | lucwillems/SNMP-INFO | Info/SONMP.pm | Perl | bsd-3-clause | 11,324 |
#!/usr/bin/perl
# pathfactor.pl
# allows you to replace paths specified as $BETAKITPATH$
# with the $TOP_DIR path
#
# CHANGELOG
#
# 04-JAN-2011 More configurability through
# command line arguments added.
# still, only to be called by
# TOP_DIR/Makefile
#
use strict;
#
# main( inputfile, path, leafdir, v... | betasam/betakit | user/build/pathfactor.pl | Perl | bsd-3-clause | 1,327 |
#!/usr/bin/perl
use strict;
use warnings;
use Switch;
use Getopt::Long qw(:config no_ignore_case);
use Sort::Versions;
#constants
our $OUTPUT_DIR="./web-template";
our $SOURCE_DIR="./perun/perun-rpc/src/main/java/cz/metacentrum/perun/rpc/methods";
our @allVersions;
our $versionLimit = 20;
#INFO ABOUT STRUCTURE
# ... | zwejra/perun | perun-utils/rpc-methods-javadoc-generator/parseRpcMethods.pl | Perl | bsd-2-clause | 46,806 |
=head1 AmiGO::Worker::GOlr::Closure
Experimental. Get the closure list (default over isa_partof_closure)
for a list of term accs.
=cut
package AmiGO::Worker::GOlr::Closure;
use base ("AmiGO::Worker::GOlr");
#use AmiGO::External::JSON::Solr::GOlr;
#use AmiGO::Worker::GOlr::Term;
=item new
Constructor.
Arguments:... | geneontology/amigo | perl/lib/AmiGO/Worker/GOlr/Closure.pm | Perl | bsd-3-clause | 1,609 |
#!/usr/bin/perl -w
use DB_File;
use Fcntl ':flock';
if (!defined($ARGV[0])) {
print "usage: requires .class dump as parameter!\n";
exit;
}
sub bailout
{
untie %bcheckdb if(defined(%bcheckdb));
if(defined(MYLOCK)) {
flock MYLOCK, LOCK_UN;
close(MYLOCK);
}
print @_;
exit 5... | cdarkz/kscope-1.6-enhancement | admin/bcheck.pl | Perl | bsd-2-clause | 3,079 |
#!/usr/bin/perl
use strict;
use warnings;
use Getopt::Long;
use List::Util qw( max sum );
#-----------------------------------------------------------------------------
#----------------------------------- MAIN ------------------------------------
#----------------------------------------------------------------------... | zeeev/wham | utils/whamToBed.pl | Perl | mit | 4,158 |
# !!!!!!! 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/Scx/Lyci.pl | Perl | apache-2.0 | 435 |
########################################################################
# Bio::KBase::ObjectAPI::KBaseExpression::DB::RNASeqDifferentialExpressionFile - This is the moose object corresponding to the KBaseExpression.RNASeqDifferentialExpressionFile object
# Authors: Christopher Henry, Scott Devoid, Paul Frybarger
# Con... | kbase/KBaseFBAModeling | lib/Bio/KBase/ObjectAPI/KBaseExpression/DB/RNASeqDifferentialExpressionFile.pm | Perl | mit | 3,334 |
package DBM::Deep::Storage;
use 5.008_004;
use strict;
use warnings FATAL => 'all';
=head2 flush()
This flushes the filehandle. This takes no parameters and returns nothing.
=cut
sub flush { die "flush must be implemented in a child class" }
=head2 is_writable()
This takes no parameters. It returns a boolean sa... | leighpauls/k2cro4 | third_party/perl/perl/vendor/lib/DBM/Deep/Storage.pm | Perl | bsd-3-clause | 1,560 |
#-----------------------------------------------------------
# ctrlpnl.pl
# Get Control Panel info from the Software hive
#
# Change history:
# 20100116 - created
#
# References:
# http://support.microsoft.com/kb/292463
# http://learning.infocollections.com/ebook%202/Computer/
# Operating%20Systems/Windo... | millmanorama/autopsy | thirdparty/rr-full/plugins/ctrlpnl.pl | Perl | apache-2.0 | 4,046 |
use strict;
use CXGN::Page;
use CXGN::Page::FormattingHelpers qw / page_title_html /;
my $page = CXGN::Page->new();
$page->header();
my $title = page_title_html("Feature: The De Koeyer Lab");
my $photo_dir = "/static_content/community/feature";
print <<HTML;
$title
<center><img src="$photo_dir/200706-01.jpg" alt=... | solgenomics/sgn | cgi-bin/community/feature/200706.pl | Perl | mit | 8,844 |
package Codex::Collection::SampleCollection;
use Mouse;
extends 'Codex::Collection';
has '+items' => (
isa => 'ArrayRef[Codex::Sample]'
);
sub completed_samples {
my $self = shift;
my @completed;
foreach my $sample (@{ $self->items }) {
if($sample->upload_status eq "Successfully uploaded.") {
CORE::push(@co... | mbiokyle29/codex | Codex/Collection/SampleCollection.pm | Perl | mit | 697 |
#!/usr/bin/env perl
use strict;
use warnings;
use File::Basename; # dirname()
# Use current directory to find modules
use FindBin;
use lib $FindBin::Bin;
use McCortexScripts;
use McCortexLinks;
sub print_usage
{
for my $err (@_) { print STDERR "Error: $err\n"; }
print STDERR "" .
"Usage: $0 [--kmer <k>] <graph... | mcveanlab/mccortex | scripts/perl/links-view.pl | Perl | mit | 1,692 |
package ProteomeComparison::ProteomeComparisonClient;
use JSON::RPC::Client;
use POSIX;
use strict;
use Data::Dumper;
use URI;
use Bio::KBase::Exceptions;
my $get_time = sub { time, 0 };
eval {
require Time::HiRes;
$get_time = sub { Time::HiRes::gettimeofday() };
};
use Bio::KBase::AuthToken;
# Client versio... | mdejongh/ProteomeComparison | lib/ProteomeComparison/ProteomeComparisonClient.pm | Perl | mit | 11,433 |
#!/usr/bin/env perl
use 5.010;
use strict;
use warnings;
use Bio::Tools::GFF;
use File::Find;
use Cwd;
use Sort::Naturally;
use List::UtilsBy qw(nsort_by);
my $gff = shift;
my $cwd = getcwd();
my @files;
find( sub { push @files, $File::Find::name if -f and /tidy_Ha\d+\.gff3$/ }, $cwd );
my ($expct, $pepct, $mrnact, ... | sestaton/sesbio | gene_annotation/gff_create_unique_id.pl | Perl | mit | 4,713 |
/* Part of Optic Planner interface for SWI-Prolog
Author: Andrew Dougherty, Douglas Miles
E-mail: andrewdo@frdcsa.org, logicmoo@gmail.com
WWW: https://github.com/logicmoo/planner_external_api
Copyright (C): 2017, Process Design Center, Breda, The Netherlands.
All rights res... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_ec/prolog/planner_api.pl | Perl | mit | 22,303 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2019] 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/ensembl | misc-scripts/surgery/SeqStoreConverter/AnophelesGambiae.pm | Perl | apache-2.0 | 8,433 |
# Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
# Copyright [2016-2018] EMBL-European Bioinformatics Institute
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a... | kiwiroy/ensembl-analysis | modules/Bio/EnsEMBL/Analysis/RunnableDB/Finished/RepeatMasker.pm | Perl | apache-2.0 | 2,467 |
=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/GenomeMF.pm | Perl | apache-2.0 | 13,416 |
# Copyright 2020, Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | googleads/google-ads-perl | lib/Google/Ads/GoogleAds/V10/Services/AdService/GetAdRequest.pm | Perl | apache-2.0 | 1,038 |
#
# 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/citrix/netscaler/snmp/mode/connections.pm | Perl | apache-2.0 | 3,491 |
use Outthentic::DSL;
my $otx = Outthentic::DSL->new( 'A'x99 , { match_l => 9 });
$otx->validate('A'x99);
print "status\tcheck\n";
print "==========================\n";
for my $r (@{$otx->results}) {
print $r->{status} ? 'true' : 'false', "\t", $r->{message}, "\n";
}
| melezhik/outthentic-dsl | examples/match_l.pl | Perl | apache-2.0 | 277 |
#! /usr/local/bin/perl
use DBI;
use Mail::POP3Client;
use Time::HiRes qw(time);
$|++;
die "./translate_pop3.pl <txt file> <domain_id> <pop3_host>" if (scalar(@ARGV)!=3);
die "File ".$ARGV[0]." seem like doesn't exist!" if (!-e $ARGV[0]);
$g_start=time();
$cnt=0;
$retr_size_total=0;
$retr_bulks_total=0;
$file = $AR... | TonyChengTW/PerlTools | translate_pop3.pl | Perl | apache-2.0 | 2,117 |
#!/usr/bin/env perl
my $src = $ARGV[0];
my $dst = '/dev/mmcblk0';
if (not defined $src) {
print "First argument should be the source file. Aborting!\n";
exit(1);
}
if (not -e $src) {
print "Source file $src does not exist. Aborting!\n";
exit(1);
}
if (not -e $dst) {
print "Destination $dst doesn't seem t... | mahtuag/DistroSetup | DistroAgnostic/etch.pl | Perl | apache-2.0 | 523 |
package Search::Elasticsearch::Client::Compat;
$Search::Elasticsearch::Client::Compat::VERSION = '0.10';
use Moo;
with 'Search::Elasticsearch::Role::Client';
use strict;
use warnings;
use Any::URI::Escape qw(uri_escape);
use JSON;
use Search::Elasticsearch::Util qw(throw parse_params);
use Carp;
has 'JSON' => ( i... | gitpan/Search-Elasticsearch-Compat | lib/Search/Elasticsearch/Client/Compat.pm | Perl | apache-2.0 | 141,288 |
=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 $rows = copy of the License at
http://www.apac... | Ensembl/ensembl-compara | modules/Bio/EnsEMBL/Compara/RunnableDB/CopyMembersByGenomeDB.pm | Perl | apache-2.0 | 3,488 |
#
# 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/powershell/exchange/2010/activesyncmailbox.pm | Perl | apache-2.0 | 4,709 |
# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#
# Defines structs to represent a cluster state
#
package Yahoo::Vespa::ClusterState;
use strict;
use warnings;
use Class::Struct;
struct( ClusterState => {
globalState => '$', # A state primitive
distribu... | vespa-engine/vespa | vespaclient/src/perl/lib/Yahoo/Vespa/ClusterState.pm | Perl | apache-2.0 | 1,102 |
=head1 LICENSE
Copyright (c) 1999-2011 The European Bioinformatics Institute and
Genome Research Limited. All rights reserved.
This software is distributed under a modified Apache license.
For license details, please see
http://www.ensembl.org/info/about/code_licence.html
=head1 CONTACT
Please email comme... | adamsardar/perl-libs-custom | EnsemblAPI/ensembl-variation/modules/Bio/EnsEMBL/Variation/DBSQL/VariationSetAdaptor.pm | Perl | apache-2.0 | 11,488 |
#!/usr/bin/perl
=head1 LICENSE
Copyright (c) 1999-2011 The European Bioinformatics Institute and
Genome Research Limited. All rights reserved.
This software is distributed under a modified Apache license.
For license details, please see
http://www.ensembl.org/info/about/code_licence.html
=head1 CONTAC... | adamsardar/perl-libs-custom | EnsemblAPI/ensembl-variation/scripts/examples/variant_effect_predictor.pl | Perl | apache-2.0 | 91,701 |
=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 | modules/Bio/EnsEMBL/OntologyTerm.pm | Perl | apache-2.0 | 8,851 |
#
# 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 | hardware/devices/safenet/keysecure/snmp/plugin.pm | Perl | apache-2.0 | 1,869 |
package Paws::Config::DescribeComplianceByResource;
use Moose;
has ComplianceTypes => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
has Limit => (is => 'ro', isa => 'Int');
has NextToken => (is => 'ro', isa => 'Str');
has ResourceId => (is => 'ro', isa => 'Str');
has ResourceType => (is => 'ro', isa => 'Str'... | ioanrogers/aws-sdk-perl | auto-lib/Paws/Config/DescribeComplianceByResource.pm | Perl | apache-2.0 | 2,819 |
package VMOMI::ClusterProfileConfigServiceCreateSpec;
use parent 'VMOMI::ClusterProfileConfigSpec';
use strict;
use warnings;
our @class_ancestors = (
'ClusterProfileConfigSpec',
'ClusterProfileCreateSpec',
'ProfileCreateSpec',
'DynamicData',
);
our @class_members = (
['serviceType', undef, 1, ... | stumpr/p5-vmomi | lib/VMOMI/ClusterProfileConfigServiceCreateSpec.pm | Perl | apache-2.0 | 544 |
% ----------------------------------------------------------------------------
% Building a string containing the query
% ----------------------------------------------------------------------------
:- pred buildqueries(SQLTermList,SQLString) :: list(sqlterm) * string
# "Builds a SQL string from the list of SQL te... | leuschel/ecce | www/CiaoDE/ciao/library/persdb_mysql/old/pl2sql_modifications/fragments.pl | Perl | apache-2.0 | 6,850 |
#!/usr/bin/perl -w
# PPath@Cornell
# Surya Saha Feb 25, 2011
use strict;
use warnings;
use Getopt::Long;
eval {
require Bio::SearchIO;
};
use Bio::SearchIO;
=head1 NAME
Blast2HitGFF3.pl - Create GFF file of blast hits from Blast text report
=head1 SYNOPSIS
% Blast2HitGFF3.pl --report blast.out --cutoff <1.0... | suryasaha/Utils | Blast2HitGFF3.pl | Perl | bsd-2-clause | 8,196 |
package Mojo::Webqq::Recent::Friend;
use strict;
use Mojo::Webqq::Base 'Mojo::Webqq::Model::Base';
has [qw(
id
type
)];
sub update{
my $self = shift;
my $hash = shift;
for(keys %$self){
$self->{$_} = $hash->{$_} if exists $hash->{$_} ;
}
$self;
}
1;
| sjdy521/Mojo-Webqq | lib/Mojo/Webqq/Recent/Friend.pm | Perl | bsd-2-clause | 287 |
#/usr/bin/perl -w
use strict;
$|=1; # flush print commands
my %id2gene=();
$id2gene{"N/A"}="N/A";
my $filename = "/home/alkan/c/gulayse/neurod2/mouse_data/ucsc/ensemblToGeneName.txt";
open(FP,$filename) or die "Can't open ensemblToGeneName.txt";
while(<FP>) {
chomp;
my ($id,$genename) = split/\t/;
$id2... | akabakcioglu/neurod2-analyze | high_activity_uniqcnt.pl | Perl | mit | 2,594 |
/* 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) 2002-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/print_graphics.pl | Perl | mit | 7,692 |
#!/bin/perl
# Written by Harris H. Wang, Church Lab, HMS
# File name: optMAGE.pl
# Created: 5/04/2009
# Last modified: 5/04/2009
#
# Description: Designs oligo and primers for MAGE experiments
use Bio::SeqIO;
use Bio::Perl;
use Bio::Location::Simple;
use POSIX;
# open(INFILE2, "INPUTtarg_ver... | CIDARLAB/magelet | WebContent/optMage_1/optMAGEv0.9.pl | Perl | bsd-3-clause | 8,884 |
package URI::file::OS2;
use strict;
use warnings;
use parent 'URI::file::Win32';
our $VERSION = '1.76';
# The Win32 version translates k:/foo to file://k:/foo (?!)
# We add an empty host
sub _file_extract_authority
{
my $class = shift;
return $1 if $_[0] =~ s,^\\\\([^\\]+),,; # UNC
return $1 if $_[0]... | operepo/ope | client_tools/svc/rc/usr/share/perl5/vendor_perl/URI/file/OS2.pm | Perl | mit | 561 |
package TestAPR::pool;
use strict;
use warnings FATAL => 'all';
use Apache::Test;
use Apache::TestUtil;
use Apache::TestTrace;
use Apache2::RequestRec ();
use APR::Pool ();
use APR::Table ();
use Apache2::Const -compile => 'OK';
use TestAPRlib::pool;
sub handler {
my $r = shift;
plan $r, tests => 4 + Tes... | gitpan/mod_perl | t/response/TestAPR/pool.pm | Perl | apache-2.0 | 1,541 |
=pod
=head1 NAME
SSL_set_fd - connect the SSL object with a file descriptor
=head1 SYNOPSIS
#include <openssl/ssl.h>
int SSL_set_fd(SSL *ssl, int fd);
int SSL_set_rfd(SSL *ssl, int fd);
int SSL_set_wfd(SSL *ssl, int fd);
=head1 DESCRIPTION
SSL_set_fd() sets the file descriptor B<fd> as the input/output facil... | GaloisInc/hacrypto | src/C/libssl/HEAD/src/doc/ssl/SSL_set_fd.pod | Perl | bsd-3-clause | 1,397 |
/* Part of SWI-Prolog
Author: Markus Triska
E-mail: triska@metalevel.at
WWW: http://www.swi-prolog.org
Copyright (C): 2014-2018 Markus Triska
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provide... | josd/eye | eye-wasm/swipl-wasm/home/library/clp/clpb.pl | Perl | mit | 66,052 |
package Module::Plan::Lite;
=pod
=head1 NAME
Module::Plan::Lite - Lite installation scripts for third-party modules
=head1 SYNOPSIS
The following is the contents of your default.pip file.
Module::Plan::Lite
# Everything in the plan file is installed in order
# Supported file forms
Install-This-First... | Dokaponteam/ITF_Project | xampp/perl/vendor/lib/Module/Plan/Lite.pm | Perl | mit | 2,460 |
=head1 NAME
XML::DOM::Node - Super class of all nodes in XML::DOM
=head1 DESCRIPTION
XML::DOM::Node is the super class of all nodes in an XML::DOM document.
This means that all nodes that subclass XML::DOM::Node also inherit all
the methods that XML::DOM::Node implements.
=head2 GLOBAL VARIABLES
=over 4
=item @No... | electric-cloud/EC-EC2 | src/main/resources/project/lib/XML/DOM/Node.pod | Perl | apache-2.0 | 13,079 |
If you read this file _as_is_, just ignore the funny characters you
see. It is written in the POD format (see pod/perlpod.pod) which is
specifically designed to be readable as is.
=head1 NAME
README.riscos - Perl version 5 for RISC OS
=head1 DESCRIPTION
This document gives instructions for building Perl for RISC O... | leighpauls/k2cro4 | third_party/cygwin/lib/perl5/5.10/pods/perlriscos.pod | Perl | bsd-3-clause | 1,511 |
=pod
=head1 NAME
SwishSpiderConfig.pl - Sample swish-e spider configuration
=head1 DESCRIPTION
This is a sample configuration file for the spider.pl program provided
with the swish-e distribution.
A spider.pl configuration file is not required as spider.pl has reasonable
defaults. In fact, it's recommended that ... | uddhab/swish-e | swish-e-2.4.7/prog-bin/SwishSpiderConfig.pl | Perl | mit | 8,976 |
package FuseBead::From::PNG;
use strict;
use warnings;
BEGIN {
$FuseBead::From::PNG::VERSION = '0.03';
}
use Image::PNG::Libpng qw(:all);
use Image::PNG::Const qw(:all);
use FuseBead::From::PNG::Const qw(:all);
use FuseBead::From::PNG::Bead;
use Data::Debug;
use Memoize;
memoize('_find_bead_color', INSTALL =... | gaudeon/FuseBead-From-PNG | lib/FuseBead/From/PNG.pm | Perl | mit | 21,924 |
package IsKernel::Infrastructure::FileUtilities;
use warnings;
use strict;
use v5.14;
use File::Spec::Functions;
use IsKernel::Infrastructure::StringHelper;
=pod
Description:
Creates a new object
Parameters:
None
Returns:
A reference to the object
=cut
sub new
{
(my $class) = @_;
my $self = {};
bless $self, $c... | iskernel/candy-antivirus | lib/IsKernel/Infrastructure/FileUtilities.pm | Perl | mit | 1,548 |
package SGN::Controller::List;
use Moose;
use URI::FromHash 'uri';
use Data::Dumper;
BEGIN { extends 'Catalyst::Controller'; }
sub list_details :Path('/list/details') :Args(0) {
my $self = shift;
my $c = shift;
my $list_id = $c->req->param('list_id');
if (! $c->user()) {
$c->res->redirect( uri( p... | solgenomics/sgn | lib/SGN/Controller/List.pm | Perl | mit | 785 |
#!/usr/bin/env perl
# This pings each of several instances, and should be run over a long period of
# time, to see if/when they crash. Start the instances on separate ports.
# Change the @instances table below to define which instances you want to ping,
# and how often.
use strict;
use warnings;
local $| = 1; # au... | ncbi/render-math | examples/ping-test.pl | Perl | mit | 1,332 |
#! ./perl
#
# tests the Windows Script Host functionality
@list = ( 'ADOSample1.wsf',
'ADOSample2.wsf',
'args.wsf "ok 1" "ok 2"',
'helloworld.wsf',
'notepad.wsf',
'showenv.wsf',
'specialfolder.wsf' );
for my $item (@list) {
system ("CScript $item");
print "Press [ ENTER ] to continue\n... | amidoimidazol/bio_info | Beginning Perl for Bioinformatics/eg/Windows Script Host/test.pl | Perl | mit | 339 |
# Copyrights 2001-2008 by Mark Overmeer.
# 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;
use warnings;
package Mail::Box::Collection;
use vars '$VERSION';
$VERSION = '2.082';
use base qw/User::Identity::Collecti... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/Mail/Box/Collection.pm | Perl | mit | 1,646 |
:- module(conf_prefixes, []).
:- use_module(library(semweb/rdf_db)).
/** <module> Configure prefixes (namespaces)
Register additional prefixes. Registering a prefix serves three
purposes:
* It can be used in code, e.g., rdf(X, rdf:type, rdfs:'Class')
* It can be used in the same fashion from the top... | TeamSPoon/logicmoo_workspace | packs_web/ClioPatria/config-available/020-prefixes.pl | Perl | mit | 522 |
# toExMS(S)cli.pl
#
# Arranges information in Mascot-exported CVS files into the text files necessary for
# ExMS. Assumes that scan title includes the retention time in the for "RT:$time".
# Made to work with Mascot as run by the IBBR as of 2014-07-18. Mascot claims last update 2010-03-30.
#
# Based on the pepinfo.m ... | dweber3/MascotCVSconversion | toExMS(S)cli.pl | Perl | mit | 12,543 |
#!/usr/bin/perl
use strict;
use warnings;
use feature qw(say);
use JSON;
use LWP::UserAgent;
use HTTP::Request::Common;
# List all known clusters with their queuemanagers
my $qmgr = shift;
die("Please pass me the name of a queuemanager as argument")
unless defined($qmgr);
my $json = JSON->new;
my %input = (
'... | fbraem/mqweb | samples/perl/clusqmgr_inq.pl | Perl | mit | 1,272 |
#!/msrc/apps/bin/perl
#
# latex_pretty_table.pl
# Hugh L Taylor, Battelle / Pacific Northwest Laboratory
# hl_taylor@pnl.gov
# Sun Jun 25 1995
# $Log: not supported by cvs2svn $
# Revision 1.7 1995/06/27 05:04:39 pg511
# Cleanup. Comments, variable names, help option.
#;;
#;; the following is an elisp keyboa... | rangsimanketkaew/NWChem | contrib/latex_pretty_table.pl | Perl | mit | 5,133 |
% vim: set syntax=prolog
:- consult('helpers/run').
:- use_module(library(pairs)).
:- use_module(library(regex)).
:- use_module('helpers/io').
:- use_module('helpers/lists').
:- dynamic(weight/2).
main :-
read_input(Nodes),
node_with_wrong_weight(Nodes, Node, Siblings),
Name - Weight - _ = Node,
new_weight(N... | SamirTalwar/advent-of-code | 2017/AOC_07_2.pl | Perl | mit | 3,191 |
package Spoon::Hub;
use Spoon::Base -Base;
const class_id => 'hub';
field action => '_default_';
field main => -weak;
field config_files => [];
field all_hooks => [];
sub new {
$self = super;
$self->init;
$Spoon::Base::HUB = $self;
}
our $AUTOLOAD;
sub AUTOLOAD {
$AUTOLOAD =~ /.*::(.*)/
or die... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/Spoon/Hub.pm | Perl | mit | 3,410 |
#!/usr/bin/env perl
# Create matrix consists needed number of lines containg 5 random elements in each line. Sum of elements in each line
# will be the requested.
use Getopt::Std;
use strict;
our ($opt_h);
USAGE() unless( getopts( 'h:' ));
USAGE() if ( $opt_h );
my $N = shift;
my $E = shift;
for(my $e = 0; $e < $E; $... | AstraZeneca-NGS/Seq2C | testrand.pl | Perl | mit | 1,317 |
#!/usr/bin/perl
use strict;
use warnings;
my $SECONDS = 2503;
my $deer_info = {};
while (<>) {
chomp;
if ($_ =~ /^(.+) can fly (\d+) .* for (\d+) seconds, but then must rest for (\d+) seconds.$/) {
$deer_info->{$1} = {
fly => {
speed => int $2,
duratio... | KenMGJ/advent-of-code | 2015/14/day14-2.pl | Perl | mit | 1,906 |
package MsEvent;
use strict;
use warnings;
use Digest::MD5 qw(md5_hex);
use Log;
use Time::ParseDate;
use POSIX qw(strftime);
use Data::Dumper;
use JSON qw( encode_json decode_json );
my $IMP_SOURCE = 0;
my $IMP_STATS = {};
sub init_import_stats {
my $source_id = shift;
die("init_import_stats: Need source id") unle... | codeformuenster/open-events | scripts/scrapers-muenster/lib/MsEvent.pm | Perl | mit | 7,083 |
package MT::Plugin::FastestPreview::L10N::ja;
use strict;
use warnings;
use base 'MT::Plugin::FastestPreview::L10N';
use vars qw( %Lexicon );
%Lexicon = (
);
1;
| usualoma/mt-plugin-FastestPreview | plugins/FastestPreview/lib/MT/Plugin/FastestPreview/L10N/ja.pm | Perl | mit | 165 |
#
# 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/linux/local/mode/storage.pm | Perl | apache-2.0 | 7,843 |
#
# 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 | database/postgres/mode/backends.pm | Perl | apache-2.0 | 5,593 |
#
# 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-Chef | src/main/resources/project/drivers/CreateRoleDriver.pl | Perl | apache-2.0 | 3,389 |
#
# 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 | database/mssql/plugin.pm | Perl | apache-2.0 | 4,406 |
#
# 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/monitoring/loggly/restapi/custom/api.pm | Perl | apache-2.0 | 8,494 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.