This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function parse_git_dirty { | |
[[ $(git status 2> /dev/null | tail -n1) != "nothing to commit (working directory clean)" ]] && echo "*" | |
} | |
function parse_git_branch { | |
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e "s/* \(.*\)/[\1$(parse_git_dirty)]/" | |
} | |
export PS1='\u@\h \[\033[1;33m\]\w\[\033[0m\]$(parse_git_branch)$ ' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
marcus@Command-Central /tmp$ curl http://github.com/Luzifer/kscripts/raw/master/iusethis_profiler.rb |ruby | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 5262 100 5262 0 0 8347 0 --:--:-- --:--:-- --:--:-- 21348 | |
Welcome to iUseThis_profiler v.0.4 | |
- Collecting paths... | |
- Collecting apps and widgets (This may need a little time. Please be patient!) | |
+ Searching '/Users/marcus/Applications'... | |
+ Searching '/Applications'... | |
+ Searching '/Users/marcus/Library/Widgets'... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#line 1 | |
package Module::Install::Catalyst; | |
use strict; | |
our @ISA; | |
require Module::Install::Base; | |
@ISA = qw/Module::Install::Base/; | |
use File::Find; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[gui] | |
recentrepo = /Users/marcus/Source/git/nordaaker | |
[user] | |
email = [email protected] | |
[github] | |
user = marcusramberg | |
token = 28cca00540c7bb5140307262309f1ae9 | |
[core] | |
editor = mate -w | |
[alias] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Command-Central:Mojo marcus$ prove -l t/mojolicious/app.t | |
t/mojolicious/app.t .. 1/130 | |
# Failed test at t/mojolicious/app.t line 63. | |
# got: '/somethingtest' | |
# expected: '/test4/42' | |
t/mojolicious/app.t .. 84/130 # Looks like you failed 1 test of 130. | |
t/mojolicious/app.t .. Dubious, test returned 1 (wstat 256, 0x100) | |
Failed 1/130 subtests | |
Test Summary Report |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/Mojo/Message.pm b/lib/Mojo/Message.pm | |
index 2b12ec2..60f2576 100644 | |
--- a/lib/Mojo/Message.pm | |
+++ b/lib/Mojo/Message.pm | |
@@ -240,7 +240,15 @@ sub dom { | |
and $charset = $1; | |
# Parse | |
- return $class->new(charset => $charset)->parse($self->body); | |
+ my $dom=$class->new(charset => $charset)->parse($self->body); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/Mojo/Message.pm b/lib/Mojo/Message.pm | |
index 2b12ec2..60f2576 100644 | |
--- a/lib/Mojo/Message.pm | |
+++ b/lib/Mojo/Message.pm | |
@@ -240,7 +240,15 @@ sub dom { | |
and $charset = $1; | |
# Parse | |
- return $class->new(charset => $charset)->parse($self->body); | |
+ my $dom=$class->new(charset => $charset)->parse($self->body); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Changes b/Changes | |
index b3f1f2b..2a37e6c 100644 | |
--- a/Changes | |
+++ b/Changes | |
@@ -29,6 +29,7 @@ This file documents the revision history for Perl extension Mojolicious. | |
(vti) | |
- Added b function to all Mojo::Template templates. | |
- Added selector support to the dom method of Mojo::Message. (marcus) | |
+ - Make failed ojo requests warn (marcus) | |
- Simplified transaction pausing by replacing it with an automatism. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Changes b/Changes | |
index b3f1f2b..952bfe1 100644 | |
--- a/Changes | |
+++ b/Changes | |
@@ -29,6 +29,7 @@ This file documents the revision history for Perl extension Mojolicious. | |
(vti) | |
- Added b function to all Mojo::Template templates. | |
- Added selector support to the dom method of Mojo::Message. (marcus) | |
+ - Make failed ojo requests warn (marcus) | |
- Simplified transaction pausing by replacing it with an automatism. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package Startsiden::TVGuide::App::Command::import_queue; | |
use Moose; | |
extends qw(MooseX::App::Cmd::Command); | |
with 'Startsiden::TVGuide::Meta::Config'; | |
with 'Startsiden::TVGuide::Meta::RuntimeLoader' => { | |
deps => [qw/ | |
TVDB::API | |
/], | |
}; |