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 MojoPlugins::Validation;
#
#
# 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 wri... | knutsel/traffic_control-1 | traffic_ops/app/lib/MojoPlugins/Validation.pm | Perl | apache-2.0 | 3,361 |
#!/usr/bin/perl
print "Status: 200 OK\r\n";
print "Set-Cookie: name=value; SameSite=Lax\r\n\r\n";
| chromium/chromium | third_party/blink/web_tests/http/tests/inspector-protocol/network/resources/cookie-same-site.pl | Perl | bsd-3-clause | 99 |
# !!!!!!! 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 ... | liuyangning/WX_web | xampp/perl/lib/unicore/lib/Nv/4.pl | Perl | mit | 1,075 |
# 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/source/license.html
use ... | openweave/openweave-core | third_party/openssl/openssl/util/TLSProxy/ClientHello.pm | Perl | apache-2.0 | 6,098 |
%<?
% ===================================================================
% File 'e2c_sem.pl'
% Purpose: Attempto Controlled English to CycL conversions from SWI-Prolog
% This implementation is an incomplete proxy for CycNL and likely will not work as well
% Maintainer: Douglas Miles
% Contact: $Author: dmiles $@users.... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/prolog/logicmoo_nlu/e2c/logicmoo_cyc_nl_sem.pl | Perl | mit | 145,457 |
% Compile the main Regulus code
:- compile('$REGULUS/Prolog/load').
% Load stuff, split corpus, run batch speech test on in-coverage data
:- regulus_batch('$REGULUS/Examples/Calendar/scripts/calendar_slm.cfg',
["EBL_LOAD",
"LOAD_DIALOGUE",
"SPLIT_SPEECH_CORPUS .MAIN in_coverage out_of_coverage",
"DUMP_... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/ext/regulus/Examples/Calendar/scripts/run_speech_test_slm.pl | Perl | mit | 400 |
package DataSplitValidateHashTest1;
use strict;
use warnings;
use Test::More ();
use parent 'Test::Data::Split::Backend::ValidateHash';
my %hash = ();
sub get_hash
{
return \%hash;
}
sub run_id
{
my ( $self, $id ) = @_;
my $data = $self->lookup_data($id);
Test::More::is( $data->{a} + $data->{b},... | shlomif/perl-Test-Data-Split | Test-Data-Split/t/lib/DataSplitValidateHashTest1.pm | Perl | mit | 566 |
##############################################################################
# $URL: http://perlcritic.tigris.org/svn/perlcritic/trunk/distributions/Perl-Critic/lib/Perl/Critic/Policy/RegularExpressions/ProhibitComplexRegexes.pm $
# $Date: 2012-07-02 22:16:39 -0700 (Mon, 02 Jul 2012) $
# $Author: thaljef $... | amidoimidazol/bio_info | Beginning Perl for Bioinformatics/lib/Perl/Critic/Policy/RegularExpressions/ProhibitComplexRegexes.pm | Perl | mit | 7,795 |
# -*- mode: perl; coding: utf-8-unix -*-
#
# Author: Peter John Acklam
# Time-stamp: 2009-03-30 16:22:42 +02:00
# E-mail: pjacklam@online.no
# URL: http://home.online.no/~pjacklam
=pod
=head1 NAME
CompBio::SpecFun::Beta - beta, log(beta) and incomplete beta functions
=head1 SYNOPSIS
use Comp... | bartongroup/profDGE48 | Modules/Beta.pm | Perl | mit | 9,118 |
No information available about domain name umpirsky-wisdom.pl in the Registry NASK database.
WHOIS displays data with a delay not exceeding 15 minutes in relation to the .pl Registry system
Registrant data available at http://dns.pl/cgi-bin/en_whois.pl
| umpirsky/wisdom | tests/Wisdom/Fixtures/whois/umpirsky-wisdom.pl | Perl | mit | 258 |
=head
Copyright (c) 2014 Dennis Hoppe
www.dennis-hoppe.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge,... | hopped/rabbitmq-avro | src/main/perl/RPCServer.pl | Perl | mit | 4,287 |
#!/usr/bin/perl
use File::Copy;
use strict;
use warnings;
use Cwd;
my $dst = "C:/Users/jnhuy/Nextcloud/HR Profile/";
my $dir = cwd();
opendir(DIR, $dir);
my @files = readdir(DIR);
closedir(DIR);
if ( ! -d $dst )
{
print ( $dst . " does not exist" );
exit(-1);
}
foreach my $f (@files) {
if ... | mrjohnnyhuynh/scripts | movehr.pl | Perl | mit | 458 |
package O2;
use strict;
use base 'Exporter';
our @EXPORT_OK = qw($context $o2 $cgi $db $config $session $CONTEXT $O2 $CGI $DB $CONFIG $SESSION);
our ($context, $o2, $cgi, $db, $config, $session); # Use lowercase
our ($CONTEXT, $O2, $CGI, $DB, $CONFIG, $SESSION); # or uppercase
my %DEBUG_TYPE; # Key: caller-packag... | haakonsk/O2-Framework | lib/O2.pm | Perl | mit | 5,339 |
transfer_lexicon([utterance_type, command], [utterance_type, command]).
transfer_lexicon([utterance_type, query], [utterance_type, query]).
transfer_lexicon([state, be], [state, vara]).
transfer_lexicon([action, dim], [action, vrid_ner]).
macro(light_dependent_rule(From, LightVersion, NonLightVersion),
( tran... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/ext/regulus/Examples/Toy1/Prolog/interlingua_to_swe.pl | Perl | mit | 1,088 |
#!/usr/bin/perl -W
use strict;
use warnings 'all';
use CGI;
#use utf8;
my $cgi = new CGI;
print $cgi->header(-type => "image/png");
#print $cgi->header();
use CGI::Carp 'fatalsToBrowser';
use JSON;
use File::Path qw{mkpath}; # make_path
use GD;
use Encode;
#use GD::Simple;
# create a new image
sub calculate_max_f... | dimpu/AravindCom | FormBuilder/js/signature_component/processors/gd2.pl | Perl | mit | 2,657 |
# File: ParseDate.pm
#
# Purpose: Just a simple interface to test/play with PBot::Core::Utils::ParseDate
# and make sure it's working properly.
#
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
# SPDX-License-Identifier: MIT
package PBot::Plugin::ParseDate;
use parent 'PBot::Plugin::Base';
use ... | pragma-/pbot | lib/PBot/Plugin/ParseDate.pm | Perl | mit | 905 |
# !!!!!!! 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/Lb/PO.pl | Perl | mit | 733 |
# 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/OfflineUserDataJobStatusEnum.pm | Perl | apache-2.0 | 885 |
=head1 LICENSE
# Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
# Copyright [2016-2022] EMBL-European Bioinformatics Institute
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# ... | Ensembl/ensembl-analysis | modules/Bio/EnsEMBL/Analysis/RunnableDB/BlastGenscanDNA.pm | Perl | apache-2.0 | 3,237 |
package TestCGI;
use Moose;
use JSON;
use Data::Dumper;
use Log::Log4perl qw(:easy);
use URI::Escape;
use LWP::UserAgent;
has json => (
is => 'rw',
isa => 'Object',
default => sub { return JSON->new()->utf8; }
);
has wf_token => (
is => 'rw',
isa => 'Str',
lazy => 1,
default => ''
);
has... | aleibl/openxpki | qatest/lib/TestCGI.pm | Perl | apache-2.0 | 2,928 |
#
# 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 | database/redis/mode/replication.pm | Perl | apache-2.0 | 6,673 |
#
# 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 | network/dlink/standard/snmp/mode/components/temperature.pm | Perl | apache-2.0 | 2,858 |
#!/usr/bin/perl
#use strict;
# checar somente os de hj
# qdo ainda esta rodando, tempo estimado fica negativo e loko
# DURACAO DO BACKUP: 3/4 do tempo eh conexao, e o resto eh disco
#minuto de inicio de cada backup
#$rmh{counter}{cr}{timer}='01';
#$rmh{counter}{eiserver}{timer}='12';
#$rmh{counter}{entidadejovem}{t... | drecchia/sri | RsyncdMonHelper-0.3/log.pl | Perl | apache-2.0 | 3,685 |
package Paws::ServiceCatalog::ScanProvisionedProducts;
use Moose;
has AcceptLanguage => (is => 'ro', isa => 'Str');
has AccessLevelFilter => (is => 'ro', isa => 'Paws::ServiceCatalog::AccessLevelFilter');
has PageSize => (is => 'ro', isa => 'Int');
has PageToken => (is => 'ro', isa => 'Str');
use MooseX::... | ioanrogers/aws-sdk-perl | auto-lib/Paws/ServiceCatalog/ScanProvisionedProducts.pm | Perl | apache-2.0 | 2,473 |
#
# 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/connector/mode/discovery.pm | Perl | apache-2.0 | 2,261 |
#!/usr/bin/perl
use strict;
use warnings;
#checar argumento
my $param = $ARGV[0];
unless (defined $param ) { print "Insira o caminho do arquivo a ser lido\n"; exit };
unless (-e $param) { print "Não consigo ler o arquivo $param\n"; exit ;}
#####################nao faz nada ainda
my @d=() ;
my @total25=();
m... | jmhenrique/bla | lota.pl | Perl | apache-2.0 | 1,169 |
# Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
# Copyright [2016-2022] EMBL-European Bioinformatics Institute
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a ... | Ensembl/ensembl-hive | scripts/dev/generate_timeline_example_key_transform_file.pl | Perl | apache-2.0 | 2,880 |
=head1 LICENSE
# Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
# Copyright [2016-2022] EMBL-European Bioinformatics Institute
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# Y... | Ensembl/ensembl-analysis | modules/Bio/EnsEMBL/Analysis/Runnable/Sam2Bam.pm | Perl | apache-2.0 | 7,562 |
#
# 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/fastpath/mode/memory.pm | Perl | apache-2.0 | 4,589 |
=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/SampleGenotype.pm | Perl | apache-2.0 | 4,573 |
#!/usr/bin/perl
#
# $Id:$
#
# perl test driver
use Atrshmlog;
$result = Atrshmlog::attach();
$s = shift @ARGV;
$val = Atrshmlog::get_env($s);
print "get env : $val : \n";
$val = Atrshmlog::get_env_shmid();
print "get env : $val : \n";
$val = Atrshmlog::get_env_id_suffix();
print "get env : $val : \n";
print ... | atrsoftgmbh/atrshmlog | perl/src/tests/t_get_env.pl | Perl | apache-2.0 | 353 |
package
TestSchema::Result::SkipEnd;
our $VERSION = '0.11';
use base 'DBIx::Class';
__PACKAGE__->load_components(qw(Core));
__PACKAGE__->table('skip_end');
__PACKAGE__->add_columns(
id => { data_type => 'integer' },
name => { data_type => 'character varying' },
password => { data_type => 'character v... | kforner/CatalystX-ExtJS | t/lib/TestSchema/Result/SkipEnd.pm | Perl | bsd-3-clause | 379 |
#
# Mail::SPF::v1::Record
# SPFv1 record class.
#
# (C) 2005-2008 Julian Mehnle <julian@mehnle.net>
# 2005 Shevek <cpan@anarres.org>
# $Id: Record.pm 50 2008-08-17 21:28:15Z Julian Mehnle $
#
##############################################################################
package Mail::SPF::v1::Record;
=head1 ... | memememomo/Mail-SPF | lib/Mail/SPF/v1/Record.pm | Perl | bsd-3-clause | 3,814 |
#!/usr/bin/perl -w
#### DEBUG
my $DEBUG = 0;
#$DEBUG = 1;
#### TIME
my $time = time();
my $duration = 0;
my $current_time = $time;
=head2
APPLICATION bamToJbrowse
PURPOSE
GENERATE JBROWSE JSON FEATURES FROM REMOTE BAM FILE
INPUT
OUTPUT
NOTES
Bio::DB::Bam::Alignment -... | aguadev/aguadev | bin/jbrowse/bamToJbrowse.pl | Perl | mit | 6,066 |
/*
* Copyright (C) 2002, 2007 Christoph Wernhard
*
* 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)
* any later version.
*
* This program is... | TeamSPoon/logicmoo_base | prolog/logicmoo/tptp/infra/src/task_plan.pl | Perl | mit | 8,921 |
/* Part of XPCE --- The SWI-Prolog GUI toolkit
Author: Jan Wielemaker and Anjo Anjewierden
E-mail: jan@swi.psy.uva.nl
WWW: http://www.swi.psy.uva.nl/projects/xpce/
Copyright (c) 1996-2011, University of Amsterdam
All rights reserved.
Redistribution and use in source a... | TeamSPoon/logicmoo_workspace | docker/rootfs/usr/local/lib/swipl/xpce/prolog/lib/pce_shell.pl | Perl | mit | 3,525 |
#! perl
# Getopt::Long.pm -- Universal options parsing
# Author : Johan Vromans
# Created On : Tue Sep 11 15:00:12 1990
# Last Modified By: Johan Vromans
# Last Modified On: Sat May 27 12:11:39 2017
# Update Count : 1715
# Status : Released
################ Module Preamble ################
... | operepo/ope | client_tools/svc/rc/usr/share/perl5/core_perl/Getopt/Long.pm | Perl | mit | 83,186 |
#TODO: Write the general version, using the work done on the GeneTrack build method
use 5.10.0;
use strict;
use warnings;
package Seq::Tracks::Region::Build;
use Mouse 2;
our $VERSION = '0.001';
#Finish if needed
__PACKAGE__->meta->make_immutable;
1;
| akotlar/bystro | lib/Seq/Tracks/Region/Build.pm | Perl | apache-2.0 | 257 |
# <@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... | apache/spamassassin | lib/Mail/SpamAssassin/AutoWhitelist.pm | Perl | apache-2.0 | 10,113 |
package DDG::Goodie::IsAwesome::Marneus68;
# ABSTRACT: Marneus68's first Goodie
use DDG::Goodie;
zci answer_type => "is_awesome_marneus68";
zci is_cached => 1;
name "IsAwesome Marneus68";
description "My first Goodie, it let's the world know that GitHubUsername is awesome";
primary_example_queries "duckduckhack Ma... | Acidburn0zzz/zeroclickinfo-goodies | lib/DDG/Goodie/IsAwesome/Marneus68.pm | Perl | apache-2.0 | 750 |
package Google::Ads::AdWords::v201406::UserListLogicalRule;
use strict;
use warnings;
__PACKAGE__->_set_element_form_qualified(1);
sub get_xmlns { 'https://adwords.google.com/api/adwords/rm/v201406' };
our $XML_ATTRIBUTE_CLASS;
undef $XML_ATTRIBUTE_CLASS;
sub __get_attr_class {
return $XML_ATTRIBUTE_CLASS;
}
... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201406/UserListLogicalRule.pm | Perl | apache-2.0 | 1,712 |
#
# 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... | maksimatveev/centreon-plugins | storage/storagetek/sl/snmp/mode/components/elevator.pm | Perl | apache-2.0 | 2,841 |
=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/Graph/Node.pm | Perl | apache-2.0 | 12,822 |
package TAP::Parser::SourceHandler;
use strict;
use vars qw($VERSION @ISA);
use TAP::Object ();
use TAP::Parser::Iterator ();
@ISA = qw(TAP::Object);
=head1 NAME
TAP::Parser::SourceHandler - Base class for different TAP source handlers
=head1 VERSION
Version 3.26
=cut
$VERSION = '3.26';
=head1 SYNOP... | Dokaponteam/ITF_Project | xampp/perl/lib/TAP/Parser/SourceHandler.pm | Perl | mit | 5,246 |
package Data::Section::Simple;
use strict;
use 5.008_001;
our $VERSION = '0.05';
use base qw(Exporter);
our @EXPORT_OK = qw(get_data_section);
sub new {
my($class, $pkg) = @_;
bless { package => $pkg || caller }, $class;
}
sub get_data_section {
my $self = ref $_[0] ? shift : __PACKAGE__->new(scalar cal... | edvakf/isu3pre | perl/local/lib/perl5/Data/Section/Simple.pm | Perl | mit | 3,622 |
#!/usr/bin/perl -w
;#
;# ntp.pl,v 3.1 1993/07/06 01:09:09 jbj Exp
;#
;# process loop filter statistics file and either
;# - show statistics periodically using gnuplot
;# - or print a single plot
;#
;# Copyright (c) 1992
;# Rainer Pruy Friedrich-Alexander Universitaet Erlangen-Nuernberg
;#
;#
;###############... | execunix/vinos | external/bsd/ntp/dist/scripts/monitoring/ntp.pl | Perl | apache-2.0 | 12,375 |
=pod
=head1 NAME
Locale::Codes::LangVar - standard codes for language variation identification
=head1 SYNOPSIS
use Locale::Codes::LangVar;
$lvar = code2langvar('acm'); # $lvar gets 'Mesopotamian Arabic'
$code = langvar2code('Mesopotamian Arabic'); # $code gets 'acm'
@codes = all_lang... | leighpauls/k2cro4 | third_party/perl/perl/lib/Locale/Codes/LangVar.pod | Perl | bsd-3-clause | 2,874 |
#!/usr/bin/perl -w
# Copyright 2010 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You may not
# use this file except in compliance with the License. A copy of the License is
# located at
#
# http://aws.amazon.com/apache2.0/
#
... | ravibhure/cookbooks_public_120112 | cookbooks/sys_dns/files/default/dnscurl.pl | Perl | mit | 7,453 |
use strict;
use vars qw($VERSION %IRSSI);
use Irssi qw(signal_add signal_stop signal_continue);
$VERSION = '1.00';
%IRSSI = (
authors => 'Teddy Wing',
contact => 'irssi@teddywing.com',
name => 'HipChat STFU',
description => 'Silences annoying messages originating from HipChat.',
license => 'MI... | teddywing/irssi-hipchat-stfu | hipchat-stfu.pl | Perl | mit | 1,165 |
package CGI::OptimalQuery::InteractiveFilter;
use strict;
use warnings;
no warnings qw( uninitialized );
use base 'CGI::OptimalQuery::Base';
use Data::Dumper;
use DBIx::OptimalQuery();
use CGI();
my $DEFAULT_CSS = <<'TILEND';
<STYLE type="text/css">
/* ----- base functionality ----- */
form.filterForm td.lp_col,
f... | gitpan/CGI-OptimalQuery | lib/CGI/OptimalQuery/InteractiveFilter.pm | Perl | mit | 26,877 |
=head1 NAME
INSTALL - Swish-e Installation Instructions
=head1 OVERVIEW
This document describes how to download, build,
and install Swish-e from source.
Also found below is a basic overview of using Swish-e to index documents,
with pointers to other, more advanced examples.
This document also provides instructions
... | uddhab/swish-e | swish-e-2.4.7/pod/INSTALL.pod | Perl | mit | 49,434 |
=pod
=head1 NAME
SSL_state_string, SSL_state_string_long - get textual description of state of an SSL object
=head1 SYNOPSIS
#include <openssl/ssl.h>
const char *SSL_state_string(const SSL *ssl);
const char *SSL_state_string_long(const SSL *ssl);
=head1 DESCRIPTION
SSL_state_string() returns a 6 letter string... | kipid/blog | nodejs/openssl-master/doc/man3/SSL_state_string.pod | Perl | mit | 1,592 |
:-if(exists_source(library(logicmoo_utils))).
:- if((multifile(baseKB:ignore_file_mpreds/1),dynamic(baseKB:ignore_file_mpreds/1), (prolog_load_context(file,F) -> ain(baseKB:ignore_file_mpreds(F)) ; true))).
:-endif.
:-if((multifile(baseKB:mpred_is_impl_file/1),dynamic(baseKB:mpred_is_impl_file/1),prolog_load_context(fi... | TeamSPoon/logicmoo_workspace | packs_sys/eggdrop/prolog/eggdrop_next.pl | Perl | mit | 48,672 |
package FuseBead::From::PNG::View::JSON;
use strict;
use warnings;
BEGIN {
$FuseBead::From::PNG::VERSION = '0.02';
}
use parent qw(FuseBead::From::PNG::View);
use Data::Debug;
use JSON;
sub print {
my $self = shift;
my %args = ref $_[0] eq 'HASH' ? %{$_[0]} : @_;
return JSON->new->utf8->pretty->e... | gaudeon/FuseBead-From-PNG | lib/FuseBead/From/PNG/View/JSON.pm | Perl | mit | 1,545 |
#! /usr/bin/perl -w
if(open LOG, ">>pl.log") {
# print LOG 'xxx';
select LOG;
print "xxxx\n";
} else {
print 'yyy';
} | yuweijun/learning-programming | language-perl/filehandle.pl | Perl | mit | 121 |
package Eixo::Docker::EventPool;
use strict;
use IO::Handle;
use JSON;
sub new{
return bless({
filter=>$_[1] || undef,
api=>$_[2],
frequency=>$_[3]
}, $_[0]);
}
sub create{
my ($self) = @_;
my ($reader, $writer);
pipe($reader, $writer);
$writer->autoflush(1);
if(my $pid = fork){
close($... | alambike/eixo-docker | lib/Eixo/Docker/EventPool.pm | Perl | apache-2.0 | 1,121 |
use v5.18;
$_ = <<'HERE';
Out "Top 'Middle "Bottom" Middle' Out"
HERE
my @matches;
say "Matched!" if m/
(?(DEFINE)
(?<QUOTE_MARK> ['"])
(?<NOT_QUOTE_MARK> [^'"])
(?<QUOTE>
(
(?<quote>... | mishin/presentation | regex_recursion/012.pl | Perl | apache-2.0 | 661 |
#! /usr/bin/perl
use warnings;
use strict;
use Time::HiRes qw( usleep ualarm gettimeofday tv_interval );
use Fcntl;
use File::Basename;
#-------------------------------------------------------------------
# Daniel Bolanos 2012
# Boulder Language Technologies
#
# description: accumulate statistics for Maximum Likeli... | nlphacker/bavieca | scripts/accumulate.pl | Perl | apache-2.0 | 3,321 |
package Paws::CloudDirectory::RuleParameterMap;
use Moose;
with 'Paws::API::StrToNativeMapParser';
has Map => (is => 'ro', isa => 'HashRef[Maybe[Str]]');
1;
### main pod documentation begin ###
=head1 NAME
Paws::CloudDirectory::RuleParameterMap
=head1 USAGE
This class represents one of two things:
=head3 A... | ioanrogers/aws-sdk-perl | auto-lib/Paws/CloudDirectory/RuleParameterMap.pm | Perl | apache-2.0 | 1,366 |
#
# Copyright 2015 Electric Cloud, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agree... | electric-cloud/EC-Gerrit | src/main/resources/project/server/ECGerrit.pm | Perl | apache-2.0 | 68,867 |
=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/VBPubMedParser.pm | Perl | apache-2.0 | 3,233 |
=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/TextSequence/View.pm | Perl | apache-2.0 | 4,393 |
#
# 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 | cloud/docker/restapi/mode/containerusage.pm | Perl | apache-2.0 | 16,281 |
#!/usr/bin/env perl
# 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... | Ensembl/ensembl | misc-scripts/surgery/set_nonredundant_attribs.pl | Perl | apache-2.0 | 7,630 |
=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/PipeConfig/Vertebrates/StrainsReindexMembers_conf.pm | Perl | apache-2.0 | 2,938 |
#!/usr/bin/perl
use warnings;
use strict;
use 5.10.0;
persist();
{
my $store = 0;
sub persist {
print $store++ . " ";
}
}
persist();
persist();
persist();
| jmcveigh/komodo-tools | scripts/perl/named_blocks/begin.pl | Perl | bsd-2-clause | 178 |
package Net::OpenVPN::Auth::IMAP;
@ISA = qw(Net::OpenVPN::Auth);
use strict;
use warnings;
use IO::Socket;
use Log::Log4perl;
=head1 NAME IMAP
Dovecot IMAP server backend authentication module
=cut
=head1 OBJECT CONSTRUCTOR
=head2 Inherited parameters
B<required> (boolean, 1) successfull authentication result... | bfg/openvpn_auth | lib/Net/OpenVPN/Auth/IMAP.pm | Perl | bsd-3-clause | 6,846 |
=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... | kumarsaurabh20/ensembl-compara | modules/Bio/EnsEMBL/Compara/Production/DBSQL/AnchorAlignAdaptor.pm | Perl | apache-2.0 | 23,145 |
#!/usr/bin/perl
$filename = $ARGV[0];
#print "filename $filename\n";
@names = ();
open($fh,"<",$filename) or die "Can't open $filename";
while ($name = <$fh>) {
$name =~ s/\n$//;
push(@names,$name);
}
close($fh);
$lic = <<'END_LICENSE'
// This file is part of the Corinthia project (http://corinthia.io).
//
// ... | corinthia/corinthia-editorlib | src/elementtypes/genelementtypes.pl | Perl | apache-2.0 | 1,558 |
package Paws::CloudFormation::DescribeStackSetOperationOutput;
use Moose;
has StackSetOperation => (is => 'ro', isa => 'Paws::CloudFormation::StackSetOperation');
has _request_id => (is => 'ro', isa => 'Str');
1;
### main pod documentation begin ###
=head1 NAME
Paws::CloudFormation::DescribeStackSetOperation... | ioanrogers/aws-sdk-perl | auto-lib/Paws/CloudFormation/DescribeStackSetOperationOutput.pm | Perl | apache-2.0 | 491 |
=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/VEP_plugins | GO.pm | Perl | apache-2.0 | 2,387 |
package #
Date::Manip::TZ::amguat00;
# 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/amguat00.pm | Perl | bsd-2-clause | 3,151 |
#!/usr/bin/perl
# Strips out the registry code from a properly annotated file.
# Meant to work with PIRDetect(Simple)M.nc, PIRDetect(Simple)C.nc
# (see file list below)
# Output files requires interface file PIRDetection.nc and PIRRawData.nc
#
# * Replaces by substitution
# * Removes entire lines
# ~ ex. if we have ... | fresskarma/tinyos-1.x | contrib/nestfe/nesc/apps/TestPIRDetectNoReg/strip_registry.pl | Perl | bsd-3-clause | 7,260 |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by lib/unicore/mktables from the Unicode
# database, Version 6.2.0. Any changes made here will be lost!
# !!!!!!! INTERNAL PERL USE ONLY !!!!!!!
# This file is for internal use by core Perl only. The format and even the
# name or existe... | Bjay1435/capstone | rootfs/usr/share/perl/5.18.2/unicore/lib/Blk/Meroiti2.pl | Perl | mit | 435 |
=pod
=begin comment
This is a recommended way to describe OSSL_STORE loaders,
"ossl_store-{name}", where {name} is replaced with the name of the
scheme it implements, in man section 7.
=end comment
=head1 NAME
ossl_store-file - The store 'file' scheme loader
=head1 SYNOPSIS
=for openssl generic
#include <openss... | jens-maus/amissl | openssl/doc/man7/ossl_store-file.pod | Perl | bsd-3-clause | 2,406 |
# 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/antarctica. Olson data version 2012c
#
# Do not edit this file directly.
#
package DateTime:... | leighpauls/k2cro4 | third_party/perl/perl/vendor/lib/DateTime/TimeZone/Indian/Kerguelen.pm | Perl | bsd-3-clause | 1,017 |
#!/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.open... | sgraham/nope | third_party/boringssl/src/crypto/sha/asm/sha512-armv8.pl | Perl | bsd-3-clause | 11,498 |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by mktables from the Unicode
# database, Version 6.1.0. Any changes made here will be lost!
# !!!!!!! INTERNAL PERL USE ONLY !!!!!!!
# This file is for internal use by core Perl only. The format and even the
# name or existence of this ... | Dokaponteam/ITF_Project | xampp/perl/lib/unicore/lib/Blk/Ancient2.pl | Perl | mit | 423 |
package MojoPlugins::Server;
#
#
# 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 writin... | alficles/incubator-trafficcontrol | traffic_ops/app/lib/MojoPlugins/Server.pm | Perl | apache-2.0 | 3,813 |
package DDG::Goodie::IsAwesome::Marneus68;
# ABSTRACT: Marneus68's first Goodie
use DDG::Goodie;
use strict;
zci answer_type => "is_awesome_marneus68";
zci is_cached => 1;
name "IsAwesome Marneus68";
description "My first Goodie, it let's the world know that GitHubUsername is awesome";
primary_example_queries "duc... | kavithaRajagopalan/zeroclickinfo-goodies | lib/DDG/Goodie/IsAwesome/Marneus68.pm | Perl | apache-2.0 | 762 |
% This file is part of the Attempto Parsing Engine (APE).
% Copyright 2008-2010, Kaarel Kaljurand <kaljurand@gmail.com>.
%
% The Attempto Parsing Engine (APE) is free software: you can redistribute it and/or modify it
% under the terms of the GNU Lesser General Public License as published by the Free Software
% Foundat... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/ext/ape/prolog/utils/owlswrl/drs_to_owlswrl.pl | Perl | mit | 7,516 |
package Maximus::Task::Other::SessionExpire;
use Moose;
use Maximus;
use namespace::autoclean;
with 'Maximus::Role::Task';
sub run {
my $self = shift;
$self->schema->resultset('Session')->search({expires => {'<', time()}})
->delete;
1;
}
__PACKAGE__->meta->make_immutable;
=head1 NAME
Maximus::Tas... | maximos/maximus-web | lib/Maximus/Task/Other/SessionExpire.pm | Perl | mit | 1,693 |
package Alatar::Model::SqlConstraint;
use strict;
use Data::Dumper;
use Alatar::Model::SqlObject;
our @ISA = qw(Alatar::Model::SqlObject);
sub new {
my ($class,$owner,$name) = @_;
my $this = $class->SUPER::new($owner,$name);
$this->{columns} = [ ];
$this->{_inheritanceConstraint} = 0;
bless($this,$class);
re... | olivierauverlot/alatar | Alatar/Model/SqlConstraint.pm | Perl | mit | 1,543 |
:- consult(initial1).
goal(eventually(and(at(person1, city2), next(eventually(at(person1, city3)))))).
| TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_ec/test/pddl_tests/ZenoTravel/p2.pl | Perl | mit | 104 |
package #
Date::Manip::TZ::askabu00;
# 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' i... | jkb78/extrajnm | local/lib/perl5/Date/Manip/TZ/askabu00.pm | Perl | mit | 1,539 |
package T::MagicMock::Patcher;
use base qw/Test::Class/;
use Test::Most;
use Test::MagicMock::Patcher;
use F::SimplePackage;
1;
sub test_patcher_replaces_sub_with_given_code : Test(1) {
my $patcher = Test::MagicMock::Patcher->new('F::SimplePackage::croak', sub { return 1; })->start();
my $ret = F::SimplePacka... | ByteInternet/test-magicmock-perl | t/tests/T/MagicMock/Patcher.pm | Perl | mit | 1,713 |
use strict;
use CXGN::Page;
my $page=CXGN::Page->new('flowerbudctob.html','html2pl converter');
$page->header('3-8 mm flower buds');
print<<END_HEREDOC;
<center>
<table summary="" width="720" cellpadding="0" cellspacing="0"
border="0">
<tr>
<td>
<center>
<h2>3-8 mm fl... | solgenomics/sgn | cgi-bin/content/libraries/flowerbudctob.pl | Perl | mit | 2,943 |
package SimpleBot::Plugin::Twitter;
##
# Twitter.pm
# SimpleBot Plugin
# Copyright (c) 2013 Joseph Huckaby
# MIT Licensed
##
use strict;
use base qw( SimpleBot::Plugin );
use Tools;
use Net::Twitter::Lite::WithAPIv1_1;
use Encode qw(decode encode);
sub init {
my $self = shift;
$self->register_commands('rt', 'fol... | jhuckaby/simplebot | lib/Plugins/Twitter.pm | Perl | mit | 9,624 |
# !!!!!!! 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/Nv/100.pl | Perl | mit | 893 |
package PersonObj;
use strict;
use BaseObject;
our @ISA =qw(BaseObject);
sub load {
my $self = shift;
my $st=qq[
SELECT
tblPerson.*,
DATE_FORMAT(dtPassportExpiry,'%d/%m/%Y') AS dtPassportExpiry,
DATE_FORMAT(dtDOB,'%d/%m/%Y') AS dtDOB,
tblPerson.dtDOB AS dtDOB_RAW,
DATE_FORMAT(tblPerson.tTim... | facascante/slimerp | fifs/web/PersonObj.pm | Perl | mit | 2,293 |
#!"E:\xampp\perl\bin\perl.exe"
# Copyright (C) 2002/2003 Kai Seidler, oswald@apachefriends.org
#
# 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
... | ArcherCraftStore/ArcherVMPeridot | htdocs/xampp/guestbook-pl.pl | Perl | apache-2.0 | 3,263 |
use IO::S4::Client;
use Data::Dumper;
$sn = $ARGV[0];
$cn = $ARGV[1];
$c = new IO::S4::Client("localhost", 2334);
$c->init();
print Dumper($c);
$c->connect({'readMode' => 'private'});
while (<STDIN>) {
chomp;
print "Sending request\n";
$c->send($sn, $cn, $_);
select(undef, undef, undef, 0.1);
print "Wait... | s4/s4 | s4-driver/examples/src/main/resources/scripts/request.pl | Perl | apache-2.0 | 424 |
#!/usr/local/bin/perl -w
use strict;
=pod
To give some background.
when you search with swish you do something like:
./swish-e -w swishdefault=foo
that says: search the field "swishdefault" for the word foo. swishdefault
is the default "metaname". When indexing, say html, swish indexes the body
text AND the ti... | Distrotech/mod_perl | docs/src/search/modules/PhraseTest.pm | Perl | apache-2.0 | 18,639 |
#!/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... | dbolser-ebi/ensembl-compara | scripts/examples/dna_convertBasePositionsUsingBlastzAlignments.pl | Perl | apache-2.0 | 2,573 |
=head1 LICENSE
# Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
# Copyright [2016-2022] EMBL-European Bioinformatics Institute
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# ... | Ensembl/ensembl-analysis | modules/Bio/EnsEMBL/Analysis/RunnableDB/HavanaAdder.pm | Perl | apache-2.0 | 7,911 |
#!/usr/bin/perl
##
# Clears an Amazon SQS queue, optionally dumping the contents to stdout.
##
use Amazon::SQS::Simple;
use Getopt::Long;
my $accesskey;
my $secretkey;
my $queuename;
my $dump = 0;
GetOptions ("accesskey=s" => \$accesskey,
"secretkey=s" => \$secretkey,
"queue=s" => \$queuen... | krhenderson/clearsqs | clearsqs.pl | Perl | apache-2.0 | 1,257 |
#!/usr/bin/env perl
# 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... | Ensembl/ensembl | misc-scripts/db/remove_mysqldb.pl | Perl | apache-2.0 | 6,952 |
=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 | modules/Bio/EnsEMBL/DBSQL/TranscriptAdaptor.pm | Perl | apache-2.0 | 69,219 |
#!/usr/bin/perl
# Wiki: https://www.loxwiki.eu/display/LOXBERRY/LoxBerry%3A%3AIO%3A%3Amshttp_call
use LoxBerry::IO;
$LoxBerry::IO::DEBUG = 1;
my $value = LoxBerry::IO::mshttp_get( 1, "Heizraumlicht" );
print "Value: $value\n";
my $value = LoxBerry::IO::mshttp_get( 1, "SSUG-Netzteil-24V" );
print "Value: $valu... | mschlenstedt/Loxberry | libs/perllib/LoxBerry/testing/mshttp_get.pl | Perl | apache-2.0 | 432 |
package Sisimai::MTA::Postfix;
use parent 'Sisimai::MTA';
use feature ':5.10';
use strict;
use warnings;
# Postfix manual - bounce(5) - http://www.postfix.org/bounce.5.html
my $RxMTA = {
'from' => qr/ [(]Mail Delivery System[)]\z/,
'begin' => [
qr/\A\s+The Postfix program\z/,
qr/\A\s+The Postfi... | gitpan/Sisimai | lib/Sisimai/MTA/Postfix.pm | Perl | bsd-2-clause | 13,683 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.