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
transition each start | |
✗ invokes the listener after the specified delay | |
» expected [ 706, 706 ] to be in within 20 of [ 350, 350 ] // transition-test-each.js:43 | |
transition each end | |
✗ invokes the listener after the specified delay | |
» expected [ 2452, 2452 ] to be in within 20 of [ 350, 350 ] // transition-test-each.js:115 | |
✗ Broken » 2583 honored ∙ 2 broken (22.382s) |
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
#!/usr/bin/env python | |
import colander | |
import deform | |
from deform.widget import TextAreaWidget, SequenceWidget | |
class AnswerEditSchema(colander.Schema): | |
title = colander.SchemaNode( |
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
#!/usr/bin/env python | |
import colander | |
import deform | |
from deform.widget import TextAreaWidget, SequenceWidget | |
class AnswerEditSchema(colander.Schema): | |
title = colander.SchemaNode( |
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
#!/usr/bin/env python | |
import colander | |
import deform | |
from deform.widget import TextAreaWidget, SequenceWidget | |
class AnswerEditSchema(colander.Schema): | |
answer_title = colander.SchemaNode( |
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
typedef struct color { | |
byte r,g,b; | |
} color; | |
// if I delete the word 'struct' from the following line - the programm doesn't compile anymore | |
void writeToDiode(struct color aColor) { | |
} | |
void setup() { | |
} |
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
2015-07-03T10:04:22.855073+00:00 app[web.1]: Internal Server Error: /admin/process/processstep/2/ | |
2015-07-03T10:04:22.855079+00:00 app[web.1]: Traceback (most recent call last): | |
2015-07-03T10:04:22.855081+00:00 app[web.1]: File "/app/.heroku/python/lib/python2.7/site-packages/django/core/handlers/base.py", line 164, in get_response | |
2015-07-03T10:04:22.855083+00:00 app[web.1]: response = response.render() | |
2015-07-03T10:04:22.855085+00:00 app[web.1]: File "/app/.heroku/python/lib/python2.7/site-packages/django/template/response.py", line 158, in render | |
2015-07-03T10:04:22.855086+00:00 app[web.1]: self.content = self.rendered_content | |
2015-07-03T10:04:22.855088+00:00 app[web.1]: File "/app/.heroku/python/lib/python2.7/site-packages/django/template/response.py", line 135, in rendered_content | |
2015-07-03T10:04:22.855090+00:00 app[web.1]: content = template.render(context, self._request) | |
2015-07-03T10:04:22.855092+00:00 app[web.1]: File "/app/.heroku/python/lib/python2.7/site-packages/django/templ |
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
foo |
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
#import <Foundation/Foundation.h> | |
@implementation NSArray (BlocksTest) | |
- (void) do:(void (^)(id))aBlock; | |
{ | |
[self enumerateObjectsUsingBlock: | |
^(id obj, NSUInteger idx, BOOL *stop) { | |
aBlock(obj); | |
}]; |
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
<html> | |
<head> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js"></script> | |
<script> | |
$(function(){ | |
console.log("$('dt:first').text()", $('dt:first').text()) | |
console.log("should only be foo", $('dt:first').text() === "foo"); | |
var dls = $('dl'); | |
console.log("dls.find('dt:first').text()", dls.find('dt:first').text()) | |
console.log("should only be foo", dls.find('dt:first').text() === "foo"); |
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
class Object | |
def chain_method(with_symbol, &with_block_returned_from) | |
old_method = method with_symbol | |
new_method = with_block_returned_from.call old_method | |
eigenclass = class << self; self; end | |
eigenclass.class_eval do | |
define_method with_symbol, new_method | |
end | |
end | |
end |
OlderNewer