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
<?xml version="1.0" encoding="UTF-8"?> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>org.dmuth.ipfw</string> | |
<key>Program</key> | |
<string>/sbin/ipfw</string> | |
<key>ProgramArguments</key> | |
<array> |
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
{ | |
"id": "http://json-schema.org/draft-04/schema#", | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"description": "Lesson schema", | |
"type": "object", | |
"required": ["name", "language", "mission", "audience", "units"], | |
"properties": { | |
"name": { | |
"type": "string", | |
"description": "Name of the lesson" |
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
{ | |
"id": "http://json-schema.org/draft-04/schema#", | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"description": "Theory unit schema", | |
"type": "object", | |
"required": ["video"], | |
"properties": { | |
"video": { | |
"type": "string", | |
"description": "YouTube video id" |
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
{ | |
"id": "http://json-schema.org/draft-04/schema#", | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"description": "Quiz schema", | |
"type": "object", | |
"properties": { | |
"items": { | |
"type": "object", | |
"patternProperties": { | |
"[A-Za-z0-9_-]" : { |
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
{ | |
"id": "http://json-schema.org/draft-04/schema#", | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"description": "Theory unit schema", | |
"type": "object", | |
"required": ["name", "description", "exercise_files"], | |
"properties": { | |
"name": { | |
"type": "string", | |
"description": "Name of the task" |
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
{ | |
"id": "http://json-schema.org/draft-04/schema#", | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"description": "Theory unit schema", | |
"type": "object", | |
"properties": { | |
"items": { | |
"type": "object", | |
"patternProperties": { | |
"[A-Za-z0-9_-]" : { |
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
{ | |
"id": "http://json-schema.org/draft-04/schema#", | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"description": "Theory unit schema", | |
"type": "object", | |
"properties": { | |
"items": { | |
"type": "object", | |
"patternProperties": { | |
"[A-Za-z0-9_-]" : { |
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
$ pip uninstall hexlet | |
$ echo export PATH='/usr/local/bin:$PATH' >> ~/.zshrc | |
$ brew update | |
$ brew doctor | |
$ brew uninstall python | |
$ brew install python --build-from-source | |
$ pip install --upgrade pip | |
$ pip install hexlet |
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
it("updates stock market table when user configuration changes", function() { | |
config.setStartingBalance(...); | |
var expectedTable = <StockMarketTable stockMarketProjection={projectionFor(config)} />; | |
var actualTable = TestUtils.findRenderedComponentWithType(app, StockMarketTable); | |
// Но как делать сравнение? | |
}); |
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
function checkComponent(actual, expected) { | |
var actualRendering = React.renderComponentToStaticMarkup(actual._descriptor); | |
var expectedRendering = React.renderComponentToStaticMarkup(expected); | |
expect(actualRendering).to.equal(expectedRendering); | |
} |
OlderNewer