Loaded suite /home/ananyo/.rvm/gems/ruby-2.1.2/gems/rake-10.5.0/lib/rake/rake_test_loader
Started
E
================================================================================================================================================
Error: test_should_not_save_comment_without_body(DrupalCommentTest): ActiveRecord::StatementInvalid: SQLite3::ConstraintException: NOT NULL constraint failed: comments.thread: INSERT INTO "comments" ("uid", "nid", "status", "comment") VALUES (1, 1, 1, 'This thing is rad.')
================================================================================================================================================
E
================================================================================================================================================
Error: test_should_scan_callouts_out_of_body(DrupalCommentTest): ActiveRecord::StatementInvalid: SQLite3::ConstraintException: NOT NULL constraint failed: comments.thread: INSERT INTO "comments" ("uid", "nid",
This file contains 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
$('#questions_searchform_input').typeahead({ | |
items: 15, | |
minLength: 3, | |
source: function (query, process) { | |
return $.post('/questions_search/typeahead/' + query, {}, function (data) { | |
return process(data); | |
}) | |
}, | |
updater: function(item) { | |
var url; |
This file contains 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
default: &default | |
adapter: mysql2 | |
encoding: utf8 | |
pool: 5 | |
username: | |
password: | |
socket: /var/run/mysqld/mysqld.sock | |
development: | |
<<: *default |
This file contains 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
$.get('https://mapknitter.org/feeds/author/waren', function (feed) { | |
// processing code goes here | |
}) |
This file contains 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
$.each($(feed).find('channel item'), function (i, item) { | |
title = $(item).find('title').html(), | |
description = $(item).find('description').html(); | |
// Rendering code goes here | |
}) |
This file contains 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
$('#maps table').append('<tr class="feed-item-' + i '"></tr>'); | |
var itemEl = $('#maps table .feed-item-' + i); | |
itemEl.append('<tr class="title"></tr>'); | |
itemEl.find('.title').html(title); | |
itemEl.append('<tr class="description"></tr>'); | |
itemEl.find('.description').html(description); |
This file contains 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
@notes = DrupalNode.where( | |
'type = "note" AND node.status = 1 AND title LIKE ?', | |
"%" + params[:id] + "%" | |
) | |
.joins(:drupal_tag) | |
.where('term_data.name LIKE ?', 'question:%') | |
.order('node.nid DESC') | |
.page(params[:page]) |
$ python manage.py migrate
Traceback (most recent call last):
File "manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/home/ananyo/.local/lib/python2.7/site-packages/django/core/management/__init__.py", line 338, in execute_from_command_line
utility.execute()
File "/home/ananyo/.local/lib/python2.7/site-packages/django/core/management/__init__.py", line 303, in execute
settings.INSTALLED_APPS
File "/home/ananyo/.local/lib/python2.7/site-packages/django/conf/__init__.py", line 48, in __getattr__
This file contains 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
describe("A suite", function() { | |
it("contains spec with an expectation", function() { | |
expect(true).toBe(true); | |
}); | |
}); |
This file contains 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
<ul class="btn-group"> | |
<li rel="tooltip" title="Helpful? Like it and get updates!" class="btn btn-default btn-sm btn-like" node-id="1" id="like-button-1"><span id="like-star-1" class="fa fa-star"></span> <span id="like-count-1">1</span></li> | |
</ul> | |
<script> | |
jQuery(document).ready(function() { | |
$('#like-button-1').on('click', clickliked); | |
}) |
OlderNewer