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 |
|---|---|---|---|---|---|
# vim:ts=4
#
# Copyright (c) 2010 Hypertriton, Inc. <http://hypertriton.com/>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
... | stqism/ToxBuild | ToxBuild/select.pm | Perl | bsd-2-clause | 2,040 |
print "Hello World\n";
exit;
| VxGB111/Perl-Programming-Homework | SFBHello.pl | Perl | bsd-2-clause | 29 |
#!/usr/bin/env perl
use strict;
use warnings;
use File::Slurp qw/read_file/;
use Algorithm::Combinatorics qw/permutations combinations/;
use List::Util qw/max/;
use Data::Dumper;
my $input = 377;
my ($a, $b) = (0,0);
my @res = (0);
my $pos = 0;
for (my $i = 1; $i <= 2017; $i++) {
$pos = ($pos+$input) % $i;
$pos +... | Aneurysm9/advent | 2017/day17/day17.pl | Perl | bsd-3-clause | 552 |
package DBIx::Class::Storage::DBI::Replicated::Pool;
use Moose;
use DBIx::Class::Storage::DBI::Replicated::Replicant;
use List::Util 'sum';
use Scalar::Util 'reftype';
use DBI ();
use MooseX::Types::Moose qw/Num Int ClassName HashRef/;
use DBIx::Class::Storage::DBI::Replicated::Types 'DBICStorageDBI';
use Try::Tiny;
... | ray66rus/vndrv | local/lib/perl5/DBIx/Class/Storage/DBI/Replicated/Pool.pm | Perl | apache-2.0 | 11,439 |
#!/usr/bin/perl
# <copyright>
# Copyright (c) 2013-2016 Intel Corporation. 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 a... | passlab/intel-openmp-runtime | tools/check-tools.pl | Perl | bsd-3-clause | 21,858 |
=head1 NAME
toaster.conf - Configuration file for Mail::Toaster
=head1 SYNOPSIS
man pages for options in toaster.conf
=head1 DESCRIPTION
toaster.conf - This document provides details on what all them nifty settings do.
A current copy of toaster.conf is posted on the Mail::Toaster web site at http://mail-toaster... | msimerson/Mail-Toaster | lib/toaster.conf.pod | Perl | bsd-3-clause | 6,125 |
package Cpanel::Easy::Speed;
our $easyconfig = {
'name' => 'mod_pagespeed',
'url' => 'http://www.prajith.in',
'note' => 'mod_pagespeed for Apache 2.x',
'hastargz' => 1,
'ensurepkg' => [qw{rpm cpio}],
'depends' => { 'optmods' => { 'Cpanel::Easy::Apache::Deflate' => 1, 'Cpanel::Easy::Apach... | Prajithp/cpanel | Easy/Speed.pm | Perl | mit | 2,495 |
=pod
=head1 NAME
X509_cmp, X509_NAME_cmp,
X509_issuer_and_serial_cmp, X509_issuer_name_cmp, X509_subject_name_cmp,
X509_CRL_cmp, X509_CRL_match
- compare X509 certificates and related values
=head1 SYNOPSIS
#include <openssl/x509.h>
int X509_cmp(const X509 *a, const X509 *b);
int X509_NAME_cmp(const X509_NAME *... | jens-maus/amissl | openssl/doc/man3/X509_cmp.pod | Perl | bsd-3-clause | 3,404 |
% Frame number: 230
happens( meeting( grp_ID0, [ id0, id1 ]), 9200). holdsAt( coord( grp_ID0 )=( 52, 160 ), 9200 ).
% Frame number: 231
happens( meeting( grp_ID0, [ id0, id1 ]), 9240). holdsAt( coord( grp_ID0 )=( 52, 160 ), 9240 ).
% Frame number: 232
happens( meeting( grp_ID0, [ id0, id1 ]), 9280). holdsAt( coord(... | JasonFil/Prob-EC | dataset/strong-noise/22-Meet_Split3rdGuy/ms3ggtContextGrp.pl | Perl | bsd-3-clause | 21,700 |
=head1 NAME
Apache2::ServerUtil - Perl API for Apache server record utils
=head1 Synopsis
use Apache2::ServerUtil ();
$s = Apache2::ServerUtil->server;
# push config
$s->add_config(['ServerTokens off']);
# add components to the Server signature
$s->add_version_component("MyModule/1.234");
#... | Distrotech/mod_perl | docs/src/docs/2.0/api/Apache2/ServerUtil.pod | Perl | apache-2.0 | 21,798 |
#! /usr/bin/env perl
##**************************************************************
##
## Copyright (C) 1990-2007, Condor Team, Computer Sciences Department,
## University of Wisconsin-Madison, WI.
##
## Licensed under the Apache License, Version 2.0 (the "License"); you
## may not use this file except in compliance... | djw8605/htcondor | src/condor_tests/job_core_input.pl | Perl | apache-2.0 | 960 |
# !!!!!!! 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/Gc/Co.pl | Perl | mit | 447 |
#! c:\perl\bin\perl.exe
#-----------------------------------------------------------
# del_tln.pl
#
#
# Change history
# 20140807 - created
#
# References:
#
#
#
# copyright 2014 QAR, LLC
# Author: H. Carvey
#-----------------------------------------------------------
package del_tln;
use strict;
my %config = (... | APriestman/autopsy | thirdparty/rr-full/plugins/del_tln.pl | Perl | apache-2.0 | 1,842 |
# mod_auth.pl
sub mod_auth_directives
{
local $rv = [
[ 'DefaultChdir', 0, 2, 'virtual anon global', 1.20 ],
[ 'DefaultRoot', 1, 2, 'virtual global', 0.99 ],
[ 'LoginPasswordPrompt', 0, 3, 'virtual anon global', 1.20 ],
[ 'RootLogin', 0, 6, 'virtual anon global', 1.15 ]
];
return &make_directives($rv, $_[0], "mod... | HasClass0/webmin | proftpd/mod_auth.pl | Perl | bsd-3-clause | 2,745 |
###########################################################################
#
# 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... | liuyangning/WX_web | xampp/perl/vendor/lib/DateTime/Locale/kl_GL.pm | Perl | mit | 9,663 |
use Win32::OLE 'in';
$Win32::OLE::Warn = 3; #script stopt met foutmelding als er ergens iets niet lukt
my $ComputerName = ".";
my $NameSpace = "root/cimv2";
my $ClassName = "Win32_Environment";
my $Locator=Win32::OLE->new("WbemScripting.SWbemLocator");
my $WbemServices = $Locator->ConnectServer($ComputerName, $NameSp... | VDBBjorn/Besturingssystemen-III | Labo/reeks4/Reeks4_47.pl | Perl | mit | 1,423 |
package App::Sqitch::Engine::oracle;
use 5.010;
use Moo;
use utf8;
use Path::Class;
use DBI;
use Try::Tiny;
use App::Sqitch::X qw(hurl);
use Locale::TextDomain qw(App-Sqitch);
use App::Sqitch::Plan::Change;
use List::Util qw(first);
use App::Sqitch::Types qw(DBH Dir ArrayRef);
use namespace::autoclean;
extends 'App::... | gitpan/App-Sqitch | lib/App/Sqitch/Engine/oracle.pm | Perl | mit | 22,526 |
#!/usr/bin/perl
use strict;
use warnings;
use Getopt::Std;
my %opts;
getopts('f:d:r:n:',\%opts);
checkVars();
my $maxHitCount = $opts{'n'} || 1;
open (IN,"head -n 200 $opts{'f'} | sort -k1,1 -k12,12nr |") or die "Can't open $opts{'f'}\n";
my %geneHash;
while (my $line = <IN>) {
chomp $line;... | sanjuroj/bioscripts | probation/recipBestBlast.pl | Perl | mit | 4,096 |
/* Part of SWI-Prolog
Author: Jan Wielemaker
E-mail: J.Wielemaker@vu.nl
WWW: http://www.swi-prolog.org
Copyright (c) 2006-2013, University of Amsterdam,
VU University Amsterdam
All rights reserved.
Redistribution and use in source and bin... | TeamSPoon/logicmoo_workspace | docker/rootfs/usr/local/lib/swipl/library/pldoc/doc_library.pl | Perl | mit | 3,932 |
#!/usr/bin/perl
#use warnings;
# rules:
# "compiles"
# "no-link"
# "compile-error"
# "exit=[0-9]+"
# "noop" - ignore
#
# empty implies "exit=0"
sub rules_parse;
sub rules_assume;
sub rules_exclude;
sub usage()
{
die "Usage: $0 dir\n";
}
my $dir = shift;
die "no dir" unless $dir;
usage() if @ARGV;
chdir $dir or di... | 8l/ucc-c-compiler | test/make_gen.pl | Perl | mit | 2,509 |
#! /usr/bin/perl
use strict;
use warnings;
# Author : Daniel.Amsel@ime.fraunhofer.de
# Purpose: Create artificially sequenced microRNA reads
# Output : multi-fastq file
# group multifasta file of microRNAs into length clusters.
# for each group, construct an artificial data set with 1000x coverage with ART
# if a le... | DanielAmsel/isomiR-Benchmark | create_sequencing.pl | Perl | mit | 4,059 |
/* <module>
%
% PFC is a language extension for prolog.
%
% It adds a new type of module inheritance
%
% Dec 13, 2035
% Douglas Miles
*/
% was_module(header_sane,[]).
:- include(test_header).
:- begin_pfc.
:- set_fileAssertMt(cycKB1).
cycKB1:loves(sally,joe).
:- mpred_test(clause_u(cycKB1:loves(_,_))).
:- mpre... | TeamSPoon/logicmoo_workspace | packs_sys/pfc/t/sanity_base/mt_01c_0b.pl | Perl | mit | 737 |
package Adylay::Controller::Slack;
use Mojo::Base 'Mojolicious::Controller';
use Mojo::UserAgent;
sub notify {
my $self = shift;
my $model = $self->stash('model');
my $selection = $self->flash('selection');
my %response = $model->sendMessage("Switched profile to: $selection");
if (!$response{success}) {
... | lackerman/freenas-server-utils | adylay/lib/Adylay/Controller/Slack.pm | Perl | mit | 1,276 |
:- use_module(library(logicmoo_common)).
:- multifile(prolog_trace_interception/4).
:- dynamic(prolog_trace_interception/4).
:- multifile(user:prolog_trace_interception/4).
:- dynamic(user:prolog_trace_interception/4).
:- use_module(library(plunit)).
:- use_module(library(test_cover)).
:- use_module(library(listing)... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_ec/test/sanity_tests.pl | Perl | mit | 1,418 |
#
# 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/ups/hp/snmp/mode/inputlines.pm | Perl | apache-2.0 | 6,581 |
package Bio::DB::HTS::Kseq::Record;
=head1 LICENSE
Copyright [2015-2020] EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses... | Ensembl/Bio-HTS | lib/Bio/DB/HTS/Kseq/Record.pm | Perl | apache-2.0 | 1,314 |
#!/usr/bin/env perl
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2020] EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the ... | Ensembl/ensembl-funcgen | scripts/examples/solutions/features_2.pl | Perl | apache-2.0 | 3,867 |
package Zpravostroj::Categorizer::TfIdfThemes;
#Zatřídí do kategorií, odpovídajícím tf-idf tématům
use strict;
use warnings;
use Moose;
with 'Zpravostroj::Categorizer::Categorizer';
#Kolik vzít témat
has 'count'=> (
is=>'ro',
isa=>'Int',
required=>1
);
#Odignoruje pole, nastaví count
sub _create {
shift;
my... | runn1ng/zpravostroj2 | Zpravostroj/Categorizer/TfIdfThemes.pm | Perl | apache-2.0 | 802 |
package API::StaticDnsEntry;
#
#
# 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... | knutsel/traffic_control-1 | traffic_ops/app/lib/API/StaticDnsEntry.pm | Perl | apache-2.0 | 1,235 |
#
# Ensembl module for Bio::EnsEMBL::DBSQL::Funcgen::MirnaTargetFeatureAdaptor
#
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2020] EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "Licens... | Ensembl/ensembl-funcgen | modules/Bio/EnsEMBL/Funcgen/DBSQL/MirnaTargetFeatureAdaptor.pm | Perl | apache-2.0 | 9,516 |
package Paws::CloudFront::Restrictions;
use Moose;
has GeoRestriction => (is => 'ro', isa => 'Paws::CloudFront::GeoRestriction', required => 1);
1;
### main pod documentation begin ###
=head1 NAME
Paws::CloudFront::Restrictions
=head1 USAGE
This class represents one of two things:
=head3 Arguments in a call t... | ioanrogers/aws-sdk-perl | auto-lib/Paws/CloudFront/Restrictions.pm | Perl | apache-2.0 | 1,422 |
=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-webcode | modules/EnsEMBL/Web/Data/Bio/ProbeFeature.pm | Perl | apache-2.0 | 2,509 |
#!@PROG_PERL@
#
# Copyright (C) 2013 Roger March
#
my $dir = $ARGV[0];
#
# Put the value in the ::main scope.
#
print "//\n//\t\Change.C\n//\n";
print "#include <Rev.H>\n//\n";
#
print "const char *@PACKAGE@_release_change() { return (\"none\"); }\n//\n";
#
exit(0);
| nicko7i/vcnc | vcnc-server/version/rev/make_norev.TMPL.pl | Perl | apache-2.0 | 268 |
# Copyright 2020, Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | googleads/google-ads-perl | lib/Google/Ads/GoogleAds/V8/Services/AdGroupAdService/AdGroupAdOperation.pm | Perl | apache-2.0 | 1,285 |
#!/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-hive | t/10.pipeconfig/TestPipeConfig/AnyFailureBranch_conf.pm | Perl | apache-2.0 | 1,799 |
#!/usr/bin/perl -w
# Solgenomics@BTI
# Surya Saha DATE??
# Purpose:
unless (@ARGV == ??){
print "USAGE: $0 <??> \n";
exit;
}
use strict;
use warnings;
use lib '/home/surya/bin/modules';
use SS;
my ($ifname,$rec,$i);
$ifname=$ARGV[0];
unless(open(IN,$ifname)){print "not able to open ".$ifname."\n\n";exit;}
unles... | suryasaha/Templates | cmdline.pl | Perl | bsd-2-clause | 435 |
#!%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/Svn.pm | Perl | bsd-3-clause | 9,467 |
% Domain-independent caching-adapted Crisp-EC engine
:- set_prolog_flag(unknown, fail).
:- discontiguous holdsAt/2, happensAt/2.
:- multifile holdsAt/2, happensAt/2.
holdsAt(F=V,0):-
\+ sdFluent(F), !,
initially(F=V).
holdsAt(F=V,T):-
\+ sdFluent(F),
T > 0,
cached(F = V),
previousTimePoint(T, Tprev),
\... | JasonFil/Prob-EC | CAVIAR-Full-Evaluation/Crisp-EC/cached-version/ec_cached.pl | Perl | bsd-3-clause | 590 |
#!/usr/bin/perl
# Copyright (c) 2015, BROCADE COMMUNICATIONS SYSTEMS, INC
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright ... | BRCDcomm/perlbscsamples | 1.3.0/samplenetconf/demos/ctrl_demo7.pl | Perl | bsd-3-clause | 2,768 |
% Frame number: 0
holdsAt( appearance( id0 )=appear, 0 ).
holdsAt( appearance( id1 )=appear, 0 ).
holdsAt( appearance( id2 )=appear, 0 ).
% Frame number: 1
holdsAt( appearance( id0 )=visible, 40 ).
holdsAt( appearance( id1 )=visible, 40 ).
holdsAt( appearance( id2 )=visible, 40 ).
% Frame number: 2
holdsAt( a... | JasonFil/Prob-EC | dataset/strong-noise/14-LeftBag/lb1gtAppearenceIndv.pl | Perl | bsd-3-clause | 139,303 |
#!/usr/bin/perl -w
use strict;
use warnings;
use CGI;
use CGI::Carp qw(fatalsToBrowser warningsToBrowser);
# CGI
my $q = CGI->new;
# Redirect
print $q->redirect("http://".$ENV{SERVER_NAME}.":6789");
| Ximi1970/spksrc-ximi | spk/nzbget/src/app/nzbget.cgi.pl | Perl | bsd-3-clause | 201 |
package NTPPool::Control::API;
use strict;
use base qw(Combust::Control::API NTPPool::Control::Manage);
use NTPPool::API;
sub post_process {
my $self = shift;
$self->request->header_out('Cache-Control' => 'private');
return $self->SUPER::post_process(@_);
}
1;
| punitvara/ntppool | lib/NTPPool/Control/API.pm | Perl | apache-2.0 | 276 |
# please insert nothing before this line: -*- mode: cperl; cperl-indent-level: 4; cperl-continued-statement-offset: 4; indent-tabs-mode: nil -*-
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional informa... | dreamhost/dpkg-ndn-perl-mod-perl | lib/ModPerl/FunctionMap.pm | Perl | apache-2.0 | 5,733 |
#!/usr/bin/perl
# Generate error.c
#
# Usage: ./generate_errors.pl or scripts/generate_errors.pl without arguments,
# or generate_errors.pl include_dir data_dir error_file
use strict;
my ($include_dir, $data_dir, $error_file);
if( @ARGV ) {
die "Invalid number of arguments" if scalar @ARGV != 3;
($include_d... | gandreello/openthread | third_party/mbedtls/repo/scripts/generate_errors.pl | Perl | bsd-3-clause | 6,330 |
# The SEED Toolkit is free software. You can redistribute
# it and/or modify it under the terms of the SEED Toolkit
# Public License.
#
# You should have received a copy of the SEED Toolkit Public License
# along with this program; if not write to the University of Chicago
# at info@ci.uchicago.edu or the Fellowship fo... | janakagithub/atomic_regulons | lib/atomic_regulons/BBasicLocation.pm | Perl | mit | 15,438 |
=for maintainers
Generated by perlmodlib.PL -- DO NOT EDIT!
=head1 NAME
perlmodlib - constructing new Perl modules and finding existing ones
=head1 THE PERL MODULE LIBRARY
Many modules are included in the Perl distribution. These are described
below, and all end in F<.pm>. You may discover compiled library
files ... | efortuna/AndroidSDKClone | ndk_experimental/prebuilt/linux-x86_64/lib/perl5/5.16.2/pod/perlmodlib.pod | Perl | apache-2.0 | 80,131 |
#! /usr/bin/env perl
# Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved.
#
# Licensed under the OpenSSL license (the "License"). You may not use
# this file except in compliance with the License. You can obtain a copy
# in the file LICENSE in the source distribution or at
# https://www.openssl.org... | pmq20/ruby-compiler | vendor/openssl/crypto/poly1305/asm/poly1305-armv8.pl | Perl | mit | 21,598 |
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
perlce - Perl for WinCE
=head1 Building Perl for WinCE
=head2 DESCRIPTION
This file gives the instructions for building Pe... | leighpauls/k2cro4 | third_party/cygwin/lib/perl5/5.10/pods/perlce.pod | Perl | bsd-3-clause | 8,951 |
/*
Probabilistic contect-free grammar.
0.2:S->aS
0.2:S->bS
0.3:S->a
0.3:S->b
From
Taisuke Sato and Keiichi Kubota. Viterbi training in PRISM.
Theory and Practice of Logic Programming, doi:10.1017/S1471068413000677.
*/
:- use_module(library(mcintyre)).
:- if(current_predicate(use_rendering/1)).
:- use_rendering(c3)... | TeamSPoon/logicmoo_workspace | packs_lib/cplint/prolog/examples/pcfglr.pl | Perl | mit | 2,052 |
no_payment_due(student1000,pos).
no_payment_due(student999,pos).
no_payment_due(student998,pos).
no_payment_due(student996,pos).
no_payment_due(student994,pos).
no_payment_due(student993,pos).
no_payment_due(student992,pos).
no_payment_due(student990,pos).
no_payment_due(student989,pos).
no_payment_due(student987,pos).... | diyerland/saveAll | algorithm/java-ml/UCI-small/student-loan/no_payment_due.pl | Perl | mit | 31,893 |
package App::WebToy::Server::View;
use base 'Prophet::Server::View';
use Template::Declare::Tags;
use Prophet::Server::ViewHelpers;
use App::WebToy::Collection::WikiPage;
template 'abc' => page {
my $self = shift;
my $c =
App::WebToy::Collection::WikiPage->new(
app_handle => $self->app_handle );
... | gitpan/Prophet | t/WebToy/lib/App/WebToy/Server/View.pm | Perl | mit | 1,053 |
package HMF::Pipeline::Functions::Bam;
use FindBin::libs;
use discipline;
use File::Basename;
use File::Spec::Functions;
use HMF::Pipeline::Functions::Config qw(createDirs);
use HMF::Pipeline::Functions::Job qw(fromTemplate checkReportedDoneFile markDone);
use HMF::Pipeline::Functions::Sge qw(qsubTemplate jobNative ... | hartwigmedical/pipeline | lib/HMF/Pipeline/Functions/Bam.pm | Perl | mit | 7,503 |
#!/usr/bin/env perl
=head1 NAME
AddImagingEventGeoParamCoordinatesUTMWGSCvterm
=head1 SYNOPSIS
mx-run AddImagingEventGeoParamCoordinatesUTMWGSCvterm [options] -H hostname -D dbname -u username [-F]
this is a subclass of L<CXGN::Metadata::Dbpatch>
see the perldoc of parent class for more details.
=head1 DESCRIPT... | solgenomics/sgn | db/00144/AddImagingEventGeoParamCoordinatesUTMWGSCvterm.pm | Perl | mit | 1,889 |
%% fuzzy ALC reasoning
%% using resolution as inference operator
%%
%% Author: Stasinos Konstantopoulos <stasinos@users.sourceforge.net>
%% Created: 6-2-2007
%% Copyright (C) 2007 Stasinos Konstantopoulos <stasinos@users.sourceforge.net>
%%
%% This program is free software; you can redistribute it and/or modify
%% it u... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_ec/ext/yadlr/pl/resolution.pl | Perl | mit | 16,916 |
#!/usr/bin/perl
#AUTHORS
# Kaining Hu (c) 2018
# Combine 2 cds fasta by input files v1.0000 2018/05/17
# hukaining@gmail.com
use strict;
use warnings;
use 5.010;
use Getopt::Long;
use Pod::Usage;
use Time::HiRes 'time';
my $verbose;
our $cds1 = "/mnt/e/blast/db/BO/v1.0/B.oleracea_v1.0.scaffolds.cds";
our $cds2 = "... | dontkme/PersonalScripts | PSG/Getseq2seqcds.pl | Perl | mit | 2,047 |
#!/usr/bin/perl
use strict;
use lib '../../';
use GAL::Parser::1000_genomes_genotypes;
my $parser = GAL::Parser::1000_genomes_genotypes->new(file => '../data/CEU.low_coverage.2010_07.genotypes.short.vcf');
while (my $feature_hash = $parser->next_feature_hash) {
print $parser->to_gff3($feature_hash) . "\n";
}
| 4ureliek/TEanalysis | Lib/GAL/t/devel_scripts/parser_1000_genomes_genotypes.pl | Perl | mit | 314 |
package MIP::Program::Bzip2;
use 5.026;
use Carp;
use charnames qw{ :full :short };
use English qw{ -no_match_vars };
use open qw{ :encoding(UTF-8) :std };
use Params::Check qw{ allow check last_error };
use utf8;
use warnings;
use warnings qw{ FATAL utf8 };
## CPANM
use autodie qw{ :all };
use Readonly;
## MIPs lib... | henrikstranneheim/MIP | lib/MIP/Program/Bzip2.pm | Perl | mit | 4,201 |
package Class::DBI::Search::Basic;
=head1 NAME
Class::DBI::Search::Basic - Simple Class::DBI search
=head1 SYNOPSIS
my $searcher = Class::DBI::Search::Basic->new(
$cdbi_class, @search_args
);
my @results = $searcher->run_search;
# Over in your Class::DBI subclass:
__PACKAGE__->add_searcher(
search => ... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/Class/DBI/Search/Basic.pm | Perl | mit | 3,812 |
#!/sw/bin/perl
=head1 NAME
B<one_bootstrap_ET93.pl>
=head1 DESCRIPTION
Bootstrap test for two samples, to be run by grid launcher. Following Efron & Tibshirani (1993), "An introduction to the bootstrap", p.220-224.
To be used by C<grid_launcher_DE.pl> and it is not supposed to be ran on its own.
=cut
#
# Teste... | bartongroup/profDGE48 | Bootstrapping/one_bootstrap_ET93.pl | Perl | mit | 1,711 |
#!/usr/bin/env perl
##!/usr/bin/perl -w
# Author: Charles Tilford
# 6/12/2017: xw removed reliance on bioperl
# 6/9/2018: xw added title and description; edited sequence key.
use strict;
use JSON;
use FindBin qw($Bin);
use lib $Bin;
use BMS::TableReader;
use BMS::ArgumentParser;
#use Bio::PrimarySeq;
my $args = BMS::A... | pinetree1/crispr-dav | crispr2cx.pl | Perl | mit | 24,887 |
# -*- perl -*-
#
# $Id: Test.pm,v 1.2 1999/08/12 14:28:57 joe Exp $
#
# Net::Daemon - Base class for implementing TCP/IP daemons
#
# Copyright (C) 1998, Jochen Wiedmann
# Am Eisteich 9
# 72555 Metzingen
# Germany
#
# Phone: +4... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/Net/Daemon/Test.pm | Perl | mit | 9,560 |
#!/usr/bin/perl
use warnings;
use strict;
use Gtk2 -init;
use Glib qw(TRUE FALSE); # To get TRUE and FALSE
use POSIX qw(locale_h :signal_h :errno_h :sys_wait_h);
use IPC::Open3;
use IO::Handle;
use Readonly;
Readonly my $_POLL_INTERVAL => 100; # ms
Readonly my $_1KB => 1024;
my $EMPTY = q{};
# Create ... | cpanxaoc/gtk-perl-snippets | signals_mac_os-jeffrey_ratcliffe.2015-03-14.pl | Perl | apache-2.0 | 7,329 |
# 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/AdGroupLabelService/AdGroupLabelOperation.pm | Perl | apache-2.0 | 1,081 |
#
# 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/dell/os10/snmp/mode/components/psu.pm | Perl | apache-2.0 | 2,761 |
#
# You may distribute this module under the same terms as perl itself
#
# POD documentation - main docs before the code
=pod
=head1 NAME
Bio::EnsEMBL::Compara::RunnableDB::ProteinTrees::OtherParalogs
=cut
=head1 SYNOPSIS
my $db = Bio::EnsEMBL::Compara::DBAdaptor->new($locator);
my $otherparalogs = Bio... | adamsardar/perl-libs-custom | EnsemblAPI/ensembl-compara/modules/Bio/EnsEMBL/Compara/RunnableDB/ProteinTrees/OtherParalogs.pm | Perl | apache-2.0 | 15,968 |
/*
% File used as storage place for all predicates which change as
% the world is run.
%
% props(Obj,height(ObjHt)) == k(height,Obj,ObjHt) == rdf(Obj,height,ObjHt) == height(Obj,ObjHt)
% padd(Obj,height(ObjHt)) == padd(height,Obj,ObjHt,...) == add(QueryForm)
% kretract[all](Obj,height(ObjHt)) == kretract[all](Obj... | TeamSPoon/pfc | prolog/dialect/pfc_ext/mpred_database.pl | Perl | bsd-2-clause | 65,687 |
#!/usr/bin/perl
# 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 la... | jddurand/c-marpaESLIF | 3rdparty/github/marpaWrapper/3rdparty/github/Marpa--R2/cpan/etc/pod_links.pl | Perl | mit | 2,171 |
package Business::Logic::Shipment;
use 5.010001;
use strict;
use warnings;
use Carp;
require Exporter;
our @ISA = qw(Exporter);
# Items to export into callers namespace by default. Note: do not export
# names by default without a very good reason. Use EXPORT_OK instead.
# Do not simply export all your public funct... | benjaminharnett/edi850_export_for_magento | Business-Logic-0.01/lib/Business/Logic/Shipment.pm | Perl | mit | 3,246 |
package Fixtures::Parameter;
#
# 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... | weifensh/traffic_control | traffic_ops/app/lib/Fixtures/Parameter.pm | Perl | apache-2.0 | 14,839 |
#!/usr/bin/perl -w
use strict;
my $working_dir = $0;
$working_dir =~ s:/[^/]*$::;
require "$working_dir/utils.pl" || die;
my $curr_test = 0;
my $has_error = 0;
sub chk (@) {
my ($test, @msg) = @_;
my $tn = ++$curr_test;
if ($test) {
print "PASS: $tn - @msg\n";
} else {
print "FAIL: $tn - @msg\n";
... | dbushong/crush-tools | src/perllib/utils_test.pl | Perl | apache-2.0 | 1,062 |
package Buddha::BadFixture;
use strict;
use warnings;
use base qw(Test::FITesque::Fixture);
sub chi : Argh {
return 'chi';
}
1;
| konobi/Test-FITesque | t/lib/Buddha/BadFixture.pm | Perl | bsd-3-clause | 133 |
# !!!!!!! 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/Bc/ET.pl | Perl | mit | 613 |
package TestAPRlib::threadrwlock;
use strict;
use warnings FATAL => 'all';
use Apache::Test;
use Apache::TestUtil;
use APR::Const -compile => qw(EBUSY SUCCESS);
use APR::Pool();
sub num_of_tests {
return 5;
}
sub test {
require APR::ThreadRWLock;
my $pool = APR::Pool->new();
my $mutex = APR::Thre... | gitpan/mod_perl | t/lib/TestAPRlib/threadrwlock.pm | Perl | apache-2.0 | 757 |
#
# 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 | example/plugin_snmp.pm | Perl | apache-2.0 | 1,249 |
use strict;
use Fcntl;
use AnyEvent;
use AnyEvent::WebSocket::Client;
sysopen my $tuntap, $ARGV[0], O_RDWR;
die $! if tell($tuntap) < 0;
my $client = AnyEvent::WebSocket::Client->new;
my $connection;
my $tap_event;
$client->connect($ARGV[1])->cb(
sub {
$connection = eval { shift->recv };
die $@ if $@;
... | faint32/vpn-ws | clients/vpn.pl | Perl | mit | 742 |
package Plack;
use strict;
use warnings;
use 5.008_001;
our $VERSION = '1.0029';
$VERSION = eval $VERSION;
1;
__END__
=head1 NAME
Plack - Perl Superglue for Web frameworks and Web Servers (PSGI toolkit)
=head1 DESCRIPTION
Plack is a set of tools for using the PSGI stack. It contains
middleware components, a refer... | edvakf/isu3pre | perl/local/lib/perl5/Plack.pm | Perl | mit | 6,449 |
use CatalystX::GlobalContext qw( $c );
use strict;
use warnings;
use English;
use XML::Generator;
use CXGN::Scrap::AjaxPage;
use CXGN::Tools::List qw/str_in/;
use CXGN::ITAG::Pipeline;
our $itag_feature = $c->enabled_feature('itag')
or do { print "\n\nITAG feature not enabled.\n"; exit };
eval {
$ENV{CXGNIT... | solgenomics/sgn | cgi-bin/sequencing/itag/status.pl | Perl | mit | 2,240 |
## Class to convert a pair of a word and yomi
#!/usr/bin/env perl
package KKCI2Pron::WordkkciConverter;
use strict;
use warnings;
use encoding 'utf-8';
use Carp;
our $DEBUG = 0;
# Table to refer to a word in converting a yomi
#
# 助詞: 「は」、「へ」、「を」
my %TABLE_CONVERT_WITH_WORD = (
'は/ハ' => "は/ワ",
'へ/ヘ' => "へ/エ",... | gologo13/kkci2pron | bin/WordkkciConverter.pm | Perl | mit | 1,309 |
#! /usr/bin/perl
###############################################################################
# Copyright (C) 1994 - 2009, Performance Dynamics Company #
# #
# This software is licensed as described in the file COPYI... | peterlharding/PDQ | examples/ppdq_2005/perl_examples/utiliz1.pl | Perl | mit | 1,698 |
%query: primes(i,o).
% From "Programming in Prolog" by Clocksin and Mellish, 1981
primes(Limit, Ps) :- integers(2, Limit, Is), sift(Is, Ps).
integers(Low, High, [Low|Rest]) :-
Low =< High, !, M is Low+1, integers(M, High, Rest).
integers(_, _, []).
sift([], []).
sift([I|Is],[I|Ps]) :- remove(I, Is, New), sift(N... | ComputationWithBoundedResources/ara-inference | doc/tpdb_trs/Prolog/prolog_mixed/primes.pl | Perl | mit | 489 |
# !!!!!!! 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/Gc/L.pl | Perl | mit | 7,392 |
#
# $Header: svn://svn/SWM/trunk/web/DeMoron.pm 8251 2013-04-08 09:00:53Z rlee $
#
package DeMoron;
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(demoronise);
@EXPORT_OK = qw(demoronise);
use utf8;
#
# De-moron-ise Text from Microsoft Applications
#
# by John Walker -- January 199... | facascante/slimerp | fifs/web/DeMoron.pm | Perl | mit | 4,149 |
#!/usr/bin/env perl
# Labels nodes with significant bootstrap values and returns useful pairwise distance statistics
use strict;
use warnings;
use Data::Dumper;
use Bio::TreeIO;
use Getopt::Long;
use File::Basename;
use List::Util qw/min max sum/;
use FindBin;
use Math::Round qw/nearest/;
use lib "$FindBin::RealBin/.... | lskatz/lyve-SET | scripts/cladeDistancesFromTree.pl | Perl | mit | 13,575 |
#!/usr/bin/perl
#imports
use strict;
use warnings 'FATAL' => 'all';
use Sys::Hostname;
use Cwd 'abs_path';
use Log::Log4perl; #need to install external package/module
use LWP::Simple;
use Time::HiRes qw(time);
use File::stat;
#vars
my $logConfig = 'log4perl.conf';
Log::Log4perl::init($logConfig);
my... | ajeetmurty/ReferenceCode | perl/Network/Speed/Speed.pl | Perl | mit | 1,526 |
# 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/AdGroupAdService/AdGroupAdOperation.pm | Perl | apache-2.0 | 1,286 |
package Google::Ads::AdWords::v201402::GeoTargetTypeSetting::PositiveGeoTargetType;
use strict;
use warnings;
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201402'};
# derivation by restriction
use base qw(
SOAP::WSDL::XSD::Typelib::Builtin::string);
1;
__END__
=pod
=head1 NAME
=head1 DESCR... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201402/GeoTargetTypeSetting/PositiveGeoTargetType.pm | Perl | apache-2.0 | 1,179 |
# 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/Runnable/ProteinAnnotation/Coil.pm | Perl | apache-2.0 | 2,972 |
#!/usr/bin/perl
# Copyright 2016 Michael Schlenstedt, michael@loxberry.de
#
# 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 requ... | mschlenstedt/LoxBerry-Plugin-WU4Lox | bin/datatoloxone.pl | Perl | apache-2.0 | 40,925 |
#
# 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 | hardware/sensors/hwgste/snmp/mode/components/resources.pm | Perl | apache-2.0 | 1,544 |
#!/usr/bin/perl
package Trimmer::TrimGalore;
use strict;
use warnings;
use File::Basename;
use CQS::PBS;
use CQS::ConfigUtils;
use CQS::SystemUtils;
use CQS::FileUtils;
use CQS::Task;
use CQS::StringUtils;
use HTML::Parser;
our @ISA = qw(CQS::Task);
sub new {
my ($class) = @_;
my $self = $class->SUPER::new();
$se... | shengqh/ngsperl | lib/Trimmer/TrimGalore.pm | Perl | apache-2.0 | 5,874 |
=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... | dbolser/ensembl-variation | modules/Bio/EnsEMBL/Variation/Pipeline/ReleaseDataDumps/BaseDataDumpsProcess.pm | Perl | apache-2.0 | 2,152 |
package EBiSC::Cursor::hPSCreg;
use namespace::autoclean;
use Moose;
use strict;
use warnings;
has 'api' => (is => 'ro', isa => 'EBiSC::API::hPSCreg');
has 'i' => (is => 'rw', isa => 'Int', default => 0);
sub next {
my ($self) = @_;
my $i = $self->i;
return undef if $i < 0;
my $line_names = $self->api->line_n... | EMBL-EBI-GCA/ebisc_tracker_2 | tracker/lib/EBiSC/Cursor/hPSCreg.pm | Perl | apache-2.0 | 487 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% This file is part of VivoMind Prolog Unicode Resources
% SPDX-License-Identifier: CC0-1.0
%
% VivoMind Prolog Unicode Resources is free software distributed using the
% Creative Commons CC0 1.0 Universal (CC0 1.0) - Public Domain Ded... | LogtalkDotOrg/logtalk3 | library/unicode_data/unicode_core_properties.pl | Perl | apache-2.0 | 2,085 |
package Google::Ads::AdWords::v201402::ExperimentError::Reason;
use strict;
use warnings;
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201402'};
# derivation by restriction
use base qw(
SOAP::WSDL::XSD::Typelib::Builtin::string);
1;
__END__
=pod
=head1 NAME
=head1 DESCRIPTION
Perl data ty... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201402/ExperimentError/Reason.pm | Perl | apache-2.0 | 1,117 |
#!/usr/bin/perl
# Mingyu @ Apr 18 2013
# use data_NP2DuvNV2D to construct the global word-level MLF (w/o alignment information)
# char-level MLF
# the MLF contains the "selected (filtered)" detection results from MATLAB GMM writing detector
# the vocab of detected words < 1k
... | mingyu623/6DMG | data_htk/airwriting_spot/train/gen_global_mlf.pl | Perl | bsd-2-clause | 3,156 |
#!/usr/bin/perl
# Arg1 is the tty device
# Arg2 is the base filename
open (FILE, "+<" . $ARGV[0]) or die("Grrr");
open (OUTFILEP, ">" . $ARGV[1] . ".txt") or die("Wruuf");
open (OUTFILEb, ">" . $ARGV[1] . "-buckets.txt") or die("Wruuf");
print FILE "P";
while ( $line = <FILE> ) {
$line =~ s/\r//;
print OUT... | zengluyang/wsn_tinyos_port | common/lib/logger/getTrace.pl | Perl | bsd-3-clause | 931 |
#!/usr/bin/perl
##################################################################################
#
# USAGE: perl number_fasta.pl [fasta]
# converts headers to autoincremented numbers
#
# Created by jennifer shelton
#
##################################################################################
use strict;
u... | kstatebioinfo/Irys-scaffolding | KSU_bioinfo_lab/script_archive/analyze_irys_output/number_fasta.pl | Perl | mit | 996 |
#!/usr/bin/perl -w
#v5/h
while (<STDIN>)
{
#chomp;
#my @pieces = split("\t");
#next if ( ! $pieces[0] );
#$pieces[0] =~ s/\s+//;
#die "\"$_\"" if (@pieces != 2);
#print $pieces[0], "\t", $pieces[1], "\n";
print $_ if ( defined $_ );
}
1;
| sauloal/projects | probes/hadoop1/wc4.pl | Perl | mit | 269 |
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (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.mozilla.org/MPL/
#
# Software distributed under the L... | cognitoedtech/assy | apps/mastishka/mcat/cgi-bin/bugzilla/extensions/example/code/mailer-before_send.pl | Perl | apache-2.0 | 1,108 |
package Paws::ECS::DeregisterTaskDefinitionResponse;
use Moose;
has TaskDefinition => (is => 'ro', isa => 'Paws::ECS::TaskDefinition', traits => ['NameInRequest'], request_name => 'taskDefinition' );
has _request_id => (is => 'ro', isa => 'Str');
### main pod documentation begin ###
=head1 NAME
Paws::ECS::De... | ioanrogers/aws-sdk-perl | auto-lib/Paws/ECS/DeregisterTaskDefinitionResponse.pm | Perl | apache-2.0 | 512 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.