Last active
August 29, 2015 14:07
Revisions
-
dwarring revised this gist
Oct 10, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ sub repeat(Str $input --> Rat) { my $phrase := :36($input); my $l := (36 ** $input.chars) - 1; $phrase/$l; } -
dwarring revised this gist
Oct 10, 2014 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ sub repeat(Str $input --> Rat) { my $phrase := :36($input); my $l := (36 ** $input.chars) -1; $phrase/$l; } say (repeat('sixrocks') * 36 ** 40).base(36); -
dwarring revised this gist
Oct 10, 2014 . 1 changed file with 3 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,7 @@ sub repeat(Str $input --> Rat) { my $phrase := :36($input); my $l := (36 ** $input.chars) -1; $phrase/$l * 36 ** 20; } say (repeat('sixrocks') * 36 ** 20).base(36); -
dwarring revised this gist
Oct 10, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ sub repeat(Str $input --> Rat) { my $phrase := :36($input);my $l := 36 ** ($input.chars) -1; ($phrase/$l * 36 ** 20) } -
dwarring created this gist
Oct 10, 2014 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ ub repeat(Str $input --> Rat) { my $phrase := :36($input);my $l := 36 ** ($input.chars) -1; ($phrase/$l * 36 ** 20) } say (repeat('sixrocks') * 36 ** 20).base(36);