code stringlengths 2 1.05M | repo_name stringlengths 5 101 | path stringlengths 4 991 | language stringclasses 3
values | license stringclasses 5
values | size int64 2 1.05M |
|---|---|---|---|---|---|
package #
Date::Manip::Offset::off211;
# 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'... | nriley/Pester | Source/Manip/Offset/off211.pm | Perl | bsd-2-clause | 850 |
package #
Date::Manip::TZ::amindi00;
# 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/amindi00.pm | Perl | bsd-2-clause | 36,979 |
=head1 ComputeD0
=over 13
=item ComputeD0 -
Compute the zonal space-concentration kernel of a spherical cap.
=back
=head1 SYNOPSIS
=over 23
=item SUBROUTINE ComputeD0 (
D0, LMAX, THETA0 )
=back
=over 4
=over 10
=item REAL*8
D0(LMAX+1, LMAX+1), THETA0
=item INTEGER
LMAX
=back
=back
=head1 DESCRIPTI... | pletnes/SHTOOLS | src/doc/computed0.pod | Perl | bsd-3-clause | 1,789 |
# !!!!!!! 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/Jg/Hah.pl | Perl | apache-2.0 | 491 |
package AI::MXNet::Module::Bucketing;
use Mouse;
use AI::MXNet::Function::Parameters;
use AI::MXNet::Base;
=encoding UTF-8
=head1 NAME
AI::MXNet::Module::Bucketing
=head1 SYNOPSIS
my $buckets = [10, 20, 30, 40, 50, 60];
my $start_label = 1;
my $invalid_label = 0;
my ($train_sentences, $vocabular... | hotpxl/mxnet | perl-package/AI-MXNet/lib/AI/MXNet/Module/Bucketing.pm | Perl | apache-2.0 | 17,817 |
#!/usr/bin/perl
use warnings;
use FindBin;
use lib "$FindBin::Bin/lib";
use Module::Load::Conditional 'can_load';
$nicfile = $ARGV[0] if($ARGV[0]);
$outputdir = $ARGV[1];
if(!$nicfile || !$outputdir) {
exitWithError("Syntax: $0 nicfile outputdir");
}
### LOAD THE NICFILE! ###
open(my $nichandle, "<", $nicfile);
my... | mandy04/FLEXLoader | theos/bin/denicify.pl | Perl | bsd-3-clause | 881 |
# Part of get-flash-videos. See get_flash_videos for copyright.
package FlashVideo::Site::Scivee; # horrible casing :(
# for use with Scivee.tv
#
use strict;
use FlashVideo::Utils;
use HTML::Entities;
sub find_video {
# print title_to_filename(decode_entities("The+Algorithmic+Lens%3A+How+the+Computational+Perspect... | monsieurvideo/get-flash-videos | lib/FlashVideo/Site/Scivee.pm | Perl | apache-2.0 | 1,016 |
do 'samba-lib.pl';
# backup_config_files()
# Returns files and directories that can be backed up
sub backup_config_files
{
local @rv = ( $config{'smb_conf'} );
push(@rv, $config{'smb_passwd'}) if ($config{'smb_passwd'});
&get_share("global");
local $umap = &getval("username map");
push(@rv, $umap) if ($umap);
return ... | rcuvgd/Webmin22.01.2016 | samba/backup_config.pl | Perl | bsd-3-clause | 752 |
#!/usr/bin/perl -wT
print "Content-Type: image/svg+xml\r\n";
print "Expires: Thu, 01 Dec 2003 16:00:00 GMT\r\n";
print "Cache-Control: no-store, no-cache, must-revalidate\r\n";
print "Pragma: no-cache\r\n";
print "\r\n";
open(FILE, "embedded.svg");
while (<FILE>) {
print $_;
}
close(FILE);
| nwjs/chromium.src | third_party/blink/web_tests/http/tests/misc/resources/svg-no-store.pl | Perl | bsd-3-clause | 295 |
package CorrTableEntry;
use strict;
#
# This is a SAS component
#
sub new
{
my($class, $line) = @_;
my $l = $line;
chomp $l;
return bless [split(/\t/, $l)], $class;
}
# Column-1
sub id1
{
return $_[0]->[0];
}
# Column-2
sub id2
{
return $_[0]->[1];
}
# Column-3
sub npairs
{
return $_[0]... | kbase/kb_seed | lib/CorrTableEntry.pm | Perl | mit | 1,364 |
#! perl -w
#
# parseraydata.pl file
#
# Retrieves table from a PRINT RAYS command and saves it to the temporary
# file rays#.temp. This program is called by cassrayread.m.
#
# Copyright 2005 Kelly Kearney
use strict;
#---------------------------
# Get ray table
#---------------------------
my $casso... | kakearney/cass-pkg | Cass/parseraydata.pl | Perl | mit | 1,986 |
package Note::File::RDF;
use strict;
use warnings;
no warnings 'uninitialized';
use Moose;
use RDF::Trine::Model;
use RDF::Trine::Store;
use RDF::Trine::Store::DBI::SQLite;
use Note::File;
use Note::RDF::Sparql;
use base 'Note::File';
has 'type' => (
'is' => 'rw',
'isa' => 'Str',
'default' => sub { return 'Store... | mfrager/note | File/RDF.pm | Perl | mit | 1,171 |
package App::Sqitch::Command::target;
use 5.010;
use strict;
use warnings;
use utf8;
use Moo;
use Types::Standard qw(Str Int HashRef);
use Locale::TextDomain qw(App-Sqitch);
use App::Sqitch::X qw(hurl);
use URI::db;
use Try::Tiny;
use Path::Class qw(file dir);
use List::Util qw(max);
use namespace::autoclean;
extends... | gitpan/App-Sqitch | lib/App/Sqitch/Command/target.pm | Perl | mit | 10,782 |
#=======================================================================
# ____ ____ _____ _ ____ ___ ____
# | _ \| _ \| ___| _ _ / \ | _ \_ _| |___ \
# | |_) | | | | |_ (_) (_) / _ \ | |_) | | __) |
# | __/| |_| | _| _ _ / ___ \| __/| | / __/
# |_| ... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/PDF/API2/Resource/ExtGState.pm | Perl | mit | 9,244 |
# 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/antarctica. Olson data version 2008c
#
# Do not edit this file directly.
#
package DateTime::T... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/DateTime/TimeZone/Antarctica/Rothera.pm | Perl | mit | 952 |
package Genesis::BOSH;
use Genesis;
sub _bosh {
my @args = @_;
die "Unable to determine where the bosh CLI lives. This is a bug, please report it.\n"
unless $ENV{GENESIS_BOSH_COMMAND};
my $opts = (ref($args[0]) eq 'HASH') ? shift @args : {};
$opts->{env} ||= {};
# Clear out the BOSH env vars unless we shou... | starkandwayne/genesis | lib/Genesis/BOSH.pm | Perl | mit | 12,640 |
#!/usr/bin/perl
#use strict;
use warnings;
=begin comment
author bupton
This file is still broken, because hackathon, but the project moved on without it. Still, does do some good, fast parsing
and searches through files to match up data and turns it into a JSON format. I stopped right at the end, when it just needed
a... | NCBI-Hackathons/rnaseqview | JSONTool.pl | Perl | cc0-1.0 | 4,130 |
=head1 LICENSE
Copyright [1999-2016] 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... | Ensembl/ensembl-funcgen | modules/Bio/EnsEMBL/Funcgen/ReadFile.pm | Perl | apache-2.0 | 8,288 |
#
# 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 | centreon/common/cisco/standard/snmp/mode/environment.pm | Perl | apache-2.0 | 14,982 |
package KinoSearch::Util::MemoryPool;
use KinoSearch;
1;
__END__
__BINDING__
Clownfish::Binding::Perl::Class->register(
parcel => "KinoSearch",
class_name => "KinoSearch::Util::MemoryPool",
bind_constructors => ["new"],
);
__COPYRIGHT__
Copyright 2005-2011 Marvin Humphrey
This program is free... | gitpan/KinoSearch | lib/KinoSearch/Util/MemoryPool.pm | Perl | apache-2.0 | 407 |
=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 | misc-scripts/xref_mapping/XrefParser/RFAMParser.pm | Perl | apache-2.0 | 5,597 |
# 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/Resources/DynamicSearchAdsSearchTermView.pm | Perl | apache-2.0 | 1,402 |
#
# 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/viptela/snmp/mode/components/led.pm | Perl | apache-2.0 | 1,998 |
package Hanjie::GridController;
use strict;
use integer;
use Carp;
use Data::Dumper;
use Hanjie::Grid;
use Hanjie::DrawSimple;
use Hanjie::Row;
use Hanjie::Column;
sub new { my ($proto) = @_;
my ($self, $class);
$class = ref($proto) || $proto;
$self = { _rows => [],
_columns => []
};
bless(... | gavilancomun/hanjie-perl | GridController.pm | Perl | apache-2.0 | 1,474 |
package Search::Elasticsearch::Client::Direct::Indices;
$Search::Elasticsearch::Client::Direct::Indices::VERSION = '1.17';
use Moo;
with 'Search::Elasticsearch::Role::API';
with 'Search::Elasticsearch::Role::Client::Direct';
__PACKAGE__->_install_api('indices');
1;
=pod
=encoding UTF-8
=head1 NAME
Search::Elastics... | gitpan/Search-Elasticsearch | lib/Search/Elasticsearch/Client/Direct/Indices.pm | Perl | apache-2.0 | 22,980 |
#
# Copyright 2021 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | Tpo76/centreon-plugins | storage/hitachi/standard/snmp/mode/components/dkc.pm | Perl | apache-2.0 | 3,745 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016] 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 ... | danstaines/ensembl | misc-scripts/surgery/SchemaConverter.pm | Perl | apache-2.0 | 10,609 |
=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/ViewConfig/Gene/TranscriptsImage.pm | Perl | apache-2.0 | 1,074 |
=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 | misc-scripts/xref_mapping/XrefMapper/sars_cov_2.pm | Perl | apache-2.0 | 3,926 |
=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/ViewConfig/Location/MultiBottom.pm | Perl | apache-2.0 | 2,510 |
package Search::Elasticsearch::Util::API::QS;
use strict;
use warnings;
use Sub::Exporter -setup => { exports => ['qs_init'] };
our %Handler = (
string => sub {"$_[0]"},
list => sub {
ref $_[0] eq 'ARRAY'
? join( ',', @{ shift() } )
: shift();
},
bool => sub { $_[0] ... | jeteve/elasticsearch-perl | lib/Search/Elasticsearch/Util/API/QS.pm | Perl | apache-2.0 | 11,687 |
package Bio::EnsEMBL::Funcgen::RunnableDB::ProbeMapping::DumpUnmappedSeqs;
use strict;
use base ('Bio::EnsEMBL::Hive::Process');
use Hash::Util qw( lock_keys );
sub run {
my $self = shift;
my $unmapped_sequences_file = $self->param('unmapped_sequences_file');
my $species = $self->para... | Ensembl/ensembl-funcgen | modules/Bio/EnsEMBL/Funcgen/RunnableDB/ProbeMapping/DumpUnmappedSeqs.pm | Perl | apache-2.0 | 2,445 |
package HyperGlossary::Controller::Hg;
use strict;
use warnings;
use parent 'Catalyst::Controller';
use WWW::HyperGlossary::Model;
use WWW::HyperGlossary;
use DBI;
use DBIx::MySperql qw(DBConnect SQLExec SQLFetch $dbh);
use LWP::Simple;
#use Chemistry::OpenBabel;
use MIME::Base64::Perl;
use XML::Simple;
use URI;
use E... | DeepLit/WHG | lib/HyperGlossary/Controller/Hg.pm | Perl | apache-2.0 | 40,317 |
#!/opt/local/bin/perl -T
#############################################
# -=[ Virtual Patching Converter Script ]=- #
# Converts OWASP ZAP XML Output #
# https://code.google.com/p/zaproxy/ #
# #
# zap2modsec.pl #
# Ver... | SpiderLabs/owasp-modsecurity-crs | util/virtual-patching/zap2modsec.pl | Perl | apache-2.0 | 12,538 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2019] EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obta... | muffato/ensembl | misc-scripts/xref_mapping/XrefMapper/LoadMapper.pm | Perl | apache-2.0 | 936 |
#
# 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 | apps/vmware/wsman/mode/hardware.pm | Perl | apache-2.0 | 5,642 |
=head1 LICENSE
# 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.
# ... | kiwiroy/ensembl-analysis | modules/Bio/EnsEMBL/Analysis/RunnableDB/HaplotypeProjection.pm | Perl | apache-2.0 | 9,772 |
use 5.008001;
use strict;
use warnings;
package Dist::Zilla::Plugin::Meta::Contributors;
# ABSTRACT: Generate an x_contributors section in distribution metadata
our $VERSION = '0.001'; # VERSION
use Moose;
has contributor => (
is => 'ro',
isa => 'ArrayRef[Str]',
default => sub { [] },
);
sub mv... | gitpan/Dist-Zilla-Plugin-Meta-Contributors | lib/Dist/Zilla/Plugin/Meta/Contributors.pm | Perl | apache-2.0 | 2,172 |
#!/usr/bin/perl
use warnings;
use strict;
use Data::Dumper;
my $debug = 1;
use constant {
INCREMENTAL => 0,
COMPLETE => 1,
};
my $src_dataset = $ARGV[0];
my $dst_dataset = $ARGV[1];
my $prefix = $ARGV[2] || '';
$prefix .= "-" if ($prefix);
unless ($src_dataset && $dst_dataset) {
print STDERR "Usage: ... | andrewbasterfield/zfs-incremental-backup | zfs-incremental.pl | Perl | apache-2.0 | 4,360 |
#------------------------------------------------------------------------------
# File: MOI.pm
#
# Description: Read MOI meta information
#
# Revisions: 2014/12/15 - P. Harvey Created
#
# References: 1) https://en.wikipedia.org/wiki/MOI_(file_format)
#------------------------------------------------------... | philmoz/Focus-Points | focuspoints.lrdevplugin/bin/exiftool/lib/Image/ExifTool/MOI.pm | Perl | apache-2.0 | 4,242 |
% generate problem of size 1500
reachable(X,Y) :- edge(X,Y).
reachable(X,Y) :- edge(X,Z), reachable(Z,Y).
edge(0, 1).
edge(1, 2).
edge(2, 3).
edge(3, 4).
edge(4, 5).
edge(5, 6).
edge(6, 7).
edge(7, 8).
edge(8, 9).
edge(9, 10).
edge(10, 11).
edge(11, 12).
edge(12, 13).
edge(13, 14).
edge(14, 15).
edge(15, 16).
edge(16, ... | c-cube/datalog | tests/graph1500.pl | Perl | bsd-2-clause | 24,904 |
package WebService::MorphIO;
# Pragmas.
use strict;
use warnings;
# Modules.
use Class::Utils qw(set_params);
use Encode qw(encode_utf8);
use Error::Pure qw(err);
use IO::Barf qw(barf);
use LWP::Simple qw(get);
use URI;
use URI::Escape qw(uri_escape);
# Version.
our $VERSION = 0.02;
# Constructor.
sub new {
my ($c... | gitpan/WebService-MorphIO | MorphIO.pm | Perl | bsd-2-clause | 3,877 |
#!/usr/bin/perl -s
#########################################################################
#
# TTYtter v2.0 (c)2007-2012 cameron kaiser (and contributors).
# all rights reserved.
# http://www.floodgap.com/software/ttytter/
#
# distributed under the floodgap free software license
# http://www.floodgap.com/software/ffs... | nestukh/dotfiles | bin/ttytter-2.0.03.pl | Perl | mit | 220,158 |
#/usr/bin/perl -w
use utf8;
binmode STDIN, ':utf8';
binmode STDOUT, ':utf8';
while (<>)
{
chomp;
@words = split(/([\s+|,|\.|:|;|\-|\[|\]|\(|\)|\?|\"|\¡|\–|\¿|\!|\/|%|…|“|”|«|»])/);
foreach (@words)
{
if (m/^\s*$/)
{ next;}
if( \$_ == \$words[-1] && $_ !~ /,|\.|:|;|\-|\[|\]|\(|\)|\?|\"|\¡... | ariosquoia/squoia | treebanks/quz/scripts/tokenize_withsentPerLine.pl | Perl | apache-2.0 | 441 |
package Paws::DAX::UntagResourceResponse;
use Moose;
has Tags => (is => 'ro', isa => 'ArrayRef[Paws::DAX::Tag]');
has _request_id => (is => 'ro', isa => 'Str');
### main pod documentation begin ###
=head1 NAME
Paws::DAX::UntagResourceResponse
=head1 ATTRIBUTES
=head2 Tags => ArrayRef[L<Paws::DAX::Tag>]
T... | ioanrogers/aws-sdk-perl | auto-lib/Paws/DAX/UntagResourceResponse.pm | Perl | apache-2.0 | 411 |
#!/usr/bin/env perl
# Pragmas.
use strict;
use warnings;
# Modules.
use Encode qw(encode_utf8);
use Mock::Person::SK::ROM qw(name);
# Error.
print encode_utf8(name())."\n";
# Output like:
# Kevin Mižigar | gitpan/Mock-Person-SK-ROM | examples/ex1.pl | Perl | bsd-2-clause | 208 |
package AsposeWordsCloud::Object::ProtectionDataResponse;
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 "AsposeWordsCloud::Object::BaseObject";
#
#
#
#NOTE: This class i... | asposewords/Aspose_Words_Cloud | SDKs/Aspose.Words-Cloud-SDK-for-Perl/lib/AsposeWordsCloud/Object/ProtectionDataResponse.pm | Perl | mit | 1,216 |
#
# Copyright 2017 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | Shini31/centreon-plugins | cloud/nutanix/snmp/mode/storagepoolusage.pm | Perl | apache-2.0 | 9,304 |
#!/bin/perl
# 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"); y... | PivotalSarge/geode-native | src/cppcache/integration-test/comparePerf.pl | Perl | apache-2.0 | 2,704 |
package NiHTest;
use strict;
use warnings;
use Cwd;
use File::Copy;
use File::Path qw(mkpath remove_tree);
use Getopt::Long qw(:config posix_default bundling no_ignore_case);
use IPC::Open3;
#use IPC::Cmd qw(run);
use Storable qw(dclone);
use Symbol 'gensym';
use UNIVERSAL;
#use Data::Dumper qw(Dumper);
# NiHTest ... | chromium/chromium | third_party/libzip/src/regress/NiHTest.pm | Perl | bsd-3-clause | 30,292 |
#!/usr/local/bin/perl
use strict;
use diagnostics;
# Convert a decimal to a binary
sub dec2bin {
my $str = unpack("B32", pack("N", shift));
}
# Convert a binary number to a decimal number
sub bin2dec {
unpack("N", pack("B32", substr("0" x 32 . shift, -32)));
}
# XOR Function
sub myxor {
return 0 if ($_[0]==$_[1]... | kshenoy/dotfiles | scripts/dec2bin.pl | Perl | mit | 846 |
#!/usr/bin/env perl6
use v6;
use v6.c;
use lib 'ext/File__Find/lib/';
use lib 'ext/Shell__Command/lib/';
use Shell::Command;
sub MAIN(Str :$prefix is copy) {
say '==> Bootstrapping Panda';
# prevent a lot of expensive dynamic lookups
my $CWD := $*CWD;
my $DISTRO := $*DISTRO;
my %ENV := %*ENV... | timo/panda | bootstrap.pl | Perl | mit | 2,295 |
# !!!!!!! 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/Scx/Dupl.pl | Perl | mit | 561 |
#Copyright (C)2001-2010 Altera Corporation
#Any megafunction design, and related net list (encrypted or decrypted),
#support information, device programming or simulation file, and any other
#associated documentation or information provided by Altera or a partner
#under Altera's Megafunction Partnership Program may... | UdayanSinha/Code_Blocks | Nios-2/Nios/practica4/ip/bemicro_max10_serial_flash_controller/em_epcs_qsys.pm | Perl | mit | 16,322 |
/Users/cabouffard-laptop/Music/Exteel.mp3
/Users/cabouffard-laptop/Music/Raptor.mp3
/Users/cabouffard-laptop/music/6Hour-Eve.mp3
/Users/cabouffard-laptop/Music/Atlantica.mp3
| cabouffard/dotfiles | .cmus/playlist.pl | Perl | mit | 174 |
#!/usr/bin/env perl
package CountReads;
__PACKAGE__->run() unless caller();
use strict;
use warnings;
use List::MoreUtils qw(pairwise);
use IO::File;
sub run() {
my $class = shift;
my $ifh = shift;
unless($ifh) {
print STDERR $ARGV[0], "\n";
if ($ARGV[0]) {
$ifh = IO::File->ne... | ernfrid/count_read_variants | CountReads.pm | Perl | mit | 4,267 |
package Spreadsheet::XLSXSpokes;
use Exporter;
use Carp;
use Archive::Zip qw/:ERROR_CODES/;
use Data::Dumper;
use XML::Bare qw/xval forcearray/;
use Time::JulianDay;
@ISA = qw(Exporter);
@EXPORT_OK = qw();
use strict;
use warnings;
$Spreadsheet::XLSXSpokes::VERSION = '0.01';
sub new { my $pkg = shift; return bless { @_... | nanoscopic/perl-Spreadsheet-XLSXSpokes | lib/Spreadsheet/XLSXSpokes.pm | Perl | mit | 5,150 |
package Paws::Organizations::ListPoliciesForTargetResponse;
use Moose;
has NextToken => (is => 'ro', isa => 'Str');
has Policies => (is => 'ro', isa => 'ArrayRef[Paws::Organizations::PolicySummary]');
has _request_id => (is => 'ro', isa => 'Str');
### main pod documentation begin ###
=head1 NAME
Paws::Orga... | ioanrogers/aws-sdk-perl | auto-lib/Paws/Organizations/ListPoliciesForTargetResponse.pm | Perl | apache-2.0 | 900 |
=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/BaseVariationFeature.pm | Perl | apache-2.0 | 10,385 |
#
# 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/hyperv/2012/local/mode/scvmmintegrationservice.pm | Perl | apache-2.0 | 15,489 |
=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/public-plugins | tools/modules/EnsEMBL/Draw/GlyphSet/VEPSequence.pm | Perl | apache-2.0 | 2,921 |
:- module(graph,[
reorder_edges/5,
compare_vertices/4,
compare_edges/4,
compare_paths/4,
compare_map/5,
reverse_order/4,
compare_compose/5,
compare_path_lengths/3
]).
:- meta_predicate reorder_edges(3,3,?,?,?).
reorder_edges(OrderPred,Rel,P1,Edge,P2) :-
(var(P1) *-> (
aggregate(set(V),E^V1^call(Re... | joaoraf/searchalgorithms | src/main/prolog/graph.pl | Perl | apache-2.0 | 1,245 |
package Paws::Pinpoint::CampaignState;
use Moose;
has CampaignStatus => (is => 'ro', isa => 'Str');
1;
### main pod documentation begin ###
=head1 NAME
Paws::Pinpoint::CampaignState
=head1 USAGE
This class represents one of two things:
=head3 Arguments in a call to a service
Use the attributes of this class ... | ioanrogers/aws-sdk-perl | auto-lib/Paws/Pinpoint/CampaignState.pm | Perl | apache-2.0 | 1,420 |
#
# 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 | apps/graylog/restapi/mode/query.pm | Perl | apache-2.0 | 3,250 |
# Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
# Copyright [2016-2018] EMBL-European Bioinformatics Institute
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a... | kiwiroy/ensembl-analysis | modules/Bio/EnsEMBL/Analysis/RunnableDB/BWA2BAM.pm | Perl | apache-2.0 | 3,022 |
eval(prefix(A,X),[A|T]) :- eval(X,T).
eval(choice(X,_Y),T) :- eval(X,T).
eval(choice(_X,Y),T) :- eval(Y,T).
eval(stop,[]).
eval(par(X,Y),T) :- eval(X,T), eval(Y,T).
eval(agent(X),T) :- agent(X,Def), eval(Def,T).
agent(p, prefix(a,agent(p))).
agent(q, prefix(a, choice(stop, agent(q)))).
agent(r, par(agent(q), agent(q... | leuschel/ecce | ecce_examples/rultest.process.pl | Perl | apache-2.0 | 2,250 |
package VMOMI::VspanDestPortConflict;
use parent 'VMOMI::DvsFault';
use strict;
use warnings;
our @class_ancestors = (
'DvsFault',
'VimFault',
'MethodFault',
);
our @class_members = (
['vspanSessionKey1', undef, 0, ],
['vspanSessionKey2', undef, 0, ],
['portKey', undef, 0, ],
);
sub get_cl... | stumpr/p5-vmomi | lib/VMOMI/VspanDestPortConflict.pm | Perl | apache-2.0 | 526 |
package Tapper::Reports::API;
# git description: v4.1.1-1-ga1a0e21
BEGIN {
$Tapper::Reports::API::AUTHORITY = 'cpan:TAPPER';
}
{
$Tapper::Reports::API::VERSION = '4.1.2';
}
# ABSTRACT: Tapper - Remote network API for result evaluation
use 5.010;
use strict;
use warnings;
use parent 'Net::Server::Fork';
use Tapp... | gitpan/Tapper-Reports-API | lib/Tapper/Reports/API.pm | Perl | bsd-2-clause | 5,613 |
#!/usr/bin/perl
# Permutations
#
'(C) Copyright 2005-2015 Robert Dowling.';
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) ... | RobertTDowling/local | local/lib/perm.pm | Perl | bsd-2-clause | 3,364 |
#!/usr/bin/perl -w
# wrapper around flex
# The purpose of this script is basically to "fix" flex's output
# in a number of ways.
#
# 1. It changes a forward declaration of istream into a proper
# #include directive. In current C++ libraries, istream is not
# a class but rather a template specialization.
#
# 2. Fix th... | angavrilov/olmar | smbase/run-flex.pl | Perl | bsd-3-clause | 10,597 |
% Frame number: 0
holdsAt( coord( id0 )=( 189, 125 ), 0 ).
holdsAt( coord( id1 )=( 198, 74 ), 0 ).
holdsAt( coord( id2 )=( 26, 48 ), 0 ).
happensAt( walking( id3 ), 0 ). holdsAt( coord( id3 )=( 30, 29 ), 0 ).
% Frame number: 1
holdsAt( coord( id0 )=( 189, 125 ), 40 ).
holdsAt( coord( id1 )=( 198, 73 ), 40 ).
h... | JasonFil/Prob-EC | dataset/smooth-noise/15-LeftBag_AtChair/lb2gtMovementIndv_new.pl | Perl | bsd-3-clause | 116,064 |
#!/usr/bin/perl
use strict;
use warnings;
use Data::Dumper;
my $megaraid = "bash -c /apps/Linux64/bin/megasasctl";
my @output = `$megaraid 2>&1`;
if ($? ne 0) {
unknown($output[0]);
}
foreach my $line (@output) {
# Ensure volumes are optimal
if ($line =~ /^a\dd/) {
my @volume = split(/\s+/, $line);
... | dneg/nagios | check_megaraid.pl | Perl | mit | 837 |
package AliTV::Base;
use AliTV::Base::Version;
use Log::Log4perl;
sub new
{
my $class = shift;
my $self = {};
bless $self, $class;
# create a logger for the object
$self->{logger} = Log::Log4perl->get_logger(ref($self));
# call the private _inititialize method providing the parameters
... | greatfireball/AliTV-perl-interface | lib/AliTV/Base.pm | Perl | mit | 5,032 |
package DDG::Goodie::Ascii;
# ABSTRACT: ASCII
use DDG::Goodie;
triggers end => "ascii";
primary_example_queries '0110100001100101011011000110110001101111 to ascii';
description 'convert binary data to readable characters';
name 'Ascii';
code_url 'https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DD... | Acidburn0zzz/zeroclickinfo-goodies | lib/DDG/Goodie/Ascii.pm | Perl | apache-2.0 | 805 |
#
# 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 | centreon/common/aruba/snmp/mode/components/psu.pm | Perl | apache-2.0 | 2,770 |
package Paws::DS::DeleteSnapshotResult;
use Moose;
has SnapshotId => (is => 'ro', isa => 'Str');
has _request_id => (is => 'ro', isa => 'Str');
### main pod documentation begin ###
=head1 NAME
Paws::DS::DeleteSnapshotResult
=head1 ATTRIBUTES
=head2 SnapshotId => Str
The identifier of the directory snapsh... | ioanrogers/aws-sdk-perl | auto-lib/Paws/DS/DeleteSnapshotResult.pm | Perl | apache-2.0 | 379 |
#-----------------------------------------------------------
# esent
# Get contents of Esent\Process key from Software hive
#
# Note: Not sure why I wrote this one; just thought it might come
# in handy as info about this key is developed.
#
# copyright 2010 Quantum Analytics Research, LLC
#-------------... | kefir-/autopsy | RecentActivity/release/rr-full/plugins/esent.pl | Perl | apache-2.0 | 2,013 |
#!/usr/local/bin/perl
# (C) Hans Wolfgang Loidl, July 1995
#############################################################################
# Time-stamp: <Thu Oct 26 1995 18:23:00 Stardate: [-31]6498.62 hwloidl>
#
# Usage: SPLIT [options] <gr-file>
#
# Generate a set of granularit... | nomeata/ghc | utils/parallel/SPLIT.pl | Perl | bsd-3-clause | 9,636 |
#! /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/condor | src/condor_tests/job_core_perremove-true_sched.pl | Perl | apache-2.0 | 1,635 |
#
# 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... | irinabov/debian-qpid-cpp-1.35.0 | bindings/qpid/perl/lib/qpid/messaging.pm | Perl | apache-2.0 | 1,630 |
=pod
=head1 NAME
PKCS12_add1_attr_by_NID, PKCS12_add1_attr_by_txt - Add an attribute to a PKCS#12
safeBag structure
=head1 SYNOPSIS
#include <openssl/pkcs12.h>
int PKCS12_add1_attr_by_NID(PKCS12_SAFEBAG *bag, int nid, int type,
const unsigned char *bytes, int len);
int PKCS12_add1_a... | jens-maus/amissl | openssl/doc/man3/PKCS12_add1_attr_by_NID.pod | Perl | bsd-3-clause | 1,511 |
package Moose::Meta::Attribute::Native::Trait::Array;
BEGIN {
$Moose::Meta::Attribute::Native::Trait::Array::AUTHORITY = 'cpan:STEVAN';
}
{
$Moose::Meta::Attribute::Native::Trait::Array::VERSION = '2.0602';
}
use Moose::Role;
with 'Moose::Meta::Attribute::Native::Trait';
sub _helper_type { 'ArrayRef' }
no Moose... | leighpauls/k2cro4 | third_party/perl/perl/vendor/lib/Moose/Meta/Attribute/Native/Trait/Array.pm | Perl | bsd-3-clause | 9,175 |
/* ------------------------------------------------------------------------
> FILENAME: mkparser_sicstus
> PURPOSE: create and dump saved state ready to process command
> line when restored
> AUTHORS: Kevin Humphreys, Hamish Cunningham
> NOTES:
-----------------------------------------------------... | Network-of-BioThings/GettinCRAFTy | src/main/resources/gate/plugins/Parser_SUPPLE/prolog/mkparser_sicstus.pl | Perl | apache-2.0 | 3,689 |
package platform;
use strict;
use warnings;
use vars qw(@ISA);
# Callers must make sure @INC has the build directory
use configdata;
my $module = $target{perl_platform} || 'Unix';
(my $module_path = $module) =~ s|::|/|g;
require "platform/$module_path.pm";
@ISA = ("platform::$module");
1;
__END__
| jens-maus/amissl | openssl/Configurations/platform.pm | Perl | bsd-3-clause | 304 |
=pod
=head1 NAME
i2t_ASN1_OBJECT,
OBJ_length, OBJ_get0_data, OBJ_nid2obj, OBJ_nid2ln,
OBJ_nid2sn, OBJ_obj2nid, OBJ_txt2nid, OBJ_ln2nid, OBJ_sn2nid, OBJ_cmp,
OBJ_dup, OBJ_txt2obj, OBJ_obj2txt, OBJ_create, OBJ_cleanup
- ASN1 object utility functions
=head1 SYNOPSIS
#include <openssl/objects.h>
ASN1_OBJECT *OBJ_nid... | openweave/openweave-core | third_party/openssl/openssl/doc/crypto/OBJ_nid2obj.pod | Perl | apache-2.0 | 6,933 |
sub test {
my $i;
for ($i = 0; $i < 1e8; $i++) {
}
}
test();
| kphillisjr/duktape | tests/perf/test-empty-loop.pl | Perl | mit | 75 |
#!/usr/bin/perl
use warnings;
use strict;
use DBI;
require "approx_search.pl";
my $brainz_db = DBI->connect("dbi:Pg:dbname=musicbrainz_db","sunny","")
or die "Couldnot open database\n";
my @artist_album_song;
my $artist_name = "The Beatles";
@artist_album_song = &get_track_by_artist($brainz_db , $artist_name);
m... | sunnyraj10411/musopia | approx_search_stub.pl | Perl | mit | 947 |
/** <module> Collection handling.
*/
:- module(_,
[
new_collection/3,
collection_database/2,
collection_name/2,
collection_namespace/2,
collection_connection/2
]).
:- include(include/common).
%% new_collection(+Database, +CollectionName, -Collection) is det.
%
% Tr... | dakerfp/prolongo | src/mongo_collection.pl | Perl | mit | 2,124 |
# Time-stamp: "Sat Jul 14 00:27:31 2001 by Automatic Bizooty (__blocks2pm.plx)"
$Text::\SEPA\Unicode\Unidecode::Char[0x65] = [
'Pan ', 'Yang ', 'Lei ', 'Sa ', 'Shu ', 'Zan ', 'Nian ', 'Xian ', 'Jun ', 'Huo ', 'Li ', 'La ', 'Han ', 'Ying ', 'Lu ', 'Long ',
'Qian ', 'Qian ', 'Zan ', 'Qian ', 'Lan ', 'San ', 'Ying ', 'Mei... | dmitrirussu/php-sepa-xml-generator | src/Unicode/data/perl_source/x65.pm | Perl | mit | 2,204 |
package #
Date::Manip::Offset::off070;
# Copyright (c) 2008-2015 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'... | jkb78/extrajnm | local/lib/perl5/Date/Manip/Offset/off070.pm | Perl | mit | 850 |
package Acme::Xyzzy;
# ABSTRACT: Nothing happens.
use strict;
use warnings;
use Exporter;
use vars qw(@ISA @EXPORT);
our $VERSION = "0.001";
@ISA = ('Exporter');
@EXPORT = ('xyzzy');
sub xyzzy {
print "Nothing happens.\n";
}
1;
=head1 SYNOPSIS
use Acme::Xyzzy;
xyzzy;
=head1 DESCRIPTION
Nothing happens.
... | woodruffw/Acme-Xyzzy | lib/Acme/Xyzzy.pm | Perl | mit | 472 |
% File: /opt/PrologMUD/pack/logicmoo_base/prolog/logicmoo/util/logicmoo_util_no_repeats.pl
:- module(no_repeats,
[ /*memberchk_pred/3,
memberchk_pred_rev/3,
memberchk_same/2,
memberchk_same0/2,
memberchk_same1/2,
memberchk_same2/2,
member... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_utils/prolog/logicmoo/no_repeats.pl | Perl | mit | 12,747 |
# <@LICENSE>
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to you under the Apache License, Version 2.0
# (the "License"); you... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/Mail/SpamAssassin/DnsResolver.pm | Perl | mit | 16,455 |
# 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/europe. Olson data version 2008c
#
# Do not edit this file directly.
#
package DateTime::TimeZ... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/DateTime/TimeZone/Europe/Vaduz.pm | Perl | mit | 8,786 |
%%% test_gui.pl
:- module(test_gui, [main/0,my_predicate/2]).
:- use_module(library(prologbeans)).
:- use_module(library(charsio),[read_from_chars/2]).
:- use_module('$REGULUS/PrologLib/utilities').
:- use_module(library(system)).
%% Register acceptable queries and start the server (using default port)
main:-
re... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/ext/regulus/Java/test_gui.pl | Perl | mit | 1,753 |
package MIP::Recipes::Build::Star_prerequisites;
use 5.026;
use Carp;
use charnames qw{ :full :short };
use English qw{ -no_match_vars };
use File::Spec::Functions qw{ catdir catfile };
use open qw{ :encoding(UTF-8) :std };
use Params::Check qw{ check allow last_error };
use utf8;
use warnings;
use warnings qw{ FATAL ... | henrikstranneheim/MIP | lib/MIP/Recipes/Build/Star_prerequisites.pm | Perl | mit | 8,442 |
package Maillog::Parser::SMTPAuth;
use 5.006;
use strict;
use warnings FATAL => 'all';
=head1 NAME
Maillog::Parser::SMTPAuth - The great new Maillog::Parser::SMTPAuth!
=head1 VERSION
Version 0.01
=cut
our $VERSION = '0.01';
=head1 SYNOPSIS
Quick summary of what the module does.
Perhaps a little code snippet.... | sischkg/Maillog-Parser | lib/Maillog/Parser/SMTPAuth.pm | Perl | mit | 3,659 |
#!/usr/bin/perl
# lenticulate.pl
# Usage: perl lenticulate.pl inputFile1 inputFile2 outputFile
# This can be used to read strips from two input images and alternately
# write them to an output image. The output image can then be
# manually folded to create a crude lenticular picture.
# A description of the overall ... | dougtoppin/lenticular | lenticulate.pl | Perl | mit | 3,690 |
use strict;
use warnings;
package KinoSearch::Build;
use base qw( Lucy::Build );
BEGIN { Lucy::Build->use_kinosearch_mode }
1;
__END__
=head1 NAME
KinoSearch::Build -- Module::Build subclass for KinoSearch
=head1 SYNOPSIS
my $builder = KinoSearch::Build->new(
%args_to_module_build_constructor;
)... | robertkrimen/Search-Kino03 | buildlib/KinoSearch/Build.pm | Perl | apache-2.0 | 798 |
package Paws::Config::DescribeConfigRules;
use Moose;
has ConfigRuleNames => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
has NextToken => (is => 'ro', isa => 'Str');
use MooseX::ClassAttribute;
class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeConfigRules');
class_has _returns => (isa... | ioanrogers/aws-sdk-perl | auto-lib/Paws/Config/DescribeConfigRules.pm | Perl | apache-2.0 | 1,953 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.