Skip to content

Instantly share code, notes, and snippets.

View leto's full-sized avatar
🐉
The Blocks Must Flow

Duke Leto leto

🐉
The Blocks Must Flow
View GitHub Profile
####### git aliases
alias grc="git rebase --continue"
alias glp="git log -p"
alias githist="git log -p"
alias undo="git reset HEAD^"
alias gd="git diff --cached -a --diff-filter=ACDTMR |colordiff|less -R"
alias gdc="git diff -a --diff-filter=ACDTMR |colordiff|less -R"
alias gca="git commit -a"
alias gsa="git status -a"
alias gco="git checkout"
(kadath)(~/git/Math-Primality funky )$ perl -d t/is_strong_lucas_pseudoprime.t
Loading DB routines from perl5db.pl version 1.3
Editor support available.
Enter h or `h h' for help, or `man perldebug' for more help.
1..4
main::(t/is_strong_lucas_pseudoprime.t:11):
11: local $TODO = "is_strong_lucas_psuedoprime is being worked on";
(kadath)(~/git/Math-Primality funky )$ perl -d t/is_strong_lucas_pseudoprime.t
Loading DB routines from perl5db.pl version 1.3
Editor support available.
Enter h or `h h' for help, or `man perldebug' for more help.
1..12
main::(t/is_strong_lucas_pseudoprime.t:10):
10: ok(is_strong_lucas_pseudoprime(2), "is_strong_lucas_pseudoprime should return true for 2");
(kadath)(~/git/Math-GMPz bubaflub )$ make
cp GMPz.pm blib/lib/Math/GMPz.pm
/usr/bin/perl5.10 /opt/local/lib/perl5/5.10.0/ExtUtils/xsubpp -typemap /opt/local/lib/perl5/5.10.0/ExtUtils/typemap -typemap typemap GMPz.xs > GMPz.xsc && mv GMPz.xsc GMPz.c
cc -c -I/opt/local/include -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -O3 -DVERSION=\"0.27\" -DXS_VERSION=\"0.27\" "-I/opt/local/lib/perl5/5.10.0/darwin-2level/CORE" -DNEWPERL GMPz.c
GMPz.xs: In function ‘Rmpz_get_d_2exp’:
GMPz.xs:365: warning: pointer targets in passing argument 1 of ‘__gmpz_get_d_2exp’ differ in signedness
GMPz.xs: In function ‘___GMP_CC’:
GMPz.xs:3905: error: ‘__GMP_CC’ undeclared (first use in this function)
GMPz.xs:3905: error: (Each undeclared identifier is reported only once
GMPz.xs:3905: error: for each function it appears in.)
use MooseX::Declare;
use feature 'say';
class HelloMooseXDeclare with MooseX::Getopt with MooseX::Runnable {
method run {
my ($name) = @_;
say "Hello, $name.";
return 0; # success
}
};
use MooseX::Declare;
use feature 'say';
class App::HelloMooseXDeclare with MooseX::Getopt with MooseX::Runnable {
method run {
my ($name) = @_;
say "Hello, $name.";
return 0; # success
}
};
This is what happens when you insert with an undef key.
alias git=~/bin/git
alias glg="git log --graph --pretty=oneline"
alias grc="git rebase --continue"
alias glp="git log -p"
alias githist="git log -p"
alias undo="git reset HEAD^"
alias gd="git diff --cached -a --diff-filter=ACDTMR"
alias gdc="git diff -a --diff-filter=ACDTMR"
alias gca="git commit -a"
alias gsa="git status -a"
ESC[1mTITLEESC[0m
DRAFT: Synopsis 32: Setting Library - Abstraction
ESC[1mAUTHORSESC[0m
Tim Nelson <wayland@wayland.id.au>
Larry Wall <larry@wall.org>
ESC[1mVersionESC[0m
Created: 26 Feb 2009
cp Next.pm blib/lib/File/Next.pm
PERL_DL_NONLAZY=1 /usr/bin/perl5.10 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
===( 3;0 1/1 1/18 0/11 0/3 0/3 0/5 0/7 1/5 0/? )=======# Testing File::Next 1.02, Perl 5.010000, /usr/bin/perl5.10
t/00-load.t ....... ok
t/parms.t ......... ok
===( 18;0 8/18 1/11 0/3 0/3 0/5 3/7 0/? 0/? 0/? )=======# Looks like you planned 18 tests but ran 20.
t/api.t ........... Dubious, test returned 255 (wstat 65280, 0xff00)
All 18 subtests passed
t/follow.t ........ ok
===( 38;0 4/11 1/3 0/3 0/5 0/? 0/? 0/7 0/3 )==============