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 |
|---|---|---|---|---|---|
=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/AncestralAllelesForIndels/RunAncestralAllelesComplete.pm | Perl | apache-2.0 | 6,404 |
#
# 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 | os/windows/wsman/mode/listservices.pm | Perl | apache-2.0 | 4,272 |
#
# Output.pm
# Created by: Adam Jacob, Marchex, <adam@marchex.com>
# Created on: 10/31/2006 12:58:58 PM PST
#
# $Id: $
#
# Author:: Adam Jacob (<adam@opscode.com>)
# Copyright:: Copyright (c) 2008 Adam Jacob
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# y... | adamhjk/sid | lib/Sid/Format/Output.pm | Perl | apache-2.0 | 1,980 |
package RPi::PIGPIO::Assistant;
=head1 NAME
RPi::PIGPIO::Assistant - Methods for reverse engeniering devices
=head1 DESCRIPTION
This module is a helper that can be used to easely debug things on a GPIO
=head1 SYNOPSIS
You can use this one-liner to monitor level changes on a gpio
perl -Ilib -MRPi::PIGPIO::As... | gliganh/RPi-PIGPIO | lib/RPi/PIGPIO/Assistant.pm | Perl | apache-2.0 | 3,337 |
#
# 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 | hardware/devices/eltek/enexus/snmp/plugin.pm | Perl | apache-2.0 | 1,549 |
#
# 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 | storage/ibm/storwize/ssh/mode/components/enclosure.pm | Perl | apache-2.0 | 2,345 |
# Copyright 2001-2006 The Apache Software Foundation
#
# 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 o... | gitpan/AxKit2 | lib/AxKit2/Transformer/XPathScript.pm | Perl | apache-2.0 | 2,653 |
package ISC::BIND::Stats::UI::View::JSON;
use strict;
use base 'Catalyst::View::JSON';
=head1 NAME
ISC::BIND::Stats::UI::View::JSON - Catalyst JSON View
=head1 SYNOPSIS
See L<ISC::BIND::Stats::UI>
=head1 DESCRIPTION
Catalyst JSON View.
=head1 AUTHOR
Francisco Obispo
=head1 LICENSE
This library is free softwa... | isc-projects/bind9-stats | ISC-BIND-Stats-UI/lib/ISC/BIND/Stats/UI/View/JSON.pm | Perl | bsd-2-clause | 412 |
#!/usr/bin/perl
use warnings;
use strict;
#use Devel::Size qw(total_size);
# Load and parse header
my $header=<>;
chomp $header;
my $c=0;
my %headers=();
foreach my $h (split('\t', $header))
{
$headers{$h} = $c;
$c++;
}
my %data=();
while(my $l=<>)
{
chomp $l;
my @line=split('\t',$l);
foreach my $h (keys %head... | petricek/datatools | bin/load-user-data.pl | Perl | bsd-2-clause | 428 |
%% geom.pl
%%
%% contains basic computational geometry predicates.
%%
%% Copyright (C) 2003 DG Lane
%% depends on vector
:- consult(vector).
:- consult(coord_sys).
%% mesh_volume/2
%%
%% predicate to unify /3 with the element-wise vector addition
%% of the input vectors.
mesh_volume(Mesh, Volume) :-
%% use cente... | dg1an3/ALGT | algt_tests/pl/geom_op.pl | Perl | bsd-2-clause | 12,574 |
#!/usr/bin/env perl
use Mojolicious::Lite;
use Mojo::ByteStream 'b';
use Mojo::Date;
use Mojo::JSON qw/true false encode_json decode_json/;
use strict;
use warnings;
use Mojo::JWT;
use Mojo::File qw/path/;
use Mojo::Util qw/slugify/;
# This is an API fake server with fixtures
my $secret = 's3cr3t';
my $fixture_path =... | KorAP/Kalamar | t/server/mock.pl | Perl | bsd-2-clause | 18,994 |
package PTC::Device;
require 5.000;
use Exporter;
use lib qw(/opt/perl-traffic-control/lib);
use PTC::Utils;
use Carp;
@ISA = qw(Exporter);
@EXPORT = qw(getPreviewMessage updateWLANnetMessage clearWLANnetMessage getWLANnetMessage getWLANnetClientMessage saveClientDevice showHPNAAddress loadHPNAClient checkRegiste... | mongrelx/perl-traffic-control | lib/PTC/HPNA.pm | Perl | mit | 6,739 |
# <@LICENSE>
# 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... | apache/spamassassin | lib/Mail/SpamAssassin/Bayes.pm | Perl | apache-2.0 | 4,935 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licen... | ckongEbi/ensembl-compara | modules/Bio/EnsEMBL/Compara/RunnableDB/ncRNAtrees/GenerateSSPict.pm | Perl | apache-2.0 | 6,773 |
#!/usr/bin/env perl
$number_of_controllers = `arcconf getversion | awk '/^Controllers found:.*\$/{print \$3}'`;
for ($controller = 1; $controller <= $number_of_controllers; $controller++) {
$config = `arcconf getconfig $controller PD`;
foreach ($config =~ /(Device #\d+.+?MaxCache Assigned[^\n]*)/sg) {
if ($_ !~ /W... | tomaszdurka/puppet-packages | modules/raid/templates/adaptec/arcconf-write-cache-on-devices.pl | Perl | mit | 464 |
# !!!!!!! 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/Beng.pl | Perl | apache-2.0 | 567 |
#!/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://... | caidongyun/nginx-openresty-windows | nginx/objs/lib/openssl-1.0.1g/crypto/bn/asm/sparcv9a-mont.pl | Perl | bsd-2-clause | 21,605 |
########################################################################
# Bio::KBase::ObjectAPI::KBaseOntology::Role - This is the moose object corresponding to the Role object
# Authors: Christopher Henry, Scott Devoid, Paul Frybarger
# Contact email: chenry@mcs.anl.gov
# Development location: Mathematics and Compute... | samseaver/KBaseFBAModeling | lib/Bio/KBase/ObjectAPI/KBaseOntology/Role.pm | Perl | mit | 3,918 |
#!/usr/bin/perl -w
#
# Copyright (C) 2010 Chris Jerdonek (cjerdonek@webkit.org)
#
# 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 l... | mogoweb/webkit_for_android5.1 | webkit/Tools/Scripts/webkitperl/VCSUtils_unittest/prepareParsedPatch.pl | Perl | apache-2.0 | 4,137 |
use strict;
use Data::Dumper;
use Carp;
#
# This is a SAS Component
#
=head1 svr_is_hypo [-c N] [-v]
Keep just hypotheticals
------
Example:
svr_all_features 3702.1 peg | svr_is_hypo
would produce a 1-column table containing the hypotheticals in 3702.1
Normally, a stream of feature IDs (PEGs) is used as in... | kbase/kb_seed | service-scripts/svr_is_hypo.pl | Perl | mit | 1,901 |
# DE.pm
# by Martin Thurn
# $Id: DE.pm,v 1.0 2003-07-27 21:57:08-04 kingpin Exp kingpin $
=head1 NAME
WWW::Search::AltaVista::DE - class for searching www.AltaVista.DE
=head1 SYNOPSIS
require WWW::Search;
$search = new WWW::Search('AltaVista::DE');
=head1 DESCRIPTION
This class handles maki... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/WWW/Search/AltaVista/DE.pm | Perl | mit | 1,465 |
use strict;
use CXGN::Page;
my $page=CXGN::Page->new('chr11b.html','html2pl converter');
$page->header('Chromosome 11');
print<<END_HEREDOC;
<br />
<br />
<center>
<h1><a href="chr11_split.pl">Chromosome 11</a></h1>
<h3>- Section B -</h3>
<br />
<br />
<table summary="">
<tr>
<td a... | solgenomics/sgn | cgi-bin/maps/tomato_arabidopsis/chr11b.pl | Perl | mit | 530 |
package O2CMS::OS::Win32::Process;
# The process handling for win32 system
use strict;
use Win32::Process::Info;
#--------------------------------------------------------------------------------------------
sub new {
my ($package) = @_;
return {}, $package;
}
#---------------------------------------------------... | haakonsk/O2-CMS | lib/O2CMS/OS/Win32/Process.pm | Perl | mit | 1,036 |
#!perl -w
use CGI; my $cgi = new CGI;
my $counter = $cgi->param('counter');
if ($counter < 1) { $counter = 1; }
my $next = $counter + 1;
my $url = "simple.pl?counter=$next";
if ($next > 100) {
$url = "frame_done.plex?runs=100";
}
print "Content-Type: text/html\r\n\r\n";
print <<EOF;
<!DOCTYPE HTML PUBLIC "-//W3C//DT... | amidoimidazol/bio_info | Beginning Perl for Bioinformatics/eg/PerlEx/benchmarks/simple.pl | Perl | mit | 680 |
#!/usr/bin/perl -w
=pod
by Alyx Schubert 6/24/10
This script reads in a file with a list of ID's to find. It returns the data
in the file associated with those ID's.
ARGS: The arguments called to the command line are a list of names/IDs file,
followed by the file to search for them in.
NOTE: It's easiest when both i... | alyxwithay/Personal-Scripts | perl/find_fasta.pl | Perl | mit | 1,993 |
package org::keviny::Database;
use strict;
use warnings;
sub new {
my $class = shift;
my $self = bless {}, $class;
return $self;
}
| kevin-y/learning | perl/logger/org/keviny/Database.pm | Perl | mit | 138 |
/*************************************************************************
name: sensitiveCurt.pl (Volume 1, Chapter 6)
version: April 17, 2001
description: Curt (including consistency and informativity checks)
authors: Patrick Blackburn & Johan Bos
********************************************... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/ext/CURT/bb0/sensitiveCurt.pl | Perl | mit | 5,376 |
#!/usr/bin/perl
use strict;
use warnings;
sub quadr_calc
{
my($d,$x,$x1,$x2);
my($a,$b,$c) = @_;
if($a!=0)
{
$d=$b*$b-(4*$a*$c);
if($d<0)
{
print "D<0: No solution";
}
elsif($d==0)
{
$x=(0-$b)/(2*$a);
print "D=0: X1=X2=".$x;
}
elsif($d>0)
{
$x1=((0-$b)+($d**0.5))/(2*$a);
$x2=((0-$b)-($d**0.5... | RadoslavGYordanov/hackerschool | perl/exercise1/exercise1.3.pl | Perl | mit | 932 |
% Most of these operators are native to prolog so we dont have to declare
% them ourselves. The all() and ext() terms takes a unique prolog-level
% variable as its first argument; this variable will not be bound during the
% proof search.
%
:- module(mindi2, [
is_atom/1,
is_literal/1,
tbl_expand/3,
... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_agi/prolog/abduction/adv_mindi2.pl | Perl | mit | 80,305 |
#!/usr/bin/env perl
use warnings;
use strict;
use Getopt::Long;
use YAML::XS qw(LoadFile DumpFile);
use Assembly::Utils;
# Keep all files for best kmer (trim and raw)
# Remove all but contigs.fa, Log, and Roadmaps files for others.
# Do not touch folders with files less than one day old - may still be processing
# Fut... | AAFC-MBB/crti-assembly-pipeline | VelvetCleanup.pl | Perl | mit | 3,476 |
/*******************************************************************************
Filename: adventure.pl
Author: David C. Drake (https://davidcdrake.com)
Description: "I USED TO BE AN ADVENTURER LIKE YOU": A simple text adventure
game utilizing the Prolog programming language. Your goal is to
... | theDrake/prolog-experiments | adventure.pl | Perl | mit | 3,358 |
#!/usr/bin/env perl
use v5.18;
use strict;
use warnings;
use List::Util qw(max);
use Getopt::Long qw(GetOptions);
use Mojo::JSON qw(decode_json);
use Mojo::IOLoop;
use Mojo::Util;
use Mojo::IRC;
use Mojo::IRC::UA;
use IRC::Utils ();
use WWW::Telegram::BotAPI;
my $CONTEXT = {};
sub message_from_tg_to_irc {
state ... | gugod/tgircbot | tgircbot.pl | Perl | cc0-1.0 | 6,163 |
#
# 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/citrix/appacceleration/snmp/plugin.pm | Perl | apache-2.0 | 1,547 |
package Bio::BioVeL::Service::NeXMLExtractor::CharSetWriter::nexus;
use strict;
use warnings;
use Bio::BioVeL::Service::NeXMLExtractor::CharSetWriter;
use base 'Bio::BioVeL::Service::NeXMLExtractor::CharSetWriter';
=over
=item write_charsets
Writes character set definitions to a NEXUS string. The syntax is expected... | naturalis/biovel-nbc | lib/Bio/BioVeL/Service/NeXMLExtractor/CharSetWriter/nexus.pm | Perl | apache-2.0 | 1,741 |
?- pj_add_predicate(meta_data/2, 'org.projog.core.predicate.udp.PredicateMetaData').
p(a).
p(b(_)).
p(c(1)).
p(c(2)).
p(c(3)).
p(d) :- repeat(2).
p(e(X,X)) :- repeat(2).
p(f(1)).
p(f(_)).
p(f(2)).
p(g).
%?- meta_data(p(_), X)
% X=factory_class : org.projog.core.predicate.udp.StaticUserDefinedPredicateFactory
% X=fact... | s-webber/projog | src/test/prolog/udp/predicate-meta-data/NotIndexablePredicateFactory.pl | Perl | apache-2.0 | 5,952 |
#
# 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/dell/compellent/snmp/mode/components/cache.pm | Perl | apache-2.0 | 2,793 |
# Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/license... | mn1/ensembl-analysis | scripts/buildchecks/SupportingEvidenceInfo.pm | Perl | apache-2.0 | 12,832 |
=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... | andrewyatz/public-plugins | users/modules/EnsEMBL/Users/Command/Account/Group/Delete.pm | Perl | apache-2.0 | 2,120 |
#!/usr/bin/env perl
use strict;
use warnings;
use File::Find;
use File::Copy;
use File::Remove 'remove';
use File::Spec;
my $DOWNLOAD_DIR='download';
my $EXTRACT_DIR='extract';
my $CATALYST_DIR= File::Spec->rel2abs('../root/static/lib');
-d $CATALYST_DIR || die "cannot find catalyst static directory";
my $JS_DIR = "... | gmambro/nocview-poc | ext-libs/install.pl | Perl | apache-2.0 | 1,669 |
time(Goal,Time) :-
statistics(runtime,[Global1,_]),
call(Goal),
statistics(runtime,[Global2,_TimeSinceLastStat]),
Time is Global2 - Global1.
time(Goal) :-
time(Goal,Time),
print('Time for goal: '),print(Goal),
print(' is: '),print(Time), print(' ms'),nl.
add_new_time_log_entry(NameOfEntry,LogFile) :-
... | leuschel/ecce | ecce_benchmarks/time.pl | Perl | apache-2.0 | 731 |
#!/usr/bin/perl -w
# This is an openssl-style command-line encrypter. *Please* don't use it
# except for testing, as your key will be exposed.
use strict;
use warnings;
use Crypt::Rijndael_PP_a;
use MIME::Base64;
my ($iv, $key)=map {pack("H*", $_)} @ARGV;
$/=undef;
my $ctext=<STDIN>;
print Crypt::Rijndael_PP_a::b... | jj101k/Crypt_Rijndael_PP_a | utility/decrypt.pl | Perl | bsd-2-clause | 371 |
#
# $Id: Tor.pm,v eff9afda3723 2015/01/04 12:34:23 gomor $
#
# network::tor Brik
#
package Metabrik::Network::Tor;
use strict;
use warnings;
use base qw(Metabrik::Client::Www);
sub brik_properties {
return {
revision => '$Revision: eff9afda3723 $',
tags => [ qw(unstable tor exitnodes) ],
attribut... | gitpan/Metabrik-Repository | lib/Metabrik/Network/Tor.pm | Perl | bsd-3-clause | 1,514 |
use strict;
use warnings;
use lib '../lib';
use MJ12::Remote::ApiService;
# check input.
my $script = __FILE__;
die "usage: $script privatekey accesstoken item1 item2 item3 (where item is a domain,subdomain or url)" unless scalar(@ARGV > 2);
my $endpoint = "http://enterprise.majesticseo.com/api_command... | MajesticSEO/Perl-API-Connector | scripts/openapp_get_index_item_info.pl | Perl | bsd-3-clause | 4,628 |
=head1 NAME
grid-matching - Executes occupancy grid matching techniques
=head1 SYNOPSIS
grid-matching --match --map1=I<grid1.simplemap> --map2=I<grid1.simplemap> [I<options>]
grid-matching --detect-test --map1=I<grid1.simplemap> [I<options>]
=head1 DESCRIPTION
B<grid-matching> is a command-line application which ... | MRPT/mrpt | doc/man-pages/pod/grid-matching.pod | Perl | bsd-3-clause | 2,249 |
=head1 NAME
Fasta - Simple object for Fasta sequence
=head1 SYNOPSIS
my $seq=new Fasta( $hdr, $seq );
$seq->qc;
print $seq->output;
=head1 DESCRIPTION
Object for a single read sequence, with methods for basic manipulation and quality control.
=head1 METHODS
=over 5
=cut
package Fasta;
use constant... | xibalbanus/PIA2 | pia/FastaDb.pm | Perl | mit | 12,583 |
package Games::Lacuna::Client::Buildings::SpacePort;
use 5.0080000;
use strict;
use warnings;
use Carp 'croak';
use Games::Lacuna::Client;
use Games::Lacuna::Client::Buildings;
our @ISA = qw(Games::Lacuna::Client::Buildings);
sub api_methods {
return {
view => { default_args => [qw(session_i... | RedOrion/Vasari-TLEUtil | lib/Games/Lacuna/Client/Buildings/SpacePort.pm | Perl | mit | 2,088 |
# <@LICENSE>
# 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... | apache/spamassassin | lib/Mail/SpamAssassin/Message/Metadata/Received.pm | Perl | apache-2.0 | 69,102 |
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use ... | rbevers/lucy | perl/lib/Lucy/Search/SortSpec.pm | Perl | apache-2.0 | 892 |
=head1 SHCrossPowerSpectrum
=over 23
=item SHCrossPowerSpectrum -
Compute the cross-power spectrum of two real functions.
=back
=head1 SYNOPSIS
=over 34
=item SUBROUTINE SHCrossPowerSpectrum (
C1, C2, LMAX, CSPECTRUM )
=back
=over 4
=over 10
=item REAL*8
C1(2, LMAX+1, LMAX+1), C2(2, LMAX+1, LMAX+1), CS... | pletnes/SHTOOLS | src/doc/shcrosspowerspectrum.pod | Perl | bsd-3-clause | 1,560 |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by lib/unicore/mktables from the Unicode
# database, Version 6.2.0. Any changes made here will be lost!
# !!!!!!! INTERNAL PERL USE ONLY !!!!!!!
# This file is for internal use by core Perl only. The format and even the
# name or existe... | Bjay1435/capstone | rootfs/usr/share/perl/5.18.2/unicore/lib/In/2_1.pl | Perl | mit | 3,443 |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by lib/unicore/mktables from the Unicode
# database, Version 8.0.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... | operepo/ope | bin/usr/share/perl5/core_perl/unicore/lib/Bc/R.pl | Perl | mit | 838 |
#-----------------------------------------------------------
# rdpport.pl
# Determine the RDP Port used
#
# History
# 20100713 - created
#
# References
# http://support.microsoft.com/kb/306759
#
# copyright 2010 Quantum Analytics Research, LLC
#-----------------------------------------------------------
... | kefir-/autopsy | RecentActivity/release/rr-full/plugins/rdpport.pl | Perl | apache-2.0 | 1,672 |
#-----------------------------------------------------------
# imagedev.pl
#
# copyright 2008 H. Carvey, keydet89@yahoo.com
#-----------------------------------------------------------
package imagedev;
use strict;
my %config = (hive => "System",
osmask => 22,
hasS... | raman-bt/autopsy | RecentActivity/release/rr-full/plugins/imagedev.pl | Perl | apache-2.0 | 2,227 |
#
# 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 | storage/netapp/snmp/mode/listfilesys.pm | Perl | apache-2.0 | 6,933 |
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use ... | apache/lucy | perl/lib/Lucy.pm | Perl | apache-2.0 | 7,962 |
#!/usr/bin/perl -w
# Copyright (C) 2004 Michael Bell.
# License: GPL version 2
our $iconv = "iconv";
our $QUIET_ARG = 0;
my $po_file = $ARGV[0];
print STDERR "Translation file: $po_file\n";
my $encoding = get_po_encoding ($po_file);
my $command = "$iconv -f $encoding -t UTF-8 $po_file";
print STDERR "Final com... | mrscotty/openxpki | core/i18n/convert.pl | Perl | apache-2.0 | 1,387 |
line1=Opcje konfiguracyjne,11
expert=Pozwalaæ na wybór poszczególnych poziomów pracy systemu,1,1-Tak,0-Nie
desc=Wy¶wietlaæ dzia³ania wraz z opisami,1,2,Tak, i pokazuj wszystkie poziomy,1-Tak,0-Nie
order=Wy¶wietlaæ kolejno¶æ bootowania akcji?,1,1-Tak,0-Nie
status_check=Pokazywaæ bie¿±cy stan akcji,1,2-Na stron... | rcuvgd/Webmin22.01.2016 | init/config.info.pl | Perl | bsd-3-clause | 1,486 |
package Moose::Manual::Delegation;
# ABSTRACT: Attribute delegation
=pod
=head1 NAME
Moose::Manual::Delegation - Attribute delegation
=head1 VERSION
version 2.0604
=head1 WHAT IS DELEGATION?
Delegation is a feature that lets you create "proxy" methods that do nothing
more than call some other method on an att... | liuyangning/WX_web | xampp/perl/vendor/lib/Moose/Manual/Delegation.pod | Perl | mit | 5,592 |
#!/usr/bin/env perl
# ====================================================================
# Written by Andy Polyakov <appro@openssl.org> for the OpenSSL
# project. The module is, however, dual licensed under OpenSSL and
# CRYPTOGAMS licenses depending on where you obtain it. For further
# details see http://www.opens... | dkoontz/nodegit | vendor/openssl/openssl/crypto/aes/asm/aesni-mb-x86_64.pl | Perl | mit | 35,969 |
package DDG::Goodie::SumOfNaturalNumbers;
# ABSTRACT: Returns the sum of the numbers between the first and second provided integers
use strict;
use DDG::Goodie;
use bignum;
triggers start => "add", "sum from";
triggers startend => "sum";
zci is_cached => 1;
zci answer_type => "sum";
primary_example_queries 'sum 1 t... | sagarhani/zeroclickinfo-goodies | lib/DDG/Goodie/SumOfNaturalNumbers.pm | Perl | apache-2.0 | 1,431 |
=head1 NAME
CXGN::List::Transform - transform lists from one type to another
=head1 SYNOPSYS
my $tf = CXGN::List::Transform->new();
if (my $transform_name = $tf->can_transform("accessions", "accession_ids")) {
my $tf_list = @$tf->tranform($schema, $transform_name, $list_ref);
}
=cut
package CXGN::List::Tran... | solgenomics/sgn | lib/CXGN/List/Transform.pm | Perl | mit | 1,616 |
package XML::Grammar::Fiction::App::ToDocBook;
use strict;
use warnings;
use autodie;
use base 'Exporter';
our @EXPORT = (qw(run));
use Getopt::Long;
use XML::Grammar::Fiction::ToDocBook;
our $VERSION = '0.14.11';
sub run
{
my $output_filename;
GetOptions(
"output|o=s" => \$output_filename,
... | gitpan/XML-Grammar-Fiction | lib/XML/Grammar/Fiction/App/ToDocBook.pm | Perl | mit | 4,695 |
=head1 NAME
Mail::Message::Convert::MailInternet - translate Mail::Message to Mail::Internet vv
=head1 INHERITANCE
Mail::Message::Convert::MailInternet
is a Mail::Message::Convert
is a Mail::Reporter
=head1 SYNOPSIS
use Mail::Message::Convert::MailInternet;
my $convert = Mail::Message::Convert::MailIntern... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/Mail/Message/Convert/MailInternet.pod | Perl | mit | 4,354 |
##############################################################################
# $URL: http://perlcritic.tigris.org/svn/perlcritic/trunk/distributions/Perl-Critic/lib/Perl/Critic/Policy/CodeLayout/ProhibitQuotedWordLists.pm $
# $Date: 2012-07-02 22:16:39 -0700 (Mon, 02 Jul 2012) $
# $Author: thaljef $
# $Rev... | amidoimidazol/bio_info | Beginning Perl for Bioinformatics/lib/Perl/Critic/Policy/CodeLayout/ProhibitQuotedWordLists.pm | Perl | mit | 5,701 |
package FIG_Config;
## WHEN YOU ADD ITEMS TO THIS FILE, BE SURE TO UPDATE kernel/scripts/Config.pl.
## All paths should be absolute, not relative.
# root directory of the local web server
our $web_dir = "";
# TRUE for windows mode
our $win_mode = 0;
# source code project directory
o... | janakagithub/atomic_regulons | lib/FIG_Config.pm | Perl | mit | 4,019 |
name(pcache).
version('0.1.0').
requires(rocksdb).
requires(prolog >= '7.5.14').
title('Persistent answer cache').
keywords([cache, memoize, persistency]).
author( 'Jan Wielemaker', 'jan@swi-prolog.org' ).
home('https://github.com/JanWielemaker/pcache' ).
download('https://github.com/JanWielemaker/pcache/releases/*.zip... | TeamSPoon/logicmoo_workspace | packs_web/swish/pack/pcache/pack.pl | Perl | mit | 324 |
fr(200001742,2,0).
fr(200001742,8,0).
fr(200002237,2,0).
fr(200002429,2,0).
fr(200002562,2,0).
fr(200002762,2,0).
fr(200002935,9,0).
fr(200003100,8,0).
fr(200003177,2,0).
fr(200003336,8,0).
fr(200003336,11,0).
fr(200003457,2,0).
fr(200003627,2,0).
fr(200003768,2,0).
fr(200003768,8,0).
fr(200003961,8,0).
fr(200004056,8,... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/data/WNprolog-1.7.1/prolog/wn_fr.pl | Perl | mit | 406,003 |
#!/usr/env/perl
# (C) 2016 http://www.enviroware.com
# Version 20160526
# Type perl wps_help.pl -info=VARIABLE to get help on WPS VARAIBLE (WRF 3.8).
# Type perl wps_help.pl --help to get a list of variables
use strict;
use Data::Dumper;
use Getopt::Long;
my %manual;
load_manual();
my %input;
my @input_list;
my $s... | enviroware/wps_help | wps_help.pl | Perl | mit | 18,892 |
{
=head1 NAME
Net::Google::Spelling - simple OOP-ish interface to the Google SOAP API for spelling suggestions
=head1 SYNOPSIS
use Net::Google::Spelling;
my $spelling = Net::Google::Spelling(\%args);
$spelling->phrase("muntreal qweebec");
print $spelling->suggest()."\n";
=head1 DESCRIPTION
Provides a simple ... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/Net/Google/Spelling.pm | Perl | mit | 3,481 |
package O2CMS::Obj::Video;
# Class representing a video file
use strict;
use base 'O2::Obj::File';
#-------------------------------------------------------------------------------
sub canMove {
my ($obj, $fromContainer, $toContainer) = @_;
return 1; # can move to anywhere
}
#-------------------------------------... | haakonsk/O2-CMS | lib/O2CMS/Obj/Video.pm | Perl | mit | 366 |
package Google::Ads::AdWords::v201809::FunctionOperand;
use strict;
use warnings;
__PACKAGE__->_set_element_form_qualified(1);
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201809' };
our $XML_ATTRIBUTE_CLASS;
undef $XML_ATTRIBUTE_CLASS;
sub __get_attr_class {
return $XML_ATTRIBUTE_CLASS;
}
use... | googleads/googleads-perl-lib | lib/Google/Ads/AdWords/v201809/FunctionOperand.pm | Perl | apache-2.0 | 1,787 |
#!/usr/bin/perl
use strict;
use warnings;
use CQS::ClassFactory;
use CQS::FileUtils;
use CQS::SystemUtils;
use CQS::ConfigUtils;
use CQS::UniqueTask;
use Test::More tests => 5;
my $config = {
general => {
task_name => "test",
cluster => "slurm",
},
"perl1" => {
class => "CQS::Perl",
perf... | shengqh/ngsperl | test/CQS/TestUniqueTask.pl | Perl | apache-2.0 | 3,765 |
#
# Copyright 2019 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | Sims24/centreon-plugins | apps/protocols/ospf/snmp/plugin.pm | Perl | apache-2.0 | 1,286 |
=head1 TITLE
Add memoize into the standard library
=head1 VERSION
Maintainer: Adam Turoff <ziggy@panix.com>
Date: 14 Sep 2000
Last Modified: 18 Sep 2000
Mailing List: perl6-stdlib@perl.org
Number: 228
Version: 2
Status: Frozen
=head1 ABSTRACT
Caching through memoization is a very useful construct. I... | autarch/perlweb | docs/dev/perl6/rfc/228.pod | Perl | apache-2.0 | 2,480 |
#
# 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 | storage/ibm/ts2900/snmp/mode/hardware.pm | Perl | apache-2.0 | 6,601 |
use strict;
use warnings;
use Getopt::Long;
use Pod::Usage;
use Bio::EnsEMBL::Compara::Production::Projection::RunnableDB::ProjectOntologyXref;
use Bio::EnsEMBL::Compara::Production::Projection::RunnableDB::RunnableLogger;
use Bio::EnsEMBL::Registry;
my $log_config = <<LOGCFG;
log4perl.logger=DEBUG, Screen
log4per... | adamsardar/perl-libs-custom | EnsemblAPI/ensembl-compara/scripts/projection/project_dbentry.pl | Perl | apache-2.0 | 7,058 |
#
# 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-Gerrit | src/main/resources/project/config/createcfg.pl | Perl | apache-2.0 | 2,074 |
#!/usr/bin/perl -w
use strict;
use warnings;
my $dir = "/home/yi/data/DNA_Methylation/Methy_ZhouYi/RData/t_test/";
open(HYPO,$dir."hypo.txt") or die "$!\n";
<HYPO>;
my @hypo_list = <HYPO>;
close(HYPO);
open(OUTPUT,">".$dir."hypo_new") or die "$!\n";
print OUTPUT "IlmnID"."\t"."Methy_p"."\t"."Entrez"."\t"."... | SCP-028/UGA | archive/DNA_Methylation/Name_convertion/stretch_extrez.pl | Perl | apache-2.0 | 910 |
#
# 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/cisco/firepower/fxos/snmp/mode/components/memoryunit.pm | Perl | apache-2.0 | 4,402 |
# 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/ClusterDepthFilter.pm | Perl | apache-2.0 | 22,419 |
package Paws::DMS::Connection;
use Moose;
has EndpointArn => (is => 'ro', isa => 'Str');
has EndpointIdentifier => (is => 'ro', isa => 'Str');
has LastFailureMessage => (is => 'ro', isa => 'Str');
has ReplicationInstanceArn => (is => 'ro', isa => 'Str');
has ReplicationInstanceIdentifier => (is => 'ro', isa... | ioanrogers/aws-sdk-perl | auto-lib/Paws/DMS/Connection.pm | Perl | apache-2.0 | 2,167 |
# Copyright (c) 2016, Juniper Networks Inc.
# All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required b... | Juniper/branch-locker | web/BranchLocker/branchlocker.pl | Perl | apache-2.0 | 1,791 |
package VMOMI::CustomFieldDefRemovedEvent;
use parent 'VMOMI::CustomFieldDefEvent';
use strict;
use warnings;
our @class_ancestors = (
'CustomFieldDefEvent',
'CustomFieldEvent',
'Event',
'DynamicData',
);
our @class_members = ( );
sub get_class_ancestors {
return @class_ancestors;
}
sub get_cl... | stumpr/p5-vmomi | lib/VMOMI/CustomFieldDefRemovedEvent.pm | Perl | apache-2.0 | 468 |
#!/usr/bin/env perl -w
#---------------------------------------------------------------------------
# Singapore, 21st October 2011
#
# ACADEMIC SOFTWARE LICENSE for TMSOC
# ***********************************
#
# Copyright:
# Wing-Cheong Wong, Sebastian Maurer-Stroh, Georg Schneider, Frank Eisenhaber
# Bio... | SaierLaboratory/TCDBtools | scripts/tmsoc.pl | Perl | bsd-3-clause | 13,144 |
use utf8;
package Netdisco::DB::Result::DevicePortLog;
# Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE
use strict;
use warnings;
use base 'DBIx::Class::Core';
__PACKAGE__->table("device_port_log");
__PACKAGE__->add_columns(
"id",
{
data_type => "integer",
is_a... | jeneric/netdisco-frontend-sandpit | Netdisco/lib/Netdisco/DB/Result/DevicePortLog.pm | Perl | bsd-3-clause | 1,243 |
# Functions for collecting general system info
BEGIN { push(@INC, ".."); };
eval "use WebminCore;";
&init_config();
$systeminfo_cron_cmd = "$module_config_directory/systeminfo.pl";
$collected_info_file = "$module_config_directory/info";
$historic_info_dir = "$module_config_directory/history";
# collect_system_info()
... | xtso520ok/webmin | system-status/system-status-lib.pl | Perl | bsd-3-clause | 12,145 |
#
# $Id: Compress.pm,v eff9afda3723 2015/01/04 12:34:23 gomor $
#
# file::zip brik
#
package Metabrik::File::Compress;
use strict;
use warnings;
use base qw(Metabrik::Shell::Command);
sub brik_properties {
return {
revision => '$Revision: eff9afda3723 $',
tags => [ qw(unstable compress unzip gunzip unc... | gitpan/Metabrik-Repository | lib/Metabrik/File/Compress.pm | Perl | bsd-3-clause | 2,013 |
#!/usr/bin/perl
use strict;
use warnings;
use WWW::Curl::Easy;
use DBI;
use POSIX qw/strftime/;
use Time::HiRes qw(usleep nanosleep);
my $logFile = "/var/log/srd/scrapeConEd.log";
open LOGFILE, ">>", $logFile or die "Couldnt Open LogFile!\n".$!;
my $configfile = "scrapeConEd.config";
open CONFIGFILE, "+<", $configf... | OSrce/PowerOutageWebScrape | scrapeConEd.pl | Perl | bsd-3-clause | 6,391 |
<?php
$CANT_REDIRECT_IN = 'Nie możesz przekierować zapytania w tym momencie.';
$REDIRECT_ALLOW_ONLY_IN = 'Nie możesz wykonać przekierowania w bloku <b>%s</b>. Wpłynąć na zapytanie możesz jedynie w <b>code.action</b> lub <b>code.ajax</b>.';
$SORRY_CANT_REDIRECT_HERE = 'Nie możesz tutaj przekierować zapytania.'; | charJKL/deArcane | src/Core/_Exception/Runtime/CantRedirectHere.lang.pl | Perl | mit | 321 |
#!/usr/bin/perl
##
## Plots energy levels using GetEnLevels.sh
##
sub print_help(){
print "Usage: ";
print "$0 -f file --N0=N0 --Nf=Nf (--plot --Nlevels=Nlevels --spec) \n";
print " --spec : Generates an additional file with the output of GetEnLevels.sh for each N \n";
exit(0);
}
##
## main
##
use Getopt:... | cifu9502/nrgcode | src/Scripts/PlotEnLevels.perl | Perl | mit | 2,823 |
package Paws::Pinpoint::UpdateApnsChannelResponse;
use Moose;
has APNSChannelResponse => (is => 'ro', isa => 'Paws::Pinpoint::APNSChannelResponse', required => 1);
use MooseX::ClassAttribute;
class_has _stream_param => (is => 'ro', default => 'APNSChannelResponse');
has _request_id => (is => 'ro', isa => 'St... | ioanrogers/aws-sdk-perl | auto-lib/Paws/Pinpoint/UpdateApnsChannelResponse.pm | Perl | apache-2.0 | 562 |
package Paws::DynamoDBStreams::DescribeStreamOutput;
use Moose;
has StreamDescription => (is => 'ro', isa => 'Paws::DynamoDBStreams::StreamDescription');
has _request_id => (is => 'ro', isa => 'Str');
### main pod documentation begin ###
=head1 NAME
Paws::DynamoDBStreams::DescribeStreamOutput
=head1 ATTRIBU... | ioanrogers/aws-sdk-perl | auto-lib/Paws/DynamoDBStreams/DescribeStreamOutput.pm | Perl | apache-2.0 | 676 |
#------------------------------------------------------------------------------
# File: AFCP.pm
#
# Description: Read/write AFCP trailer
#
# Revisions: 12/26/2005 - P. Harvey Created
#
# References: 1) http://web.archive.org/web/20080828211305/http://www.tocarte.com/media/axs_afcp_spec.pdf
#--------------... | pericles-project/pet | nativeTools/exiftool_OSX/lib/Image/ExifTool/AFCP.pm | Perl | apache-2.0 | 10,690 |
# please insert nothing before this line: -*- mode: cperl; cperl-indent-level: 4; cperl-continued-statement-offset: 4; indent-tabs-mode: nil -*-
package TestProtocol::echo_block;
# this test reads from/writes to the socket doing blocking IO
#
# see TestProtocol::echo_timeout for how to do the same with
# nonblocking I... | dreamhost/dpkg-ndn-perl-mod-perl | t/protocol/TestProtocol/echo_block.pm | Perl | apache-2.0 | 1,328 |
# Functions for editing /etc/mailcap
BEGIN { push(@INC, ".."); };
use WebminCore;
&init_config();
if ($module_info{'usermin'}) {
&switch_to_remote_user();
$mailcap_file = $userconfig{'mailcap'};
if ($mailcap_file !~ /^\//) {
$mailcap_file = "$remote_user_info[7]/$mailcap_file";
}
}
else {
$mailcap_file = $co... | webdev1001/webmin | mailcap/mailcap-lib.pl | Perl | bsd-3-clause | 3,915 |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by lib/unicore/mktables from the Unicode
# database, Version 8.0.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... | operepo/ope | bin/usr/share/perl5/core_perl/unicore/lib/Lb/IN.pl | Perl | mit | 533 |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by lib/unicore/mktables from the Unicode
# database, Version 8.0.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... | operepo/ope | bin/usr/share/perl5/core_perl/unicore/lib/Perl/_PerlCh2.pl | Perl | mit | 7,896 |
#
# 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 | snmp_standard/mode/listdiskspath.pm | Perl | apache-2.0 | 8,211 |
# !!!!!!! 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/Blk/SupArrow.pl | Perl | apache-2.0 | 433 |
#!/usr/bin/perl
# Find functions making recursive calls to themselves.
# (Multiple recursion where a() calls b() which calls a() not covered.)
#
# When the recursion depth might depend on data controlled by the attacker in
# an unbounded way, those functions should use interation instead.
#
# Typical usage: scripts/re... | GaloisInc/hacrypto | src/C/mbedtls/mbedtls-1.3.10/scripts/recursion.pl | Perl | bsd-3-clause | 1,149 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.