Skip to content

Instantly share code, notes, and snippets.

tgt@u1204 ~> perl6 --version
This is perl6 version 2015.02-358-gbad2657 built on MoarVM version 2015.02-71-ga623b72
tgt@u1204 ~> uname -a
Linux u1204 3.13.0-46-generic #79~precise1-Ubuntu SMP Tue Mar 10 20:25:33 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
tgt@u1204 ~> lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
#!/usr/bin/env perl
use strict;
use warnings;
use List::Util qw(minstr sum);
# bitstring; positions 0..11 correspond to vertical walls; 12..23 to horizontal;
# 24 to the outer wall
# RAKUDO: can't do `0 x 24 ~ 1` here: RT #123602
@tgt
tgt / keybase.md
Last active December 3, 2022 21:33

Keybase proof

I hereby claim:

  • I am tgt on github.
  • I am tgt (https://keybase.io/tgt) on keybase.
  • I have a public key whose fingerprint is 3CBB 2823 72F8 DA49 4C1C AAD3 4BDB 3348 83C6 C00B

To claim this, I am signing this object:

@tgt
tgt / gist:5424dcb00f874c0375ef
Last active August 29, 2015 14:05
Rakudo Makefile write error
# Removing the second line causes it to exit successfully.
# The second line requires at least 1024 characters
# The write error will still occur if the first line is replaced by ./install/bin/moar ./nqp/ModuleLoader.moarvm
# It does not occur if the first line is replaced by ./perl6-m -e '' (or other commands)
# It does not occur if the first line is replaced by ./install/bin/nqp-m -e '' >/dev/null
all:
./install/bin/nqp-m -e ''
#aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa