This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"query": { "match_all": {} }, | |
"filter": { | |
"prefix": { "name": "MooseX-" } | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use Module::Runtime qw< require_module >; | |
use Text::CSV; | |
my $filename = $ARGV[0]; | |
my $parser_class = $filename =~ /\.xlsx$/ | |
? "Spreadsheet::ParseXLSX" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BINS := sponge pee | |
PERLSCRIPTS := chronic | |
MANS := $(BINS:=.1) $(PERLSCRIPTS:=.1) | |
PREFIX := /usr/local | |
selected := PREFIX=$(PREFIX) BINS="$(BINS)" PERLSCRIPTS="$(PERLSCRIPTS)" MANS="$(MANS)" | |
all: | |
make all $(selected) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"query" : { | |
"filtered" : { | |
"query" : { | |
"custom_score" : { | |
"query" : { | |
"boosting" : { | |
"negative_boost" : 0.5, | |
"positive" : { | |
"bool" : { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"from" : 0, | |
"facets" : { | |
"count" : { | |
"terms" : { | |
"size" : 999, | |
"field" : "distribution" | |
} | |
} | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Potentially re-exec commands inside the current directory's carton | |
# environment. | |
# | |
# Usage: alias perldoc='maybe-via-carton perldoc' | |
# | |
cmd=$1 | |
shift | |
if [[ -f cpanfile.snapshot && -d local ]] && which carton >/dev/null 2>/dev/null; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use strict; | |
use warnings; | |
use DDP; | |
use Bio::Regexp; | |
use Bio::Tools::IUPAC; | |
use Bio::PrimarySeq; | |
my $query = "GTGYCAGCMGCCGCGGTAA"; | |
my $input = "TAACTCCGNGCCAGCAGCCNCGGTAATACGGAGG"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use strict; | |
use warnings; | |
use DDP; | |
use Bio::Regexp; | |
use Bio::Tools::IUPAC; | |
use Bio::PrimarySeq; | |
my $query = "GTGYCAGCMGCCGCGGTAA"; | |
my $input = "TAACTCCGNGCCAGCAGCCNCGGTAATACGGAGG"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use strict; | |
use warnings; | |
use DDP; | |
use Bio::Regexp; | |
use Bio::Tools::IUPAC; | |
use Bio::PrimarySeq; | |
my $query = "GTGYCAGCMGCCGCGGTAA"; | |
my $input = "TAACTCCGNGCCAGCAGCCNCGGTAATACGGAGG"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env plackup | |
use strict; | |
use warnings; | |
use utf8; | |
use Plack::Builder; | |
use Plack::App::Directory; | |
use HTML::Restrict; | |
use lib::remote |
OlderNewer