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 State::Programming;
use strict;
use warnings;
use Card;
use Deck;
use List::MoreUtils qw/false none/;
use Storable 'dclone';
use State::Setup;
use parent 'State';
sub on_enter {
my ( $self, $game ) = @_;
my $ready = 0;
my $total = 0;
delete $game->{public}{option}{'Recompile'}{tapped};
$g... | bpa/cyborg-rally | lib/State/Programming.pm | Perl | mit | 7,815 |
#
# 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/qnap/snmp/mode/components/psu.pm | Perl | apache-2.0 | 6,479 |
#
# (c) Jan Gehring <jan.gehring@gmail.com>
#
# vim: set ts=2 sw=2 tw=0:
# vim: set expandtab:
package Rex::Repositorio::Server::Yum;
use Mojo::Base 'Mojolicious';
use Data::Dumper;
use JSON::XS;
use File::Spec;
use Params::Validate qw(:all);
use File::Basename 'dirname';
use File::Spec::Functions 'catdir';
our $VER... | gitpan/Rex-Repositorio | lib/Rex/Repositorio/Server/Yum.pm | Perl | apache-2.0 | 1,146 |
#!/usr/bin/perl --
#!/usr/bin/perl --
use strict;
use warnings;
use autodie qw/ chdir /;
use Data::Dump qw/ dd pp /;
use Path::Tiny qw/ path /;
require 'ppixregexplain.pl';
my $here = path( __FILE__ )->realpath->parent;
chdir $here;
my $outfh = path( 'Tools.pm.html' )->openw_raw;
select $outfh;
my $re = path( 'Tools.p... | mishin/presentation | test_re.pl | Perl | apache-2.0 | 374 |
#!/usr/bin/env perl
# Copyright 2005,2006 WSO2, Inc. http://wso2.com
#
# 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 app... | gitpan/WSO2-WSF-Perl | samples/security/complete/complete_sec_client.pl | Perl | apache-2.0 | 1,768 |
package Paws::CodeBuild::Tag;
use Moose;
has Key => (is => 'ro', isa => 'Str', request_name => 'key', traits => ['NameInRequest']);
has Value => (is => 'ro', isa => 'Str', request_name => 'value', traits => ['NameInRequest']);
1;
### main pod documentation begin ###
=head1 NAME
Paws::CodeBuild::Tag
=head1 USA... | ioanrogers/aws-sdk-perl | auto-lib/Paws/CodeBuild/Tag.pm | Perl | apache-2.0 | 1,472 |
# 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/Services/CustomConversionGoalService.pm | Perl | apache-2.0 | 1,135 |
package Google::Ads::AdWords::v201809::ConstantOperand::Unit;
use strict;
use warnings;
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201809'};
# derivation by restriction
use base qw(
SOAP::WSDL::XSD::Typelib::Builtin::string);
1;
__END__
=pod
=head1 NAME
=head1 DESCRIPTION
Perl data type... | googleads/googleads-perl-lib | lib/Google/Ads/AdWords/v201809/ConstantOperand/Unit.pm | Perl | apache-2.0 | 1,126 |
=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/HGNCParser.pm | Perl | apache-2.0 | 9,217 |
=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-production | modules/Bio/EnsEMBL/Production/Pipeline/ProteinFeatures/StoreGoXrefs.pm | Perl | apache-2.0 | 3,506 |
use 5.10.0;
use strict;
use warnings;
use lib '../';
# Takes a CADD file and makes it into a bed-like file, retaining the property
# That each base has 3 (or 4 for ambiguous) lines
package Utils::CaddToBed;
our $VERSION = '0.001';
use Mouse 2;
use namespace::autoclean;
use Path::Tiny qw/path/;
use Seq::Tracks::Buil... | wingolab-org/seq2-annotator | lib/Utils/CaddToBed.pm | Perl | apache-2.0 | 3,893 |
=pod
=head1 NAME
MD2, MD4, MD5, MD2_Init, MD2_Update, MD2_Final, MD4_Init, MD4_Update,
MD4_Final, MD5_Init, MD5_Update, MD5_Final - MD2, MD4, and MD5 hash functions
=head1 SYNOPSIS
#include <openssl/md2.h>
The following functions have been deprecated since OpenSSL 3.0, and can be
hidden entirely by defining B<OPE... | openssl/openssl | doc/man3/MD5.pod | Perl | apache-2.0 | 3,618 |
#
# 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 | cloud/azure/network/appgateway/mode/throughput.pm | Perl | apache-2.0 | 4,596 |
:- use_package(library('dclp/and')).
:- use_module(library(prolog_sys), [statistics/2]).
main(X,Y) :-
store([X], 1),
store([Y], 2),
(X in 1..2,
X .>. Y) @ 1,
(Y in 1..2,
X .<>. Y) @ 2,
d_labeling([X,Y]).
| leuschel/ecce | www/CiaoDE/ciao/library/dclp/and/benchmarks/benchmark15.pl | Perl | apache-2.0 | 214 |
=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... | dbolser-ebi/ensembl-compara | modules/Bio/EnsEMBL/Compara/RunnableDB/MemberDisplayLabelUpdater.pm | Perl | apache-2.0 | 10,313 |
#!/usr/bin/perl
#
# Copyright 2006 Dr. Georg Fischer <punctum at punctum dot kom>
#
# 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/LICE... | gfis/ramath | test/experiment/client.pl | Perl | apache-2.0 | 1,885 |
#!/usr/bin/perl
# WARNING: this only handles a single genbank file per program.
# TODO: object-orient this.
package Genbank;
use strict;
use FindBin;
use lib "$FindBin::Bin/..";
use Subfunctions qw(split_seq reverse_complement);
use Data::Dumper;
BEGIN {
require Exporter;
# set the version for version checking
o... | daisieh/phylogenomics | lib/Genbank.pm | Perl | bsd-3-clause | 15,330 |
#!/usr/bin/perl -w
use strict;
use ParseUtils;
# find the file in source directory with the latest update time (mtime)
my ($indir,$outdir) = getFullDataPaths('image_clone');
#open source directory
opendir(INDIR,$indir) or die "Couldn't open directory $indir ($!)\n";
#list of files in source_directory
my @files = re... | NCIP/cabio | software/cabio-database/scripts/parse/no_longer_used/image_clone/IMAGE_Clone_DataParser.pl | Perl | bsd-3-clause | 2,844 |
#
# ServiceClassCommonGrammar.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 ... | jojochuang/eventwave | perl5/Mace/Compiler/ServiceClassCommonGrammar.pm | Perl | bsd-3-clause | 2,202 |
#!/usr/bin/env perl
## Name........: tmesis
## Autor.......: Jens Steube <jens.steube@gmail.com>
## License.....: MIT
use strict;
use warnings;
#tmesis will take a wordlist and produce insertion rules that would insert each word of the wordlist to preset positions.
#For example:
#Word ‘password’ will create insertio... | philsmd/hashcat-utils | src/tmesis.pl | Perl | mit | 1,492 |
/* Part of SWI-Prolog
Author: Jan Wielemaker
E-mail: J.Wielemaker@vu.nl
WWW: http://www.swi-prolog.org
Copyright (c) 1985-2020, University of Amsterdam
VU University Amsterdam
CWI, Amsterdam
All rights reserved.
... | TeamSPoon/logicmoo_workspace | docker/rootfs/usr/local/lib/swipl/boot/autoload.pl | Perl | mit | 29,714 |
package VSAP::Server::Modules::vsap::sys::security;
use 5.008004;
use strict;
use warnings;
use Carp;
use VSAP::Server::Modules::vsap::logger;
our $VERSION = '0.01';
our %_ERR = (
ERR_NOTAUTHORIZED => 100,
);
use constant LOCK_EX => 2;
##########################################################################... | opencpx/opencpx | modules/VSAP-Server-Modules-vsap-sys-security/lib/VSAP/Server/Modules/vsap/sys/security.pm | Perl | apache-2.0 | 5,217 |
#$Id: sortEachShutdownTime.pl,v 1.1 2002-02-25 16:48:04 wilsonp Exp $
#!/usr/remote/bin/perl
$header = <STDIN>;
$sep = <STDIN>;
chop($sep);
@lines = <STDIN>;
$total = $lines[$#lines];
@isotopes = @lines[0..$#lines-2];
$columns = split(/\s+/,$total)-1;
$header = expand_header($columns,$header);
$total = expand_to... | elliottbiondo/ALARA | tools/sortEachShutdownTime.pl | Perl | bsd-3-clause | 1,928 |
# $Id: RFC2806.pm,v 2.102 2008/05/23 21:30:10 abigail Exp $
package Regexp::Common::URI::RFC2806;
use strict;
local $^W = 1;
use Regexp::Common::URI::RFC1035 qw /$domain/;
use Regexp::Common::URI::RFC2396 qw /$unreserved $escaped $hex/;
use vars qw /$VERSION @EXPORT @EXPORT_OK %EXPORT_TAGS @ISA/;
use Exporter ();
... | schwern/Regexp-Common | lib/Regexp/Common/URI/RFC2806.pm | Perl | mit | 8,384 |
package IO::Compress::RawDeflate ;
# create RFC1951
#
use strict ;
use warnings;
use bytes;
use IO::Compress::Base 2.069 ;
use IO::Compress::Base::Common 2.069 qw(:Status );
use IO::Compress::Adapter::Deflate 2.069 ;
require Exporter ;
our ($VERSION, @ISA, @EXPORT_OK, %DEFLATE_CONSTANTS, %EXPORT_TAGS, $RawDeflateE... | operepo/ope | bin/usr/share/perl5/core_perl/IO/Compress/RawDeflate.pm | Perl | mit | 25,761 |
#
# 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 | hardware/server/sun/mgmt_cards/mode/showstatus.pm | Perl | apache-2.0 | 8,328 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licen... | ckongEbi/ensembl-compara | modules/Bio/EnsEMBL/Compara/RunnableDB/GeneTrees/GeneGainLossCommon.pm | Perl | apache-2.0 | 7,901 |
package API::Division;
use UI::Utils;
use UI::Division;
use Mojo::Base 'Mojolicious::Controller';
use Data::Dumper;
use JSON;
use MojoPlugins::Response;
sub index {
my $self = shift;
my @data;
my $orderby = $self->param('orderby') || "name";
my $rs_data = $self->db->resultset("Division")->search( undef, { order_b... | dneuman64/traffic_control | traffic_ops/app/lib/API/Division.pm | Perl | apache-2.0 | 3,530 |
package DDG::Goodie::Wavelength;
# ABSTRACT: Frequency to wavelength
use utf8;
use DDG::Goodie;
use constant SPEED_OF_LIGHT => 299792458; #meters/second
use constant MULTIPLIER => {
hz => 1,
khz => 10**3,
mhz => 10**6,
ghz => 10**9,
thz => 10**12
};
use constant FORMAT_UNITS => {
hz => 'Hz',... | urohit011/zeroclickinfo-goodies | lib/DDG/Goodie/Wavelength.pm | Perl | apache-2.0 | 1,711 |
package DDG::Spice::Betterific;
# ABSTRACT: Crowd-sourced innovation ideas
use strict;
use DDG::Spice;
name "betterific";
description "Search Betterific for smart, innovative ideas to improve products and services.";
source "betterific";
primary_example_queries "betterific Arby's";
secondary_example_queries "betterif... | jyounker/zeroclickinfo-spice | lib/DDG/Spice/Betterific.pm | Perl | apache-2.0 | 1,009 |
package CGI::OptimalQuery::EmailMergeTool;
use strict;
use warnings;
use CGI();
use Mail::Sendmail();
use JSON::XS;
no warnings qw( uninitialized );
=comment
A ready to use tool that enhances CGI::OptimalQuery to allow users to create email merges from recordsets. EmailMergeTool also integrates with the AutomatedAc... | gitpan/CGI-OptimalQuery | lib/CGI/OptimalQuery/EmailMergeTool.pm | Perl | mit | 14,048 |
#!/usr/bin/perl
#
use FindBin qw($Bin);
#BEGIN {
# $ENV{'LD_LIBRARY_PATH'}.="$Bin/../lib/";# loading bamtools lib
# exec($^X, $0, @ARGV);
#}
$EXT = "$Bin/../../external_bin";
$BAM = shift@ARGV;
$BARCODE = $BAM.".AEGIS";
$FA_BWT = shift@ARGV; #just name
$FA = shift@ARGV;
$GAPFILE = "$Bin/../data/GAP_20140416";
#$GAPFI... | ma-compbio/Weaver | Weaver_SV/bin/AEGIS_DREAM.pl | Perl | mit | 2,707 |
use strict;
use Data::Dumper;
use Bio::KBase::GenomeAnnotation::GenomeAnnotationImpl;
use Bio::KBase::HandleService;
use JSON::XS;
use File::Slurp qw(read_file write_file);
use File::Temp ':POSIX';
use IO::File;
use Capture::Tiny 'capture';
@ARGV == 2 or @ARGV == 4 or die "Usage: $0 genome-workflow-file output-file [s... | kbase/genome_annotation | service-scripts/rast_run_pipeline_local.pl | Perl | mit | 4,490 |
/* Part of Extended Libraries for SWI-Prolog
Author: Edison Mera Menendez
E-mail: efmera@gmail.com
WWW: https://github.com/edisonm/xlibrary
Copyright (C): 2014, Process Design Center, Breda, The Netherlands.
All rights reserved.
Redistribution and use in source and bin... | TeamSPoon/logicmoo_workspace | packs_lib/xlibrary/prolog/group_pairs_or_sort.pl | Perl | mit | 2,247 |
#!/usr/bin/perl -w
$count = 0;
foreach $line (<STDIN>){
chomp($line);
if ($line ne ""){
@string = ();
@string = split /[^a-zA-Z]+/, $line;
@string = grep { $_ ne '' } @string;
if ($#string ne -1){
$count = scalar(@string) + $count;
}
#print join( ",", @string);
#print $count;
#print "\n";
}
}
p... | Knln/COMP2041 | testinglab6/total_words.pl | Perl | mit | 339 |
% vim: filetype=prolog
% Count numbers that are doubled odd numbers.
main :-
new(Dir, directory('.')),
new(Frame, frame('Select file')),
new(Browser, browser),
new(Dialog, dialog),
send(Dialog, append(button(
'Process!', message(@prolog, processfile, Browser?selection?key))
)),
send(Dialog, appen... | MPogoda/prolog-labs | lab1/lab1.pl | Perl | mit | 1,466 |
#!/usr/bin/env perl
$infile = $ARGV[0];
$outname = $infile if (! $outname);
open(IN, $infile) || die;
open(GENE, ">$outname.gene") || die;
open(TIT, ">$outname.tit") || die;
while(<IN>){
chomp;
if (/^>\s*(\S.*)/) {
($name0,$title0) = split(/\s+/, $1, 2);
if ($seq) {
($sp, $gene) = split(/:/, $name);
$seqlen... | PatrickRWright/CopraRNA | coprarna_aux/fasta2genefile.pl | Perl | mit | 659 |
=head NAME
URI::Title::PDF - get titles of PDF files
=cut
package URI::Title::PDF;
use warnings;
use strict;
sub types {(
'application/pdf',
)}
sub title {
my ($class, $url, $data, $type) = @_;
my %fields = ();
my $content = URI::Title::get_end($url) or return;
foreach my $i (qw(Producer Creator Creatio... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/URI/Title/PDF.pm | Perl | mit | 989 |
#!/usr/bin/perl -w
##########################################################
# Author : Aurelie Kapusta
# version : see below / see change log
# email : 4urelie.k@gmail.com
# PURPOSE : Extract random pieces of sequences, typically from a genome
##########################################################
u... | 4ureliek/Fasta | fasta_extract_random_pieces.pl | Perl | mit | 10,828 |
check_header "unistd.h";
check_header "errno.h";
check_header "string.h";
check_header "stdlib.h";
needs_static_init;
1;
| slash-lang/slash | ext/posix/configure.pl | Perl | mit | 123 |
package WeblioSearch::DB;
use parent 'Teng';
__PACKAGE__->load_plugin('SearchBySQLAbstractMore');
1; | mshige1979/WeblioRank | weblio_search_web/lib/WeblioSearch/DB.pm | Perl | mit | 100 |
%[a,b,c]=[T|Q].
%[a,b,c]=[T1,T2|Q].
%[a,b,c]=[T1,T2,T3|Q].
% Informations sur les listes
liste([]).
liste([_|Q]):- liste(Q).
premier(X,[X,_]).
dernier(X,[_,X]).
dernier(X,[_|Q]):-liste(Q),dernier(X,Q).
longueur(0,[]).
longueur(N,[_|Q]):- longueur(M,Q),N is M+1.
dans(X,[T|Q]):-premier(X,[T|Q]);dans(X,Q).
% ... | kwnovi/prolog | IA_TP2.pl | Perl | mit | 643 |
#!/usr/bin/env perl
#
# Author: Txor <txorlings@gmail.com>
#
use strict;
use warnings;
use MIME::Base64;
use utf8;
binmode STDOUT, ":utf8";
# Check program agruments
die "Wrong number of arguments" unless $ARGV[0];
die "Can't read $ARGV[0]" unless -r $ARGV[0];
# Read the file
open FILE, $ARGV[0] or die $!;
my @line... | txor/talks | Perl/logParser/logParser.pl | Perl | cc0-1.0 | 1,705 |
# Copyright 2020, Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | googleads/google-ads-perl | lib/Google/Ads/GoogleAds/V10/Common/SitelinkFeedItem.pm | Perl | apache-2.0 | 1,389 |
=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.
You may obta... | muffato/public-plugins | admin/modules/EnsEMBL/Web/Configuration/Webdata.pm | Perl | apache-2.0 | 873 |
#
# 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/video/zixi/restapi/plugin.pm | Perl | apache-2.0 | 1,858 |
package B::Hooks::EndOfScope::PP;
# ABSTRACT: Execute code after a scope finished compilation - PP implementation
use warnings;
use strict;
our $VERSION = '0.14';
use Module::Runtime 'require_module';
use constant _PERL_VERSION => "$]";
BEGIN {
if (_PERL_VERSION =~ /^5\.009/) {
# CBA to figure out where %^H g... | ray66rus/vndrv | local/lib/perl5/B/Hooks/EndOfScope/PP.pm | Perl | apache-2.0 | 3,205 |
#!/usr/bin/env perl
# Copyright 2015 Petr, Frank Breedijk
#
# 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 ... | vlamer/Seccubus_v2 | json/getAsset2Scan.pl | Perl | apache-2.0 | 1,658 |
=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/DBSQL/BaseMetaContainer.pm | Perl | apache-2.0 | 10,954 |
#!"E:\xampp\perl\bin\perl.exe"
use HTML::Perlinfo;
use CGI qw(header);
$q = new CGI;
print $q->header;
$p = new HTML::Perlinfo;
$p->info_general;
$p->info_variables;
$p->info_modules;
$p->info_license;
| ArcherCraftStore/ArcherVMPeridot | htdocs/xampp/perlinfo.pl | Perl | apache-2.0 | 205 |
=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... | dbolser-ebi/ensembl-variation | modules/Bio/EnsEMBL/Variation/DBSQL/SupportingStructuralVariationAdaptor.pm | Perl | apache-2.0 | 8,664 |
#
# 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 | os/mac/snmp/plugin.pm | Perl | apache-2.0 | 2,619 |
package RPi::PIGPIO;
=head1 NAME
RPi::PIGPIO - remotely control the GPIO on a RaspberryPi using the pigpiod daemon
=head1 DESCRIPTION
This module impements a client for the pigpiod daemon, and can be used to control
the GPIO on a local or remote RaspberryPi
On every RapberryPi that you want to use you must have p... | gliganh/RPi-PIGPIO | lib/RPi/PIGPIO.pm | Perl | apache-2.0 | 37,602 |
package Bio::EnsEMBL::Funcgen::RunnableDB::PeakCalling::BrIdrComputePeakCallingInputs;
use strict;
use base 'Bio::EnsEMBL::Hive::Process';
use Data::Dumper;
use constant {
BRANCH_ALIGN_ALL_READ_FILES => 3,
BRANCH_ALIGN_REPLICATES_FOR_IDR => 2,
BRANCH_RUN_IDR_PEAK_CALLING => 4,
};
sub run {
my $self ... | Ensembl/ensembl-funcgen | modules/Bio/EnsEMBL/Funcgen/RunnableDB/PeakCalling/BrIdrComputePeakCallingInputs.pm | Perl | apache-2.0 | 1,263 |
#! /usr/bin/env perl
=head1 NAME
ExtractSubtree<.pl>
=head1 USAGE
ExtractSubtree.pl -t <input tree> -ld <rooting life domain> -o <Output file>
ExtractSubtree.pl [options -v,-d,-h] <ARGS>
=head1 SYNOPSIS
This script cuts out a section of the input newick tree(s) and outputs as a new newick file, as decided by a l... | adamsardar/TreeFuncs | ExtractSubtree.pl | Perl | apache-2.0 | 5,443 |
package Paws::SSM::UpdateAssociationStatus;
use Moose;
has AssociationStatus => (is => 'ro', isa => 'Paws::SSM::AssociationStatus', required => 1);
has InstanceId => (is => 'ro', isa => 'Str', required => 1);
has Name => (is => 'ro', isa => 'Str', required => 1);
use MooseX::ClassAttribute;
class_has _ap... | ioanrogers/aws-sdk-perl | auto-lib/Paws/SSM/UpdateAssociationStatus.pm | Perl | apache-2.0 | 2,000 |
$_ = "Yabba dabba doo\n";
print;
| kkdg/perl-jogging | 01/0124/_.pl | Perl | apache-2.0 | 33 |
package InfoProcessing;
use strict;
################################################################################
#
# P E R L M O D U L E
#
################################################################################
#
# DATE OF ORIGIN : Mar 18, 2015
#
#-----------------------------... | henk52/virman | bin/InfoProcessing.pm | Perl | apache-2.0 | 9,582 |
#
# Copyright 2018 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | wilfriedcomte/centreon-plugins | storage/qnap/snmp/mode/memory.pm | Perl | apache-2.0 | 4,922 |
#!/bin/perl
use strict;
my $version = shift;
my %author_url = (
'AlexElin' => 'https://github.com/AlexElin',
'aryabukhin' => 'https://github.com/aryabukhin',
'bd-infor' => 'https://github.com/bd-infor',
'Christian Ullrich' => 'https://github.com/chrullrich',
'Christopher Deckers' => 'https://github.com/Chrr... | jamesthomp/pgjdbc | release_notes_filter.pl | Perl | bsd-2-clause | 2,799 |
package OpenResty::Backend::Empty;
use strict;
use warnings;
#use Smart::Comments '####';
use base 'OpenResty::Backend::Base';
sub new {
my $class = shift;
return bless {}, $class;
}
sub ping {
1;
}
sub select {
1;
}
sub do {
1;
}
sub quote {
my ($self, $val) = @_;
if (!defined $val) ... | agentzh/old-openresty | lib/OpenResty/Backend/Empty.pm | Perl | bsd-3-clause | 1,288 |
#!/usr/bin/env perl
#
# ====================================================================
# Written by Andy Polyakov <appro@fy.chalmers.se> for the OpenSSL
# project. The module is, however, dual licensed under OpenSSL and
# CRYPTOGAMS licenses depending on where you obtain it. For further
# details see http://www.o... | luwanjia/sdl_implementation_reference | src/3rd_party-static/openssl-fips-2.0.9/crypto/rc4/asm/rc4-x86_64.pl | Perl | bsd-3-clause | 15,726 |
package Net::PMP::Credentials;
use Moose;
use Carp;
use Data::Dump qw( dump );
has 'token_expires_in' => ( is => 'ro', isa => 'Int', required => 1, );
has 'client_id' => ( is => 'ro', isa => 'Str', required => 1, );
has 'client_secret' => ( is => 'ro', isa => 'Str', required => 1, );
has 'label' =... | gitpan/Net-PMP | lib/Net/PMP/Credentials.pm | Perl | mit | 2,141 |
use strict;
package ENKI;
use ENKI::Status;
use Nginx::Simple;
use LWP::UserAgent;
use HTTP::Cookies;
use HTTP::Request::Common;
use URI;
use Perl6::Slurp qw(slurp);
sub main # mandatory
{
my $self = shift;
$self->header_set('Content-Type' => 'text/plain');
my @uris = split(/\//, ... | slaught/enki_cloud | node_status/perl/ENKI.pm | Perl | mit | 1,508 |
#!/usr/bin/perl
package adjacency;
BEGIN {
push(@INC, "../../../lib");
}
use strict;
use ConfigCommon;
use ConfigDB;
use ConfigQueryISIS;
my $cq = new ConfigQueryISIS;
sub new {
my ($class) = @_;
my $self = {};
bless ($self, $class);
return $self;
}
# Check that all edges are bi-directional
su... | noise-lab/rcc | perl/src/queries/modules/isis/adjacency.pm | Perl | mit | 8,563 |
#!/usr/bin/env perl
use strict;
use warnings;
use v5.10;
use lib 'auto-lib', 'lib';
use Paws;
use Future;
#use Mojo::IOLoop;
#use Paws::Net::MojoAsyncCaller;
use Data::Dumper;
#my $loop = Mojo::IOLoop->new;
#my $aws = Paws->new(config => { caller => Paws::Net::MojoAsyncCaller->new(loop => $loop) } );
my $aws = P... | ioanrogers/aws-sdk-perl | examples/async-sg.pl | Perl | apache-2.0 | 1,537 |
# Copyright 2014 - present MongoDB, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed t... | xdg/mongo-perl-driver | lib/MongoDB/Op/_ListCollections.pm | Perl | apache-2.0 | 4,255 |
print "Is '^[0-9]+\$' mathed by '123456'?\n";
if ("123456" =~ /^[0-9]+$/){
print "yes";
}else{
print "no";
}
print "Groups of '^([a-z]+)\\-(\\d+)\$' found in 'abcdef-12345'\n";
@matches = ("abcdef-12345" =~ /^([a-z]+)\-(\d+)$/);
$matchCount = @matches;
print "Found $matchCount groups.\n";
foreach $groupIndex (... | Bigsby/HelloLanguages | src/pl/regex.pl | Perl | apache-2.0 | 408 |
package TestModperl::subenv;
use strict;
use warnings FATAL => 'all';
use Apache2::RequestRec ();
use APR::Table ();
use Apache::Test;
use Apache2::Const -compile => 'OK';
sub handler {
my $r = shift;
plan $r, tests => 31;
# subprocess_env in void context with arguments does
# nothing to %ENV
... | Distrotech/mod_perl | t/response/TestModperl/subenv.pm | Perl | apache-2.0 | 2,389 |
# Copyright 2017 - present MongoDB, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed t... | dagolden/mongo-perl-driver | .evergreen/lib/EvergreenHelper.pm | Perl | apache-2.0 | 6,086 |
#
# Copyright 2017 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | nichols-356/centreon-plugins | storage/ibm/storwize/ssh/mode/components/node.pm | Perl | apache-2.0 | 2,271 |
#
# 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 | network/securactive/mode/listbca.pm | Perl | apache-2.0 | 3,912 |
=pod
=head1 NAME
OSSL_CRMF_MSG_get0_regCtrl_regToken,
OSSL_CRMF_MSG_set1_regCtrl_regToken,
OSSL_CRMF_MSG_get0_regCtrl_authenticator,
OSSL_CRMF_MSG_set1_regCtrl_authenticator,
OSSL_CRMF_MSG_PKIPublicationInfo_push0_SinglePubInfo,
OSSL_CRMF_MSG_set0_SinglePubInfo,
OSSL_CRMF_MSG_set_PKIPublicationInfo_action,
OSSL_CRMF_... | jens-maus/amissl | openssl/doc/man3/OSSL_CRMF_MSG_set1_regCtrl_regToken.pod | Perl | bsd-3-clause | 5,282 |
# This file is auto-generated by the Perl DateTime Suite time zone
# code generator (0.07) This code generator comes with the
# DateTime::TimeZone module distribution in the tools/ directory
#
# Generated from /tmp/ympzZnp0Uq/southamerica. Olson data version 2012c
#
# Do not edit this file directly.
#
package DateTim... | leighpauls/k2cro4 | third_party/perl/perl/vendor/lib/DateTime/TimeZone/America/Aruba.pm | Perl | bsd-3-clause | 1,098 |
# This file is auto-generated by the Perl DateTime Suite time zone
# code generator (0.07) This code generator comes with the
# DateTime::TimeZone module distribution in the tools/ directory
#
# Generated from /tmp/rnClxBLdxJ/australasia. Olson data version 2013a
#
# Do not edit this file directly.
#
package DateTime... | Dokaponteam/ITF_Project | xampp/perl/vendor/lib/DateTime/TimeZone/Pacific/Fakaofo.pm | Perl | mit | 1,493 |
# !!!!!!! 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/Jt/D.pl | Perl | mit | 738 |
#! /usr/bin/env perl
# Copyright 2005-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/bn/asm/x86-mont.pl | Perl | mit | 17,701 |
#!/usr/bin/perl
my $status = 200;
if (defined $ENV{"QUERY_STRING"}) {
$status = $ENV{"QUERY_STRING"};
}
print "HTTP/1.0 ".$status." FooBar\r\n";
print "\r\n";
| ctdk/lighttpd-1.4.x | tests/docroot/www/nph-status.pl | Perl | bsd-3-clause | 163 |
=pod
=head1 NAME
SSL_CTX_set_tmp_rsa_callback, SSL_CTX_set_tmp_rsa, SSL_CTX_need_tmp_rsa, SSL_set_tmp_rsa_callback, SSL_set_tmp_rsa, SSL_need_tmp_rsa - handle RSA keys for ephemeral key exchange
=head1 SYNOPSIS
#include <openssl/ssl.h>
void SSL_CTX_set_tmp_rsa_callback(SSL_CTX *ctx,
RSA *(*tmp_rsa_ca... | Gum-Joe/nodegit | vendor/openssl/openssl/doc/ssl/SSL_CTX_set_tmp_rsa_callback.pod | Perl | mit | 6,146 |
use warnings;
use strict;
my $verbose_flag = 0;
my $hashing_value = 100000;
my %all_features;
my %enst2type;
my %enst2ensg;
my %ensg2name;
my %ensg2type;
my $clip_fi1 = $ARGV[0];
my $output_fi = $ARGV[1];
if (-e $output_fi) {
print STDERR "$output_fi already exists, skipping...\n";
exit;
}
open(OUT,">$outp... | YeoLab/gscripts | gscripts/rnaseq/count_reads_broadfeatures_frombamfi.pl | Perl | mit | 13,431 |
package Nibelite::App;
use 5.8.0;
use strict;
use warnings;
use base qw(NetSDS::App);
use constant CONF_DIR => '/opt/nibelite/etc';
=head1 NAME
Nibelite::App - easy to use development API for Nibelite
=head1 SYNOPSIS
use base 'Nibelite::App';
sub process {
my ($this) = @_;
print $this->app_conf_param('sec... | blinohod/nibelite | nibelite/lib/perl/Nibelite/App.pm | Perl | mit | 5,327 |
package AgentSMS::Page;
use strict;
use warnings;
use Carp;
use English qw( -no_match_vars );
use Params::Validate qw( :all );
use Readonly;
use LWP::UserAgent;
use URI::URL;
use AgentSMS::Config;
use AgentSMS::Utils;
Readonly::Scalar my $STATUS_OK => q{OK};
Readonly::Scalar my $METHOD_GET => q{get};
Readonly::Sc... | maxim-komar/agentsms-utils | lib/AgentSMS/Page.pm | Perl | mit | 3,342 |
:- module(
graph_ext,
[
arcs_to_vertices/2, % +Arcs, -Vertices
edges_to_vertices/2 % +Edges, -Vertices
]
).
/** <module> Generic support for graphs
*/
:- use_module(library(aggregate)).
:- use_module(library(lists)).
%! arcs_to_vertices(+Arcs:list(compound), -Vertices:ordset) is det.
arcs_to_ver... | wouterbeek/Prolog_Library_Collection | prolog/graph_ext.pl | Perl | mit | 713 |
#!/usr/bin/env perl
#
# file.pl - demostrate how iterator was used with match option
#
# Copyright (c) 2015, Oxnz
# 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... | oxnz/design-patterns | src/iterator/perl/file.pl | Perl | mit | 1,532 |
% From E:
%
% ':-'(call_pel_directive(translate(unskipped,'/mnt/sdc1/logicmoo_workspace.1/packs_sys/logicmoo_ec/ext/ec_sources/ecnet/Book.lps.pl'))).
:- call_pel_directive(translate(unskipped,
'/mnt/sdc1/logicmoo_workspace.1/packs_sys/logicmoo_ec/ext/ec_sources/ecnet/Book.lps.pl')).
:-... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_ec/ext/ec_sources/ecnet/Book.lps.pl | Perl | mit | 12,824 |
# 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/Enums/HotelDateSelectionTypeEnum.pm | Perl | apache-2.0 | 868 |
# 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 obtain a... | james-monkeyshines/ensembl-analysis | modules/Bio/EnsEMBL/Analysis/RunnableDB/BWA2BAM.pm | Perl | apache-2.0 | 3,022 |
#
# 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 | apps/protocols/smtp/plugin.pm | Perl | apache-2.0 | 1,283 |
#
# 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/centreon/local/mode/metaservice.pm | Perl | apache-2.0 | 9,434 |
use strict;
use warnings;
use FileHandle;
my $dumps = {};
my $fh = FileHandle->new("/hps/nobackup/production/ensembl/anja/release_90/sheep/split_dumps/24_1000.txt", 'r');
while (<$fh>) {
chomp;
$dumps->{$_} = 1;
}
$fh->close;
$fh = FileHandle->new("/hps/nobackup/production/ensembl/anja/release_90/sheep/dumps/2... | at7/work | api/compare_files.pl | Perl | apache-2.0 | 427 |
package EnsEMBL::Web::Document::FileCache;
use strict;
use warnings;
use Fcntl ':flock';
my $debug = 0;
sub read_html {
my $self = shift;
my $refresh_period = $_[0] || 86400;
my $classname= (split/::/, ref($self))[-1];
my $content;
my $time = time();
my $filename = "$SiteDefs::ENSEMBL_TMP_DIR/$classname.ht... | EnsemblGenomes/eg-web-parasite | modules/EnsEMBL/Web/Document/FileCache.pm | Perl | apache-2.0 | 1,242 |
#
# 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/fortinet/fortiauthenticator/snmp/mode/memory.pm | Perl | apache-2.0 | 2,158 |
# 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/ConversionUploadService/ExternalAttributionData.pm | Perl | apache-2.0 | 1,161 |
#
# 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 | storage/emc/symmetrix/vmax/local/plugin.pm | Perl | apache-2.0 | 1,311 |
#
# 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 | storage/hp/3par/ssh/mode/diskusage.pm | Perl | apache-2.0 | 7,296 |
=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/BaseAge/BigBed.pm | Perl | apache-2.0 | 2,431 |
=encoding utf-8
=head1 Name
lua-resty-core - New FFI-based Lua API for the ngx_lua module
=head1 Status
This library is production ready and under active development.
=head1 Synopsis
# nginx.conf
http {
# you do NOT need to configure the following line when you
# a... | LomoX-Offical/nginx-openresty-windows | src/pod/lua-resty-core-0.1.9/lua-resty-core-0.1.9.pod | Perl | bsd-2-clause | 9,649 |
#!/usr/bin/perl -w
#
# MD5 optimized for AMD64.
#
# Author: Marc Bevand <bevand_m (at) epita.fr>
# Licence: I hereby disclaim the copyright on this code and place it
# in the public domain.
#
use strict;
my $code;
# round1_step() does:
# dst = x + ((dst + F(x,y,z) + X[k] + T_i) <<< s)
# %r10d = X[... | caidongyun/nginx-openresty-windows | nginx/objs/lib/openssl-1.0.1g/crypto/md5/asm/md5-x86_64.pl | Perl | bsd-2-clause | 12,818 |
package Sisimai::Lhost::SendGrid;
use parent 'Sisimai::Lhost';
use feature ':5.10';
use strict;
use warnings;
sub description { 'SendGrid: https://sendgrid.com/' }
sub make {
# Detect an error from SendGrid
# @param [Hash] mhead Message headers of a bounce email
# @param [String] mbody Message bo... | sisimai/p5-Sisimai | lib/Sisimai/Lhost/SendGrid.pm | Perl | bsd-2-clause | 8,067 |
#!/usr/bin/perl -w
use strict;
use Data::Dumper;
use lib './lib';
use Funknet::Node;
my %networks;
my %transit_networks;
my @node_objects;
my @cnode_objects;
my @tunnels;
my @autnums;
my @required_node_values = qw/ endpoint mntner name networks /;
my @required_cnode_values = qw/ endpoint mntner name transit_networ... | chrisa/funknet-tools | bin/create_vpn_objects.pl | Perl | bsd-3-clause | 2,652 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.