Group
Extension

Matches 35358

zhangbo-NLP-plugin_eng ( Z/ZH/ZHANGBO/zhangbo-NLP-plugin_eng-0.002.tar.gz, ZHANGBO, 2015; MetaCPAN )
zhangbo-NLP-plugin_eng/lib/zhangbo/NLP/engine_article2_jieba_babel_multi_2.2_gongan_144.pl ( view source; MetaCPAN )
#!/usr/bin/perl
use POE qw(Component::Server::TCP);
#use JSON::XS;
 use Clone qw(clone);



#use MongoDB;
#use Smart::Comments;
#use lib "/home/wuyabo/shell/";
#use Conn_mongo_jc;
#use Data::Dumper;
#
zhangbo-NLP-plugin_eng ( Z/ZH/ZHANGBO/zhangbo-NLP-plugin_eng-0.002.tar.gz, ZHANGBO, 2015; MetaCPAN )
zhangbo-NLP-plugin_eng/lib/zhangbo/NLP/res_server.pl ( view source; MetaCPAN )
ect;
use IO::Socket::INET;
use lib "./";
use plugin_eng;
use POE qw(Component::Server::TCP);
#use JSON::XS;
 use Clone qw(clone);
use Encode;
use Smart::Comments;
use Data::Dumper;
our $rule;
our $fac
zhangbo-NLP-plugin_eng ( Z/ZH/ZHANGBO/zhangbo-NLP-plugin_eng-0.002.tar.gz, ZHANGBO, 2015; MetaCPAN )
zhangbo-NLP-plugin_eng/lib/zhangbo/NLP/sim_sy4.pl ( view source; MetaCPAN )
#!/usr/bin/perl
#use JSON::XS;
 use Clone qw(clone);



use MongoDB;
use Smart::Comments;
use lib "/home/wuyabo/shell/";
#use Conn_mongo_jc;
use Data::Dumper;
use IO::File;
#use Add_info;


# http://p
zhangbo-NLP-plugin_eng ( Z/ZH/ZHANGBO/zhangbo-NLP-plugin_eng-0.002.tar.gz, ZHANGBO, 2015; MetaCPAN )
zhangbo-NLP-plugin_eng/lib/zhangbo/NLP/sim_word_article_zhonto.pl ( view source; MetaCPAN )
#!/usr/bin/perl
#use JSON::XS;
 use Clone qw(clone);



use MongoDB;
use Smart::Comments;
use lib "/home/wuyabo/shell/";
use Conn_mongo_jc;
use Data::Dumper;
use IO::File;
#use Add_info;


# http://po
zhangbo-NLP-plugin_eng ( Z/ZH/ZHANGBO/zhangbo-NLP-plugin_eng-0.002.tar.gz, ZHANGBO, 2015; MetaCPAN )
zhangbo-NLP-plugin_eng/lib/zhangbo/NLP/sim_word_babelnet_exp.pl ( view source; MetaCPAN )
!/usr/bin/perl
#词词距离计算
#输入为:
#老虎
#鲜花
#月亮
#狮子
 use POSIX;
#use JSON::XS;
 use Clone qw(clone);




use MongoDB;
use Smart::Comments;
use lib "/home/wyb/shell/";
#use
HSTS-Preloaded ( B/BE/BESSARABV/HSTS-Preloaded-1.0.1.tar.gz, BESSARABV, 2015; MetaCPAN )
HSTS-Preloaded/lib/HSTS/Preloaded.pm ( view source; MetaCPAN )
t;
use warnings FATAL => 'all';
use utf8;
use open qw(:std :utf8);

use Carp;
use HTTP::Tiny;
use JSON::PP;
use MIME::Base64;



sub new {
    my ($class, @params) = @_;

    croak "You should use new
nsport_security_state_static.json?format=TEXT';
    my $base64_content = $self->_get_content_from_url( $url );
    my $content = decode_base64 $base64_content;
    my $json = $self->_get_data_without_
comments( $content );
    my $data = decode_json $json;

    return $data;
}

sub _get_data_without_comments {
    my ($self, $data) = @_;

    my $output;
    foreach my $line (split /\n/, $data) {
 
Spreadsheet-Template ( D/DO/DOY/Spreadsheet-Template-0.05.tar.gz, DOY, 2015; MetaCPAN )
Spreadsheet-Template/lib/Spreadsheet/Template/Generator.pm ( view source; MetaCPAN )
e;
# ABSTRACT: create new templates from existing spreadsheets

use Class::Load 'load_class';
use JSON;



has parser_class => (
    is      => 'ro',
    isa     => 'Str',
    default => 'Spreadsheet:
self = shift;
    my ($filename) = @_;
    my $data = $self->parser->parse($filename);
    return JSON->new->pretty->canonical->encode($data);
}

__PACKAGE__->meta->make_immutable;
no Moose;

1;

__EN

  my $generator = Spreadsheet::Template::Generator->new;
  open my $fh, '>:encoding(utf8)', 'out.json';
  $fh->print($generator->generate($filename));

=head1 DESCRIPTION

This module is used to crea
Spreadsheet-Template ( D/DO/DOY/Spreadsheet-Template-0.05.tar.gz, DOY, 2015; MetaCPAN )
Spreadsheet-Template/lib/Spreadsheet/Template/Helpers/Xslate.pm ( view source; MetaCPAN )
Spreadsheet::Template::Helpers::Xslate::VERSION = '0.05';
use strict;
use warnings;

use JSON;

my $JSON = JSON->new;

use Sub::Exporter 'build_exporter';

my $import = build_exporter({
    exports =>
 $contents, $format, $type, %args) = @_;

    $type = 'string' unless defined $type;

    return $JSON->encode({
        contents => "$contents",
        format   => _formats($package, $format),
     
 $contents, $format, $type, %args) = @_;

    $type = 'string' unless defined $type;

    return $JSON->encode({
        range    => _parse_range($range),
        contents => "$contents",
        form
Spreadsheet-Template ( D/DO/DOY/Spreadsheet-Template-0.05.tar.gz, DOY, 2015; MetaCPAN )
Spreadsheet-Template/lib/Spreadsheet/Template/Processor.pm ( view source; MetaCPAN )
 by any classes which consume this
role. It should take the contents of the template and return a JSON file as
described in L<Spreadsheet::Template>. This typically just means running it
through a tem
POE-Component-Server-Twirc ( M/MM/MMIMS/POE-Component-Server-Twirc-0.20.tar.gz, MMIMS, 2015; MetaCPAN )
POE-Component-Server-Twirc/lib/POE/Component/Server/Twirc.pm ( view source; MetaCPAN )
vent::Twitter;
use AnyEvent::Twitter::Stream;
use HTML::Entities;
use Regexp::Common qw/URI/;
use JSON::MaybeXS;

with 'MooseX::Log::Log4perl';

=head1 NAME

POE::Component::Server::Twirc - Twitter/IR

        twitter_rest_api_request => 'request',
    },
);

sub to_json { JSON::MaybeXS->new->encode($_[1]) }
sub to_pretty_json { JSON::MaybeXS->new->pretty>encode($_[1]) }

# force build of users by 
keepalive");
        },
        on_friends   => sub {
            TRACE("on_friends: ", $self->to_json(@_));
            $self->yield(friends_ids => shift);
        },
        on_event     => sub {
  
Spreadsheet-Template ( D/DO/DOY/Spreadsheet-Template-0.05.tar.gz, DOY, 2015; MetaCPAN )
Spreadsheet-Template/lib/Spreadsheet/Template.pm ( view source; MetaCPAN )
;
use Moose;
# ABSTRACT: generate spreadsheets from a template

use Class::Load 'load_class';
use JSON;



has processor_class => (
    is      => 'ro',
    isa     => 'Str',
    default => 'Spreadshe
     return $class->new($self->processor_options);
    },
);


has json => (
    is => 'ro',
    default => sub {
        return JSON->new;
    }
);

sub _writer {
    my $self = shift;
    my $class 
late, $vars);
    # not decode_json, since we expect that we are already being handed a
    # character string (decode_json also decodes utf8)
    my $data = $self->json->decode($contents);
    return
Catalyst-Plugin-Authentication-Credential-GooglePlus ( E/ER/ERRIETTA/Catalyst-Plugin-Authentication-Credential-GooglePlus-0.1.tar.gz, ERRIETTA, 2015; MetaCPAN )
Catalyst-Plugin-Authentication-Credential-GooglePlus/lib/Catalyst/Plugin/Authentication/Credential/GooglePlus.pm ( view source; MetaCPAN )
atalyst::Plugin::Authentication::Credential::GooglePlus;

use Crypt::OpenSSL::X509;
use JSON::WebToken;
use JSON::MaybeXS;
use MIME::Base64;
use LWP::Simple qw(get);
use Date::Parse qw(str2time);
use 
he
cert using L<Crypt::OpenSSL::X509>. Finally, uses the pubkey to decrypt a
Google token using L<JSON::WebToken>.

See https://github.com/errietta/Catalyst-Plugin-Authentication-Credential-GooglePlus
ld} ||= "id_token";

    bless $self, $class;
}

=head1 METHODS

=head2 authenticate

Retrieves a JSON web token from either $authinfo, or GET or POST query
parameters. If null, throws exception.

Oth
Spreadsheet-Template ( D/DO/DOY/Spreadsheet-Template-0.05.tar.gz, DOY, 2015; MetaCPAN )
Spreadsheet-Template/lib/Spreadsheet/Template/Processor/Xslate.pm ( view source; MetaCPAN )
 right cell, or by an
Excel-style range (like C<A1:C3>).

=item true

Returns C<JSON::true>.

=item false

Returns C<JSON::false>.

=back

=head1 ATTRIBUTES

=head2 syntax

Which Xslate syntax engine 
POE-Component-Server-Twirc ( M/MM/MMIMS/POE-Component-Server-Twirc-0.20.tar.gz, MMIMS, 2015; MetaCPAN )
POE-Component-Server-Twirc/lib/App/Twirc/Manual.pod ( view source; MetaCPAN )
head1 CONFIGURATION

C<Twirc> uses L<Config::Any>, so you can configure C<twirc> using XML, YAML,
JSON, Apache-style configuration, Windows INI file format, or even Perl code.

A configuration file is
Web-Util-ExtPaging ( F/FR/FREW/Web-Util-ExtPaging-0.001003.tar.gz, FREW, 2015; MetaCPAN )
Web-Util-ExtPaging/lib/Web/Util/ExtPaging.pm ( view source; MetaCPAN )
t;
   my $method    = shift || 'TO_JSON';
   my $config    = shift;

   if (ref $method && ref $method ne 'CODE') {
      $config = $method;
      $method = 'TO_JSON';
   }

   return ext_parcel(
    

  use JSON::MaybeXS;
  use Web::Util::ExtPaging;

  sub dispatch_request {
    my $people_rs = get_rs();

    sub (/people) {
      [
         200,
         [ 'Content-type', 'application/json' ],
  
       [ encode_json(ext_paginate($rs->search(undef, { rows => 25 }))) ],
      ]
    },
    sub (/people_lite) {
      [
         200,
         [ 'Content-type', 'application/json' ],
         [
    
POE-Component-Server-Twirc ( M/MM/MMIMS/POE-Component-Server-Twirc-0.20.tar.gz, MMIMS, 2015; MetaCPAN )
POE-Component-Server-Twirc/lib/POE/Component/Server/Twirc/State.pm ( view source; MetaCPAN )
:Server::Twirc::State::VERSION = '0.20';
use Moose;
use MooseX::Storage;

with Storage(format => 'JSON', io => 'File');

has access_token         => isa => 'Str', is => 'rw';
has access_token_secret  
GPLVote-SignDoc-Client ( U/UN/UNCLEANDY/GPLVote-SignDoc-Client-0.9.tgz, UNCLEANDY, 2015; MetaCPAN )
GPLVote-SignDoc-Client/lib/GPLVote/SignDoc/Client.pm ( view source; MetaCPAN )
:Random::Secure qw(random_bytes);
use MIME::Base64;
use Digest::SHA qw(sha256_base64 sha256);
use JSON;
use utf8;
use Encode;


use strict;
use Exporter;
use vars qw($VERSION);
use vars qw($VERSION @I
sh {
  my ($json) = @_;
  my $h;
  my $js = JSON->new();
  # for invalid json
  $js->relaxed(1);
  # convert to utf-8
  $js->utf8;
  eval {
    # eval required for no exception if bad json
    $h = $j
@_;

  my $s = '';
  my $js = JSON->new();
  # for invalid json
  $js->relaxed(1);
  $js->pretty(1) if ($pretty);
  eval {
    # eval required for no exception if bad json
    $s = $js->encode($h);
  
WebService-Cryptsy ( Z/ZO/ZOFFIX/WebService-Cryptsy-1.008007.tar.gz, ZOFFIX, 2015; MetaCPAN )
WebService-Cryptsy/lib/WebService/Cryptsy.pm ( view source; MetaCPAN )
package WebService::Cryptsy;

use Moo;

our $VERSION = '1.008007'; # VERSION

use URI;
use JSON::MaybeXS;
use LWP::UserAgent;
use Digest::SHA qw/hmac_sha512_hex/;
use HTTP::Request::Common qw/POST/;

lf, $json, $method ) = @_;

    unless ( $json ) {
        $self->error('Network error: got no data');
        return
    }

    $self->error( undef );

    my $decoded = eval { decode_json( $json ); 
};
    if ( $@ ) {
        $self->error('JSON parsing error: ' . $@);
        return;
    }

    unless ( $decoded and $decoded->{success} ) {
        $self->error( $decoded && $decoded->{error}
     
LiquidWeb-Storm-CLI ( M/MT/MTERRY/LiquidWeb-Storm-CLI-1.03.tar.gz, MTERRY, 2015; MetaCPAN )
LiquidWeb-Storm-CLI/lib/LiquidWeb/Storm/CLI.pm ( view source; MetaCPAN )
TTP::Request;
use LWP::UserAgent;
use Data::Dumper;
use MIME::Base64; 
use Text::ASCIITable; 
use JSON;

sub new {
	my $class = shift;

	my $self = bless {
		lwhome   => "$ENV{HOME}/.lw", 
		apiconfig
uidWeb API Secret: "; 
	chomp($self->{configure}{secret} = <STDIN>);
	print "Default output type [json,perl,table]: ";  
	chomp($self->{configure}{output} = <STDIN>);

	print "Save auth credentials lo
fetchDocs;

	if (($self->{configure}{save} =~ m/y/i) ? 1 : 0) {
		$self->{configure}{output} ||= 'json'; 
		open my $session, '>', $self->{apiconfig} or die $!;
		print $session "username=$self->{conf
Spreadsheet-Template ( D/DO/DOY/Spreadsheet-Template-0.05.tar.gz, DOY, 2015; MetaCPAN )
Spreadsheet-Template/lib/Spreadsheet/Template/Processor/Identity.pm ( view source; MetaCPAN )
SCRIPTION

This class implements L<Spreadsheet::Template::Processor>, and just passes
through the JSON data without modification.

=for Pod::Coverage   process

=head1 AUTHOR

Jesse Luehrs <doy@tozt.n

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.