Skip to content

Instantly share code, notes, and snippets.

View marcusramberg's full-sized avatar

Marcus Ramberg marcusramberg

View GitHub Profile
DBIx::Class::PassPhraseColumn
column digest_pass => {
data_type => 'text',
passphrase => 'rfc2307',
passphrase_class => 'SaltedDigest',
passphrase_args => {
algorithm => 'SHA-1',
salt_random => 20,
},
my $t=Mojo::IOLoop->trigger();
$t->begin;
$self->search->solr->find($self->stash('id'),sub {
my $res=pop;
$self->stash(folder => $res);
$t->end;
});
$t->start;
#this is what I get on my mac:
npm ok
./bin/hubot: line 6: /Users/marcus/Source/nbirc/node_modules/.bin/hubot: No such file or directory
./bin/hubot: line 6: exec: /Users/marcus/Source/nbirc/node_modules/.bin/hubot: cannot execute: No such file or directory
nbirc $
# This is what I get on freebsd:
Process: Sparrow [22433]
Path: /Applications/Sparrow.app/Contents/MacOS/Sparrow
Identifier: com.sparrowmailapp.sparrow
Version: 1.4.1 (959.1)
App Item ID: 417250177
App External ID: 4535380
Code Type: X86-64 (Native)
Parent Process: launchd [152]
Date/Time: 2011-11-06 17:50:44.745 +0100
[19:00:55] <allan> [18:20:22] ognevsky: the challenge with getting splits into TM is really coming up with a use-case I can get behind — I was dismissive of multiple carets in the past but it’s probably one of my favorite features in 2.0, so it can happen ;)
marcus:~/Source/evproxy$ cpanm --look EV
--> Working on EV
Fetching http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/EV-4.03.tar.gz ... OK
Entering /Users/marcus/.cpanm/work/1323461264.58463/EV-4.03 with /bin/bash
marcus:~/.cpanm/work/1323461264.58463/EV-4.03$ curl -O http://nordaaker.com/docs/EV.xs
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 37640 100 37640 0 0 194k 0 --:--:-- --:--:-- --:--:-- 706k
marcus:~/.cpanm/work/1323461264.58463/EV-4.03$ ls -l EV
EV/ EV.pm EV.xs
rt_source_universum.t line 11
DBIx::Class::Carp::__ANON__(): A DBIx::Class::Storage::TxnScopeGuard went out of scope without explicit commit or error. Rolling back. at /Users/marcus/perl5/perlbrew/perls/perl-5.14.1/lib/site_perl/5.14.1/DBIx/Class/Storage/TxnScopeGuard.pm line 104
All 2 subtests passed 2011-12-11 20:27:21.342 perl[49400:f07] GrowlApplicationBridge: The Growl delegate did not supply a registration dictionary, and the app bundle at /Users/marcus/perl5/perlbrew/perls/perl-5.14.1/bin does not have one. Please tell this application's developer.
t/666_import_source_universum.t:
# Tests were run but no plan was declared and done_testing() was not seen.2011-12-11 20:27:21.349 perl[49400:f07] GrowlApplicationBridge: The Growl delegate did not supply a registration dictionary, and the app bundle at /Users/marcus/perl5/perlbrew/perls/perl-5.14.1/bin does not have one. Please tell this application's developer.
~ $ perl -MMojo::DOM -le'Mojo::DOM->new("<body><div>foo<div>bar</div></div></body>")->find("body > div")->each(sub {print shift->text})'
foo
15:43:39 marcus ~ Mithaldu: sri isn't reviewing gci tasks.
15:43:54 marcus ~ I'm the contributor from the mojo team.
15:43:57 marcus ~ I don't speak german.
15:44:45 Mithaldu ~ not a very nice attitude of him
15:45:11 marcus ~ his time is fairly limited.
15:45:30 marcus ~ I did get meowe to review one of the german mojolicious tasks tho
15:45:51 marcus ~ to be honest, I'd rather sri spent his time writing the new mongodb drivers than reviewing german translations.
15:46:15 @pjcj ~ marcus: did meowe officially sign up as a mentor?
15:46:33 marcus ~ pjcj: no
15:46:54 @pjcj ~ could you ask him to do so, if he has no objections?
# Avoid version control files.
\bRCS\b
\bCVS\b
,v$
\B\.svn\b
# Avoid Makemaker generated and utility files.
\bMakefile$
\bblib
\bMakeMaker-\d