code stringlengths 2 1.05M | repo_name stringlengths 5 101 | path stringlengths 4 991 | language stringclasses 3
values | license stringclasses 5
values | size int64 2 1.05M |
|---|---|---|---|---|---|
#!/usr/bin/env perl
# 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://ww... | willmclaren/ensembl | misc-scripts/assembly/align_by_clone_identity.pl | Perl | apache-2.0 | 25,494 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2020] EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obta... | james-monkeyshines/ensembl | modules/Bio/EnsEMBL/Utils/ConfigRegistry.pm | Perl | apache-2.0 | 9,623 |
#!/usr/local/bin/perl
#input!!
&input;
#input!!
$fname="StdFace.def";
open(FILE,">$fname");
printf FILE "L = $Lx\n";
printf FILE "Lsub = 2\n";
printf FILE "model = \"Spin\"\n";
printf FILE "lattice = \"chain\"\n";
printf FILE "J = 1.0\n";
printf FILE ... | issp-center-dev/mVMC-tutorial | HandsOn/2017_0830/Samples/1D_Heisenberg/MakeMod.pl | Perl | apache-2.0 | 1,991 |
package VMOMI::AlarmAcknowledgedEvent;
use parent 'VMOMI::AlarmEvent';
use strict;
use warnings;
our @class_ancestors = (
'AlarmEvent',
'Event',
'DynamicData',
);
our @class_members = (
['source', 'ManagedEntityEventArgument', 0, ],
['entity', 'ManagedEntityEventArgument', 0, ],
);
sub get_cla... | stumpr/p5-vmomi | lib/VMOMI/AlarmAcknowledgedEvent.pm | Perl | apache-2.0 | 525 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2019] EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obta... | muffato/ensembl | modules/Bio/EnsEMBL/DBSQL/BaseAdaptor.pm | Perl | apache-2.0 | 35,467 |
package VMOMI::VirtualDeviceRemoteDeviceBackingOption;
use parent 'VMOMI::VirtualDeviceBackingOption';
use strict;
use warnings;
our @class_ancestors = (
'VirtualDeviceBackingOption',
'DynamicData',
);
our @class_members = (
['autoDetectAvailable', 'BoolOption', 0, ],
);
sub get_class_ancestors {
... | stumpr/p5-vmomi | lib/VMOMI/VirtualDeviceRemoteDeviceBackingOption.pm | Perl | apache-2.0 | 506 |
package VMOMI::RestrictedByAdministrator;
use parent 'VMOMI::RuntimeFault';
use strict;
use warnings;
our @class_ancestors = (
'RuntimeFault',
'MethodFault',
);
our @class_members = (
['details', undef, 0, ],
);
sub get_class_ancestors {
return @class_ancestors;
}
sub get_class_members {
my $... | stumpr/p5-vmomi | lib/VMOMI/RestrictedByAdministrator.pm | Perl | apache-2.0 | 446 |
$|++;
use strict;
use warnings;
BEGIN {
use FindBin qw($Bin);
use lib qq{$Bin/../lib};
}
use File::Spec::Functions qw(catfile);
use Narvalo::Hsbc::Worker;
MAIN:
{
my $file = catfile($Bin, '..', 'etc', 'hsbc.yml');
Narvalo::Hsbc::Worker->new(yml_file => $file)->run();
}
__END__
| chtoucas/Narvalo.PL | bin/hsbc.pl | Perl | bsd-2-clause | 314 |
%#!/home/jan/apps/bin/yap -L --
:- ensure_loaded('converter').
:- ensure_loaded('skolem').
:- ensure_loaded(library(lists)).
:- style_check(all).
:- yap_flag(unknown,error).
:- op( 550, yfx, :: ).
do_convert :-
unix(argv(AllArgs)),
write(cplogic2problog(AllArgs)), nl,
AllArgs = [File], !,
atom_conc... | verhoevenv/semcplogic | cpl_compiler/cplogic2problog.pl | Perl | bsd-2-clause | 3,403 |
#
# This file is part of Test-File-Content
#
# This software is Copyright (c) 2012 by Moritz Onken.
#
# This is free software, licensed under:
#
# The (three-clause) BSD License
#
use Test::File::Content;
use Test::More;
content_like( qr/\.pm/, qr/^#\s*ABSTRACT/, 'lib' );
content_like( pm => '__PACKAGE__->meta->mak... | gitpan/Test-File-Content | t/synopsis.pl | Perl | bsd-3-clause | 585 |
#!%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/Panel/Repository.pm | Perl | bsd-3-clause | 9,208 |
#
# MaceHeaderCompiler.pm : part of the Mace toolkit for building distributed systems
#
# Copyright (c) 2011, Charles Killian, James W. Anderson, Adolfo Rodriguez, Dejan Kostic
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that th... | jojochuang/eventwave | perl5/Mace/Compiler/MaceHeaderCompiler.pm | Perl | bsd-3-clause | 21,169 |
# This program is distributed under the terms of
# The MIT License (MIT)
#
# Copyright (c) 2014 Six Apart, Ltd.
#
# $Id$
package Viewer::L10N::de;
use strict;
use utf8;
use base qw( Viewer::L10N );
our %Lexicon = (
## lib/MT/App/Viewer.pm
'Loading blog with ID [_1] failed' => 'Blog mit ID [_1] konte nicht geladen w... | movabletype/mt-plugin-mtviewer | plugins/MTViewer/lib/Viewer/L10N/de.pm | Perl | mit | 983 |
#--------------------------------------------------------------------
#----- GRNOC TSDS Image DataService Library
#-----
#----- Copyright(C) 2015 The Trustees of Indiana University
#--------------------------------------------------------------------
#----- $HeadURL: svn+ssh://svn.grnoc.iu.edu/grnoc/tsds/services/trunk... | daldoyle/tsds-services | lib/GRNOC/TSDS/DataService/Image.pm | Perl | apache-2.0 | 9,859 |
# !!!!!!! 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/Dt/Sqr.pl | Perl | apache-2.0 | 511 |
#!/usr/bin/env perl
use v5.10;
use strict;
use warnings;
use utf8;
use open qw/:std :utf8/;
use File::Find qw/find/;
my @license_files;
find(
sub {
return unless lc($_) eq 'license';
push @license_files, [ $File::Find::dir, $File::Find::name ];
},
'vendor'
);
print forked_licenses();
for... | ironcladlou/origin | vendor/go.mongodb.org/mongo-driver/etc/generate-notices.pl | Perl | apache-2.0 | 4,065 |
#! /usr/bin/env perl
# Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
#
# Licensed under the OpenSSL license (the "License"). You may not use
# this file except in compliance with the License. You can obtain a copy
# in the file LICENSE in the source distribution or at
# https://www.openssl.org/sour... | openweave/openweave-core | third_party/openssl/openssl/crypto/chacha/asm/chacha-armv4.pl | Perl | apache-2.0 | 27,559 |
#-----------------------------------------------------------
# appcertdlls.pl
#
# History:
# 20120912 - created
#
# References:
#
#
#
# copyright 2012 Quantum Analytics Research, LLC
# Author: H. Carvey, keydet89@yahoo.com
#-----------------------------------------------------------
package appcertdlls;
use strict;... | millmanorama/autopsy | thirdparty/rr-full/plugins/appcertdlls.pl | Perl | apache-2.0 | 1,963 |
#!/usr/bin/perl
use 5.008;
use lib (split(/:/, $ENV{GITPERLLIB}));
use strict;
use warnings;
use POSIX qw(:locale_h);
use Test::More tests => 8;
use Git::I18N;
my $has_gettext_library = $Git::I18N::__HAS_LIBRARY;
ok(1, "Testing Git::I18N with " .
($has_gettext_library
? (defined $Locale::Messages::VERSION
? "... | overtherain/scriptfile | tool-kit/git-2.1.2/t/t0202/test.pl | Perl | mit | 2,875 |
#!/usr/bin/env perl
# Check that given arguments do not exist on filesystem.
my $code = 0;
if ($#ARGV < 0) {
print "Usage: $0 file1 [fileN]\n";
exit 2;
}
while (@ARGV) {
my $fname = shift @ARGV;
if (-e $fname) {
print "Found '$fname' when not supposed to exist.\n";
$code = 1;
}
}
exi... | Noah-Huppert/Website-2013 | vhosts/www.noahhuppert.com/htdocs/trex/deps/curl/tests/libtest/notexists.pl | Perl | mit | 329 |
package DDG::GoodieBundle::OpenSourceDuckDuckGo;
# ABSTRACT: The open source Goodie Bundle of DuckDuckGo
# This package is only a namespace/version holder
1;
| sagarhani/zeroclickinfo-goodies | lib/DDG/GoodieBundle/OpenSourceDuckDuckGo.pm | Perl | apache-2.0 | 160 |
# POD source for svkbd man page. Convert with:
# pod2man --stderr -s1 -c"Suckless.org Tools" -r20140130 svkbd.pod > svkbd.1
=pod
=head1 NAME
B<svkbd> - simple virtual keyboard
=head1 SYNOPSIS
B<svkbd>-I<layout> [-d] [-g geometry]
B<svkbd>-I<layout> [-v|-h]
=head1 DESCRIPTION
B<svkbd> is a simple mouse-operated ... | panosmdma/SlackOnly-SlackBuilds | accessibility/svkbd/svkbd.pod | Perl | mit | 1,204 |
package MT::AssetFieldOptions::L10N;
use strict;
use base 'MT::Plugin::L10N';
1;
| miyanaga/mt-asset-field-opitons | plugins/AssetFieldOptions/lib/MT/AssetFieldOptions/L10N.pm | Perl | mit | 83 |
#
# 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 License is distributed on an "AS
# IS" basi... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/RDF/Core/Model/Parser.pm | Perl | mit | 5,179 |
package AUP::Complaints;
use strict;
use Scalar::Util 'openhandle';
use Time::ParseDate; # libtime-modules-perl
use AUP::Complaints::GenerateSQL;
use Email::ARF::Report;
use Net::CIDR::Lite;
use AUP::Complaints::Parse::HostedEmail;
sub new {
my $class = shift;
my $options = {
dbfn => '/tmp/aup.db',
#parser =... | petermblair/libemail | aup-sql/lib/AUP/Complaints.pm | Perl | mit | 3,432 |
# main entry point code to be used in creating a top end Dancer application.
# your application should always subclass this to define it's own template
# engine wrapper, default error class, and handler.
use MooseX::Declare;
use strict;
use warnings;
use MIME::Types;
use Arizona::Err::Forbidden;
use Arizona::Engine::... | mpdehaan/Arizona | lib/Arizona/Engine/Handler.pm | Perl | mit | 4,568 |
#!/usr/bin/perl -w
# writen by andrewt@cse.unsw.edu.au as a COMP2041 example
# implementation of /bin/echo
print join(' ', @ARGV);
| nathano/Perl_to_Python_Converter | examples/subset3/echo.2.pl | Perl | mit | 132 |
/*************************************************************************
File: fol2otter.pl
Copyright (C) 2004 Patrick Blackburn & Johan Bos
This file is part of BB1, version 1.2 (August 2005).
BB1 is free software; you can redistribute it and/or modify
it under the terms of the GNU General Pub... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/ext/CURT/bb1/fol2otter.pl | Perl | mit | 4,192 |
package SQL::Maker::Select;
use strict;
use warnings;
use utf8;
use SQL::Maker::Condition;
use SQL::Maker::Util;
use Class::Accessor::Lite (
new => 0,
wo => [qw/distinct for_update/],
rw => [qw/prefix/],
ro => [qw/quote_char name_sep new_line strict/],
);
use Scalar::Util ();
sub offset {
if (@_==1... | rosiro/wasarabi | local/lib/perl5/SQL/Maker/Select.pm | Perl | mit | 16,165 |
#!/usr/bin/perl -w
#
# ***** BEGIN LICENSE BLOCK *****
# Zimbra Collaboration Suite Server
# Copyright (C) 2006, 2007, 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 o... | nico01f/z-pec | ZimbraServer/src/perl/soap/exportContacts.pl | Perl | mit | 1,453 |
package VidinCalafatBridge;
use utf8;
use strict;
use Data::Dumper;
use CGI;
use Mojo::DOM;
use LWP::UserAgent;
use IO::File;
use Text::CSV;
use Log::Log4perl qw(:easy);
Log::Log4perl->easy_init($ERROR);
our $REQ_URL = "http://www.vidincalafatbridge.bg/en/page/117";
our $REQ_TIMEOUT = 10;
our $CSV_FILE = 'vidi... | suricactus/vidin-calafat-bridge | VidinCalafatBridge.pm | Perl | mit | 2,539 |
#
# Copyright 2016 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | bcournaud/centreon-plugins | snmp_standard/mode/liststorages.pm | Perl | apache-2.0 | 13,309 |
# OpenXPKI::Server::Workflow::Activity::SmartCard::ComputePUK
# Written by Oliver Welter for the OpenXPKI project 2012
# Copyright (c) 2012 by The OpenXPKI Project
package OpenXPKI::Server::Workflow::Activity::SmartCard::ComputePUK;
use strict;
use English;
use OpenXPKI::Server::Context qw( CTX );
use OpenXPKI::Seria... | durko/openxpki | core/server/OpenXPKI/Server/Workflow/Activity/SmartCard/ComputePUK.pm | Perl | apache-2.0 | 3,344 |
=head1 LICENSE
See the NOTICE file distributed with this work for additional information
regarding copyright ownership.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/l... | Ensembl/ensembl-compara | modules/Bio/EnsEMBL/Compara/Utils/GeneTreeHash.pm | Perl | apache-2.0 | 8,822 |
package Google::Ads::AdWords::v201809::CampaignCriterionService::get;
use strict;
use warnings;
{ # BLOCK to scope variables
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201809' }
__PACKAGE__->__set_name('get');
__PACKAGE__->__set_nillable();
__PACKAGE__->__set_minOccurs();
__PACKAGE__->__set_maxOccu... | googleads/googleads-perl-lib | lib/Google/Ads/AdWords/v201809/CampaignCriterionService/get.pm | Perl | apache-2.0 | 2,091 |
:- module(swish_render_tictactoe,
[ term_rendering//3
]).
:- use_module('../../gameyard_config').
:- use_module(library(http/html_write)).
:- use_module(swish(lib/render)).
:- use_module(tictactoe_state_space).
:- use_module(gameyard(misc/list_extras)).
:- register_renderer(tictactoe,"Render tic-tac-toe board rep... | joaoraf/gameyard | src/main/prolog/game_types/tictactoe/swish_render_tictactoe.pl | Perl | apache-2.0 | 2,225 |
#!/usr/bin/env perl
use warnings;
use Getopt::Long;
use File::Copy;
use File::Path;
#Example commands are in ~smdi/dev/bin/R subfolder
$progName = "RModelManager.pl\n";
$use = <<___help;
$progName
-modelLocation <arg> If not specified, the model and the companion
files is assumed to be in
/gne/... | chemalot/chemalot | bin/RModelManager.pl | Perl | apache-2.0 | 3,115 |
package Extensions::TrafficStats::Builder::DeliveryServiceStatsBuilder;
#
# 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
#
# ... | petrocc/traffic_control | traffic_ops/app/lib/Extensions/TrafficStats/Builder/DeliveryServiceStatsBuilder.pm | Perl | apache-2.0 | 3,349 |
#!/usr/bin/env perl
# Simply run kraken so that results are available to other plugins.
# Do not make any high-level conclusions.
use strict;
use warnings;
use Getopt::Long;
use Data::Dumper;
use File::Basename qw/fileparse basename dirname/;
use File::Copy qw/cp mv/;
use File::Temp qw/tempdir/;
use File::Spec::Functi... | lskatz/SneakerNet | SneakerNet.plugins/sn_kraken.pl | Perl | apache-2.0 | 12,473 |
#Ensembl module for Bio::EnsEMBL::Compara::Production::EPOanchors::GetBlastzOverlaps
# You may distribute this module under the same terms as perl itself
#
# POD documentation - main docs before the code
=head1 NAME
Bio::EnsEMBL::Compara::Production::EPOanchors:GetBlastzOverlaps:
=head1 SYNOPSIS
$exonate_anchors->fe... | adamsardar/perl-libs-custom | EnsemblAPI/ensembl-compara/modules/Bio/EnsEMBL/Compara/Production/EPOanchors/GetBlastzOverlaps.pm | Perl | apache-2.0 | 15,801 |
package Paws::CognitoIdp::CreateGroup;
use Moose;
has Description => (is => 'ro', isa => 'Str');
has GroupName => (is => 'ro', isa => 'Str', required => 1);
has Precedence => (is => 'ro', isa => 'Int');
has RoleArn => (is => 'ro', isa => 'Str');
has UserPoolId => (is => 'ro', isa => 'Str', required => 1);
... | ioanrogers/aws-sdk-perl | auto-lib/Paws/CognitoIdp/CreateGroup.pm | Perl | apache-2.0 | 2,960 |
=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... | mjg17/ensembl | misc-scripts/xref_mapping/XrefParser/BaseParser.pm | Perl | apache-2.0 | 49,606 |
package VMOMI::ArrayOfHostMemberRuntimeInfo;
use parent 'VMOMI::ComplexType';
use strict;
use warnings;
our @class_ancestors = ( );
our @class_members = (
['HostMemberRuntimeInfo', 'HostMemberRuntimeInfo', 1, 1],
);
sub get_class_ancestors {
return @class_ancestors;
}
sub get_class_members {
my $class... | stumpr/p5-vmomi | lib/VMOMI/ArrayOfHostMemberRuntimeInfo.pm | Perl | apache-2.0 | 441 |
package Paws::CloudDirectory::DetachTypedLink;
use Moose;
has DirectoryArn => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'x-amz-data-partition', required => 1);
has TypedLinkSpecifier => (is => 'ro', isa => 'Paws::CloudDirectory::TypedLinkSpecifier', required => 1);
use MooseX::Cla... | ioanrogers/aws-sdk-perl | auto-lib/Paws/CloudDirectory/DetachTypedLink.pm | Perl | apache-2.0 | 2,181 |
#!/usr/bin/perl -w
use strict;
local $| = 1;
use Getopt::Std;
require "$ENV{'HOME'}/projects/check/monitor.pl";
my(%opts);
getopts('h:t:r:D:', \%opts); #Values in %opts
our $config;
$config->{'DEBUG'} = $opts{'D'} || 0;
if ($config->{'DEBUG'}){
notify('debug', "DEBUG set to level $config->{'DEBUG'}");
}
$c... | rpaditya/check | check_nntp.pl | Perl | bsd-2-clause | 1,266 |
package Net::LDNS::RR::SSHFP;
use parent 'Net::LDNS::RR';
1;
=head1 NAME
Net::LDNS::RR::SSHFP - Type SSHFP record
=head1 DESCRIPTION
A subclass of L<Net::LDNS::RR>, so it has all the methods of that class available in addition to the ones documented here.
=head1 METHODS
No RDATA methods implemented yet.
=cut
| gitpan/Net-LDNS | lib/Net/LDNS/RR/SSHFP.pm | Perl | bsd-2-clause | 320 |
#!/home/steve/perl6/perl6
my @a = 2, 3, 1;
# number of elements
my $x = @a.elems;
my $y = @a;
say $x;
say $y;
say 'blah' if @a < 5;
# doesn't work
say @a;
# other built in methods
say @a.sort;
say @a.map({ $_ + 10 });
# or even
say @a.sort.map({ $_ + 10 });
my %h = z => 26, b => 5, c => 2, a => 9;
say %h.k... | jmcveigh/komodo-tools | scripts/perl/perl6_examples/var_objects.pl | Perl | bsd-2-clause | 358 |
=head1 NAME
webilder_applet - GNOME panel applet for Webilder.
=head1 SYNOPSIS
webilder_applet [[run-in-window]]
=head1 DESCRIPTION
B<webilder_applet> is a GNOME panel applet that automatically downloads
wallpapers on regular intervals. It can also be used to change the current
wallpaper or to open B<webilder_desk... | thesamet/webilder | manpages/webilder_applet.pod | Perl | bsd-3-clause | 659 |
use strict;
use warnings;
use diagnostics;
use 5.20.1;
use FindBin;
say "here is the findbin path:\n$FindBin::Bin\n\nand here is the script:\n$FindBin::Script\n";
use POSIX ":sys_wait_h";
use Time::HiRes qw(sleep);
my $pid = fork();
die "Could not fork\n" if not defined $pid;
if (not $pid) {
say "In child";... | lust4life/quick.dirty.perl | Perl STH/learn/findbin.pl | Perl | bsd-3-clause | 693 |
% this file was generated by the following command(s):
% /home/fibo/Desktop/candc-1.00/dev_ver/candc/bin/candc --models /home/fibo/Desktop/candc-1.00/dev_ver/candc/models --candc-printer boxer --candc-parser-noisy_rules=false --input Ubuntu/Sick/SPL_SICK/SICK_trial_d_spl.txt --output SICK_trial_d_occg.pl
:- op(601, ... | kovvalsky/LangPro | ccg_sen_d/SICK_trial_d_occg.pl | Perl | bsd-3-clause | 762,829 |
#!/usr/bin/perl
# Author: Joe Godbehere
# split a motif file into chunks, each containing an ~equal quantity of motifs
use POSIX (ceil);
use File::Basename;
sub printUsage {
print STDERR "Required arguments:\n";
print STDERR "\t-m <motif file>\n";
print STDERR "\t-n <number of chunks>\n";
print STDERR "Opti... | VCCRI/motif-discovery-pipeline | find-motifs/split_motif_file.pl | Perl | bsd-3-clause | 3,928 |
#!/usr/bin/perl -w
########################################################################
# This perl script runs the designated queue for model reconstruction
# Author: Christopher Henry
# Author email: chrisshenry@gmail.com
# Author affiliation: Mathematics and Computer Science Division, Argonne National Lab
# Dat... | mmundy42/KBaseFBAModeling | internalScripts/RunAnnoJob.pl | Perl | mit | 4,570 |
package LogoServer::Action::REST::ForBrowsers;
use Moose;
use namespace::autoclean;
our $VERSION = '1.12';
$VERSION = eval $VERSION;
extends 'Catalyst::Action::REST';
use Catalyst::Request::REST::ForBrowsers;
sub BUILDARGS {
my $class = shift;
my $config = shift;
Catalyst::Request::REST::ForBrowsers->_... | Janelia-Farm-Xfam/LogoServer | lib/LogoServer/Action/REST/ForBrowsers.pm | Perl | mit | 3,998 |
# Naive-Bayesian-style probability combining and related constants.
#
# <@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 fi... | apache/spamassassin | lib/Mail/SpamAssassin/Bayes/CombineNaiveBayes.pm | Perl | apache-2.0 | 2,626 |
package Google::Ads::AdWords::v201409::TemplateElement;
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 ... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201409/TemplateElement.pm | Perl | apache-2.0 | 1,621 |
#!/usr/bin/env 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 t... | passlab/intel-openmp-runtime | tools/extract-objects.pl | Perl | bsd-3-clause | 8,964 |
#!/usr/bin/env perl
# vim:ts=4:sw=4:expandtab
use strict;
use warnings;
use Data::Dumper;
use HTTP::Tiny; # in core since v5.13.9
use JSON::PP; # in core since v5.13.9
use MIME::Base64; # in core since v5.7
use v5.13;
my $repo = shift;
my $auth = $ENV{'BINTRAY_USER'} . ':' . $ENV{'BINTRAY_KEY'};
die "BINTRAY_USER an... | EvilPudding/i3 | travis/cleanup-bintray.pl | Perl | bsd-3-clause | 1,360 |
package AsposeCellsCloud::Object::CellsDocumentPropertyResponse;
require 5.6.0;
use strict;
use warnings;
use utf8;
use JSON qw(decode_json);
use Data::Dumper;
use Module::Runtime qw(use_module);
use Log::Any qw($log);
use Date::Parse;
use DateTime;
use base "AsposeCellsCloud::Object::BaseObject";
#
#
#
#NOTE: This ... | farooqsheikhpk/Aspose.Cells-for-Cloud | SDKs/Aspose.Cells-Cloud-SDK-for-Perl/lib/AsposeCellsCloud/Object/CellsDocumentPropertyResponse.pm | Perl | mit | 1,112 |
false :- r7(A,B,C,D),C < (D + 1).
false :- r7(A,B,C,D),C > (D + 1).
r8 :- r7(A,B,C,D),C = (D + 1), C = E, D = F.
r6(A,B,C,D) :- r5(A,B,E,F),(D >= 0), E = C.
r5(A,B,C,D) :- A = C, B = D.
r4(A,B,C,D) :- r2(A,B,E,F,G,H),C = 1, G = D, H = I.
r4(A,B,C,D) :- r3(A,B,E,F,G,H),C = (H + 1), G = D, H = I.
r2(A,B,C,D,E,F) :- r0(A,... | bishoksan/LHornSolver | examples/running.nts.pl | Perl | apache-2.0 | 674 |
package Moose::Meta::TypeConstraint::Class;
BEGIN {
$Moose::Meta::TypeConstraint::Class::AUTHORITY = 'cpan:STEVAN';
}
{
$Moose::Meta::TypeConstraint::Class::VERSION = '2.0602';
}
use strict;
use warnings;
use metaclass;
use B;
use Scalar::Util 'blessed';
use Moose::Util::TypeConstraints ();
use base 'Moose::Meta... | leighpauls/k2cro4 | third_party/perl/perl/vendor/lib/Moose/Meta/TypeConstraint/Class.pm | Perl | bsd-3-clause | 6,100 |
/* Part of SWI-Prolog
Author: Jan Wielemaker
E-mail: J.Wielemaker@vu.nl
WWW: http://www.swi-prolog.org
Copyright (c) 2002-2016, University of Amsterdam
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permit... | josd/eye | eye-wasm/swipl-wasm/home/boot/license.pl | Perl | mit | 13,145 |
#! /usr/bin/env perl
# Copyright 2004-2016 The OpenSSL Project Authors. All Rights Reserved.
#
# Licensed under the OpenSSL license (the "License"). You may not use
# this file except in compliance with the License. You can obtain a copy
# in the file LICENSE in the source distribution or at
# https://www.openssl.org... | openweave/openweave-core | third_party/openssl/openssl/crypto/x86cpuid.pl | Perl | apache-2.0 | 13,776 |
#!/usr/bin/env perl
$timeout = 60;
use Finance::Quote;
use POSIX qw(strftime localtime time);
$q = Finance::Quote->new;
$q->timeout($timeout);
$q->require_labels(qw/price/);
%quotes = $q->fetch("nasdaq", $ARGV[0]);
if ($quotes{$ARGV[0], "price"}) {
print strftime('%Y/%m/%d %H:%M:%S', localtime(time()));
pri... | jwakely/ledger | contrib/getquote.pl | Perl | bsd-3-clause | 416 |
###########################################################################
#
# This file is auto-generated by the Perl DateTime Suite locale
# generator (0.05). This code generator comes with the
# DateTime::Locale distribution in the tools/ directory, and is called
# generate-from-cldr.
#
# This file as generated fr... | Dokaponteam/ITF_Project | xampp/perl/vendor/lib/DateTime/Locale/sr_Cyrl.pm | Perl | mit | 11,466 |
#!/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/bn/asm/x86_64-mont5.pl | Perl | mit | 78,199 |
{
package DBD::Sponge;
require DBI;
require Carp;
our @EXPORT = qw(); # Do NOT @EXPORT anything.
our $VERSION = sprintf("12.%06d", q$Revision: 10002 $ =~ /(\d+)/o);
# $Id: Sponge.pm 10002 2007-09-26 21:03:25Z timbo $
#
# Copyright (c) 1994-2003 Tim Bunce Ireland
#
# You may distribute unde... | liuyangning/WX_web | xampp/perl/vendor/lib/DBD/Sponge.pm | Perl | mit | 7,983 |
=head1 NAME
XML::DOM::Attr - An XML attribute in XML::DOM
=head1 DESCRIPTION
XML::DOM::Attr extends L<XML::DOM::Node>.
The Attr nodes built by the XML::DOM::Parser always have one child node
which is a Text node containing the expanded string value (i.e. EntityReferences
are always expanded.) EntityReferences may b... | electric-cloud/EC-EC2 | src/main/resources/project/lib/XML/DOM/Attr.pod | Perl | apache-2.0 | 2,693 |
=head1 NAME
perl56delta - what's new for perl v5.6.0
=head1 DESCRIPTION
This document describes differences between the 5.005 release and the 5.6.0
release.
=head1 Core Enhancements
=head2 Interpreter cloning, threads, and concurrency
Perl 5.6.0 introduces the beginnings of support for running multiple
interprete... | leighpauls/k2cro4 | third_party/cygwin/lib/perl5/5.10/pods/perl56delta.pod | Perl | bsd-3-clause | 107,184 |
#!/usr/bin/perl
# Made by kk
package build;
##############################################################
# #
# ____________________________ #
# /............................\ """"" #
# /......... | zhmylove/itmmorgue | scripts/build.pm | Perl | mit | 8,297 |
/*************************************************************************
name: godis-AOD
version:
description: GoDiS-AOD specification file
author: Staffan Larsson
*************************************************************************/
:- ensure_loaded( search_paths ).
/*=============... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/ext/SIRIDUS/UGOT-D31/godis-apps/domain-telvcr/stdtvgodis.pl | Perl | mit | 3,864 |
#! /usr/bin/env perl
# -*- mode: perl; -*-
# Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved.
#
# Licensed under the Apache License 2.0 (the "License"). You may not use
# this file except in compliance with the License. You can obtain a copy
# in the file LICENSE in the source distribution or at
... | kipid/blog | nodejs/openssl-master/Configurations/shared-info.pl | Perl | mit | 3,399 |
# =========================================================================
# Formatting: Expand tabs, 4 spaces per indent level.
# =========================================================================
=pod
=head1 NAME
Adobe::Codex2::Types::source - Define Codex type data.
=head1 DESCRIPTION
See POD from Adobe... | brycelelbach/asl | tools/adobe/Codex2/Types/source.pm | Perl | mit | 2,113 |
#!/usr/bin/env perl
#TODO: Take multiple hmm names at the command line.
# Make use of the (undocumented) Easel library shipped with HMMER,
# which provides access to many parsing/extraction utilities.
use 5.010;
use strict;
use warnings;
use Bio::SearchIO;
us... | sestaton/sesbio | gene_annotation/parse_hmmer.pl | Perl | mit | 2,948 |
#!/usr/bin/perl
require 'quickies.pl'
($User,$Planet,$AuthCode)=split(/&/,$ENV{QUERY_STRING});
$PlanetDir = $MasterPath . "/se/Planets/$Planet";
$UserDir = "$PlanetDir/users/$User";
if (-e "$UserDir/Dead.txt") {
print "Location: http://www.bluewand.com/cgi-bin/classic/Dead.pl?$User&$Planet&$AuthCode\n\n";
die;
}
i... | cpraught/shattered-empires | TechAssign.pl | Perl | mit | 9,791 |
#
# 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 | apps/exchange/2010/local/mode/listdatabases.pm | Perl | apache-2.0 | 6,976 |
=head1 LICENSE
See the NOTICE file distributed with this work for additional information
regarding copyright ownership.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/l... | Ensembl/ensembl-compara | modules/Bio/EnsEMBL/Compara/RunnableDB/AncestralAllelesForIndels/CreateCompleteChunkedJobs.pm | Perl | apache-2.0 | 4,400 |
#!/usr/bin/perl
package SmallRNA::T2CSummary;
use strict;
use warnings;
use File::Basename;
use CQS::PBS;
use CQS::ConfigUtils;
use CQS::SystemUtils;
use CQS::FileUtils;
use CQS::NGSCommon;
use CQS::StringUtils;
use CQS::UniqueTask;
our @ISA = qw(CQS::UniqueTask);
sub new {
my ($class) = @_;
my $self = $class->S... | shengqh/ngsperl | lib/SmallRNA/T2CSummary.pm | Perl | apache-2.0 | 2,238 |
#
# 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 | storage/quantum/dxi/ssh/mode/dedupnas.pm | Perl | apache-2.0 | 11,491 |
# 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/CustomAudienceService/MutateCustomAudiencesResponse.pm | Perl | apache-2.0 | 1,056 |
#
# 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/exchange/2010/local/mode/replicationhealth.pm | Perl | apache-2.0 | 5,865 |
package DDG::Spice::ShabbatCandleLightingTimes;
# ABSTRACT: Returns Shabbat candle lighting time information from Hebcal
# Start at https://duck.co/duckduckhack/spice_overview if you are new
# to instant answer development
use DDG::Spice;
# Caching - https://duck.co/duckduckhack/spice_advanced_backend#caching-api-res... | bdjnk/zeroclickinfo-spice | lib/DDG/Spice/ShabbatCandleLightingTimes.pm | Perl | apache-2.0 | 1,916 |
=head1 LICENSE
Copyright [1999-2014] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licen... | willmclaren/ensembl | misc-scripts/xref_mapping/XrefMapper/Methods/ExonerateGappedBest1.pm | Perl | apache-2.0 | 1,034 |
#!/usr/bin/perl
package CQS::SequenceTaskSlurmSlim;
use strict;
use warnings;
use File::Basename;
use File::Copy;
use Data::Dumper;
use CQS::PBS;
use CQS::SystemUtils;
use CQS::FileUtils;
use CQS::StringUtils;
use CQS::ConfigUtils;
use CQS::ClassFactory;
use CQS::SequenceTask;
our @ISA = qw(CQS::SequenceTask);
sub g... | shengqh/ngsperl | lib/CQS/SequenceTaskSlurmSlim.pm | Perl | apache-2.0 | 10,543 |
package Paws::RDS::DBParameterGroupDetails;
use Moose;
has Marker => (is => 'ro', isa => 'Str');
has Parameters => (is => 'ro', isa => 'ArrayRef[Paws::RDS::Parameter]', request_name => 'Parameter', traits => ['NameInRequest',]);
has _request_id => (is => 'ro', isa => 'Str');
1;
### main pod documentation beg... | ioanrogers/aws-sdk-perl | auto-lib/Paws/RDS/DBParameterGroupDetails.pm | Perl | apache-2.0 | 732 |
#
# Copyright 2022 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | centreon/centreon-plugins | hardware/pdu/schleifenbauer/gateway/snmp/mode/components/temperature.pm | Perl | apache-2.0 | 4,121 |
=head1 TITLE
Legacy Perl $pkg'var should die
=head1 VERSION
Maintainer: Nathan Wiger <nate@wiger.org>
Date: 8 Aug 2000
Last Modified: 15 Sep 2000
Mailing List: perl6-language@perl.org
Number: 71
Version: 2
Status: Frozen
=head1 ABSTRACT
Perl used to use $pkg'var instead of the modern $pkg::var. This ... | autarch/perlweb | docs/dev/perl6/rfc/71.pod | Perl | apache-2.0 | 687 |
# 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/Common/FrequencyCapEntry.pm | Perl | apache-2.0 | 1,041 |
package t::Util;
use strict;
use warnings;
use Digest::MD5 qw(md5_hex);
use File::Temp qw(tempfile);
use Net::EmptyPort qw(check_port empty_port);
use POSIX ":sys_wait_h";
use Path::Tiny;
use Scope::Guard qw(scope_guard);
use Test::More;
use Time::HiRes qw(sleep);
use base qw(Exporter);
our @EXPORT = qw(ASSETS_DIR DO... | yannick/h2o | t/Util.pm | Perl | mit | 8,349 |
package DDG::Goodie::Palindrome;
# ABSTRACT: Return if the a string is a palindrome, formatted requests:
# 'is <string> a[n] palindrome[?]' or 'isPalindrome <string>'
use DDG::Goodie;
triggers any => 'palindrome';
zci is_cached => 1;
primary_example_queries 'is a dank, sad nap. eels sleep and ask nada. a palindr... | Acidburn0zzz/zeroclickinfo-goodies | lib/DDG/Goodie/Palindrome.pm | Perl | apache-2.0 | 1,119 |
package Paws::CloudHSMv2::DescribeBackupsResponse;
use Moose;
has Backups => (is => 'ro', isa => 'ArrayRef[Paws::CloudHSMv2::Backup]');
has NextToken => (is => 'ro', isa => 'Str');
has _request_id => (is => 'ro', isa => 'Str');
### main pod documentation begin ###
=head1 NAME
Paws::CloudHSMv2::DescribeBack... | ioanrogers/aws-sdk-perl | auto-lib/Paws/CloudHSMv2/DescribeBackupsResponse.pm | Perl | apache-2.0 | 658 |
#!/usr/bin/env perl
# Author: Matt DeJongh @ Hope College, Holland, MI
use strict;
use warnings;
use Bio::KBase::workspace::ScriptHelpers qw(printObjectInfo get_ws_client workspace workspaceURL parseObjectMeta parseWorkspaceMeta printObjectMeta);
use Bio::KBase::fbaModelServices::ScriptHelpers qw(fbaws get_fba_client r... | kbase/KBaseFBAModeling | scripts/fba-importregulome.pl | Perl | mit | 3,733 |
=pod
=head1 NAME
EVP_RAND-SEED-SRC - The randomness seed source EVP_RAND implementation
=head1 DESCRIPTION
Support for deterministic random number generator seeding through the
B<EVP_RAND> API.
The seed sources used are specified at the time OpenSSL is configured for
building using the B<--with-rand-seed=> option.... | jens-maus/amissl | openssl/doc/man7/EVP_RAND-SEED-SRC.pod | Perl | bsd-3-clause | 2,211 |
=pod
=head1 NAME
SSL_CTX_set_generate_session_id, SSL_set_generate_session_id, SSL_has_matching_session_id - manipulate generation of SSL session IDs (server only)
=head1 SYNOPSIS
#include <openssl/ssl.h>
typedef int (*GEN_SESSION_CB)(const SSL *ssl, unsigned char *id,
unsigned int... | GaloisInc/hacrypto | src/C/openssl/openssl-1.1.0b/doc/ssl/SSL_CTX_set_generate_session_id.pod | Perl | bsd-3-clause | 5,689 |
package DDG::Spice::Aur;
# ABSTRACT: Archlinux user repository package look-up
use strict;
use DDG::Spice;
# Caching - https://duck.co/duckduckhack/spice_advanced_backend#caching
spice is_cached => 1;
# Metadata. See https://duck.co/duckduckhack/metadata for help in filling out this section.
name "Aur";
source "au... | mayo/zeroclickinfo-spice | lib/DDG/Spice/Aur.pm | Perl | apache-2.0 | 1,449 |
+{
locale_version => 0.88,
suppress => [0x0410, 0x0430, 0x04D8, 0x04D9, 0x0413, 0x0433, 0x0415, 0x0435,
0x0416, 0x0436, 0x0417, 0x0437, 0x0406, 0x0456, 0x041E, 0x043E,
0x04E8, 0x04E9, 0x041A, 0x043A, 0x0423, 0x0443, 0x0427, 0x0447,
0x042B, 0x044B, 0x042D, 0x044D, 0x0474, 0x0475],
entry => <<'ENTRY', # fo... | leighpauls/k2cro4 | third_party/perl/perl/lib/Unicode/Collate/Locale/ru.pl | Perl | bsd-3-clause | 3,872 |
#!/usr/bin/perl
# SimpleBot Background Updater
# Automatically invoked by IRC command
# by Joseph Huckaby
# Copyright (c) 2013 PixlCore.com
use strict;
use FileHandle;
use English qw( -no_match_vars ) ;
use POSIX qw/:sys_wait_h setsid/;
use File::Basename;
use Cwd 'abs_path';
BEGIN {
push @INC, dirname(dirname(abs_... | jhuckaby/simplebot | install/bkgnd-upgrade.pl | Perl | mit | 2,702 |
package Play::Route::Quests;
use Dancer ':syntax';
prefix '/api';
use Play::DB qw(db);
use Play::Markdown qw(markdown);
use Play::App::Util qw(login);
use DateTime;
use DateTime::Format::RFC3339;
my $rfc3339 = DateTime::Format::RFC3339->new;
put '/quest/:id' => sub {
my $login = login;
my $updated_id = db->... | berekuk/questhub | app/lib/Play/Route/Quests.pm | Perl | mit | 3,187 |
#!/usr/bin/env perl
#
# https://github.com/mkenney/Projects
# Have the user enter a number and find all Prime Factors (if there are any)
# and display them.
#
#
# Return true if n is prime, else false
#
sub isPrime {
my $n = $_[0];
my $ret_val = 1;
if (2 != $n) {
if (2 > $n || 0 == $n % 2) {
$ret_val = 0;
... | mkenney/Projects | solutions/Numbers/Prime_Factorization.pl | Perl | mit | 1,420 |
#!/usr/bin/perl
# synSpoofFlood
# Author: Lucas Allan
#
# Based on Simple SYN Flooder by iphelix
# Requires libpcap, perl, Net::RawIP module, and root privileges
#
# SYNOPSIS:
# ./syn_spoof_flood.pl [-f frequency] [-t total] [-r] host port
#
# Description:
# The syn_spoof_flood.pl simulates the TCP **SYN** flood a... | ng-wei/scripts | perl/syn_spoof_flood.pl | Perl | mit | 3,321 |
use MooseX::Declare;
use strict;
use warnings;
#### USE LIB FOR INHERITANCE
use FindBin qw($Bin);
use lib "$Bin/../";
class Mock::Virtual {
sub new {
my $class = shift;
my $type = shift;
$type = uc(substr($type, 0, 1)) . substr($type, 1);
#print "Virtual::new type: $type\n";
... | aguadev/aguadev | t/unit/lib/Mock/Virtual.pm | Perl | mit | 605 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.