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
nicolasm@grumpy:~$ siege http://localhost:3000/new | |
** SIEGE 2.70 | |
** Preparing 15 concurrent users for battle. | |
The server is now under siege...^C | |
Lifting the server siege... done. | |
Transactions: 494 hits | |
Availability: 100.00 % | |
Elapsed time: 18.49 secs | |
Data transferred: 8.46 MB | |
Response time: 0.05 secs |
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
my @meta_list = $type eq 'enclosure' ? @{$args->{'meta'}} | |
: $type eq 'media_rss' ? @{prepare_media_list($args->{'meta'})} | |
: (); |
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/hubot/scripts/githook.coffee b/hubot/scripts/githook.coffee | |
index 34a706a..c809059 100644 | |
--- a/hubot/scripts/githook.coffee | |
+++ b/hubot/scripts/githook.coffee | |
@@ -181,7 +181,10 @@ module.exports = (robot) -> | |
message += "#{ if e.forced then "force-" else "" }pushed #{ M.NO("commit", e.commits.length) } " | |
message += "to #{ branch }" | |
message += " (#{ short or e.compare })" | |
- for commit in e.commits[-3..] | |
- message += "\n · #{ commit.message.split("\n")[0] } (#{ commit.id.substring(0,8) })" |
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/hubot/scripts/githook.coffee b/hubot/scripts/githook.coffee | |
index 34a706a..fd48020 100644 | |
--- a/hubot/scripts/githook.coffee | |
+++ b/hubot/scripts/githook.coffee | |
@@ -181,7 +181,11 @@ module.exports = (robot) -> | |
message += "#{ if e.forced then "force-" else "" }pushed #{ M.NO("commit", e.commits.length) } " | |
message += "to #{ branch }" | |
message += " (#{ short or e.compare })" | |
- for commit in e.commits[-3..] | |
- message += "\n · #{ commit.message.split("\n")[0] } (#{ commit.id.substring(0,8) })" |
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
Can't evaluate 'sub { 'Log::Log4perl::Appender::' . ( $ENV{BUILDER_PASSIVE} ? 'Screen' : 'ScreenColoredLevels')' (Missing right curly or square bracket at (eval 1216) line 2, at end of line | |
syntax error at (eval 1216) line 2, at EOF | |
) at /usr/local/share/perl/5.14.2/Log/Log4perl/Config.pm line 782 | |
Log::Log4perl::Config::compile_if_perl('sub { \'Log::Log4perl::Appender::\' . ( $ENV{BUILDER_PASSIVE}...') called at /usr/local/share/perl/5.14.2/Log/Log4perl/Config.pm line 753 | |
Log::Log4perl::Config::eval_if_perl('sub { \'Log::Log4perl::Appender::\' . ( $ENV{BUILDER_PASSIVE}...') called at /usr/local/share/perl/5.14.2/Log/Log4perl/Config/BaseConfigurator.pm line 168 | |
Log::Log4perl::Config::BaseConfigurator::parse_post_process('Log::Log4perl::Config::PropertyConfigurator=HASH(0x2a07c80)', 'HASH(0x2d85260)', 'ARRAY(0x14282e0)') called at /usr/local/share/perl/5.14.2/Log/Log4perl/Config.pm line 681 | |
Log::Log4perl::Config::config_read('/home/nicolasm/projects/build-debian/bin/../share/etc/log4per...') called at /usr/ |
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
layout_class = sub { \ | |
'Log::Log4perl::Appender::' \ | |
. ( $ENV{BUILDER_PASSIVE} ? 'Screen' : 'ScreenColoredLevels')\ | |
;\ | |
} | |
log_level = sub { \ | |
($ENV{HARNESS_ACTIVE} ? 'ERROR' : 'TRACE') . ', Screen, File'\ | |
} |
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
test: nodejs ruby-compass | |
sudo npm install -g yo grunt-cli bower grunt | |
grunt tests | |
ruby: | |
ruby || sudo apt-get install ruby | |
ruby-compass: | |
compass -v || sudo apt-get install ruby-compass |
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
in lib/ABCN/Infrastructure/ArticleScript.php | |
public function getVideoArticleIdByMediaId($mediaId) { | |
$query = 'SELECT * FROM content_type_content_video WHERE field_mediamaker_id_value = %s LIMIT 1'; | |
$result = $this->db->doQuery($query, array($mediaId)); | |
if (!$result) { | |
return false; | |
} |
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
$ telnet www.abcnyheter.no 80 | |
Trying 77.40.177.18... | |
Connected to www.abcnyheter.no. | |
Escape character is '^]'. | |
GET /files/drfront/css/front-14.css?k HTTP/1.1 | |
Host: www.abcnyheter.no | |
HTTP/1.1 200 OK | |
Server: Apache | |
Last-Modified: Mon, 13 Jan 2014 13:22:11 GMT |
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
08:12 < marvin> [css-lint master #66174dd6 ] dagfinn triggered a build, lenny is passing 143 tests total, 24 todo, 1 | |
skipped in 147 seconds [more] |