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
#include <iomanip> | |
#include <iostream> | |
#include <boost/accumulators/accumulators.hpp> | |
#include <boost/accumulators/statistics/variance.hpp> | |
#include <boost/accumulators/statistics/stats.hpp> | |
namespace bacc = boost::accumulators; | |
static void | |
demo(const double base) |
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
t\spec\S32-num\power.rakudo.moar .. | |
1..76 | |
ok 1 - 0 ** 0 == 1 | |
ok 2 - 0 ** 1 == 0 | |
ok 3 - 1 ** 2 == 1 | |
ok 4 - 4 ** 0 == 1 | |
ok 5 - 4 ** 1 == 4 | |
ok 6 - 4 ** 2 == 16 | |
ok 7 - 0 ** 4553535345364535345634543534 == 0 | |
ok 8 - 1 ** 4553535345364535345634543534 == 1 |
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
t\spec\S32-io\spurt.t .. | |
1..35 | |
ok 1 - spurting Buf ok | |
ok 2 - spurting txt ok | |
ok 3 - spurt with enc | |
ok 4 - spurting Buf with append | |
ok 5 - spurting txt with append | |
not ok 6 - createonly creates file with Buf | |
# Failed test 'createonly creates file with Buf' |
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
t\spec\S32-io\pipe.t .. | |
1..14 | |
ok 1 - shell/run(:out).out is a Proc | |
ok 2 - shell/run(:out).out is an IO::Pipe | |
ok 3 - shell/run(:out) returns something trueish on success | |
ok 4 - Proc::Status.exitcode is zero for a successful run | |
ok 5 - Proc::Status.status is zero for a successful run | |
ok 6 - got correct output | |
1..6 | |
ok 1 - Child succeeds but does not print anything |
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
$ tar -xvf samtools-0.1.18.tar.bz2 | |
$ cd samtools-0.1.18 | |
$ make CFLAGS=-fPIC | |
Note, there are problems building this with GCC 5.3.0 because of the | |
use of `inline` with functions that are supposed to go in to a library. | |
Once that is fixed, library builds fine. | |
$ export SAMTOOLS=`pwd`; ~/perl/5.22.0/bin/cpanm Bio::DB::Sam | |
--> Working on Bio::DB::Sam |
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 | |
# Copyright (C) 2013 A. Sinan Unur | |
# http://www.perlfoundation.org/artistic_license_2_0 | |
use 5.012; | |
use strict; | |
use warnings; | |
use warnings qw(FATAL utf8); | |
use open qw(:std :utf8); |
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 5.014; | |
use strict; | |
use warnings; | |
use File::Basename qw(basename); | |
use File::Find; | |
use GraphViz2; | |
use Log::Handler; |
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 5.014; | |
use strict; | |
use warnings; | |
use File::Find; | |
use PPI; | |
use SQL::Statement; |
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 5.014; | |
use strict; | |
use warnings; | |
use open qw(:std utf8); | |
# This is where a patched version of Module::Extract::Use lives | |
# The patched version adds a 'content' accessor to M::E::U::Item objects |
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 | |
# Author: A. Sinan Unur | |
# Copyright (C) 2013 | |
# License: This is free software. You can use it under the terms | |
# of Artistic License 2.0 <http://opensource.org/licenses/Artistic-2.0> | |
# In particular: | |
# (14) Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT | |
# HOLDER AND CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED | |
# WARRANTIES. THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A |
NewerOlder