Skip to content

Instantly share code, notes, and snippets.

View marcusramberg's full-sized avatar

Marcus Ramberg marcusramberg

View GitHub Profile
Use of uninitialized value $cb in method lookup at /Users/marcus/perl5/perlbrew/perls/perl-5.14.1/lib/site_perl/5.14.1/Mojo/IOWatcher.pm line 126.
Read failed: Can't locate object method "" via package "Mojo::IOWatcher::EV" at /Users/marcus/perl5/perlbrew/perls/perl-5.14.1/lib/site_perl/5.14.1/Mojo/IOWatcher.pm line 126.
# Uncrustify 0.59
#
# General options
#
# The type of line endings
newlines = auto # auto/lf/crlf/cr
# The original size of tabs in the input
 ~/Source/rakudo/nqp/ [655049e...*] ./nqp --help
./nqp
perl6 - Rakudo Perl 6 Compiler
SYNOPSIS
perl6 [switches] [--] [programfile] [arguments]
DESCRIPTION
With no arguments, enters a REPL. With a "[programfile]" or the
 ~/Source/MuEvent/ [master] perl6 --doc lib/MuEvent.pm
module MuEvent
Event-driven programming in Perl 6
sub timer(Callable :&cb!, :$after!, :$interval, :%params)
Add an event run after a certain amount of time
sub socket(Callable :&cb!, :$socket!, :$poll, :%params)
Add an IO::Socket to observe
- Changed routes syntax again, this change is not entirely backwards
compatible but will only affect you if you are using the relaxed
and wildcard variations.
"/((foo))" becomes "/(.foo)"
"/(((foo)))" becomes "/(*foo)"
Android mobile way to the top of NetCom
For the first time since NetCom began to publish lists of the best selling smart phones through the company's sales channels, it is not an iPhone model that is in first place.
However, the aging giant Samsung Galaxy S II which now sits at the top.
- There are almost as we thought it would happen. But Samsung Galaxy S II has been a spearhead for Android in Norway, and Galaxy II has sniffed first place in a few months now, says Kristian Rena, sales director at NetCom, in a statement.
Dominance of Samsung is great at NetCom. Half of the models on the top list in March, is provided by the company.
Manifying ../blib/man3/Mojolicious::Guides::Routing.3
Manifying ../blib/man3/Mojolicious::Command::daemon.3
Manifying ../blib/man3/Mojo::Parameters.3
PERL_DL_NONLAZY=1 /Users/marcus/perl5/perlbrew/perls/perl-5.14.1/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/*/*.t
t/mojo/app.t ............................... 1/55 Event "read" failed: Can't locate object method "remove" via package "Mojo::IOLoop" at t/mojo/app.t line 114.
 ~/ perl -MData::Dumper -Mojo -E 'a("/" => sub { warn Data::Dumper::Dumper(shift->req->json) })->start' daemon
Server available at http://127.0.0.1:3000.
curl -d '{ "boobs":"ok" }' http://localhost:3000/
$VAR1 = {
'boobs' => 'ok'
};
Delivered-To: [email protected]
Received: by 10.229.185.9 with SMTP id cm9csp21656qcb;
Wed, 16 May 2012 03:24:31 -0700 (PDT)
Received: by 10.14.127.78 with SMTP id c54mr480095eei.8.1337163871228;
Wed, 16 May 2012 03:24:31 -0700 (PDT)
Return-Path: <[email protected]>
Received: from mail.modirum.com (mail.modirum.com. [31.185.27.10])
by mx.google.com with ESMTPS id u6si616999eeb.149.2012.05.16.03.24.30
(version=TLSv1/SSLv3 cipher=OTHER);
From: =?iso-8859-1?Q?Eirik_=D8verby?= <[email protected]>
Content-Type: multipart/alternative;
boundary="Apple-Mail=_11538D79-DD2D-4007-B9FB-23624C830341"
X-Smtp-Server: smtp://[email protected]
Subject: =?iso-8859-1?Q?Test_ticket_-_sj=E5_f=F8gglan!?=
X-Universally-Unique-Identifier: a1e265c3-fc8c-4ce2-b2ac-b16d3edb5cd7
Date: Wed, 16 May 2012 12:24:03 +0200
Message-Id: <[email protected]>
To: [email protected]
Mime-Version: 1.0 (Apple Message framework v1278)