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 |
|---|---|---|---|---|---|
#-----------------------------------------------------------
# defbrowser.pl
# Get default browser information - check #1 can apply to HKLM
# as well as to HKCU
#
# Change History:
# 20091116 - Added Check #1
# 20081105 - created
#
# copyright 2009 H. Carvey, keydet89@yahoo.com
#----------------------------------... | mhmdfy/autopsy | RecentActivity/release/rr-full/plugins/defbrowser.pl | Perl | apache-2.0 | 2,071 |
# !!!!!!! 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/Blk/CJKComp3.pl | Perl | mit | 421 |
#
# Written by Ryan Kereliuk <ryker@ryker.org>. This file may be
# distributed under the same terms as Perl itself.
#
# The RFC 3261 sip URI is <scheme>:<authority>;<params>?<query>.
#
package URI::sip;
use strict;
use warnings;
use parent qw(URI::_server URI::_userpass);
use URI::Escape qw(uri_unescape);
our $VE... | jkb78/extrajnm | local/lib/perl5/URI/sip.pm | Perl | mit | 1,735 |
package UI::Health;
#
#
# 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, softwar... | rscrimojr/incubator-trafficcontrol | traffic_ops/app/lib/UI/Health.pm | Perl | apache-2.0 | 2,287 |
###########################################################################
#
# This file is auto-generated by the Perl DateTime Suite time locale
# generator (0.04). This code generator comes with the
# DateTime::Locale distribution in the tools/ directory, and is called
# generate_from_cldr.
#
# This file as generat... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/DateTime/Locale/ss.pm | Perl | mit | 3,044 |
#!/usr/bin/perl
# EECS678
# Adopted from CS 241 @ The University of Illinois
for $file (<examples/*>){
if( $file =~ /proc(\d+)-c(\d+)-(\w+)\.out/){
# print "Proc $1 CORE $2 Proc $3\n";
`./simulator -c $2 -s $3 examples/proc$1.csv | tail -7 > output1`;
`tail -7 $file > output2`;
$diff = `diff output1 output2`;... | deasley0123/EECS678_SchedulerProject | scheduler/examples.pl | Perl | mit | 417 |
#!/usr/bin/perl
use warnings;
use strict;
open (FASTA, "/users/liype/maf/reference/HumanDB/hg18_knownGeneMrna.fa") or die "Error: cannot read from fastafile: $!\n";
my (%mrnaseq);
my ($curname, $curseq);
while (<FASTA>) {
s/[\r\n]+$//;
if (m/^>([\w\.]+)/) { #NEED TO CHECK THIS
if ($curseq) {
$mrnaseq{$curnam... | cancerregulome/gidget | commands/maf_processing/perl/archive/check_fasta.pl | Perl | mit | 473 |
package O2::Dispatch::ModPerlGlobals::Context;
use strict;
use Tie::Scalar;
our @ISA = qw(Tie::StdScalar);
#------------------------------------------------------------------------------------------------------------
sub TIESCALAR {
my ($className) = @_;
return bless {}, $className;
}
#--------------------------... | haakonsk/O2-Framework | lib/O2/Dispatch/ModPerlGlobals/Context.pm | Perl | mit | 1,060 |
#!/usr/bin/perl
use strict;
use warnings;
package WWW::Shopify::Tooltips;
use WWW::Shopify;
use Exporter qw(import);
my $tooltips = {
'WWW::Shopify::Model::FulfillmentService' => {
'inventory_management' => 'States if the fulfillment service tracks p... | gitpan/WWW-Shopify | lib/WWW/Shopify/Tooltips.pm | Perl | mit | 68,283 |
#!/usr/bin/perl
#
# ***** BEGIN LICENSE BLOCK *****
# Zimbra Collaboration Suite Server
# Copyright (C) 2008, 2009, 2010 Zimbra, Inc.
#
# The contents of this file are subject to the Zimbra Public License
# Version 1.3 ("License"); you may not use this file except in
# compliance with the License. You may obtain a c... | nico01f/z-pec | ZimbraServer/src/ldap/migration/migrate20120507-UniqueDKIMSelector.pl | Perl | mit | 2,397 |
# !!!!!!! 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/Sc/Armn.pl | Perl | mit | 543 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% CWT-Prolog Server Interface %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
:- use_module(library(http/thread_httpd)).
:- use_module(library(http/http_dispatch)).
:- use_module(library(http/http_parameters)).
:- use_module(database).
% Basic header for plain text
header('text/plain', 'Content-ty... | eazar001/cwt-prolog | interface.pl | Perl | mit | 3,885 |
#!/usr/bin/perl
use strict;
use warnings;
use FindBin qw($RealBin);
use Term::ReadKey;
use Digest::SHA1 qw(sha1_hex);;
use Storable qw(lock_store);
$| = 1;
print "Type your password:";
ReadMode('noecho');
chomp(my $password = <STDIN>);
ReadMode(0);
print "\n";
my @set = ('0' ..'9', 'a' .. 'f');
my $salt = join(''... | zarfmouse/zgallery | bin/set_password.pl | Perl | cc0-1.0 | 503 |
eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
& eval 'exec perl -S $0 $argv:q'
if 0;
# $Id: run_test.pl 96572 2012-12-21 09:23:06Z johnnyw $
# -*- perl -*-
use lib "$ENV{ACE_ROOT}/bin";
use PerlACE::TestTarget;
$status = 0;
$synchbase = "ready";
my $target1 = PerlACE::TestTarget::create_target (1)... | batmancn/TinySDNController | ACE_wrappers/protocols/tests/HTBP/Send_Recv_Tests/run_test.pl | Perl | apache-2.0 | 1,641 |
package Moose::Meta::Method::Accessor::Native::Hash::exists;
our $VERSION = '2.1404';
use strict;
use warnings;
use Moose::Role;
with 'Moose::Meta::Method::Accessor::Native::Reader',
'Moose::Meta::Method::Accessor::Native::Hash';
sub _minimum_arguments { 1 }
sub _maximum_arguments { 1 }
sub _inline_check_arg... | ray66rus/vndrv | local/lib/perl5/x86_64-linux-thread-multi/Moose/Meta/Method/Accessor/Native/Hash/exists.pm | Perl | apache-2.0 | 564 |
package Paws::Discovery::Tag;
use Moose;
has Key => (is => 'ro', isa => 'Str', request_name => 'key', traits => ['NameInRequest'], required => 1);
has Value => (is => 'ro', isa => 'Str', request_name => 'value', traits => ['NameInRequest'], required => 1);
1;
### main pod documentation begin ###
=head1 NAME
Pa... | ioanrogers/aws-sdk-perl | auto-lib/Paws/Discovery/Tag.pm | Perl | apache-2.0 | 1,494 |
# 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/DisplayCallToAction.pm | Perl | apache-2.0 | 1,124 |
#!perl
use strict;
use warnings;
# Compares qx entries.
if ($#ARGV != 1)
{
print "Usage: perl sameq.pl no1 no2\n";
exit;
}
my $lin1 = $ARGV[0];
my $lin2 = $ARGV[1];
my $DIR;
if (`uname -a` =~ /CDD/)
{
# Laptop
$DIR = "../../../bridgedata/BBOVG";
}
else
{
# PC
$DIR = "../../../bridgedata/hands/BBOVG";
}... | data-bridge/build | src/sameq.pl | Perl | apache-2.0 | 1,683 |
new76(A,B,C,D,E,F,G) :- B=0.
new76(A,B,C,D,E,F,G) :- H=1+E, B=< -1, new4(A,C,D,H,F,G).
new76(A,B,C,D,E,F,G) :- H=1+E, B>=1, new4(A,C,D,H,F,G).
new74(A,B,C,D,E,F) :- G=1, D>=0, new76(A,G,B,C,D,E,F).
new74(A,B,C,D,E,F) :- G=0, D=< -1, new76(A,G,B,C,D,E,F).
new72(A,B,C,D,E,F,G) :- B=0.
new72(A,B,C,D,E,F,G) :- B=< -1, new7... | bishoksan/RAHFT | benchmarks_scp/misc/programs-clp/INVGEN-SpamAssassin-loop.map.c.map.pl | Perl | apache-2.0 | 4,650 |
#! /usr/bin/perl
use strict;
use utf8;
use warnings;
use Bio::SeqIO;
die"perl $0 <cds.fa> > out.fa\n" unless(@ARGV eq 1);
my $in = Bio::SeqIO->new(-file=>"< $ARGV[0]",-format=>"fasta");
while (my $seq = $in->next_seq()){
my $reseq = $seq->revcom;
my $tmp_id = $seq->id;
my $tmp_seq = $seq->seq;
my $re_tmp_id = $re... | BaconKwan/Perl_programme | sixPack/preDeal4sixPack.pl | Perl | apache-2.0 | 613 |
#
# 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 | snmp_standard/mode/vrrp.pm | Perl | apache-2.0 | 5,313 |
###########################################$
# Copyright 2008-2010 Amazon.com, Inc. or its affiliates. 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.
# A copy of the License is located at
#
# http://aws.a... | electric-cloud/EC-EC2 | src/main/resources/project/lib/Amazon/EC2/Model/AttachVpnGatewayRequest.pm | Perl | apache-2.0 | 2,464 |
package Paws::Pinpoint::SMSMessage;
use Moose;
has Body => (is => 'ro', isa => 'Str');
has MessageType => (is => 'ro', isa => 'Str');
has SenderId => (is => 'ro', isa => 'Str');
has Substitutions => (is => 'ro', isa => 'Paws::Pinpoint::MapOfListOf__string');
1;
### main pod documentation begin ###
=head1 NA... | ioanrogers/aws-sdk-perl | auto-lib/Paws/Pinpoint/SMSMessage.pm | Perl | apache-2.0 | 1,741 |
package VMOMI::ArrayOfHostMemberHealthCheckResult;
use parent 'VMOMI::ComplexType';
use strict;
use warnings;
our @class_ancestors = ( );
our @class_members = (
['HostMemberHealthCheckResult', 'HostMemberHealthCheckResult', 1, 1],
);
sub get_class_ancestors {
return @class_ancestors;
}
sub get_class_membe... | stumpr/p5-vmomi | lib/VMOMI/ArrayOfHostMemberHealthCheckResult.pm | Perl | apache-2.0 | 459 |
min([First|Rest], Min) :- accMin(Rest, First, Min).
accMin([], Accumulator, Accumulator).
accMin([First|Rest], Accumulator, Min) :- First < Accumulator -> accMin(Rest, First, Min) ; accMin(Rest, Accumulator, Min).
| JoachimVandersmissen/CodingSolutions | prolog/LearnPrologNow/chapter5/practical1.pl | Perl | apache-2.0 | 214 |
:- module(tk_test_aux, [
hello/0,
factorial/2,
show/1,
quit/0],
[objects]).
hello :-
display('Hello !!!!'),
nl.
show(X) :-
display(X),
nl.
factorial(N2,X) :-
factorial_aux(N2,X).
%% display(X),
%% nl.
factorial_aux(... | leuschel/ecce | www/CiaoDE/ciao/library/tcltk/examples/tk_test_aux.pl | Perl | apache-2.0 | 445 |
#!/usr/bin/perl -w
#####
#
# bin2png.pl
#
#####
#####
#
# includes
#
#####
use File::Basename;
#####
#
# main
#
#####
if ( @ARGV == 0 ) {
print STDERR "usage: bin2png <file.bin>+\n";
} else {
while ( @ARGV ) {
my $file = shift @ARGV;
process_file($file);
}
}
#####
#
# process_f... | thelonious/svg-2d | utilities/js_png/tests/bin2png.pl | Perl | bsd-3-clause | 666 |
#!/usr/bin/env perl
use Getopt::Long;
use Pod::Usage;
use FindBin;
use lib "$FindBin::Bin/../lib";
use Blast qw (parse_xml revcomp_hsp);
use Genbank qw (parse_genbank get_sequence);
use Subfunctions qw (parse_fasta reverse_complement split_seq find_sequences consensus_str);
use File::Temp qw (tempfile);
use Data::Dumpe... | daisieh/phylogenomics | plastome/contigs_to_cp.pl | Perl | bsd-3-clause | 13,177 |
<?php
include 'CommonAssetsInit.lang.pl';
$APPLICATION_REFERENCE_IS_WRONG = 'Nie przekazałeś referencji do modułu [app::$application].';
$PASS_VALID_REFERENCE = 'Przekaż prawidłową reference do modułu [app::$application]. Aktualnie znajduje się tam <b>%s</b>.';
$CORRECT_REFERENCE_HERE = 'Popraw przekazywaną referencje... | deArcane/framework | src/Assets/_Exception/Init/RequireApplication.lang.pl | Perl | mit | 332 |
#------------------------------------------------------------------------------
# File: Leaf.pm
#
# Description: Read Creo Leaf EXIF meta information
#
# Revisions: 09/28/2005 - P. Harvey Created
#------------------------------------------------------------------------------
package Image::ExifTool::Leaf;... | philmoz/Focus-Points | focuspoints.lrdevplugin/bin/exiftool/lib/Image/ExifTool/Leaf.pm | Perl | apache-2.0 | 16,738 |
package OpenXPKI::Server::Workflow::Validator::PasswordQuality;
use strict;
use warnings;
use base qw( Workflow::Validator );
use Workflow::Exception qw( validation_error );
use OpenXPKI::Server::Context qw( CTX );
use OpenXPKI::Debug;
use English;
use Data::Password qw(:all);
sub _init {
my ( $self, $params ) = ... | mrscotty/openxpki | core/server/OpenXPKI/Server/Workflow/Validator/PasswordQuality.pm | Perl | apache-2.0 | 1,940 |
#------------------------------------------------------------------------------
# File: PDF.pm
#
# Description: Read PDF meta information
#
# Revisions: 07/11/2005 - P. Harvey Created
# 07/25/2005 - P. Harvey Add support for encrypted documents
#
# References: 1) http://www.adobe.com/devnet/... | mkjanke/Focus-Points | focuspoints.lrdevplugin/bin/exiftool/lib/Image/ExifTool/PDF.pm | Perl | apache-2.0 | 92,260 |
package Paws::RDS::ModifyDBSubnetGroupResult;
use Moose;
has DBSubnetGroup => (is => 'ro', isa => 'Paws::RDS::DBSubnetGroup');
has _request_id => (is => 'ro', isa => 'Str');
1;
### main pod documentation begin ###
=head1 NAME
Paws::RDS::ModifyDBSubnetGroupResult
=head1 ATTRIBUTES
=head2 DBSubnetGroup => L... | ioanrogers/aws-sdk-perl | auto-lib/Paws/RDS/ModifyDBSubnetGroupResult.pm | Perl | apache-2.0 | 385 |
package Google::Ads::AdWords::v201409::AdGroupAdLabelOperation;
use strict;
use warnings;
__PACKAGE__->_set_element_form_qualified(1);
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201409' };
our $XML_ATTRIBUTE_CLASS;
undef $XML_ATTRIBUTE_CLASS;
sub __get_attr_class {
return $XML_ATTRIBUTE_CLASS;... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201409/AdGroupAdLabelOperation.pm | Perl | apache-2.0 | 1,877 |
package Zonemaster::LDNS::RR::DLV;
use strict;
use warnings;
use parent 'Zonemaster::LDNS::RR';
1;
=head1 NAME
Zonemaster::LDNS::RR::DLV - Type DLV record
=head1 DESCRIPTION
A subclass of L<Zonemaster::LDNS::RR>, so it has all the methods of that class available in addition to the ones documented here.
=head1 M... | dotse/net-ldns | lib/Zonemaster/LDNS/RR/DLV.pm | Perl | bsd-2-clause | 368 |
# !!!!!!! 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/Scx/Arab.pl | Perl | mit | 926 |
package Moose::Object;
BEGIN {
$Moose::Object::AUTHORITY = 'cpan:STEVAN';
}
{
$Moose::Object::VERSION = '2.0602';
}
use strict;
use warnings;
use Carp ();
use Devel::GlobalDestruction ();
use MRO::Compat ();
use Scalar::Util ();
use Try::Tiny ();
use if ( not our $__mx_is_compiled ), 'Moose::Meta::Class';
use i... | leighpauls/k2cro4 | third_party/perl/perl/vendor/lib/Moose/Object.pm | Perl | bsd-3-clause | 6,025 |
package Module::Build;
# This module doesn't do much of anything itself, it inherits from the
# modules that do the real work. The only real thing it has to do is
# figure out which OS-specific module to pull in. Many of the
# OS-specific modules don't do anything either - most of the work is
# done in Module::Build... | efortuna/AndroidSDKClone | ndk_experimental/prebuilt/linux-x86_64/lib/perl5/5.16.2/Module/Build.pm | Perl | apache-2.0 | 35,464 |
#!/usr/bin/perl
use strict;
use warnings;
use Getopt::Long;
use File::Basename;
# Author: Dean Wilson ; License: GPL
# Project Home: http://www.unixdaemon.net/
# For documentation look at the bottom of this file, or run with '-h'
# Version 0.5 - Tided up arg handling. Added usage
# Changes:
# Usage information correc... | saimonmoore/deprec | lib/deprec/templates/nagios/check_linux_free_memory.pl | Perl | mit | 2,810 |
=head1 NAME
memcached_analyze - Analyze server information
=head1 LIBRARY
C Client Library for memcached (libmemcached, -lmemcached)
=head1 SYNOPSIS
#include <memcached.h>
memcached_analysis_st *
memcached_analyze (memcached_st *ptr,
memcached_stat_st *stat,
m... | trondn/libmemcached | docs/memcached_analyze.pod | Perl | bsd-3-clause | 1,456 |
package Fixtures::Asn;
#
# 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
#
# U... | smalenfant/traffic_control | traffic_ops/app/lib/Fixtures/Asn.pm | Perl | apache-2.0 | 1,065 |
package Git::IndexInfo;
use strict;
use warnings;
use Git qw/command_input_pipe command_close_pipe/;
sub new {
my ($class) = @_;
my ($gui, $ctx) = command_input_pipe(qw/update-index -z --index-info/);
bless { gui => $gui, ctx => $ctx, nr => 0}, $class;
}
sub remove {
my ($self, $path) = @_;
if (print { $self->{g... | ianyh/heroku-buildpack-python-opencv | vendor/.heroku/share/perl/5.10.1/Git/IndexInfo.pm | Perl | mit | 644 |
#!/usr/bin/perl -w
use strict;
use Getopt::Long;
use File::Basename;
my $fastq_file;
my $qc_pl;
my $aln_pl;
my $call_pl;
my $REF;
my $REFINDEX;
my $num_jobs;
my $job_name;
GetOptions (
"fq_List=s" => \$fastq_file,
"numJobs=i" => \$num_jobs,
"jobName=s" => \$job_name,
"qc_pl=s" => \$qc_pl,
"aln_pl=s" => \$aln_pl,
... | swang8/Perl_scripts_misc | generate_bsub.pl | Perl | mit | 7,991 |
# 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/asia. Olson data version 2008c
#
# Do not edit this file directly.
#
package DateTime::TimeZon... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/DateTime/TimeZone/Asia/Yerevan.pm | Perl | mit | 8,905 |
package Data::Structure::Util;
use 5.008;
use strict;
use warnings::register;
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK);
use Storable qw( freeze );
use Digest::MD5 qw( md5_hex );
require Exporter;
require DynaLoader;
require AutoLoader;
@ISA = qw( Exporter DynaLoader );
$VERSION = '0.16';
@EXPORT_OK = qw(
u... | jkb78/extrajnm | local/lib/perl5/darwin-2level/Data/Structure/Util.pm | Perl | mit | 14,572 |
/*************************************************************************
name: lexicon_player_english.pl
date: 2004-10-25
author: Andreas Wallentin
*************************************************************************/
:- module( lexicon_player_english, [output_form/2,
input_form/... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/ext/SIRIDUS/UGOT-D31/godis-apps/domain-player/player-old/Resources/lexicon_player_english.pl | Perl | mit | 19,557 |
# Copyright 2018 Tomas Brabec
#
# See LICENSE for license details.
# -----------------------------------------------------------------------------
# Description:
# Quotes stock and currency symbols from DB.
#
# The list of stocks and currencies is taken from DB. Currencies are
# quoted only when the base currenc... | brabect1/invest-utils-perl | get-quotes.pl | Perl | mit | 6,775 |
#!/usr/bin/perl
if ($#ARGV != 0)
{
die "Argument must contain filename $#ARGV"
}
else
{
$fname=$ARGV[0];
}
# If we have a .m file inside a (@)-folder with the same name :
# we will read each file of this folder
if ($fname =~ /^(.*)\@([\d\w-_]*)[\/\\](\2)\.m/)
{
$name = $2;
$nameExt = $name.".m";... | navoj/WholeCell | lib/DoxygenMatlab/m2cpp.pl | Perl | mit | 6,871 |
/* Part of Extended libraries for Prolog
Author: Edison Mera Menendez
E-mail: efmera@gmail.com
WWW: https://github.com/edisonm/xlibrary
Copyright (C): 2014, Process Design Center, Breda, The Netherlands.
All rights reserved.
Redistribution and use in source and binary ... | TeamSPoon/logicmoo_workspace | packs_lib/xlibrary/tests/i18n/i18n_test.pl | Perl | mit | 2,214 |
package Net::PMP::Profile::Story;
use Moose;
extends 'Net::PMP::Profile';
our $VERSION = '0.100';
has 'teaser' => ( is => 'rw', isa => 'Str', );
has 'contentencoded' => ( is => 'rw', isa => 'Str', );
has 'contenttemplated' => ( is => 'rw', isa => 'Str', );
sub get_profile_url {'https://api.pmp.io/profile... | APMG/net-pmp-profile-perl | lib/Net/PMP/Profile/Story.pm | Perl | mit | 2,942 |
=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... | at7/ensembl | modules/Bio/EnsEMBL/Feature.pm | Perl | apache-2.0 | 51,015 |
#!/usr/bin/env perl
# Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
# Copyright [2016-2017] EMBL-European Bioinformatics Institute
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the Licens... | james-monkeyshines/ensembl-analysis | scripts/make_input_id_4_seleno.pl | Perl | apache-2.0 | 3,185 |
#
# 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/powershell/exchange/owamailbox.pm | Perl | apache-2.0 | 4,423 |
## OpenXPKI::Crypto::Tool::LibSCEP::Command::create_nextca_reply
## Written 2015-2018 by Gideon Knocke and Martin Bartosch for the OpenXPKI project
## (C) Copyright 2015-2018 by The OpenXPKI Project
package OpenXPKI::Crypto::Tool::LibSCEP::Command::create_nextca_reply;
use strict;
use warnings;
use English;
use Class... | openxpki/openxpki | core/server/OpenXPKI/Crypto/Tool/LibSCEP/Command/create_nextca_reply.pm | Perl | apache-2.0 | 2,502 |
#
# (c) Jan Gehring <jan.gehring@gmail.com>
#
# vim: set ts=2 sw=2 tw=0:
# vim: set expandtab:
package Rex::Repositorio::Repository_Factory;
use common::sense;
use Params::Validate qw(:all);
use English;
use Carp;
our $VERSION = '0.4.1'; # VERSION
sub create {
my $class = shift;
my %option = validate(
@_,
... | gitpan/Rex-Repositorio | lib/Rex/Repositorio/Repository_Factory.pm | Perl | apache-2.0 | 699 |
#
# 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 | hardware/server/sun/mseries/mode/domains.pm | Perl | apache-2.0 | 2,950 |
package Paws::AppStream::DisassociateFleet;
use Moose;
has FleetName => (is => 'ro', isa => 'Str', required => 1);
has StackName => (is => 'ro', isa => 'Str', required => 1);
use MooseX::ClassAttribute;
class_has _api_call => (isa => 'Str', is => 'ro', default => 'DisassociateFleet');
class_has _returns ... | ioanrogers/aws-sdk-perl | auto-lib/Paws/AppStream/DisassociateFleet.pm | Perl | apache-2.0 | 1,744 |
=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... | willmclaren/ensembl-variation | modules/Bio/EnsEMBL/Variation/Utils/dbSNP.pm | Perl | apache-2.0 | 8,230 |
#!%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-api/src/Vhffs/Robots/Bazaar.pm | Perl | bsd-3-clause | 5,343 |
##
## Put me in ~/.irssi/scripts, and then execute the following in irssi:
##
## /load perl
## /script load xaway
##
use strict;
use warnings;
use Irssi;
use vars qw($VERSION %IRSSI);
use IO::Handle;
use X11::Protocol;
$VERSION = "0.01";
%IRSSI = (
authors => 'Vladimír Štill',
contact => 'x... | vlstill/irssiScripts | xaway.pl | Perl | bsd-3-clause | 1,491 |
###########################################################################
#
# This file is partially auto-generated by the DateTime::Locale generator
# tools (v0.10). This code generator comes with the DateTime::Locale
# distribution in the tools/ directory, and is called generate-modules.
#
# This file was generated... | jkb78/extrajnm | local/lib/perl5/DateTime/Locale/en.pod | Perl | mit | 9,434 |
# Copyright 2018 Jeffrey Kegler
# This file is part of Marpa::R2. Marpa::R2 is free software: you can
# redistribute it and/or modify it under the terms of the GNU Lesser
# General Public License as published by the Free Software Foundation,
# either version 3 of the License, or (at your option) any later version.
#
#... | jddurand/c-marpaESLIF | 3rdparty/github/marpaWrapper/3rdparty/github/Marpa--R2/cpan/html/lib/Marpa/R2/HTML.pm | Perl | mit | 48,547 |
#!/usr/bin/perl
use strict;
use warnings;
use Data::Dumper;
use File::Glob ':bsd_glob';
use Getopt::Std;
$Data::Dumper::Indent = 1;
$Data::Dumper::Sortkeys = 1;
$Data::Dumper::Terse = 1;
sub find_cpu_core_mask {
my $core_count = qx(nproc --all);
printf("0x%08d\n", $core_count);
}
sub find_ethernet_pci... | TidyHuang/sdn_sensor | scripts/find-dpdk-settings.pl | Perl | mit | 1,071 |
package Google::Ads::AdWords::v201409::Address;
use strict;
use warnings;
__PACKAGE__->_set_element_form_qualified(1);
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201409' };
our $XML_ATTRIBUTE_CLASS;
undef $XML_ATTRIBUTE_CLASS;
sub __get_attr_class {
return $XML_ATTRIBUTE_CLASS;
}
use Class::S... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201409/Address.pm | Perl | apache-2.0 | 2,798 |
#!/usr/bin/perl
# Run this script first.
# Create a list of entities which need CPF files created. We don't have all the AnF data, but we know from
# cpfRelations in data we do have that other entities exist.
# Creates an output file frozen_data.dat which is a hash of hashes of all the cpfRelations, including those ... | snac-cooperative/snac_eac_cpf_utils | anf/parse_anf.pl | Perl | apache-2.0 | 13,988 |
package Paws::IAM::GetContextKeysForPolicyResponse;
use Moose;
has ContextKeyNames => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
has _request_id => (is => 'ro', isa => 'Str');
1;
### main pod documentation begin ###
=head1 NAME
Paws::IAM::GetContextKeysForPolicyResponse
=head1 ATTRIBUTES
=head2 ContextKe... | ioanrogers/aws-sdk-perl | auto-lib/Paws/IAM/GetContextKeysForPolicyResponse.pm | Perl | apache-2.0 | 455 |
package #
Date::Manip::TZ::eudubl00;
# 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/eudubl00.pm | Perl | bsd-2-clause | 66,707 |
:- module(sortalCheck,[sortalCheckDrs/2]).
:- use_module(knowledge(ontology),[isa/2,isnota/2]).
:- use_module(knowledge(title),[title/3]).
:- use_module(library(lists),[member/2,select/3]).
/*========================================================================
Sortal Check (main)
============================... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/ext/candc/src/prolog/boxer/sortalCheck.pl | Perl | mit | 4,974 |
# Transform TODO
# to a YAML format suitable for our needs
use strict;
use utf8;
use open qw(:std :utf8);
binmode(STDOUT, ":utf8");
open(my $fh, '<', 'uas_useragent.csv');
print "# From http://www.pgts.com.au/download/data/browser_list.txt
# via http://www.texsoft.it/index.php?m=sw.php.useragent
test_cases:\n";
forea... | sean-hill/map-around | node_modules/ua-parser/test_resources/transform-uas_useragent.pl | Perl | mit | 1,509 |
# 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/northamerica. Olson data version 2012c
#
# Do not edit this file directly.
#
package DateTim... | leighpauls/k2cro4 | third_party/perl/perl/vendor/lib/DateTime/TimeZone/America/North_Dakota/Beulah.pm | Perl | bsd-3-clause | 12,479 |
package DDG::Goodie::Frequency;
# ABSTRACT: Displays frequency of alphabet character (a-z)
use strict;
use DDG::Goodie;
triggers start => 'frequency', 'freq';
handle remainder => sub {
if ($_ =~ /^of ([a-z]|(?:all ?|)(?:letters|characters|chars|)) in (.+)/i)
{
my $collect = lc $1;
my $target_str = lc $2;
... | aleksandar-todorovic/zeroclickinfo-goodies | lib/DDG/Goodie/Frequency.pm | Perl | apache-2.0 | 818 |
=head1 This Week on perl5-porters (18-24 August 2003)
The Perl 5 porters are rather focused on perl 5.8.1 tuning and
adjustments. Smokes, valgrind checks, modules updates, and regression bug
hunting were among the main events of the week.
=head2 DESTROYing blessed code refs
Last year, Simon Cozens found that blessed... | rjbs/perlweb | docs/dev/perl5/list-summaries/2003/p5p-200308-3.pod | Perl | apache-2.0 | 3,623 |
#Time-stamp: "2001-02-23 20:09:47 MST" -*-Text-*-
# This document contains text in Perl "POD" format.
# Use a POD viewer like perldoc or perlman to render it.
=head1 NAME
HTML::Tree::AboutTrees -- article on tree-shaped data structures in Perl
=head1 SYNOPSIS
# This an article, not a module.
=head1 DESCRIPTION
... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/HTML/Tree/AboutTrees.pod | Perl | mit | 49,595 |
#!/usr/bin/perl -w
use strict;
# tiling to gap
my $skipWrongSupercontig = 1;
my $exportTelomers = 0;
my $minLength = 20;
my $file = $ARGV[0];
if ( ! $ARGV[0] ) { die "NO ARGUMENT PASSED. PLEASE SPECIFY TILING FILE" };
if ( ! -f $file ) { die "TILING FILE $file DOESNT EXISTS" };... | sauloal/perlscripts | Bio/progs_parsers/mummer/coords_to_gap.pl | Perl | mit | 7,686 |
%%%%%%%%%%%%%%% Last Week Task %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
/* Yet To-Do:
1-fix the rplaced variables [X] to be X
2-Dealing with morphological differences cat> , cat>s should be considered shared item.
/*
[NOTE]: We no longer turning trees into lists using the
=.. operator because now we now that a tree i... | AllanRamsay/dgParser | openclasspatterns.pl | Perl | mit | 2,467 |
use strict;
use CXGN::Page;
my $page=CXGN::Page->new('index.html','html2pl converter');
$page->header('Maps');
print<<END_HEREDOC;
<br />
<center>
<table summary="" class="boxbgcolor2" width="100\%">
<tr>
<td width="25\%"> </td>
<td width="50\%" class="left">
<div class="bo... | solgenomics/sgn | cgi-bin/maps/index.pl | Perl | mit | 1,303 |
#!/usr/bin/env perl
use strict;
use warnings;
use File::Basename;
# Use current directory to find modules
use FindBin;
use lib $FindBin::Bin . "/perl/";
use lib $FindBin::Bin . '/../libs/bioinf-perl/lib';
use McCortexScripts;
use UsefulModule;
sub print_usage
{
for my $err (@_) { print STDERR "Error: $err\n"; }
... | mcveanlab/mccortex | scripts/mccortex-kcovg.pl | Perl | mit | 2,471 |
#!/usr/bin/perl -w
#
# flamegraph.pl flame stack grapher.
#
# This takes stack samples and renders a call graph, allowing hot functions
# and codepaths to be quickly identified. Stack samples can be generated using
# tools such as DTrace, perf, SystemTap, and Instruments.
#
# USAGE: ./flamegraph.pl [options] in... | terrencehan/eprobe | script/flamegraph.pl | Perl | mit | 17,600 |
#!/usr/bin/perl
use strict;
use warnings;
use feature 'say';
use List::MoreUtils qw(firstidx);
use List::Util qw(max);
my $fname = shift;
open my $fh, "<", $fname
or die "Can't open $fname: $!";
my $line = <$fh>;
chomp $line;
my @arr = split "\t", $line;
my %seen;
my $ctr = 0;
$seen{"@arr"} = 1;
while (1) ... | bewuethr/advent_of_code | 2017/day06/day06a.pl | Perl | mit | 645 |
package CXGN::Trial::TrialDesign::Plugin::Lattice;
use Moose::Role;
use List::Util qw| max |;
sub create_design {
my $self = shift;
my %lattice_design;
my $rbase = R::YapRI::Base->new();
my @stock_list;
my $number_of_blocks;
my $number_of_reps;
my $stock_data_matrix;
my $r_block;
... | solgenomics/sgn | lib/CXGN/Trial/TrialDesign/Plugin/Lattice.pm | Perl | mit | 6,169 |
#!/usr/bin/perl
my @array = (4,3,5,22,25,5,-48,0,4,-3);
heap_sort(\@array);
print "@array\n";
exit;
sub heap_sort
{
my($list) = @_;
my $count = scalar @$list;
heap($count,$list);
my $right = $count - 1;
while($right > 0)
{
@$list[0,$right] = @$list[... | dimir2/hse12pi2-scripts | MartirosyanA/pyromidal.pl | Perl | mit | 1,088 |
use strict;
use Data::Dumper;
use Carp;
use gjoseqlib;
#
# This is a SAS Component
#
use SeedEnv;
my $sapO = SAPserver->new();
=head1 svr_blast
Run blast locally
------
Example: svr_blast -p pegs 83333.1 [ blast PEGs identified in file against genome 83333.1 ]
svr_blast -d pegs 83333.1 [ use blastn... | kbase/kb_seed | service-scripts/svr_blast.pl | Perl | mit | 5,471 |
:- consult(initial1).
goal(and(eventually(all(p, or(not(person(p)), at(p, city3)))), all(p, all(y, or(not(person(p)), or(not(city(y)), or(not(at(p, y)), eventually(always(at(p, y)))))))))).
| TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_ec/test/pddl_tests/ZenoTravel/p19.pl | Perl | mit | 191 |
slice(X, I, K, L) :- slice(X, I, 1, K, L).
slice([_|T], I, J, K, L) :- J < I, JJ is (J + 1), slice(T, I, JJ, K, L).
slice(_, _, J, K, []) :- K < J.
slice([H|T], I, J, K, L) :- JJ is (J + 1), slice(T, I, JJ, K, LL), append([H], LL, L).
| dvberkel/99-prolog-problems | Prolog-Lists/18.pl | Perl | mit | 236 |
#!/usr/bin/perl
use strict;
use warnings;
# Problem 2
# Even Fibonacci numbers
# Each new term in the Fibonacci sequence is generated by adding the previous
# two terms. By starting with 1 and 2, the first 10 terms will be:
# 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ...
# Find the sum of all the even-valued terms in the se... | erinspice/euler | perl/002.pl | Perl | mit | 575 |
package Model::R::ToPay::SettingGroup;
use strict;
use base qw(Model::R::ToPay);
__PACKAGE__->meta->setup(
table => 'setting_group',
columns => [
id => { type => 'integer', not_null => 1, sequence => 'gate_sequence' },
name => { type => 'varchar', length => 128, not_null =>... | ant-i/db-crud | dbs/Model/R/ToPay/SettingGroup.pm | Perl | apache-2.0 | 728 |
package Paws::ELB::Policies;
use Moose;
has AppCookieStickinessPolicies => (is => 'ro', isa => 'ArrayRef[Paws::ELB::AppCookieStickinessPolicy]');
has LBCookieStickinessPolicies => (is => 'ro', isa => 'ArrayRef[Paws::ELB::LBCookieStickinessPolicy]');
has OtherPolicies => (is => 'ro', isa => 'ArrayRef[Str|Undef]'... | ioanrogers/aws-sdk-perl | auto-lib/Paws/ELB/Policies.pm | Perl | apache-2.0 | 1,863 |
package API::Region;
#
# 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
#
# Unl... | PSUdaemon/traffic_control | traffic_ops/app/lib/API/Region.pm | Perl | apache-2.0 | 2,625 |
# Copyright 2020, Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | googleads/google-ads-perl | lib/Google/Ads/GoogleAds/V9/Resources/DomainCategory.pm | Perl | apache-2.0 | 1,477 |
#!/usr/bin/env perl
# 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... | mn1/ensembl-analysis | modules/Bio/EnsEMBL/Analysis/Hive/RunnableDB/HiveCleanFastaHeaders.pm | Perl | apache-2.0 | 9,634 |
#
# 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/kayako/sql/mode/listdepartment.pm | Perl | apache-2.0 | 1,804 |
# 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... | sergeykolychev/mxnet | perl-package/AI-MXNet/lib/AI/MXNet/Random.pm | Perl | apache-2.0 | 1,876 |
#!/usr/bin/perl -w
use strict;
use FindBin;
BEGIN {
push( @INC, "$FindBin::RealBin" ); ## Path to local modules
}
use Text::Template;
use Data::Dumper;
# Example:
# clear; sudo ./importiso.pl --distro ubuntu --release 1404 /vagrant/isos/ubuntu-14.04-server-amd64.iso
# clear; sudo ./importiso.pl --distro fedor... | henk52/OPSbst | bin/importiso.pl | Perl | apache-2.0 | 12,902 |
package Paws::EC2::CreateEgressOnlyInternetGatewayResult;
use Moose;
has ClientToken => (is => 'ro', isa => 'Str', request_name => 'clientToken', traits => ['NameInRequest',]);
has EgressOnlyInternetGateway => (is => 'ro', isa => 'Paws::EC2::EgressOnlyInternetGateway', request_name => 'egressOnlyInternetGateway'... | ioanrogers/aws-sdk-perl | auto-lib/Paws/EC2/CreateEgressOnlyInternetGatewayResult.pm | Perl | apache-2.0 | 810 |
# 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 agreed to in ... | electric-cloud/EC-S3 | src/main/resources/project/procedures/DeleteConfiguration/deletecfg.pl | Perl | apache-2.0 | 1,765 |
#
# Copyright 2021 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | Tpo76/centreon-plugins | cloud/azure/network/frontdoor/mode/backendhealth.pm | Perl | apache-2.0 | 4,711 |
#
# 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/lenovo/flexsystem/snmp/mode/components/faultled.pm | Perl | apache-2.0 | 2,091 |
#!/usr/bin/env perl
# Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
# Copyright [2016-2022] EMBL-European Bioinformatics Institute
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License... | Ensembl/ensembl-analysis | modules/Bio/EnsEMBL/Analysis/Hive/RunnableDB/HiveCreateRefineGenesJobs.pm | Perl | apache-2.0 | 3,249 |
#
# 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 | os/linux/local/mode/traffic.pm | Perl | apache-2.0 | 17,458 |
#!/usr/bin/env perl
# See the NOTICE file distributed with this work for additional information
# regarding copyright ownership.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# htt... | Ensembl/ensembl-compara | scripts/pipeline/copy_all_core_databases.pl | Perl | apache-2.0 | 6,461 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.