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
#!/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
#!/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
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
<control> ESTABLISH CONNECTION FOR USER: root | |
<control> EXEC ['ssh', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/dwt/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=root', '-o', 'ConnectTimeout=10', 'control', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-1383824368.96-132092729807089 && echo $HOME/.ansible/tmp/ansible-1383824368.96-132092729807089'"] | |
fatal: [vm2.yeepa.de] => SSH encountered an unknown error. The output was: | |
OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011 | |
debug1: Reading configuration data /Users/dwt/.ssh/config | |
debug1: /Users/dwt/.ssh/config line 16: Applying options for * | |
debug1: Reading configuration data /etc/ssh_config | |
debug1: /etc/ssh_config line 20: Applying options for * | |
debug1: /etc/ssh_config line 53: Applying options for * | |
debug1: auto-mux: Trying existing mast |
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 zmq | |
from zmq.eventloop.ioloop import IOLoop | |
from broker import MDPBroker | |
class MyBroker(MDPBroker): | |
pass | |
if __name__ == '__main__': | |
context = zmq.Context() |
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
from pyramid.i18n import TranslationStringFactory | |
_ = TranslationStringFactory('yeepa') | |
def _get_localizer(): | |
from pyramid.i18n import get_localizer, make_localizer | |
from pyramid.threadlocal import get_current_request | |
if get_current_request(): | |
# pyramid context | |
return get_localizer(get_current_request()) | |
else: |
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
from operator import attrgetter | |
from sqlalchemy import Table, event, subquery | |
from sqlalchemy.ext.compiler import compiles | |
from sqlalchemy.engine.reflection import Inspector | |
from sqlalchemy.schema import DDLElement | |
from sqlalchemy.sql.expression import Executable, ClauseElement | |
from yeepa.common.util import monkey_patch | |
from yeepa.backend.models import DBSession, metadata, Base, read_only_metadata |
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
% git rebase master | |
First, rewinding head to replay your work on top of it... | |
Applying: Add CongrexEsrs target | |
Applying: Show search view for events | |
Using index info to reconstruct a base tree... | |
<stdin>:29: trailing whitespace. | |
<stdin>:50: trailing whitespace. | |
warning: 2 lines add whitespace errors. |