Skip to content

Instantly share code, notes, and snippets.

View sjn's full-sized avatar

Salve J. Nilsen sjn

View GitHub Profile
$ zef install IO::Path::ChildSecure
===> Searching for: IO::Path::ChildSecure
===> Testing: IO::Path::ChildSecure:ver('1.001005')
# Failed test 'when we die, error message tells us which Rakudo version needed'
# at t/01-operation.t line 116
# Looks like you failed 1 test of 12
===> Testing [FAIL]: IO::Path::ChildSecure:ver('1.001005')
Aborting due to test failure: IO::Path::ChildSecure:ver('1.001005') (use --force-test to override)
in code at /home/sjn/.rakudobrew/moar-nom/install/share/perl6/site/sources/A5C13EF833A22B1E85E78D1CD88BE1B0B0B24DA1 (Zef::Client) line 375
in method test at /home/sjn/.rakudobrew/moar-nom/install/share/perl6/site/sources/A5C13EF833A22B1E85E78D1CD88BE1B0B0B24DA1 (Zef::Client) line 353
$ perl6 --ll-exception t/meta.t
ok 1 - The object is-a '"META::Lint::Grammar"'
1..1
ok 1 - META::Lint::Grammar loads
ok 1 - The object is-a '"META::Lint::Actions"'
1..1
ok 2 - META::Lint::Actions loads
ok 1 - Linter returns False for broken JSON
ok 2 - Linter returns True for {}
ok 3 - Linter returns True for []
@sjn
sjn / lib-META-Lint-Actions.pm
Created February 7, 2016 18:37
Unhelpful error message when having duplicate classnames
use v6;
use JSON::Tiny::Actions;
class META::Lint is JSON::Tiny::Actions {
}
@sjn
sjn / gist:8267675
Last active January 2, 2016 07:09
I've recorded a script(1) session where I started running harbour-org.gpodder.sailfish under gdb; Here's what I did: 1. Start gPodder 2. Enter Subscriptions screen 3. Menu -> "Check for new episodes" 4. Wait.... 5. Crash I've marked these points in the gist as ----> [1], ----> [2], etc.
Script started on Sun Jan 5 13:10:51 2014
ESC]0;nemo@:~^GESC[?1034h[nemo@localhost ~]$ DISPLAY=:0 gdb --args sailfish-qml harbour-org.gpodder.sailf ^Mish
ESC[?1034hGNU gdb (GDB) Mer (7.5.1)
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "armv7hl-meego-linux-gnueabi".
For bug reporting instructions, please see:
@sjn
sjn / oslo.pm-moose-hackathon-info.mkd
Created March 3, 2012 15:03
Moving to Moose 2012 hackathon status

Moving to Moose hackathon 2012

Oslo Perl Mongers would like to invite to a Moving to Moose double-hackathon near Stavanger, Norway! We're planning four full days of hacking, discussion and fun at the Preikestolen Fjellstue conference hotel. And if the weather allows it, we'll do a 5+5km hike to Preikestolen and back!

The hackathon topic is two-fold: Getting a proper Meta Object Protocol into Perl5 core, and moving CPAN modules to Moose. We're specifically inviting two communities - the #p5-mop and #perlrdf crowds.

With that said, the hackathon is also open for others! We intend on allowing commercial attendees too, and hope the high-bandwith discussions, hacking and networking will function as a great door-opener for anyone who wants to become part of the Perl community.

The #perlrdf Moose hackathon

@sjn
sjn / Oslo-Perl6-Hackathon-2012-todo.yml
Created February 16, 2012 23:13
TODO file for the Oslo Perl 6 hackathon 2012
---
- Date: 2012-04-20 - 2012-04-22
- Location: Redpill Linpro
- DONE:
- Reservering av kurslokale
- Få Damian til å reservere tid
- Bekreftede personer:
- jnthn
- pmichaud
- masak
@sjn
sjn / Oslo-Perl6-Hackathon-2012-invitation.mkd
Created January 31, 2012 17:30
Perl 6 Patterns hackathon 2012

Perl 6 Patterns Hackathon 2012 invitation

You're hereby invited to Oslo Perl Monger's first hackathon in 2012!

Core facts

  • Topic: Perl 6 Patterns
  • Venue: Redpill Linpro's classrooms, Vitaminveien 1A, Oslo, Norway
  • When: Friday April 20th to Sunday April 22nd 2012