view release on metacpan or search on metacpan
As you can see, we use a series of key value pairs separated with a colon. The keys may be anything you like, except for the following which have special significance.
* *format* shows what output format we should default to.
* *template* shows which template we should use
The keys may be used as variables in your document or in the template, by upper-casing and prefixing and postfixing percent symbols '%'
**Example**
version as a variable _%VERSION%
~~~~
We can also have the content of a code-block replaced with content from a buffer by using the **from_buffer** argument. This is also displayed in the example above.
To use the contents (or output of a buffered code-block) we wrap the name of the buffer
once again with percent '%' symbols, once again we force upper case.
**Example**
_%SPARK_DATA% has content %SPARK_DATA%
_%GREENSPARK% has a generated image %GREENSPARK%
view all matches for this distribution
view release on metacpan or search on metacpan
"Bencher::Backend" : "1.061",
"Browser::Open" : "0",
"Complete::Module" : "0.262",
"Complete::Util" : "0.608",
"Data::Clean::ForJSON" : "0",
"Data::Sah::Coerce::perl::To_float::From_str::percent" : "0",
"Data::Sah::Coerce::perl::To_str::From_str::normalize_perl_modname" : "0",
"Data::Sah::Compiler::perl::TH::any" : "0.911",
"Data::Sah::Compiler::perl::TH::array" : "0.911",
"Data::Sah::Compiler::perl::TH::bool" : "0.911",
"Data::Sah::Compiler::perl::TH::float" : "0.911",
view all matches for this distribution
view release on metacpan or search on metacpan
}
},
"runtime" : {
"requires" : {
"Algorithm::BinPack" : "0",
"Data::Sah::Coerce::perl::To_float::From_str::percent" : "0",
"Data::Sah::Coerce::perl::To_float::From_str::suffix_datasize" : "0",
"Data::Sah::Compiler::perl::TH::array" : "0",
"Data::Sah::Compiler::perl::TH::bool" : "0",
"Data::Sah::Compiler::perl::TH::float" : "0",
"Data::Sah::Compiler::perl::TH::int" : "0",
view all matches for this distribution
view release on metacpan or search on metacpan
}
},
"runtime" : {
"requires" : {
"Algorithm::BloomFilter" : "0",
"Data::Sah::Coerce::perl::To_float::From_str::percent" : "0",
"Data::Sah::Coerce::perl::To_num::From_str::percent" : "0",
"Data::Sah::Compiler::perl::TH::array" : "0",
"Data::Sah::Compiler::perl::TH::float" : "0",
"Data::Sah::Compiler::perl::TH::int" : "0",
"Data::Sah::Compiler::perl::TH::num" : "0",
"Data::Sah::Compiler::perl::TH::str" : "0",
view all matches for this distribution
view release on metacpan or search on metacpan
script/bookmark-feed view on Meta::CPAN
* [Alex Schroeder](https://alexschroeder.ch/)
* [Emacs Wiki](https://www.emacswiki.org/)
Or your might be using quotes, like this:
> Seventy eight percent of Americansâincluding 66% of Republicansâare
> concerned about climate change, a number that has increased dramatically
> in the last 3 years. ⦠The lack of public discussion reinforces the norm
> that others are not concerned and hampers the likelihood of collective
> organization to address climate change. Misconceptions take on an even
> larger significance when we remember that those in positions of power are
view all matches for this distribution
view release on metacpan or search on metacpan
share/de-de.dis view on Meta::CPAN
display \x0020 0 #32 space
display \x0021 5 #33 ! exclamation mark
display \x0022 4 #34 " quotation mark
display \x0023 3456 #35 # number sign
display \x0024 46 #36 $ dollar sign
display \x0025 123456 #37 % percent sign
display \x0026 12346 #38 & ampersand
display \x0027 6 #39 ' apostrophe
display \x0028 236 #40 ( left parenthesis
display \x0029 356 #41 ) right parenthesis
display \x002A 35 #42 * asterisk
view all matches for this distribution
view release on metacpan or search on metacpan
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/CSV2Chart/Command/svg.pm view on Meta::CPAN
my $dir = tempdir();
if ( "$dir" =~ /%/ )
{
die "Invalid dir path $dir contains percent signs";
}
my $xlsx = $dir->child("temp.xlsx");
App::CSV2Chart::API::ToXLSX::csv_to_xlsx(
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/CSVUtils/csv_mix_formulas.pm view on Meta::CPAN
Each formula is a CSV comprised of at least two fields. The first field (by
default literally the first field, but can also be specified using
`--ingredient-field`) is assumed to contain the name of ingredients. The second
field (by default literally the second field, but can also be specified using
`--weight-field`) is assumed to contain the weight of ingredients. A percent
form is recognized and will be converted to its decimal form (e.g. "60%" or
"60.0 %" will become 0.6).
Example, mixing this CSV:
lib/App/CSVUtils/csv_mix_formulas.pm view on Meta::CPAN
output_format => {
summary => 'A sprintf() template to format the weight',
schema => 'str*',
tags => ['category:formatting'],
},
output_percent => {
summary => 'If enabled, will convert output weights to percent with the percent sign (e.g. 0.6 to "60%")',
schema => 'bool*',
tags => ['category:formatting'],
},
output_percent_nosign => {
summary => 'If enabled, will convert output weights to percent without the percent sign (e.g. 0.6 to "60")',
schema => 'bool*',
tags => ['category:formatting'],
},
},
add_args_rels => {
choose_one => ['output_percent', 'output_percent_nosign'],
choose_all => ['ingredient_field', 'weight_field'],
},
tags => ['category:combining'],
# we modify from csv-concat
lib/App/CSVUtils/csv_mix_formulas.pm view on Meta::CPAN
for my $ingredient (sort { ($ingredients->{$b}{ $r->{weight_field} } <=> $ingredients->{$a}{ $r->{weight_field} }) ||
(lc($a) cmp lc($b)) } keys %$ingredients) {
FORMAT: for my $weight ($ingredients->{ $r->{weight_field} }) {
if ($r->{util_args}{output_percent}) {
$weight = ($weight * 100) . "%";
last FORMAT;
} elsif ($r->{util_args}{output_percent_nosign}) {
$weight = ($weight * 100);
}
if ($r->{util_args}{output_format}) {
$weight = sprintf($r->{util_args}{output_format}, $weight);
}
lib/App/CSVUtils/csv_mix_formulas.pm view on Meta::CPAN
Each formula is a CSV comprised of at least two fields. The first field (by
default literally the first field, but can also be specified using
C<--ingredient-field>) is assumed to contain the name of ingredients. The second
field (by default literally the second field, but can also be specified using
C<--weight-field>) is assumed to contain the weight of ingredients. A percent
form is recognized and will be converted to its decimal form (e.g. "60%" or
"60.0 %" will become 0.6).
Example, mixing this CSV:
lib/App/CSVUtils/csv_mix_formulas.pm view on Meta::CPAN
header row (value will be something like "col0,col1,..."). Under
C<--no-output-header>, header row will I<not> be printed even if input CSV has
header row. So this option can be used to unconditionally add or remove header
row.
=item * B<output_percent> => I<bool>
If enabled, will convert output weights to percent with the percent sign (e.g. 0.6 to "60%").
=item * B<output_percent_nosign> => I<bool>
If enabled, will convert output weights to percent without the percent sign (e.g. 0.6 to "60").
=item * B<output_quote_char> => I<str>
Specify field quote character in output CSV, will be passed to Text::CSV_XS.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/CalcAccumulatedDiscounts.pm view on Meta::CPAN
years => {
schema => ['array*', of=>'int*'],
default => [5,10,15,20,25,30,35,40,45,50],
},
discounts => {
schema => ['array*', of=>'float*'], # XXX percent
default => [0.25, 0.5, 0.75, 1,
1.25, 1.5, 1.75, 2,
2.25, 2.5, 2.75, 3,
3.25, 3.5, 3.75, 4,
4.5, 5],
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/CalcAccumulatedInflation.pm view on Meta::CPAN
years => {
schema => ['int*', min=>0],
default => 10,
},
rates => {
summary => 'Different rates for each year, in percent',
schema => ['array*', of=>'float*', min_len=>1, 'x.perl.coerce_rules'=>['From_str::comma_sep']],
},
yearly_rate => {
summary => 'A single rate for every year, in percent',
schema => 'float*',
cmdline_aliases => {y=>{}},
},
base_index => {
schema => 'float*',
lib/App/CalcAccumulatedInflation.pm view on Meta::CPAN
=item * B<base_year> => I<float> (default: 0)
=item * B<rates> => I<array[float]>
Different rates for each year, in percent.
=item * B<yearly_rate> => I<float>
A single rate for every year, in percent.
=item * B<years> => I<int> (default: 10)
=back
view all matches for this distribution
view release on metacpan or search on metacpan
"Legal Entity" shall mean the union of the acting entity and all other entities
that control, are controlled by, or are under common control with that entity.
For the purposes of this definition, "control" means (i) the power, direct or
indirect, to cause the direction or management of such entity, whether by
contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity exercising
permissions granted by this License.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Chart/Series/Derived/ADX.pm view on Meta::CPAN
sub shortname { __('ADX') }
sub manual { __p('manual-node','Average Directional Index') }
use constant
{ type => 'indicator',
units => 'percentage',
minimum => 0,
maximum => 100,
};
sub parameter_info {
return [ { name => __('Days'),
view all matches for this distribution
view release on metacpan or search on metacpan
# Usage
benchmark([get_head_checkbox, get_head_checkbox2]);
benchmark([get_head_checkbox, get_head_checkbox2],10000);
# Function for benchmarking different code snippets (timing,testing,profiling)
# Includes percentages and sorted.
// function benchmark() {
// // Get inputs
// let code_refs = [...arguments];
// let iterations = 1;
// const last_index = code_refs.length - 1;
// stats.sort((a,b) => (Number(a.time) >= Number(b.time)) ? 1 : -1);
//
// // Baseline to compare with
// const longest_time = stats[stats.length-1]["time"];
//
// // Add percentage to each test set
// for(const set of stats){
// const time = set.time;
// const percent = ((longest_time-time)/time*100).toFixed(0);
// set.percent = percent;
// }
//
// // Print statistics
// console.table(stats);
// }
U
# Redo last command (Vim)
<Control> + r
# Diplay file name, number of lines (and percent) (Vim)
<Control> + g
# Type a control character in Vim
Control-V <RET>
view all matches for this distribution
view release on metacpan or search on metacpan
"Rinci" : "v1.1.102"
}
},
"runtime" : {
"requires" : {
"Data::Sah::Coerce::perl::To_float::From_str::percent" : "0",
"Data::Sah::Compiler::perl::TH::array" : "0.914",
"Data::Sah::Compiler::perl::TH::bool" : "0.914",
"Data::Sah::Compiler::perl::TH::float" : "0.914",
"Data::Sah::Compiler::perl::TH::int" : "0.914",
"Data::Sah::Compiler::perl::TH::str" : "0.914",
view all matches for this distribution
view release on metacpan or search on metacpan
Commands starting with C<...> (three periods) will be executed without waiting for a keypress. This is useful if you want to show a series of commands but don't need to stop and explain each one as you go.
=item C<%%%>
Within a command, C<%%%> (three percent signs) will cause playback to pause and
wait for a keypress before displaying the rest of the command. This is useful
if you want to stop in the middle of a command to give some explanation.
=item C<$ >
view all matches for this distribution
view release on metacpan or search on metacpan
will be executed immediately. This is useful for running setup commands at the
beginning of your demonstration.
- `%%%`
Within a command, `%%%` (three percent signs) will cause `cleo` to pause and
wait for a keypress before displaying the rest of the command. This is useful
if you want to stop in the middle of a command to give some explanation.
Otherwise, `cleo` displays and executes the commands verbatim. Note that
some interactive commands like `vim` are picky about STDOUT and STDIN. To
view all matches for this distribution
view release on metacpan or search on metacpan
* %n - newline
* %t - tab
* %% - percent sign
The syntax also allows padding and some filters. Examples:
git-codeowners show -f ' * %-50F %O' # default for "show"
git-codeowners show -f '%{quote}F,%{quote}O' # ad hoc CSV
view all matches for this distribution
view release on metacpan or search on metacpan
"Complete::Sah" : "0.012",
"Complete::TZ" : "0.080",
"Complete::Unix" : "0.07",
"Complete::Util" : "0.618",
"Complete::Vivaldi" : "0",
"Data::Sah::Coerce::perl::To_float::From_str::percent" : "0",
"Data::Sah::Coerce::perl::To_str::From_str::normalize_perl_modprefix" : "0",
"Data::Sah::Compiler::perl::TH::any" : "0.914",
"Data::Sah::Compiler::perl::TH::array" : "0.914",
"Data::Sah::Compiler::perl::TH::bool" : "0.914",
"Data::Sah::Compiler::perl::TH::code" : "0.914",
view all matches for this distribution
view release on metacpan or search on metacpan
not need to know Perl in order to use them.
Layout templates include a series of directives. Directives can be
used to print the contents of a variable, or perform more sophisticated
computation such as if/then/else, foreach, or case statements. Directives
are surrounded by matched pairs of hard brackets and percent signs. Here is
an example of printing a variable called `site.name`:
```
[% site.name %]
```
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Dazz/Common.pm view on Meta::CPAN
}
}
return @solns;
}
sub histogram_percentile {
my $hist_of = shift;
my $fraction = shift;
my @keys = sort { $a <=> $b } keys %{$hist_of};
if ( scalar @keys == 0 ) {
view all matches for this distribution
view release on metacpan or search on metacpan
bin/device-chip-sensor-exporter view on Meta::CPAN
# Convert some common characters that Prometheus will get upset by
if( defined $units ) {
$units =~ s{/}{_per_};
$units =~ s/%/percentage/g;
$units =~ s/°/degrees/g;
$units =~ s/µ/micro/g;
$units =~ s/m²/square_metre/g;
$units =~ s/m³/cubic_metre/g;
view all matches for this distribution
view release on metacpan or search on metacpan
t/lib/Test/RRA/Config.pm view on Meta::CPAN
=over 4
=item $COVERAGE_LEVEL
The coverage level achieved by the test suite for Perl test coverage testing
using Test::Strict, as a percentage. The test will fail if test coverage less
than this percentage is achieved. If not given, defaults to 100.
=item @COVERAGE_SKIP_TESTS
Directories under F<t> whose tests should be skipped when doing coverage
testing. This can be tests that won't contribute to coverage or tests that
view all matches for this distribution
view release on metacpan or search on metacpan
- config: add new file WWW_Message_en.conf
- js: fix "New employee" functionality
- js: fix "Search employee" functionality
0.132 2016-09-15 13:41 CEST
- js: percent-encode employee search keys
- bin/dochazka-www: uncomment --sitedir /etc/dochazka-www
- build/ops: new file WWW_SiteConfig.pm.example
0.133 2016-09-16 00:24 CEST
- config: drop derived distro site config file
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/DrivePlayer/Player.pm view on Meta::CPAN
Seek to an absolute position in seconds. No-op when stopped.
=head2 set_volume
$player->set_volume($percent); # 0-100
Set the playback volume.
=head2 get_volume
view all matches for this distribution
view release on metacpan or search on metacpan
"Rinci" : "v1.1.102"
}
},
"runtime" : {
"requires" : {
"Data::Sah::Coerce::perl::To_float::From_str::percent" : "0",
"Data::Sah::Compiler::perl::TH::array" : "0.914",
"Data::Sah::Compiler::perl::TH::float" : "0.914",
"Data::Sah::Compiler::perl::TH::int" : "0.914",
"Data::Sah::Compiler::perl::TH::str" : "0.914",
"Perinci::CmdLine::Any" : "0.154",
view all matches for this distribution
view release on metacpan or search on metacpan
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
view all matches for this distribution
view release on metacpan or search on metacpan
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
view all matches for this distribution
view release on metacpan or search on metacpan
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Egaz/Command/lav2psl.pm view on Meta::CPAN
for my $align_piece (@align_pieces) {
unless ( $align_piece =~ /(\d+) (\d+) (\d+) (\d+) (\d+)/g ) {
Carp::croak "l-line error\n";
}
my ( $t_begin, $q_begin, $t_end, $q_end, $percent_id ) = ( $1, $2, $3, $4, $5 );
$t_begin--;
$q_begin--;
$percent_id = 0.01 * $percent_id;
my $bases = $q_end - $q_begin;
my $match_piece = App::Egaz::Common::round( $percent_id * $bases );
$match += $match_piece;
$mismatch += $bases - $match_piece;
if ( $t_former_end and $t_begin != $t_former_end ) {
$t_num_ins++;
view all matches for this distribution