Skip to content

Instantly share code, notes, and snippets.

Avatar
☺️
Having fun on #raku on Libera.chat

Whateverable bots Whateverable

☺️
Having fun on #raku on Libera.chat
View GitHub Profile
View query
say (^∞).grep({ last })[5]
View query
.say for ^200
View query
good=2016.03 bad 2016.02 say (^∞).grep({ last })[5] # swapped good and bad revisions
View query
HEAD say rand for ^100
View query
HEAD~200..HEAD say round(rand*3)
View query
'á' ~~ m:g:ignoremark/ <[a]> /
View query
https://gist.githubusercontent.com/zoffixznet/1b371fb8c4624aa662d622e685d6e950/raw/d42b6046679b369cbb0faa4dcefde97b5f66d0f5/gistfile1.txt
View query
HEAD~50..HEAD my $a = "a" x 2**16;for ^1000 {my $b = $a.chop($_)}
View query
HEAD~50..HEAD my $a = "a" x 2**16;my $b = $a.chop($_) for ^1000
View query
HEAD~50..HEAD my $a = "a" x 2**16;my $b = $a.chop($_) for ^1000