I hereby claim:
- I am AlexDaniel on github.
- I am alexdaniel (https://keybase.io/alexdaniel) on keybase.
- I have a public key whose fingerprint is E1A5 75CC C2D5 8C7A A560 9FE1 4710 D9D4 34A4 A3C6
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
path-iterator |
I moved this page to rakudo wiki. A lot of people wanted to add stuff, but gists are not editable. A wiki is a more appropriate place for this kind of stuff. Rakudo wiki is possibly not the best place for it, but for now that will do.
Plus, GitHub gists totally suck when unicode characters are involved. There's also no preview option here. So I'm glad that it is being moved.
Recently Perl 6 got support for various unicode characters (½ ¹ ∞ × ÷, see this link for a full list), but I don't think that we are done. Here is a list of things to think about.
use nqp; | |
{ | |
constant $read-file = "README.md".IO; | |
$read-file.IO.r; | |
for ^1000 { | |
my $p = Proc::Async.new( | «/bin/cat $read-file» ); | |
my $output = ''; | |
$p.stdout.tap: -> $s { $output ~= $s; }; | |
await $p.start; |
use nqp; | |
my $html; | |
my $proc = run "wget", "-o", "/dev/null", "-O", "-", "https://www.fimfiction.net/bookshelf/149291/", :out; | |
$html = $proc.out.slurp-rest; | |
say "html is " ~ $html.chars ~ " chars"; | |
nqp::force_gc; | |
say "/proc/$*PID/statm".IO.lines[0].split(/\s/)[5] * 4096 / 1024 |
#!/usr/bin/env perl6 | |
use lib ‘data/all-modules/softmoth/p6-Template-Mustache’; | |
use v6; | |
#use v6.d.PREVIEW; | |
use Template::Mustache; | |
my $html = q:to/EOF/; | |
<html> | |
{{> head }} |
default alphanumeric_keys modifier_keys function_keys alternate_group | |
xkb_symbols "awesome" { | |
include "us" | |
name[Group1]= "My Awesome Layout"; | |
key <AE02> { [ 2, at, Page_Up, Page_Up ] }; | |
key <AE03> { [ 3, numbersign, Page_Down, Page_Down ] }; | |
key <AD01> { [ q, Q, Escape, Escape ] }; |