prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>setup.py.diff original: updated: import os <|file_sep|>setup.py.diff original: with open("requirements.txt") as f: requirements = f.read().splitlines() updated: def read_file(filename): filepath = os.path.join( os.path.dirname(os.path.dirname(__file__)), filename) if os.path.exists(file...
else: return '' REQUIREMENTS = read_file("requirements.txt").splitlines() setup( name="s3contents", version=versioneer.get_version(), cmdclass=versioneer.get_cmdclass(), description="A S3-backed ContentsManager implementation for Jupyter", long_description=read_file('README.md'), ...
<|file_sep|>setup.py.diff original: updated: import os <|file_sep|>setup.py.diff original: with open("requirements.txt") as f: requirements = f.read().splitlines() updated: def read_file(filename): filepath = os.path.join( os.path.dirname(os.path.dirname(__file__)), filename) if os.path.exists(file...
232eba0b7521d4fa7c005339f64690dd0b807cd2
setup.py
setup.py
Python
<|file_sep|>original/.rubocop.yml inherit_from: - ./.rubocop_todo.yml Metrics/LineLength: Max: 100 Style/RegexpLiteral: MaxSlashes: 0 Style/UnneededPercentQ: Enabled: false <|file_sep|>current/.rubocop.yml inherit_from: - ./.rubocop_todo.yml Metrics/LineLength: Max: 100 Style/RegexpLiteral: MaxSlashe...
inherit_from: - ./.rubocop_todo.yml Metrics/LineLength: Max: 100 Style/RegexpLiteral: MaxSlashes: 0 Style/UnneededPercentQ: Enabled: false Style/WordArray: Enabled: false
<|file_sep|>original/.rubocop.yml inherit_from: - ./.rubocop_todo.yml Metrics/LineLength: Max: 100 Style/RegexpLiteral: MaxSlashes: 0 Style/UnneededPercentQ: Enabled: false <|file_sep|>current/.rubocop.yml inherit_from: - ./.rubocop_todo.yml Metrics/LineLength: Max: 100 Style/RegexpLiteral: MaxSlashe...
a6454e17b978ee5fd8fc31d63a99bf3d2d98fdbe
.rubocop.yml
.rubocop.yml
YAML
<|file_sep|>original/libcdr/libcdr-0.0.0.patch --- misc/libcdr-0.0.0/src/lib/libcdr_utils.h +++ misc/build/libcdr-0.0.0/src/lib/libcdr_utils.h @@ -41,17 +41,8 @@ #else -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - -#ifdef HAVE_STDINT_H #include <stdint.h> -#endif - -#ifdef HAVE_INTTYPES_H #include <inttyp...
-#ifdef HAVE_STDINT_H #include <stdint.h> -#endif - -#ifdef HAVE_INTTYPES_H #include <inttypes.h> -#endif #endif --- misc/libcdr-0.0.0/src/lib/makefile.mk +++ misc/build/libcdr-0.0.0/src/lib/makefile.mk @@ -28,6 +28,10 @@ INCPRE+=$(SOLARVER)$/$(INPATH)$/inc$/libwpg .ENDIF +.IF "$(SYSTEM_ZLIB)" != "YES" +INCP...
<|file_sep|>original/libcdr/libcdr-0.0.0.patch --- misc/libcdr-0.0.0/src/lib/libcdr_utils.h +++ misc/build/libcdr-0.0.0/src/lib/libcdr_utils.h @@ -41,17 +41,8 @@ #else -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - -#ifdef HAVE_STDINT_H #include <stdint.h> -#endif - -#ifdef HAVE_INTTYPES_H #include <inttyp...
03a8c54cfc12222c0614fb5099d287777e17a88b
libcdr/libcdr-0.0.0.patch
libcdr/libcdr-0.0.0.patch
Diff
<|file_sep|>original/docs/docs/09-addons.md --- id: addons title: Add-ons layout: docs permalink: addons.html prev: tooling-integration.html next: animation.html --- `React.addons` is where we park some useful utilities for building React apps. **These should be considered experimental** but will eventually be rolled ...
layout: docs permalink: addons.html prev: tooling-integration.html next: animation.html --- `React.addons` is where we park some useful utilities for building React apps. **These should be considered experimental** but will eventually be rolled into core or a blessed utilities library: - [`TransitionGroup` and `CSSTr...
<|file_sep|>original/docs/docs/09-addons.md --- id: addons title: Add-ons layout: docs permalink: addons.html prev: tooling-integration.html next: animation.html --- `React.addons` is where we park some useful utilities for building React apps. **These should be considered experimental** but will eventually be rolled ...
a712e75e83a97a10683a81f36f9cb292d8a58665
docs/docs/09-addons.md
docs/docs/09-addons.md
Markdown
<|file_sep|>original/app/assets/stylesheets/utilities/_clearfix.scss %clearfix { zoom: 1; &:before, &:after { content: "\0020"; display: block; height: 0; overflow: hidden; } &:after { clear: both; } } <|file_sep|>current/app/assets/stylesheets/utilities/_clearfix.scss %clearfix { zoom: ...
// Use clearfix to prevent a container element from collapsing when an internal element is floated. // // Styleguide clearfix %clearfix { zoom: 1; &:before, &:after { content: "\0020"; display: block; height: 0; overflow: hidden; } &:after { clear: both; } }
<|file_sep|>original/app/assets/stylesheets/utilities/_clearfix.scss %clearfix { zoom: 1; &:before, &:after { content: "\0020"; display: block; height: 0; overflow: hidden; } &:after { clear: both; } } <|file_sep|>current/app/assets/stylesheets/utilities/_clearfix.scss %clearfix { zoom: ...
51156e394a2361b80641afdc21dfe9ab9293be25
app/assets/stylesheets/utilities/_clearfix.scss
app/assets/stylesheets/utilities/_clearfix.scss
SCSS
<|file_sep|>packages/web/src/index.js.diff original: updated: import NumberBox from "./components/basic/NumberBox"; <|file_sep|>original/packages/web/src/index.js import DataSearch from "./components/search/DataSearch"; import ReactiveList from "./components/result/ReactiveList"; export { // basic ReactiveBase, T...
import DataSearch from "./components/search/DataSearch"; import ReactiveList from "./components/result/ReactiveList"; export { // basic ReactiveBase, TextField, SelectedFilters, ToggleButton, NumberBox, // list SingleList, MultiList, // search DataSearch, // result ReactiveList
<|file_sep|>packages/web/src/index.js.diff original: updated: import NumberBox from "./components/basic/NumberBox"; <|file_sep|>original/packages/web/src/index.js import DataSearch from "./components/search/DataSearch"; import ReactiveList from "./components/result/ReactiveList"; export { // basic ReactiveBase, T...
f7fc75b4e3f12042a3f2c7c4a76d378857872333
packages/web/src/index.js
packages/web/src/index.js
JavaScript
<|file_sep|>original/download.js const AWS = require('aws-sdk') const fs = require('fs-extra') const config = require('config') const aws = config.aws AWS.config = new AWS.Config(aws) const s3 = new AWS.S3() const today = new Date().toISOString().slice(0, 10) const params = { Bucket: config.tamarac_bucket, Deli...
const AWS = require('aws-sdk') const fs = require('fs-extra') const config = require('config') const aws = config.aws AWS.config = new AWS.Config(aws) const s3 = new AWS.S3() const today = process.argv[2] || new Date().toISOString().slice(0, 10) const params = { Bucket: config.tamarac_bucket, Delimiter: '/', ...
<|file_sep|>original/download.js const AWS = require('aws-sdk') const fs = require('fs-extra') const config = require('config') const aws = config.aws AWS.config = new AWS.Config(aws) const s3 = new AWS.S3() const today = new Date().toISOString().slice(0, 10) const params = { Bucket: config.tamarac_bucket, Deli...
fac9120da2029a9d893c1e69d679adc3f0f455fe
download.js
download.js
JavaScript
<|file_sep|>original/spec/rubocop_spec.rb <|file_sep|>current/spec/rubocop_spec.rb <|file_sep|>updated/spec/rubocop_spec.rb
describe Spaceship do it "#should pass rubocop code style checks" do puts "Running rubocop..." `rubocop -o /tmp/spaceship_rubocop` output = File.read("/tmp/spaceship_rubocop") expect(output.include? "no offenses detected").to be(true) end end
<|file_sep|>original/spec/rubocop_spec.rb <|file_sep|>current/spec/rubocop_spec.rb <|file_sep|>updated/spec/rubocop_spec.rb describe Spaceship do it "#should pass rubocop code style checks" do puts "Running rubocop..." `rubocop -o /tmp/spaceship_rubocop` output = File.read("/tmp/spaceship_rubocop") ...
0d8fdf5ab5b27bd29f79e056449586639cf3ec99
spec/rubocop_spec.rb
spec/rubocop_spec.rb
Ruby
<|file_sep|>lib/relaxdb/views.rb.diff original: if(doc.class == "${target_class}") updated: if(doc.class == "${target_class}" && doc.${relationship_to_client}_id) <|file_sep|>original/lib/relaxdb/views.rb end def self.has_n(target_class, relationship_to_client) template = <<-MAP_FUNC ...
end def self.has_n(target_class, relationship_to_client) template = <<-MAP_FUNC function(doc) { if(doc.class == "${target_class}" && doc.${relationship_to_client}_id) emit(doc.${relationship_to_client}_id, doc); } MAP_FUNC template.sub!("${target_class}", targe...
<|file_sep|>lib/relaxdb/views.rb.diff original: if(doc.class == "${target_class}") updated: if(doc.class == "${target_class}" && doc.${relationship_to_client}_id) <|file_sep|>original/lib/relaxdb/views.rb end def self.has_n(target_class, relationship_to_client) template = <<-MAP_FUNC ...
277ea801b77f16f16dce1bb9013cf75bc83549e6
lib/relaxdb/views.rb
lib/relaxdb/views.rb
Ruby
<|file_sep|>original/.markdownlint.yml default: true # Using h2 has side effects in GitBook's toc. Thus, we sometimes switch from h1 to h3 MD001: false MD012: # 2 are required, because GitBook adss two blank lines at the end of a file maximum: 2 MD013: false # The FAQs state questions - we allow them MD026: p...
default: true # Using h2 has side effects in GitBook's toc. Thus, we sometimes switch from h1 to h3 MD001: false MD012: # 2 are required, because GitBook adss two blank lines at the end of a file maximum: 2 MD013: false # The FAQs state questions - we allow them MD026: punctuation: ".,;:!" # not supported by...
<|file_sep|>original/.markdownlint.yml default: true # Using h2 has side effects in GitBook's toc. Thus, we sometimes switch from h1 to h3 MD001: false MD012: # 2 are required, because GitBook adss two blank lines at the end of a file maximum: 2 MD013: false # The FAQs state questions - we allow them MD026: p...
e89a0e49c5f710418b4c4714ce4667d8ad2c7f25
.markdownlint.yml
.markdownlint.yml
YAML
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.4.1 tox==2.9.1 coverage==4.4.1 Sphinx==1.6.4 cryptography==2.1.1 PyYAML==3.12 <|file_sep|>current/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.4.1 tox==2.9.1 cove...
pip==9.0.1 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.4.1 tox==2.9.1 coverage==4.4.1 Sphinx==1.8.4 cryptography==2.1.1 PyYAML==3.12
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.4.1 tox==2.9.1 coverage==4.4.1 Sphinx==1.6.4 cryptography==2.1.1 PyYAML==3.12 <|file_sep|>current/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.4.1 tox==2.9.1 cove...
c2f6cfda9660927945333e74e8207b81b3e24edc
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/README.md # Karver <|file_sep|>current/README.md # Karver <|file_sep|>updated/README.md
# Karver Karver is a template engine written in Haskell, and the syntax is heavily inspired by [jinja2][1]. The project is in early development, so it isn't as full featured or production ready as jinja is. However, karver's main focus is for Haskell programmers, wanting a template engine that is simple and has good ...
<|file_sep|>original/README.md # Karver <|file_sep|>current/README.md # Karver <|file_sep|>updated/README.md # Karver Karver is a template engine written in Haskell, and the syntax is heavily inspired by [jinja2][1]. The project is in early development, so it isn't as full featured or production ready as jinja is. Ho...
f9e4e248266eef2b8e06ffdde2ba6a84628c7559
README.md
README.md
Markdown
<|file_sep|>original/app/templates/readme.md Usage <%= moduleName %> [input] Options --foo Lorem ipsum. [Default: false] Examples $ <%= moduleName %> unicorns & rainbows $ <%= moduleName %> ponies ponies & rainbows ```<% } %> ## Contribute PRs accepted. Check out the [issues](https:/...
Usage <%= moduleName %> [input] Options --foo Lorem ipsum. [Default: false] Examples $ <%= moduleName %> unicorns & rainbows $ <%= moduleName %> ponies ponies & rainbows ```<% } %> ## Contribute PRs accepted. Check out the [issues](https://github.com/<%= githubUsername %>/<%= moduleN...
<|file_sep|>original/app/templates/readme.md Usage <%= moduleName %> [input] Options --foo Lorem ipsum. [Default: false] Examples $ <%= moduleName %> unicorns & rainbows $ <%= moduleName %> ponies ponies & rainbows ```<% } %> ## Contribute PRs accepted. Check out the [issues](https:/...
0a3e53bd341e9b0c7bd62e68dab5b49c375049da
app/templates/readme.md
app/templates/readme.md
Markdown
<|file_sep|>original/test/EventListenerDataSpec.ts <|file_sep|>current/test/EventListenerDataSpec.ts <|file_sep|>updated/test/EventListenerDataSpec.ts
import EventDispatcher from "../src/lib/EventDispatcher"; import EventListenerData from "../src/lib/EventListenerData"; import chai = require('chai'); import sinon = require('sinon'); import sinonChai = require('sinon-chai'); import BasicEvent from "../src/lib/event/BasicEvent"; const {expect} = chai; chai.use(sinonCha...
<|file_sep|>original/test/EventListenerDataSpec.ts <|file_sep|>current/test/EventListenerDataSpec.ts <|file_sep|>updated/test/EventListenerDataSpec.ts import EventDispatcher from "../src/lib/EventDispatcher"; import EventListenerData from "../src/lib/EventListenerData"; import chai = require('chai'); import sinon = r...
c4c32b1e2b4138bfd4a1dcef80556baf30fa995e
test/EventListenerDataSpec.ts
test/EventListenerDataSpec.ts
TypeScript
<|file_sep|>src/panda/Events.js.diff original: updated: /** * Initialize the Panda Events Library */ <|file_sep|>src/panda/Events.js.diff original: updated: /** * Add an event listener using jQuery's 'on' * * @param {object|string} listener * @par...
/** * Remove an event listener. * * @param {object|string} listener * @param {string} event * @param {string} context */ off: function (listener, event, context) { $(listener).off(event, context); }, /** * Trigge...
<|file_sep|>src/panda/Events.js.diff original: updated: /** * Initialize the Panda Events Library */ <|file_sep|>src/panda/Events.js.diff original: updated: /** * Add an event listener using jQuery's 'on' * * @param {object|string} listener * @par...
a102364e4db8550d84d409574daa7b390ca2bf0f
src/panda/Events.js
src/panda/Events.js
JavaScript
<|file_sep|>original/tests/grammar_term-nonterm_test/NonterminalsInvalidTest.py <|file_sep|>current/tests/grammar_term-nonterm_test/NonterminalsInvalidTest.py <|file_sep|>updated/tests/grammar_term-nonterm_test/NonterminalsInvalidTest.py
#!/usr/bin/env python """ :Author Patrik Valkovic :Created 23.06.2017 16:39 :Licence GNUv3 Part of grammpy """ from unittest import TestCase, main from grammpy.RawGrammar import RawGrammar class NonterminalsInvalidTest(TestCase): pass if __name__ == '__main__': main()
<|file_sep|>original/tests/grammar_term-nonterm_test/NonterminalsInvalidTest.py <|file_sep|>current/tests/grammar_term-nonterm_test/NonterminalsInvalidTest.py <|file_sep|>updated/tests/grammar_term-nonterm_test/NonterminalsInvalidTest.py #!/usr/bin/env python """ :Author Patrik Valkovic :Created 23.06.2017 16:39 :Lic...
791e079bd31184f9ad6cd845bda29a49ffc85d5d
tests/grammar_term-nonterm_test/NonterminalsInvalidTest.py
tests/grammar_term-nonterm_test/NonterminalsInvalidTest.py
Python
<|file_sep|>original/ansible/main.yml bosh_cli_version: "5.2.2" yq_linux_version: "1.14.0" terraform_version: "0.11.8" bosh_bootloader_version: "6.9.16" credhub_cli_version: "1.7.7" postman_version: "6.3.0" fly_version: "3.14.1" groovy_version: "2.4.15" vscode_version: "1.23.0" h...
bosh_cli_version: "5.2.2" yq_linux_version: "1.14.0" terraform_version: "0.11.8" bosh_bootloader_version: "6.9.16" credhub_cli_version: "1.7.7" postman_version: "6.3.0" fly_version: "3.14.1" groovy_version: "2.4.15" vscode_version: "1.23.0" hub_version: "2.5.1" docker_users: ...
<|file_sep|>original/ansible/main.yml bosh_cli_version: "5.2.2" yq_linux_version: "1.14.0" terraform_version: "0.11.8" bosh_bootloader_version: "6.9.16" credhub_cli_version: "1.7.7" postman_version: "6.3.0" fly_version: "3.14.1" groovy_version: "2.4.15" vscode_version: "1.23.0" h...
b624abc46cbe883b14c7c965e186b7b8943890f7
ansible/main.yml
ansible/main.yml
YAML
<|file_sep|>original/bin/etholow.js yield game.loadDir(target); break; } return game; } const actions = { play: function*() { const game = yield loadGame(1); yield game.run(new ReadlineInterface()); }, export: function*() { const game = yield loadGame(1); yield game.saveJson(args[2]); }, }; functi...
yield game.loadDir(target); break; } return game; } const actions = { play: function*() { const game = yield loadGame(1); yield game.run(new ReadlineInterface(), game.data.config.playerOptions); }, export: function*() { const game = yield loadGame(1); yield game.saveJson(args[2]); }, }; function *...
<|file_sep|>original/bin/etholow.js yield game.loadDir(target); break; } return game; } const actions = { play: function*() { const game = yield loadGame(1); yield game.run(new ReadlineInterface()); }, export: function*() { const game = yield loadGame(1); yield game.saveJson(args[2]); }, }; functi...
a872aaeac83bfd6db32c11da040e7c16a636aa6e
bin/etholow.js
bin/etholow.js
JavaScript
<|file_sep|>original/maple/PartitionTests.mpl <|file_sep|>current/maple/PartitionTests.mpl <|file_sep|>updated/maple/PartitionTests.mpl
with(Hakaru): with(NewSLO): with(Partition): with(KB): TestHakaru(Partition(a<b, VAL, b>a, VAL), VAL, label="Partition with identical bodies");
<|file_sep|>original/maple/PartitionTests.mpl <|file_sep|>current/maple/PartitionTests.mpl <|file_sep|>updated/maple/PartitionTests.mpl with(Hakaru): with(NewSLO): with(Partition): with(KB): TestHakaru(Partition(a<b, VAL, b>a, VAL), VAL, label="Partition with identical bodies");
ce14a3b3f18558be5c93b5456f73dec6d68e9976
maple/PartitionTests.mpl
maple/PartitionTests.mpl
Maple
<|file_sep|>original/awa/plugins/awa-comments/db/comment-queries.xml </property> </class> <query name='comment-list'> <comment>Get the list of comments associated with given database entity</comment> <sql> SELECT c.id, u.name, e.email, c.create_date, c.me...
</property> </class> <query name='comment-list'> <comment>Get the list of comments associated with given database entity</comment> <sql> SELECT c.id, u.name, e.email, c.create_date, c.message FROM awa_comments AS c INNER JOIN awa_user AS u ON c.au...
<|file_sep|>original/awa/plugins/awa-comments/db/comment-queries.xml </property> </class> <query name='comment-list'> <comment>Get the list of comments associated with given database entity</comment> <sql> SELECT c.id, u.name, e.email, c.create_date, c.me...
29b3bd390b7af0822f976fd0c2eecf86e6ec3227
awa/plugins/awa-comments/db/comment-queries.xml
awa/plugins/awa-comments/db/comment-queries.xml
XML
<|file_sep|>original/app/views/thredded/messageboards/index.html.erb <% content_for :thredded_page_id, 'thredded--messageboards-index' %> <% content_for :thredded_breadcrumbs, render('thredded/shared/breadcrumbs') %> <%= thredded_page do %> <section class="thredded--main-section thredded--messageboards"> <% @grou...
<% content_for :thredded_page_id, 'thredded--messageboards-index' %> <% content_for :thredded_breadcrumbs, render('thredded/shared/breadcrumbs') %> <%= thredded_page do %> <section class="thredded--main-section thredded--messageboards"> <% @groups.each do |group| %> <% if group.name.present? %> <h3>...
<|file_sep|>original/app/views/thredded/messageboards/index.html.erb <% content_for :thredded_page_id, 'thredded--messageboards-index' %> <% content_for :thredded_breadcrumbs, render('thredded/shared/breadcrumbs') %> <%= thredded_page do %> <section class="thredded--main-section thredded--messageboards"> <% @grou...
ffb61ad4d047b379d3586fa5093b5dd18710f14a
app/views/thredded/messageboards/index.html.erb
app/views/thredded/messageboards/index.html.erb
HTML+ERB
<|file_sep|>original/lib/base-theme-watcher.coffee path = require 'path' Watcher = require './watcher' module.exports = class BaseThemeWatcher extends Watcher constructor: -> super() @stylesheetsPath = path.dirname(window.resolveStylesheet('../static/atom.less')) @watch() watch: -> filePaths = fs....
path = require 'path' Watcher = require './watcher' module.exports = class BaseThemeWatcher extends Watcher constructor: -> super() @stylesheetsPath = path.dirname(window.resolveStylesheet('../static/atom.less')) @watch() watch: -> filePaths = fs.readdirSync(@stylesheetsPath).filter (filePath) -> ...
<|file_sep|>original/lib/base-theme-watcher.coffee path = require 'path' Watcher = require './watcher' module.exports = class BaseThemeWatcher extends Watcher constructor: -> super() @stylesheetsPath = path.dirname(window.resolveStylesheet('../static/atom.less')) @watch() watch: -> filePaths = fs....
2fa0c8c17dd29125039ac2018be33abcd939e5f4
lib/base-theme-watcher.coffee
lib/base-theme-watcher.coffee
CoffeeScript
<|file_sep|>original/ansi/doc/conf.py project = u'sphinxcontrib-ansi' copyright = u'2010, Sebastian Wiesner' version = '0.5' release = '0.5' exclude_patterns = ['_build'] html_theme = 'default' html_static_path = [] intersphinx_mapping = {'http://docs.python.org/': None, 'http://sphinx.pocoo.o...
project = u'sphinxcontrib-ansi' copyright = u'2010, Sebastian Wiesner' version = '0.5' release = '0.5' exclude_patterns = ['_build'] html_theme = 'default' html_static_path = [] intersphinx_mapping = {'python': ('http://docs.python.org/', None)} # broken in Sphinx 1.0 # ...
<|file_sep|>original/ansi/doc/conf.py project = u'sphinxcontrib-ansi' copyright = u'2010, Sebastian Wiesner' version = '0.5' release = '0.5' exclude_patterns = ['_build'] html_theme = 'default' html_static_path = [] intersphinx_mapping = {'http://docs.python.org/': None, 'http://sphinx.pocoo.o...
fecb3e2b610609ff24b8b19483e0c4b19f23e6c9
ansi/doc/conf.py
ansi/doc/conf.py
Python
<|file_sep|>devel-docs/new_documentation.md.diff original: Normally the documentation pages are stored in /docs and /devel-docs directories. updated: Normally the documentation files are stored in /docs and /devel-docs directories. <|file_sep|>original/devel-docs/new_documentation.md Normally the documentation pages ar...
Normally the documentation files are stored in /docs and /devel-docs directories. When you create a new page keep in mind don't leave blanks in the filename. The file name is used to generate a "title page". ## Static content generated from md files These files are used to autogenerate html page accesibles from [Ra...
<|file_sep|>devel-docs/new_documentation.md.diff original: Normally the documentation pages are stored in /docs and /devel-docs directories. updated: Normally the documentation files are stored in /docs and /devel-docs directories. <|file_sep|>original/devel-docs/new_documentation.md Normally the documentation pages ar...
8051add1a9fed745a589ce21127836c2a6072126
devel-docs/new_documentation.md
devel-docs/new_documentation.md
Markdown
<|file_sep|>original/src/type.js export function isNumber(v) { return typeof v === "number"; } export function isString(v) { return typeof v === "string"; } export function isObject(v) { return typeof v === "object"; } export function isArray(v) { return Array.isArray(v); } export function isFunction(v) { ...
export function isNumber(v) { return typeof v === "number"; } export function isString(v) { return typeof v === "string"; } export function isObject(v) { return typeof v === "object" && v !== null; } export function isArray(v) { return Array.isArray(v); } export function isFunction(v) { return typeof v ==...
<|file_sep|>original/src/type.js export function isNumber(v) { return typeof v === "number"; } export function isString(v) { return typeof v === "string"; } export function isObject(v) { return typeof v === "object"; } export function isArray(v) { return Array.isArray(v); } export function isFunction(v) { ...
8d62f9370a2948002853a2f9b06a9ffea57849ea
src/type.js
src/type.js
JavaScript
<|file_sep|>original/app/config/config_test.yml password: "%database_password_test%" charset: UTF8 security: encoders: Symfony\Component\Security\Core\User\User: plaintext providers: in_memory: memory: users: admin: ...
security: encoders: Symfony\Component\Security\Core\User\User: plaintext providers: in_memory: memory: users: admin: password: sportiu roles: 'ROLE_ADMIN' firewalls: test: p...
<|file_sep|>original/app/config/config_test.yml password: "%database_password_test%" charset: UTF8 security: encoders: Symfony\Component\Security\Core\User\User: plaintext providers: in_memory: memory: users: admin: ...
1eedacfc802f839b90a18f4d5a4d1368e80b1fc1
app/config/config_test.yml
app/config/config_test.yml
YAML
<|file_sep|>original/README.md server-sdk-nodejs ================= Rong Cloud Server SDK in Nodejs. <|file_sep|>current/README.md server-sdk-nodejs ================= Rong Cloud Server SDK in Nodejs. <|file_sep|>updated/README.md
server-sdk-nodejs ================= Rong Cloud Server SDK in Nodejs. All the work is merged back to the official repo and this version is no longer maintained. Please move to: https://github.com/rongcloud/server-sdk-nodejs
<|file_sep|>original/README.md server-sdk-nodejs ================= Rong Cloud Server SDK in Nodejs. <|file_sep|>current/README.md server-sdk-nodejs ================= Rong Cloud Server SDK in Nodejs. <|file_sep|>updated/README.md server-sdk-nodejs ================= Rong Cloud Server SDK in Nodejs. All the work is me...
b0075495f68b82d86e9ae22cb91d9ac1a2dc8b7d
README.md
README.md
Markdown
<|file_sep|>README.md.diff original: First, install CoffeeScript with `npm install coffee-script` (requires Node.js). updated: You must have [Node.js](http://nodejs.org/) installed to build the extension. <|file_sep|>original/README.md This Chrome extension allows you to switch between Chrome tabs in your active window...
------------ * Visit `chrome://extensions/` * Ensure `Developer mode` is checked * Click `Load unpacked extension...` * Locate and select the directory with the `manifest.json` file in it Usage ----- The default keyboard shortcut is `Alt+Shift+T` (`Opt+Shift+T` on OS X). You can, and may need to, adjust your key...
<|file_sep|>README.md.diff original: First, install CoffeeScript with `npm install coffee-script` (requires Node.js). updated: You must have [Node.js](http://nodejs.org/) installed to build the extension. <|file_sep|>original/README.md This Chrome extension allows you to switch between Chrome tabs in your active window...
fabed7aa5ad1299622ca66f391ff00f92f80f08e
README.md
README.md
Markdown
<|file_sep|>original/python/second-largest.py <|file_sep|>current/python/second-largest.py <|file_sep|>updated/python/second-largest.py
# You are given as input an unsorted array of n distinct numbers, # where n is a power of 2. # Give an algorithm that identifies the second-largest number in the array, # and that uses at most n + log2n - 2 comparisons. A = [4, 512, 8, 64, 16, 2, 32, 256] # Uses at most 9 comparisons # def second_largest (Array): ...
<|file_sep|>original/python/second-largest.py <|file_sep|>current/python/second-largest.py <|file_sep|>updated/python/second-largest.py # You are given as input an unsorted array of n distinct numbers, # where n is a power of 2. # Give an algorithm that identifies the second-largest number in the array, # and that...
2ae16c880d6b38c00b5eb48d99facacc5a3ccf7e
python/second-largest.py
python/second-largest.py
Python
<|file_sep|>original/requirements/base.txt Django<1.7 django-aggregate-if django-grappelli<2.6 django-mptt<0.8 geoip2 lxml markdown2 Pillow pycrypto pytz PyYAML unicodecsv Wand <|file_sep|>current/requirements/base.txt Django<1.7 django-aggregate-if django-grappelli<2.6 django-mptt<0.8 geoip2 lxml markdown2 Pillow pycr...
Django<1.9 django-grappelli<2.8 django-mptt geoip2 lxml markdown2 Pillow pycrypto pytz PyYAML unicodecsv Wand
<|file_sep|>original/requirements/base.txt Django<1.7 django-aggregate-if django-grappelli<2.6 django-mptt<0.8 geoip2 lxml markdown2 Pillow pycrypto pytz PyYAML unicodecsv Wand <|file_sep|>current/requirements/base.txt Django<1.7 django-aggregate-if django-grappelli<2.6 django-mptt<0.8 geoip2 lxml markdown2 Pillow pycr...
072d206a0f1154ad330bab9ad108253b3e3d6396
requirements/base.txt
requirements/base.txt
Text
<|file_sep|>original/.travis.yml sudo: required language: ruby services: - docker script: - bundle exec rake rubocop - bundle exec rake after_success: - if [ "$TRAVIS_BRANCH" == "master" ]; then docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"; docker push suhlig/conco...
sudo: required language: ruby services: - docker script: - bundle exec rake rubocop - bundle exec rake after_success: - if [ "$TRAVIS_BRANCH" == "master" ]; then docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"; docker push suhlig/concourse-rss-resource; fi
<|file_sep|>original/.travis.yml sudo: required language: ruby services: - docker script: - bundle exec rake rubocop - bundle exec rake after_success: - if [ "$TRAVIS_BRANCH" == "master" ]; then docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"; docker push suhlig/conco...
e3d03fe28a1bfaa093a6445a432e8cd40b039f29
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/app/productBrowse/README.md | |- mobileCategory.modal.html | |- productBrowse.html | |- productView.html |- tests/ | |- productBrowse.spec.js ``` ___ ## productView.html The Product View template contains the html for the Product List, including Product List filters and pagination...
| |- productView.html |- tests/ | |- productBrowse.spec.js ``` ___ ## productView.html The Product View template contains the html for the Product List, including Product List filters and pagination. ## productBrowse.html The Product Browse template contains the html for a Category Tree as well as the ui-view t...
<|file_sep|>original/src/app/productBrowse/README.md | |- mobileCategory.modal.html | |- productBrowse.html | |- productView.html |- tests/ | |- productBrowse.spec.js ``` ___ ## productView.html The Product View template contains the html for the Product List, including Product List filters and pagination...
82879c3211a760435ae50f59dea04d3a30431cce
src/app/productBrowse/README.md
src/app/productBrowse/README.md
Markdown
<|file_sep|>test/test_apns-s3.rb.diff original: stub(ApnsS3).pemfile_exist?(@pem_filename) { true } updated: # FakeFS do # FileUtils.touch @pem_filename # mock(APNS).pem=(@pem_filename) # ApnsS3.set_pemfile filename: @pem_filename # end # # # NOTE: this code makes a warning below: ...
# # # NOTE: this code makes a warning below: # # .../vendor/bundle/ruby/2.4.0/gems/fakefs-0.10.2/lib/fakefs/base.rb:21:warning: instance variable @activated not initialized FakeFS.activate! FileUtils.touch @pem_filename mock(APNS).pem=(@pem_filename) ApnsS3.set_pemfile filename: @pem_filena...
<|file_sep|>test/test_apns-s3.rb.diff original: stub(ApnsS3).pemfile_exist?(@pem_filename) { true } updated: # FakeFS do # FileUtils.touch @pem_filename # mock(APNS).pem=(@pem_filename) # ApnsS3.set_pemfile filename: @pem_filename # end # # # NOTE: this code makes a warning below: ...
a52705c79abd69eccd8fe2a77b04419e950fc755
test/test_apns-s3.rb
test/test_apns-s3.rb
Ruby
<|file_sep|>src/main/java/com/github/kpavlov/jreactive8583/netty/pipeline/EchoMessageListener.java.diff original: updated: import com.github.kpavlov.jreactive8583.iso.MessageClass; <|file_sep|>original/src/main/java/com/github/kpavlov/jreactive8583/netty/pipeline/EchoMessageListener.java private final MessageFact...
public class EchoMessageListener<T extends IsoMessage> implements IsoMessageListener<T> { private final MessageFactory<T> isoMessageFactory; public EchoMessageListener(final MessageFactory<T> isoMessageFactory) { this.isoMessageFactory = isoMessageFactory; } @Override public boolean appli...
<|file_sep|>src/main/java/com/github/kpavlov/jreactive8583/netty/pipeline/EchoMessageListener.java.diff original: updated: import com.github.kpavlov.jreactive8583.iso.MessageClass; <|file_sep|>original/src/main/java/com/github/kpavlov/jreactive8583/netty/pipeline/EchoMessageListener.java private final MessageFact...
34a9fdb8d76e73e2f671c25197f0424d84838938
src/main/java/com/github/kpavlov/jreactive8583/netty/pipeline/EchoMessageListener.java
src/main/java/com/github/kpavlov/jreactive8583/netty/pipeline/EchoMessageListener.java
Java
<|file_sep|>original/.travis.yml language: php php: - 5.3 - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 - hhvm matrix: allow_failures: - php: - 5.3 - 7.1 <|file_sep|>current/.travis.yml language: php php: - 5.3 - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 - hhvm matrix: allow_failures: - ph...
language: php php: - 5.3 - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 - hhvm matrix: allow_failures: - php: 5.3
<|file_sep|>original/.travis.yml language: php php: - 5.3 - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 - hhvm matrix: allow_failures: - php: - 5.3 - 7.1 <|file_sep|>current/.travis.yml language: php php: - 5.3 - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 - hhvm matrix: allow_failures: - ph...
0dfdf8269ce55eea714b77ceee8fee779d80c42f
.travis.yml
.travis.yml
YAML
<|file_sep|>.travis.yml.diff original: updated: - "2.6" <|file_sep|>original/.travis.yml language: python python: - "2.7" - "3.2" - "3.3" - "3.4" - "3.5" - "3.5-dev" # 3.5 development branch - "nightly" # currently points to 3.6-dev script: nosetests <|file_sep|>current/.travis.yml language: python pyt...
language: python python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" - "3.5" - "3.5-dev" # 3.5 development branch - "nightly" # currently points to 3.6-dev script: - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then travis_retry pip install unittest2; fi - nosetests
<|file_sep|>.travis.yml.diff original: updated: - "2.6" <|file_sep|>original/.travis.yml language: python python: - "2.7" - "3.2" - "3.3" - "3.4" - "3.5" - "3.5-dev" # 3.5 development branch - "nightly" # currently points to 3.6-dev script: nosetests <|file_sep|>current/.travis.yml language: python pyt...
b4085df19b4841299a1bc41e470793089125ffac
.travis.yml
.travis.yml
YAML
<|file_sep|>original/classes/Neolao/Util/Config.php <|file_sep|>current/classes/Neolao/Util/Config.php <|file_sep|>updated/classes/Neolao/Util/Config.php
<?php /** * @package Neolao\Util */ namespace Neolao\Util; /** * Configuration with profiles * * Example of json file: * { * "profile" : "production", * "myName" : "unknown", * * "profiles" : { * "production" : { * "myName" : "A" * }, * * "dev...
<|file_sep|>original/classes/Neolao/Util/Config.php <|file_sep|>current/classes/Neolao/Util/Config.php <|file_sep|>updated/classes/Neolao/Util/Config.php <?php /** * @package Neolao\Util */ namespace Neolao\Util; /** * Configuration with profiles * * Example of json file: * { * "profile" : "production"...
3abcdca393691207a47a16552ec96d5a3ecc9d56
classes/Neolao/Util/Config.php
classes/Neolao/Util/Config.php
PHP
<|file_sep|>original/src/ThibaudDauce/EloquentVariableModelConstructor/VariableModelConstructorTrait.php <|file_sep|>current/src/ThibaudDauce/EloquentVariableModelConstructor/VariableModelConstructorTrait.php <|file_sep|>updated/src/ThibaudDauce/EloquentVariableModelConstructor/VariableModelConstructorTrait.php
<?php namespace ThibaudDauce\EloquentVariableModelConstructor; trait VariableModelConstructorTrait { /** * Database field indicated class name. * * @var string */ protected $class_name_field = 'class_name'; /** * Create a new model instance that is existing. * * @override Illuminate\Databa...
<|file_sep|>original/src/ThibaudDauce/EloquentVariableModelConstructor/VariableModelConstructorTrait.php <|file_sep|>current/src/ThibaudDauce/EloquentVariableModelConstructor/VariableModelConstructorTrait.php <|file_sep|>updated/src/ThibaudDauce/EloquentVariableModelConstructor/VariableModelConstructorTrait.php <?php...
aeee6a760d4f6963f02c800e264ef11c4f27a6f8
src/ThibaudDauce/EloquentVariableModelConstructor/VariableModelConstructorTrait.php
src/ThibaudDauce/EloquentVariableModelConstructor/VariableModelConstructorTrait.php
PHP
<|file_sep|>original/build.sh #!/bin/bash set -eux -o pipefail cargo fmt -- --check cargo build cargo test <|file_sep|>current/build.sh #!/bin/bash set -eux -o pipefail cargo fmt -- --check cargo build cargo test <|file_sep|>updated/build.sh
#!/bin/bash set -eux -o pipefail cargo fmt --version || rustup component add rustfmt cargo fmt -- --check cargo build cargo test
<|file_sep|>original/build.sh #!/bin/bash set -eux -o pipefail cargo fmt -- --check cargo build cargo test <|file_sep|>current/build.sh #!/bin/bash set -eux -o pipefail cargo fmt -- --check cargo build cargo test <|file_sep|>updated/build.sh #!/bin/bash set -eux -o pipefail cargo fmt --version || rustup component ad...
e29857b9ec177993eeee65144a84950c24c39a02
build.sh
build.sh
Shell
<|file_sep|>original/source/stylesheets/_transitions.sass .recent-posts a, .footer-tags a +transition(all .1s ease-in-out) &:hover color: $brand-color .article-detail a, .recent-posts a &:hover border-bottom: 1px solid $brand-color .pagination-link &:hover background-color: $brand-color box-sh...
.recent-posts a, .footer-tags a +transition(all .1s ease-in-out) &:hover color: $brand-color .article-detail a, .recent-posts a &:hover border-bottom: 1px solid $brand-color .pagination-link &:hover background-color: $brand-color box-shadow: 0px 1px 2px rgba(shade($brand-color, 75%), .20) ...
<|file_sep|>original/source/stylesheets/_transitions.sass .recent-posts a, .footer-tags a +transition(all .1s ease-in-out) &:hover color: $brand-color .article-detail a, .recent-posts a &:hover border-bottom: 1px solid $brand-color .pagination-link &:hover background-color: $brand-color box-sh...
17fed02c6feb7f2539b3a18ee8ab7547f83af180
source/stylesheets/_transitions.sass
source/stylesheets/_transitions.sass
Sass
<|file_sep|>original/app/assets/stylesheets/layout/_preview.scss .page-footer { display: none; // hide this everywhere as looks confusing in preview } .l-logo-pw-arrows { display: none; } .l-address { position: absolute; top: -115px !important; // override output_document.css which comes afterwards } .l-pw-l...
.page-footer { display: none; // hide this everywhere as looks confusing in preview } .l-logo-pw-arrows { display: none; } .l-address { position: absolute; top: -160px !important; // override output_document.css which comes afterwards } .l-pw-logo-letter { position: absolute; top: -150px !important; // o...
<|file_sep|>original/app/assets/stylesheets/layout/_preview.scss .page-footer { display: none; // hide this everywhere as looks confusing in preview } .l-logo-pw-arrows { display: none; } .l-address { position: absolute; top: -115px !important; // override output_document.css which comes afterwards } .l-pw-l...
e55d8eab64852faa958c6c51bd9544fa199948ab
app/assets/stylesheets/layout/_preview.scss
app/assets/stylesheets/layout/_preview.scss
SCSS
<|file_sep|>original/src/services/yotiService.js const fs = require('fs'); const path = require('path'); const env = require('env2'); env('./config.env'); const YotiSDK = require('yoti-node-sdk'); let yotiClient; module.exports.getClient = function() { if (! yotiClient) { const CLIENT_SDK_ID = process.env.SDK; ...
const fs = require('fs'); const path = require('path'); const env = require('env2'); env('./config.env'); const YotiSDK = require('yoti-node-sdk'); let yotiClient; module.exports.getClient = function() { if (! yotiClient) { const CLIENT_SDK_ID = process.env.SDK; const PEM = process.env.PEM || fs.readFileSyn...
<|file_sep|>original/src/services/yotiService.js const fs = require('fs'); const path = require('path'); const env = require('env2'); env('./config.env'); const YotiSDK = require('yoti-node-sdk'); let yotiClient; module.exports.getClient = function() { if (! yotiClient) { const CLIENT_SDK_ID = process.env.SDK; ...
bc550ec2fbe9263e8adbf74ac09d863a23bd193d
src/services/yotiService.js
src/services/yotiService.js
JavaScript
<|file_sep|>original/src/main/java/com/michael_kuck/android/mkcommons/Version.java <|file_sep|>current/src/main/java/com/michael_kuck/android/mkcommons/Version.java <|file_sep|>updated/src/main/java/com/michael_kuck/android/mkcommons/Version.java
/* * This file is part of whereisthat-android * * Unless otherwise stated in a separate LICENSE file for this project * or agreed via contract, all rights reserved by the author. */ package com.michael_kuck.android.mkcommons; public class Version { final public static int MAJOR = 1; final public static ...
<|file_sep|>original/src/main/java/com/michael_kuck/android/mkcommons/Version.java <|file_sep|>current/src/main/java/com/michael_kuck/android/mkcommons/Version.java <|file_sep|>updated/src/main/java/com/michael_kuck/android/mkcommons/Version.java /* * This file is part of whereisthat-android * * Unless otherwise s...
73510dffb95d4cf3ac8fae69726dc33f6844b25d
src/main/java/com/michael_kuck/android/mkcommons/Version.java
src/main/java/com/michael_kuck/android/mkcommons/Version.java
Java
<|file_sep|>original/soft/compiler.python/.cm/meta.json "add_only_with_version": "yes", "build_dir_name": "python", "check_that_exists": "yes", "ck_version": 10, "env_prefix": "CK_ENV_COMPILER_PYTHON", "languages": [ "PYTHON" ], "limit_recursion_dir_search": { "linux": ...
"add_only_with_version": "yes", "build_dir_name": "python", "check_that_exists": "yes", "ck_version": 10, "env_prefix": "CK_ENV_COMPILER_PYTHON", "languages": [ "PYTHON" ], "limit_recursion_dir_search": { "linux": 3, "win": 6 }, "only_for_host_os_tags": ...
<|file_sep|>original/soft/compiler.python/.cm/meta.json "add_only_with_version": "yes", "build_dir_name": "python", "check_that_exists": "yes", "ck_version": 10, "env_prefix": "CK_ENV_COMPILER_PYTHON", "languages": [ "PYTHON" ], "limit_recursion_dir_search": { "linux": ...
ff672f0c9e72013454cf29c84107b771a521ba38
soft/compiler.python/.cm/meta.json
soft/compiler.python/.cm/meta.json
JSON
<|file_sep|>original/App.java <|file_sep|>current/App.java <|file_sep|>updated/App.java
class App{ public static void main(String... args) { calcTime(Integer.parseInt(args[0])); // calc(Integer.parseInt(args[0]), args[1], Integer.parseInt(args[2])); } private static void calc(int m, String ops, int mm){ if (ops.equals("*")) { System.err.println(m * mm); }else if (ops.equals("/")) { Syste...
<|file_sep|>original/App.java <|file_sep|>current/App.java <|file_sep|>updated/App.java class App{ public static void main(String... args) { calcTime(Integer.parseInt(args[0])); // calc(Integer.parseInt(args[0]), args[1], Integer.parseInt(args[2])); } private static void calc(int m, String ops, int mm){ if ...
318eed95d824d29dbcf044884fd8c57e5ca1e91e
App.java
App.java
Java
<|file_sep|>original/docker/nodejs.Dockerfile FROM node:8-alpine RUN mkdir /src \ && mkdir /tool COPY package.json /tool # Install node tools RUN cd /tool \ && npm install \ # Make npm executables quack like binaries. && ln -s /tool/node_modules/.bin/eslint /usr/bin/eslint \ && ln -s /tool/node_modules/.bi...
&& mkdir /tool COPY package.json /tool # Install node tools RUN cd /tool \ && npm install \ # Make npm executables quack like binaries. && ln -s /tool/node_modules/.bin/eslint /usr/bin/eslint \ && ln -s /tool/node_modules/.bin/csslint /usr/bin/csslint \ && ln -s /tool/node_modules/.bin/jscs /usr/bin/jscs ...
<|file_sep|>original/docker/nodejs.Dockerfile FROM node:8-alpine RUN mkdir /src \ && mkdir /tool COPY package.json /tool # Install node tools RUN cd /tool \ && npm install \ # Make npm executables quack like binaries. && ln -s /tool/node_modules/.bin/eslint /usr/bin/eslint \ && ln -s /tool/node_modules/.bi...
c480c680ccbe9cd59a0a44ed66c502c45740c20f
docker/nodejs.Dockerfile
docker/nodejs.Dockerfile
unknown
<|file_sep|>original/requirements-dev.txt -r requirements.txt #Required for testing pytest==4.3.0 flake8==3.7.6 mock==2.0.0 cssselect==1.0.3 watchdog==0.8.3 coverage==4.5.2 coveralls==1.6.0 pytest-cov==2.6.1 hypothesis==3.6.1 git+https://github.com/alphagov/digitalmarketplace-test-utils.git@2.1.2#egg=digitalmarketpl...
-r requirements.txt #Required for testing pytest==4.3.0 flake8==3.7.6 mock==2.0.0 cssselect==1.0.3 watchdog==0.9.0 coverage==4.5.2 coveralls==1.6.0 pytest-cov==2.6.1 hypothesis==3.6.1 git+https://github.com/alphagov/digitalmarketplace-test-utils.git@2.1.2#egg=digitalmarketplace-test-utils==2.1.2
<|file_sep|>original/requirements-dev.txt -r requirements.txt #Required for testing pytest==4.3.0 flake8==3.7.6 mock==2.0.0 cssselect==1.0.3 watchdog==0.8.3 coverage==4.5.2 coveralls==1.6.0 pytest-cov==2.6.1 hypothesis==3.6.1 git+https://github.com/alphagov/digitalmarketplace-test-utils.git@2.1.2#egg=digitalmarketpl...
65b99183fba7403a3622d64e103f9cb12441b048
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>original/db/data_migration/20200330092543_correct_first_published_for_nda_document.rb <|file_sep|>current/db/data_migration/20200330092543_correct_first_published_for_nda_document.rb <|file_sep|>updated/db/data_migration/20200330092543_correct_first_published_for_nda_document.rb
document = Document.find(305774) editions = document.editions.order(:created_at) correct_first_published_at = editions.first.first_published_at editions.each do |edition| if edition.first_published_at != correct_first_published_at edition.first_published_at = correct_first_published_at edition.save(validate:...
<|file_sep|>original/db/data_migration/20200330092543_correct_first_published_for_nda_document.rb <|file_sep|>current/db/data_migration/20200330092543_correct_first_published_for_nda_document.rb <|file_sep|>updated/db/data_migration/20200330092543_correct_first_published_for_nda_document.rb document = Document.find(3...
cd4a27dda72982aafc96d7276fb62e96581d0113
db/data_migration/20200330092543_correct_first_published_for_nda_document.rb
db/data_migration/20200330092543_correct_first_published_for_nda_document.rb
Ruby
<|file_sep|>original/src/binder/multidispatch.h <|file_sep|>current/src/binder/multidispatch.h <|file_sep|>updated/src/binder/multidispatch.h
/* This is how a Code looks on the inside. Once again, C struct that should * match what P6opaque computes for the Code class. */ typedef struct { PMC *st; /* S-table, though we don't care about that here. */ PMC *sc; /* Serialization context, though we don't care about th...
<|file_sep|>original/src/binder/multidispatch.h <|file_sep|>current/src/binder/multidispatch.h <|file_sep|>updated/src/binder/multidispatch.h /* This is how a Code looks on the inside. Once again, C struct that should * match what P6opaque computes for the Code class. */ typedef struct { PMC *st; ...
82d35af306f00b277c29502adc76f44e27d06dc6
src/binder/multidispatch.h
src/binder/multidispatch.h
C
<|file_sep|>app/app.component.ts.diff original: updated: ngAfterViewInit() { // Init first tab this.onSelect(this.tabs[0]); } <|file_sep|>original/app/app.component.ts kind : 'city' } ]; public activeTab: string = this.tabs[0].heading; public isActive(tab: any) { return tab.heading =...
public activeTab: string = this.tabs[0].heading; public isActive(tab: any) { return tab.heading === this.activeTab; } public onSelect(tab: any) { this.activeTab = tab.heading; this.mapComponent.setLayerType(tab); } ngAfterViewInit() { // Init first tab this.onSelect(this.tabs[0]); ...
<|file_sep|>app/app.component.ts.diff original: updated: ngAfterViewInit() { // Init first tab this.onSelect(this.tabs[0]); } <|file_sep|>original/app/app.component.ts kind : 'city' } ]; public activeTab: string = this.tabs[0].heading; public isActive(tab: any) { return tab.heading =...
d9208fa1c51e90e637ec38ba64fd2e975f20c427
app/app.component.ts
app/app.component.ts
TypeScript
<|file_sep|>original/codebrag-dao/src/main/scala/com/softwaremill/codebrag/dao/repo/UserRepoDetailsDAO.scala package com.softwaremill.codebrag.dao.repo import com.softwaremill.codebrag.domain.UserRepoDetails import org.bson.types.ObjectId trait UserRepoDetailsDAO { def save(context: UserRepoDetails) def find(use...
package com.softwaremill.codebrag.dao.repo import com.softwaremill.codebrag.domain.UserRepoDetails import org.bson.types.ObjectId trait UserRepoDetailsDAO { def save(context: UserRepoDetails) def find(userId: ObjectId, repoName: String): Option[UserRepoDetails] def findAll(userId: ObjectId): Set[UserRepoDetail...
<|file_sep|>original/codebrag-dao/src/main/scala/com/softwaremill/codebrag/dao/repo/UserRepoDetailsDAO.scala package com.softwaremill.codebrag.dao.repo import com.softwaremill.codebrag.domain.UserRepoDetails import org.bson.types.ObjectId trait UserRepoDetailsDAO { def save(context: UserRepoDetails) def find(use...
05fc614b2391b9a793ba92b0a0eaff12df9ff02e
codebrag-dao/src/main/scala/com/softwaremill/codebrag/dao/repo/UserRepoDetailsDAO.scala
codebrag-dao/src/main/scala/com/softwaremill/codebrag/dao/repo/UserRepoDetailsDAO.scala
Scala
<|file_sep|>original/README.md ##Prerequisites: You need devkit installed to run this demo. Please follow the devkit installation instructions. ##Quick Start: Clone this project: `git clone git@github.com/gameclosure/demoAnimations` Change into the game directory: `cd demoAnimations` Add Devkit to the project (...
##Prerequisites: You need devkit installed to run this demo. Please follow the devkit installation instructions. ##Quick Start: Clone this project: `git clone git@github.com/gameclosure/demoAnimations.git` Change into the game directory: `cd demoAnimations` Add Devkit to the project (and register with the simul...
<|file_sep|>original/README.md ##Prerequisites: You need devkit installed to run this demo. Please follow the devkit installation instructions. ##Quick Start: Clone this project: `git clone git@github.com/gameclosure/demoAnimations` Change into the game directory: `cd demoAnimations` Add Devkit to the project (...
44a279eea5002045498e37361d448671268f52c1
README.md
README.md
Markdown
<|file_sep|>original/INTERNAL.md # Terminologies All terminologies are the unique names for clear understanding. ## exec * Executor ## rows * Page * MiniPage <|file_sep|>current/INTERNAL.md # Terminologies All terminologies are the unique names for clear understanding. ## exec * Executor ## rows * Page * MiniPage <...
# Terminologies All terminologies are the unique names for clear understanding. ## api * DataSet - It can be used for both an input source and output result. * DataSource - Is means an input data source * DataFrame - A collection of APIs to transform and manipulate data sets ## exec * Executor ## rows * Page * MiniP...
<|file_sep|>original/INTERNAL.md # Terminologies All terminologies are the unique names for clear understanding. ## exec * Executor ## rows * Page * MiniPage <|file_sep|>current/INTERNAL.md # Terminologies All terminologies are the unique names for clear understanding. ## exec * Executor ## rows * Page * MiniPage <...
3ac5f2680e906acce08097c1649c1b5e1b2bb760
INTERNAL.md
INTERNAL.md
Markdown
<|file_sep|>original/resources/app/auth/components/register/register.component.ts export class RegisterComponent implements ng.IComponentOptions { static NAME: string = 'appRegister'; template: any; controllerAs: string; controller; constructor() { this.template = require('./register.component.html'); ...
import { IHttpResponse } from "angular"; export interface ResponseRegister extends IHttpResponse<object> { data: { data: { message: string; }; status: string; }; } export class RegisterComponent implements ng.IComponentOptions { static NAME: string = 'appRegister'; template: any; controlle...
<|file_sep|>original/resources/app/auth/components/register/register.component.ts export class RegisterComponent implements ng.IComponentOptions { static NAME: string = 'appRegister'; template: any; controllerAs: string; controller; constructor() { this.template = require('./register.component.html'); ...
a73835056a0100a066ae2cd2c2f0f55546053d6e
resources/app/auth/components/register/register.component.ts
resources/app/auth/components/register/register.component.ts
TypeScript
<|file_sep|>original/tests/LayoutTest/PageTest.php <|file_sep|>current/tests/LayoutTest/PageTest.php <|file_sep|>updated/tests/LayoutTest/PageTest.php
<?php namespace Dompdf\Tests\LayoutTest; use DOMElement; use Dompdf\Canvas; use Dompdf\Dompdf; use Dompdf\FrameDecorator\AbstractFrameDecorator; use Dompdf\Options; use Dompdf\Tests\TestCase; class PageTest extends TestCase { public function pageBreakProvider(): array { return [ // TODO: H...
<|file_sep|>original/tests/LayoutTest/PageTest.php <|file_sep|>current/tests/LayoutTest/PageTest.php <|file_sep|>updated/tests/LayoutTest/PageTest.php <?php namespace Dompdf\Tests\LayoutTest; use DOMElement; use Dompdf\Canvas; use Dompdf\Dompdf; use Dompdf\FrameDecorator\AbstractFrameDecorator; use Dompdf\Options; u...
63d0586d675f8d9f73d1f56702151e123ffa5059
tests/LayoutTest/PageTest.php
tests/LayoutTest/PageTest.php
PHP
<|file_sep|>original/app/models/product_food/lozenge.rb module ProductFood class Lozenge < ActiveRecord::Base TYPES = ['Calories', 'Sugars', 'Fat', 'Saturates', 'Salts'] belongs_to :item attr_accessible :name, :value, :percentage, :item_id validates :name, presence: true, inclusion: { in:...
module ProductFood class Lozenge < ActiveRecord::Base TYPES = ['Energy', 'Sugars', 'Fat', 'Saturates', 'Salts'] belongs_to :item attr_accessible :name, :value, :percentage, :item_id validates :name, presence: true, inclusion: { in: TYPES }, uniqueness: { scope: :item_id } validates ...
<|file_sep|>original/app/models/product_food/lozenge.rb module ProductFood class Lozenge < ActiveRecord::Base TYPES = ['Calories', 'Sugars', 'Fat', 'Saturates', 'Salts'] belongs_to :item attr_accessible :name, :value, :percentage, :item_id validates :name, presence: true, inclusion: { in:...
7322f6cb2bc628840a377d850ea21011dddab7d7
app/models/product_food/lozenge.rb
app/models/product_food/lozenge.rb
Ruby
<|file_sep|>src/renderWrapper.js.diff original: console.error(`Caught error while rendering component "${component}", variant "${variant}"`); updated: console.error( `Caught error while rendering component "${component}", variant "${variant}"`, ); <|file_sep|>original/src/renderWrapper.js const { ...
); console.error(error); } render() { const { error } = this.state; const { component, variant, children } = this.props; if (error) { return React.createElement( 'pre', { style: { whiteSpace: 'pre-wrap', wordBreak: 'break-all', ...
<|file_sep|>src/renderWrapper.js.diff original: console.error(`Caught error while rendering component "${component}", variant "${variant}"`); updated: console.error( `Caught error while rendering component "${component}", variant "${variant}"`, ); <|file_sep|>original/src/renderWrapper.js const { ...
c46072e27695e72c41015a7174b331c889e0c673
src/renderWrapper.js
src/renderWrapper.js
JavaScript
<|file_sep|>original/recipes/images/rascal-image.bb require recipes/images/minimal-image.bb IMAGE_INSTALL += "\ ack \ avahi-daemon \ binutils \ control-freak \ cpp \ cpp-symlinks \ curl \ gcc \ gcc-symlinks \ git \ htop \ i...
require recipes/images/minimal-image.bb IMAGE_INSTALL += "\ ack \ avahi-autoipd \ avahi-daemon \ binutils \ control-freak \ cpp \ cpp-symlinks \ curl \ gcc \ gcc-symlinks \ git \ htop \ i2c-tools \ iotop \ ...
<|file_sep|>original/recipes/images/rascal-image.bb require recipes/images/minimal-image.bb IMAGE_INSTALL += "\ ack \ avahi-daemon \ binutils \ control-freak \ cpp \ cpp-symlinks \ curl \ gcc \ gcc-symlinks \ git \ htop \ i...
c6c3f24f0c882cdee8cd62e13700b95f5bc4c825
recipes/images/rascal-image.bb
recipes/images/rascal-image.bb
BitBake
<|file_sep|>original/quickstart/deps.sh #!/bin/bash add-apt-repository ppa:ubuntu-lxc/lxd-stable -y apt-get update apt-get -y install golang apt-get -y install docker.io apt-get -y install docker-engine apt-get -y install python-pip apt-get -y install python2.7-dev apt-get -y install curl apt-get -y install git pip in...
#!/bin/bash add-apt-repository ppa:ubuntu-lxc/lxd-stable -y apt-get update apt-get -y install linux-image-extra-$(uname -r) apt-get -y install linux-image-extra-virtual apt-get -y install golang apt-get -y install docker.io apt-get -y install docker-engine apt-get -y install python-pip apt-get -y install python2.7-dev...
<|file_sep|>original/quickstart/deps.sh #!/bin/bash add-apt-repository ppa:ubuntu-lxc/lxd-stable -y apt-get update apt-get -y install golang apt-get -y install docker.io apt-get -y install docker-engine apt-get -y install python-pip apt-get -y install python2.7-dev apt-get -y install curl apt-get -y install git pip in...
c9c3ac8d69680e16a3ea61278c302dfad9bddfaf
quickstart/deps.sh
quickstart/deps.sh
Shell
<|file_sep|>original/README.md Rust syntax backport ==================== [![Build Status](https://api.travis-ci.org/serde-rs/syntex.png?branch=master)](https://travis-ci.org/serde-rs/syntex) [![Latest Version](https://img.shields.io/crates/v/syntex_syntax.svg)](https://crates.io/crates/syntex_syntax) This repository ...
- [`librustc_errors`] => [`syntex_errors`] [`libsyntax`]: https://github.com/rust-lang/rust/tree/master/src/libsyntax [`syntex_syntax`]: https://docs.rs/syntex_syntax [`libsyntax_pos`]: https://github.com/rust-lang/rust/tree/master/src/libsyntax_pos [`syntex_pos`]: https://docs.rs/syntex_pos [`librustc_errors`]: https...
<|file_sep|>original/README.md Rust syntax backport ==================== [![Build Status](https://api.travis-ci.org/serde-rs/syntex.png?branch=master)](https://travis-ci.org/serde-rs/syntex) [![Latest Version](https://img.shields.io/crates/v/syntex_syntax.svg)](https://crates.io/crates/syntex_syntax) This repository ...
edade81a8a14f3e8f8ca723c40237b6374fbe01c
README.md
README.md
Markdown
<|file_sep|>original/index.js module.exports = { Model: require('./src/model'), Document: require('./src/document'), Query: require('./src/query'), MemStore: require('./src/mem-store'), MemSource: require('./src/mem-source') } <|file_sep|>current/index.js module.exports = { Model: require('./src/model'), Documen...
module.exports = { Model: require('./src/model'), Document: require('./src/document'), Query: require('./src/query').Query, QueryResult: require('./src/query').QueryResult, MemStore: require('./src/mem-store'), MemSource: require('./src/mem-source') }
<|file_sep|>original/index.js module.exports = { Model: require('./src/model'), Document: require('./src/document'), Query: require('./src/query'), MemStore: require('./src/mem-store'), MemSource: require('./src/mem-source') } <|file_sep|>current/index.js module.exports = { Model: require('./src/model'), Documen...
1514d3e6fd33951cb1b9dc9539481b07f2aac8a9
index.js
index.js
JavaScript
<|file_sep|>original/README.md transparent present situations for usage inside of ETModel. ### To install: 1. Config files: ``` cp config/database.sample.yml config/database.yml cp config/email.sample.yml config/email.yml ``` 2. Run `rake db:create` 3. Add a `.env` file with a mapbox api key to enable the map on y...
1. Config files: ``` cp config/database.sample.yml config/database.yml cp config/email.sample.yml config/email.yml ``` 2. Run `rake db:create` 3. Add a `.env` file with a mapbox api key to enable the map on your local environment. Like such: ```bash echo "MAPBOX_API_KEY=xx.xxxxxxxxxxxxxxxxxxxxxxxxx" >> .env ``` Th...
<|file_sep|>original/README.md transparent present situations for usage inside of ETModel. ### To install: 1. Config files: ``` cp config/database.sample.yml config/database.yml cp config/email.sample.yml config/email.yml ``` 2. Run `rake db:create` 3. Add a `.env` file with a mapbox api key to enable the map on y...
4445d71ef9e4b095878e36e66c1c1eebe224df87
README.md
README.md
Markdown
<|file_sep|>original/recipes/flaimapper/v2.3.4/meta.yaml build: - python - setuptools - numpy - htseq - pysam run: - python - numpy - setuptools - pysam test: # Python imports imports: - flaimapper commands: - flaimapper --help - flaimapper --version <|file_s...
build: - python - setuptools - numpy - htseq - pysam run: - python - numpy - pysam test: # Python imports imports: - flaimapper commands: - flaimapper --help - flaimapper --version
<|file_sep|>original/recipes/flaimapper/v2.3.4/meta.yaml build: - python - setuptools - numpy - htseq - pysam run: - python - numpy - setuptools - pysam test: # Python imports imports: - flaimapper commands: - flaimapper --help - flaimapper --version <|file_s...
1c35d5479c534ca8e88992ff5af270562d29c877
recipes/flaimapper/v2.3.4/meta.yaml
recipes/flaimapper/v2.3.4/meta.yaml
YAML
<|file_sep|>misc/foreignborn.csv.diff original: id,label,label_sv updated: id,label,label__sv <|file_sep|>original/misc/foreignborn.csv id,label,label_sv born in foreign country,Born in foreign country,Född utomlands born in Sweden,Born in Sweden,Född i Sverige <|file_sep|>current/misc/foreignborn.csv id,label,label__s...
id,label,label__sv born in foreign country,Born in foreign country,Född utomlands total (born in any country),"Total, born in any country","Samtliga, oavsett födelseland" born in Sweden,Born in Sweden,Född i Sverige
<|file_sep|>misc/foreignborn.csv.diff original: id,label,label_sv updated: id,label,label__sv <|file_sep|>original/misc/foreignborn.csv id,label,label_sv born in foreign country,Born in foreign country,Född utomlands born in Sweden,Born in Sweden,Född i Sverige <|file_sep|>current/misc/foreignborn.csv id,label,label__s...
23f754ea992bf6fd761354a536deb16b49381322
misc/foreignborn.csv
misc/foreignborn.csv
CSV
<|file_sep|>original/resources/assets/js/server.js /** * Simple error handler. */ app.use(function(err, req, res, next) { console.error(err.stack); res.status(500).send('Something broke!'); }); app.use('/:component', function(request, response) { const component = require(path.resolve('./resources/assets/js/c...
/** * Simple error handler. */ app.use(function(err, req, res, next) { console.error(err.stack); res.status(500).send('Something broke!'); }); app.use('/:component', function(request, response) { const component = require(`./components/${request.params.component}`); const props = request.body || null; re...
<|file_sep|>original/resources/assets/js/server.js /** * Simple error handler. */ app.use(function(err, req, res, next) { console.error(err.stack); res.status(500).send('Something broke!'); }); app.use('/:component', function(request, response) { const component = require(path.resolve('./resources/assets/js/c...
7687175b49eec7887e36030a13a66474c08c430f
resources/assets/js/server.js
resources/assets/js/server.js
JavaScript
<|file_sep|>original/gulpfile.js /* global require */ var gulp = require('gulp'); var qunit = require('gulp-qunit'); var jshint = require('gulp-jshint'); var htmlhint = require("gulp-htmlhint"); var csslint = require("gulp-csslint"); gulp.task('test', function() { return gulp.src('file://test.html').pipe(qunit()...
/* global require */ var gulp = require('gulp'); var qunit = require('gulp-qunit'); var jshint = require('gulp-jshint'); var htmlhint = require("gulp-htmlhint"); var csslint = require("gulp-csslint"); gulp.task('test', function() { return gulp.src('./test.html').pipe(qunit()); }); gulp.task('jslint', function()...
<|file_sep|>original/gulpfile.js /* global require */ var gulp = require('gulp'); var qunit = require('gulp-qunit'); var jshint = require('gulp-jshint'); var htmlhint = require("gulp-htmlhint"); var csslint = require("gulp-csslint"); gulp.task('test', function() { return gulp.src('file://test.html').pipe(qunit()...
6c61d28899a8731ce210dc991e52e385d9f6cc99
gulpfile.js
gulpfile.js
JavaScript
<|file_sep|>original/qtcreator-templates/README.md <|file_sep|>current/qtcreator-templates/README.md <|file_sep|>updated/qtcreator-templates/README.md
Qt Creator Wizard Templates =========================== These are used to create simple and correct base example projects etc. They are made to encourage: * experimentation, and * posing and answering SO code questions with self-contained, valid, compileable examples. Link or copy each of the folders here to your cr...
<|file_sep|>original/qtcreator-templates/README.md <|file_sep|>current/qtcreator-templates/README.md <|file_sep|>updated/qtcreator-templates/README.md Qt Creator Wizard Templates =========================== These are used to create simple and correct base example projects etc. They are made to encourage: * experime...
d3abed8e639366c02bd375741441ef66df8795d0
qtcreator-templates/README.md
qtcreator-templates/README.md
Markdown
<|file_sep|>original/Grep/README.md Grep ==== **Purpose**<br /> Grep (UNIX command) all files for search text recursively in current directory **Example** ```php <?php $instance = new Grep(); $params = array( 'include' => array('*.ph*'), 'pattern' => 'test[0-9]{3}', ); echo $instance($params); ``` _BECOMES_ ...
Grep ==== **Purpose**<br /> Grep (UNIX command) all files for search text recursively in current directory **Example** ```php <?php $instance = new Grep(); $params = array( 'include' => array('*.ph*'), 'pattern' => 'test[0-9]{3}', ); echo $instance($params); ?> ``` _BECOMES_ _to be filled in later_
<|file_sep|>original/Grep/README.md Grep ==== **Purpose**<br /> Grep (UNIX command) all files for search text recursively in current directory **Example** ```php <?php $instance = new Grep(); $params = array( 'include' => array('*.ph*'), 'pattern' => 'test[0-9]{3}', ); echo $instance($params); ``` _BECOMES_ ...
e4a71e8fa9e1454fa140ba46c4d844595de5c29b
Grep/README.md
Grep/README.md
Markdown
<|file_sep|>original/src/app/shared/menu/date/date-range-summary.component.ts import { Component, Input } from '@angular/core'; import { RouterModel, INTERVAL_DAILY } from '../../../ngrx'; import * as dateUtil from '../../util/date'; @Component({ selector: 'metrics-date-range-summary', template: ` <div class="...
import { Component, Input } from '@angular/core'; import { RouterModel, INTERVAL_DAILY } from '../../../ngrx'; import * as dateUtil from '../../util/date'; @Component({ selector: 'metrics-date-range-summary', template: ` <div class="label">in this range</div> <div class="range">{{beginDate}} &#x2015; {{end...
<|file_sep|>original/src/app/shared/menu/date/date-range-summary.component.ts import { Component, Input } from '@angular/core'; import { RouterModel, INTERVAL_DAILY } from '../../../ngrx'; import * as dateUtil from '../../util/date'; @Component({ selector: 'metrics-date-range-summary', template: ` <div class="...
c6d35356fb1c74849b9522bd2be307963dab8457
src/app/shared/menu/date/date-range-summary.component.ts
src/app/shared/menu/date/date-range-summary.component.ts
TypeScript
<|file_sep|>galaxy/install_repo_wrapper.sh.diff original: /etc/init.d/postgresql start ./run.sh --daemon sleep 60 updated: service postgresql start install_log='galaxy_install.log' ./run.sh --daemon --log-file=$install_log --pid-file=galaxy_install.pid <|file_sep|>galaxy/install_repo_wrapper.sh.diff original: python ./...
if [ $? -eq 0 ] ; then echo "Galaxy is running." break fi done for repository in "$@"; do echo "Processing:\t $repository" python ./scripts/api/install_tool_shed_repositories.py --api admin -l http://localhost:8080 --tool-deps --repository-deps $repository done exit_code=$? if [ $exit...
<|file_sep|>galaxy/install_repo_wrapper.sh.diff original: /etc/init.d/postgresql start ./run.sh --daemon sleep 60 updated: service postgresql start install_log='galaxy_install.log' ./run.sh --daemon --log-file=$install_log --pid-file=galaxy_install.pid <|file_sep|>galaxy/install_repo_wrapper.sh.diff original: python ./...
e0fe628ec4ff9399241836882e94e0ba0c690462
galaxy/install_repo_wrapper.sh
galaxy/install_repo_wrapper.sh
Shell
<|file_sep|>schedules/W9D4.js.diff original: who: c.juniors, updated: who: c.seniors, <|file_sep|>original/schedules/W9D4.js // 'use strict'; var c = require('../lib/channels.js'); var date = require('../lib/date.js'); var events = []; events.push({ when: date('W9D4', 13, 40), who: c.juniors, message: '<!c...
// 'use strict'; var c = require('../lib/channels.js'); var date = require('../lib/date.js'); var events = []; events.push({ when: date('W9D4', 13, 40), who: c.seniors, message: '<!channel> 5 Minutes until Thesis Presentations!' }); events.push({ when: date('W9D4', 13, 44), who: c.seniors, message: '<!c...
<|file_sep|>schedules/W9D4.js.diff original: who: c.juniors, updated: who: c.seniors, <|file_sep|>original/schedules/W9D4.js // 'use strict'; var c = require('../lib/channels.js'); var date = require('../lib/date.js'); var events = []; events.push({ when: date('W9D4', 13, 40), who: c.juniors, message: '<!c...
3ddb6e158241d1a1b4e86a358b75133659ee6a2b
schedules/W9D4.js
schedules/W9D4.js
JavaScript
<|file_sep|>original/package.json "package-json-validator": "~0.6.1", "protractor": "~3.0.0", "requirejs": "~2.1.20" }, "devDependencies": { "ajour": "latest", "bower": "~1.7.2", "elementor": "latest", "fuck-you": "latest", "ghcal": "latest", "git-stats": "latest", "git-stats...
"package-json-validator": "~0.6.1", "protractor": "~3.0.0", "requirejs": "~2.1.20" }, "devDependencies": { "ajour": "latest", "bower": "~1.7.2", "elementor": "latest", "fuck-you": "latest", "ghcal": "latest", "git-stats": "latest", "git-stats-importer": "latest", "http-re...
<|file_sep|>original/package.json "package-json-validator": "~0.6.1", "protractor": "~3.0.0", "requirejs": "~2.1.20" }, "devDependencies": { "ajour": "latest", "bower": "~1.7.2", "elementor": "latest", "fuck-you": "latest", "ghcal": "latest", "git-stats": "latest", "git-stats...
140fe63efcb74abbc6aba5bc3f708d2185914029
package.json
package.json
JSON
<|file_sep|>original/_layouts/post.html <!DOCTYPE html> <html lang="en-gb"> <head> <meta charset="UTF-8"> <title>{{ page.title | default: site.title }}</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="theme-color" content="#157878"> <link href='https://fonts...
<head> <meta charset="UTF-8"> <title>{{ page.title | default: site.title }}</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="theme-color" content="#157878"> <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/cs...
<|file_sep|>original/_layouts/post.html <!DOCTYPE html> <html lang="en-gb"> <head> <meta charset="UTF-8"> <title>{{ page.title | default: site.title }}</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="theme-color" content="#157878"> <link href='https://fonts...
f5407e3c95340f54f301a75e1c437715b5d63835
_layouts/post.html
_layouts/post.html
HTML
<|file_sep|>original/Cargo.toml [package] name = "conllx" version = "0.5.0" authors = ["Daniël de Kok <me@danieldk.eu>"] description = "Readers/writers for the CoNLL-X dependency format" documentation = "https://docs.rs/conllx/" homepage = "https://github.com/danieldk/conllx-rs" repository = "https://github.com/daniel...
[package] name = "conllx" version = "0.6.0" authors = ["Daniël de Kok <me@danieldk.eu>"] description = "Readers/writers for the CoNLL-X dependency format" documentation = "https://docs.rs/conllx/" homepage = "https://github.com/danieldk/conllx-rs" repository = "https://github.com/danieldk/conllx-rs" license = "Apache-...
<|file_sep|>original/Cargo.toml [package] name = "conllx" version = "0.5.0" authors = ["Daniël de Kok <me@danieldk.eu>"] description = "Readers/writers for the CoNLL-X dependency format" documentation = "https://docs.rs/conllx/" homepage = "https://github.com/danieldk/conllx-rs" repository = "https://github.com/daniel...
b719df1a8d75d344c03ddcd5bb2b3042ca9ae4d0
Cargo.toml
Cargo.toml
TOML
<|file_sep|>lib/sample_api.dart.diff original: Future<StringResponse> hello(String name) async { updated: StringResponse hello(String name) { <|file_sep|>original/lib/sample_api.dart import 'package:rpc/rpc.dart'; final List<String> names = ['Joe', 'John', 'Doe', 'Dohn']; class StringResponse { String response...
class StringResponse { String response; StringResponse(this.response); } @ApiClass(name: 'sample', version: 'v1') class SampleApi { @ApiMethod(method: 'GET', path: 'hello/{name}') StringResponse hello(String name) { if (names.contains(name) == false) { throw new RpcError(HttpStatus.NOT_FOUND, 'Name n...
<|file_sep|>lib/sample_api.dart.diff original: Future<StringResponse> hello(String name) async { updated: StringResponse hello(String name) { <|file_sep|>original/lib/sample_api.dart import 'package:rpc/rpc.dart'; final List<String> names = ['Joe', 'John', 'Doe', 'Dohn']; class StringResponse { String response...
30cdd203cc57d83ecb636022ccdae9813c2c86dc
lib/sample_api.dart
lib/sample_api.dart
Dart
<|file_sep|>app/overrides/underscore.js.diff original: import _ from 'underscore' updated: var _ = require('underscore'); <|file_sep|>app/overrides/underscore.js.diff original: let newArr = []; updated: var newArr = []; <|file_sep|>app/overrides/underscore.js.diff original: for (let i = offset; ...
array = _.map(array, (item) => { return _.isString(item) ? item.toLowerCase() : item; }); return _.filter(_.uniq(array), function (item) { return _.every(rest, function (other) { other = _.map(other, (item) => { return _.isString(ite...
<|file_sep|>app/overrides/underscore.js.diff original: import _ from 'underscore' updated: var _ = require('underscore'); <|file_sep|>app/overrides/underscore.js.diff original: let newArr = []; updated: var newArr = []; <|file_sep|>app/overrides/underscore.js.diff original: for (let i = offset; ...
022684b44b0b189c4e68d7f7359c29d15edb4a74
app/overrides/underscore.js
app/overrides/underscore.js
JavaScript
<|file_sep|>original/app/views/advent_calendar_items/show.html.haml %nav.navbar.navbar-default{:role=>"navigation"} %div.container %div.page-header %h1 12/#{@advent_calendar_item.date}のAdventCalendar情報 %h1 #{@advent_calendar_item.date}日目(12/#{@advent_calendar_item.date})のAdventCalendar情報 %hr %h3 お名前 ...
%nav.navbar.navbar-default{:role=>"navigation"} %div.container %div.page-header %h1 #{@advent_calendar_item.date}日目(12/#{@advent_calendar_item.date})のAdventCalendar情報 %hr %h3 お名前 = @advent_calendar_item.user_name + "さん" %h3 コメント = @advent_calendar_item.comment %p.advent-calendar-item-link ...
<|file_sep|>original/app/views/advent_calendar_items/show.html.haml %nav.navbar.navbar-default{:role=>"navigation"} %div.container %div.page-header %h1 12/#{@advent_calendar_item.date}のAdventCalendar情報 %h1 #{@advent_calendar_item.date}日目(12/#{@advent_calendar_item.date})のAdventCalendar情報 %hr %h3 お名前 ...
1fc1d59e3421de0ab2b3e60c56f642233e8b0f9a
app/views/advent_calendar_items/show.html.haml
app/views/advent_calendar_items/show.html.haml
Haml
<|file_sep|>original/.travis.yml language: android jdk: oraclejdk8 android: components: - tools - tools - build-tools-24.0.2 - android-24 - extra-android-support - extra-android-m2repository licenses: - android-sdk-license-.+ before_install: - chmod +x gradlew <|file_sep|>current/.tr...
language: android jdk: oraclejdk8 android: components: - tools - tools - build-tools-25.0.2 - android-25 - extra-android-support - extra-android-m2repository licenses: - android-sdk-license-.+ before_install: - chmod +x gradlew
<|file_sep|>original/.travis.yml language: android jdk: oraclejdk8 android: components: - tools - tools - build-tools-24.0.2 - android-24 - extra-android-support - extra-android-m2repository licenses: - android-sdk-license-.+ before_install: - chmod +x gradlew <|file_sep|>current/.tr...
4037f733e328de999abec465f7a9595ccb2bc5d3
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml sudo: false language: python python: 3.8 branches: only: - master install: - pip install -e .[test] # Each step below must succeed for the build to pass script: - coverage run --source=. test.py - coverage report -m - pycodestyle --format=pylint --count . <|file_s...
sudo: false language: python python: 3.8 branches: only: - master install: - pip install -e .[test] # Each step below must succeed for the build to pass script: - coverage run --source=. test.py - coverage report -m - pycodestyle --format=pylint --max-line-length=120 --count .
<|file_sep|>original/.travis.yml sudo: false language: python python: 3.8 branches: only: - master install: - pip install -e .[test] # Each step below must succeed for the build to pass script: - coverage run --source=. test.py - coverage report -m - pycodestyle --format=pylint --count . <|file_s...
b6d64a233e354f7cf5bd6ce0624eeeb346c53264
.travis.yml
.travis.yml
YAML
<|file_sep|>original/less/base/disclosure-arrow.less // // Disclosure Arrow // ============================== .disclosure-arrow { border-left: 0.3em solid transparent; border-right: 0.3em solid transparent; border-top: 0.3em dashed; display: inline-block; height: 0; margin-top: -0.1em; // whilst vertically c...
// // Disclosure Arrow // ============================== .disclosure-arrow { border-left: 0.3em solid transparent; border-right: 0.3em solid transparent; border-top: 0.3em solid; display: inline-block; height: 0; margin-top: -0.1em; // whilst vertically centered, it appears to be too low because of lowercase...
<|file_sep|>original/less/base/disclosure-arrow.less // // Disclosure Arrow // ============================== .disclosure-arrow { border-left: 0.3em solid transparent; border-right: 0.3em solid transparent; border-top: 0.3em dashed; display: inline-block; height: 0; margin-top: -0.1em; // whilst vertically c...
6e4d6227206fbdfcfbae4554ec9656919d5ff364
less/base/disclosure-arrow.less
less/base/disclosure-arrow.less
Less
<|file_sep|>original/lib/wed/modes/generic/generic.js this.getContextualMenuItems = function () { return []; }; this.nodesAroundEditableContents = function (parent) { var ret = [null, null]; var start = parent.childNodes[0]; if ($(start).is("._gui._start_button")) ...
this.getContextualMenuItems = function () { return []; }; this.nodesAroundEditableContents = function (parent) { var ret = [null, null]; var start = parent.childNodes[0]; if ($(start).is("._gui._start_button")) ret[0] = start; var end = parent.childNodes...
<|file_sep|>original/lib/wed/modes/generic/generic.js this.getContextualMenuItems = function () { return []; }; this.nodesAroundEditableContents = function (parent) { var ret = [null, null]; var start = parent.childNodes[0]; if ($(start).is("._gui._start_button")) ...
d0b06caafa83ddf4999981fd1859ad18f201eaba
lib/wed/modes/generic/generic.js
lib/wed/modes/generic/generic.js
JavaScript
<|file_sep|>original/package.json { "name": "chaplin", "version": "0.4.0-pre", "description": "An Application Architecture Using Backbone.js", "repository": { "type": "git", "url": "git://github.com/chaplinjs/chaplin.git" }, "engines": { "node": ">=0.4.6" }, "main": "./build/chaplin.js" } <|...
{ "name": "chaplin", "version": "0.4.0-pre", "description": "An Application Architecture Using Backbone.js", "repository": { "type": "git", "url": "git://github.com/chaplinjs/chaplin.git" }, "engines": { "node": ">= 0.4.6 < 0.7" }, "main": "./build/chaplin.js" }
<|file_sep|>original/package.json { "name": "chaplin", "version": "0.4.0-pre", "description": "An Application Architecture Using Backbone.js", "repository": { "type": "git", "url": "git://github.com/chaplinjs/chaplin.git" }, "engines": { "node": ">=0.4.6" }, "main": "./build/chaplin.js" } <|...
a13e0477d0deed13fc7ea0c1dd7b75a7861b8313
package.json
package.json
JSON
<|file_sep|>polyaxon/events/management/commands/monitor_namespace.py.diff original: updated: from django.db import InterfaceError, ProgrammingError, OperationalError <|file_sep|>polyaxon/events/management/commands/monitor_namespace.py.diff original: updated: def get_cluster_or_wait(self, log_sleep_interval): ...
time.sleep(log_sleep_interval * 2) return None def handle(self, *args, **options): log_sleep_interval = options['log_sleep_interval'] self.stdout.write( "Started a new namespace monitor with, " "log sleep interval: `{}`.".format(log_sleep_interval), ...
<|file_sep|>polyaxon/events/management/commands/monitor_namespace.py.diff original: updated: from django.db import InterfaceError, ProgrammingError, OperationalError <|file_sep|>polyaxon/events/management/commands/monitor_namespace.py.diff original: updated: def get_cluster_or_wait(self, log_sleep_interval): ...
7611a4b3e064868c37b9f52778c8fe9f721e86c5
polyaxon/events/management/commands/monitor_namespace.py
polyaxon/events/management/commands/monitor_namespace.py
Python
<|file_sep|>src/books/models.py.diff original: from datetime import date updated: from datetime import datetime <|file_sep|>src/books/models.py.diff original: cover_image = models.ImageField('Cover Image', updated: cover_image = models.ImageField('cover Image', <|file_sep|>src/books/models.py.diff original: add_date...
# Create your models here. class Book(models.Model): title = models.CharField(max_length=200) author = models.CharField(max_length=200) year = models.DateTimeField('year published', help_text="Please use the following format: <em>YYYY-MM-DD</em>.") pages = models.IntegerField(default=0) isbn_10 = models.Integer...
<|file_sep|>src/books/models.py.diff original: from datetime import date updated: from datetime import datetime <|file_sep|>src/books/models.py.diff original: cover_image = models.ImageField('Cover Image', updated: cover_image = models.ImageField('cover Image', <|file_sep|>src/books/models.py.diff original: add_date...
595419eaa5b5f411e477357872c7dd28067c9210
src/books/models.py
src/books/models.py
Python
<|file_sep|>original/core/app/assets/javascripts/frontend.js //= require jquery.prevent_scroll_propagation //= require bubble //= require_tree ./frontend //= require factlink.backbone //= require tour <|file_sep|>current/core/app/assets/javascripts/frontend.js //= require jquery.prevent_scroll_propagation //= require b...
//= require bubble //= require_tree ./frontend //= require factlink.backbone //= require tour
<|file_sep|>original/core/app/assets/javascripts/frontend.js //= require jquery.prevent_scroll_propagation //= require bubble //= require_tree ./frontend //= require factlink.backbone //= require tour <|file_sep|>current/core/app/assets/javascripts/frontend.js //= require jquery.prevent_scroll_propagation //= require b...
ecacaa22b13d4fc69c6230b845d6c42a6b9cd7cb
core/app/assets/javascripts/frontend.js
core/app/assets/javascripts/frontend.js
JavaScript
<|file_sep|>original/app/database/seeds/SentryDevSeeder.php <|file_sep|>current/app/database/seeds/SentryDevSeeder.php <|file_sep|>updated/app/database/seeds/SentryDevSeeder.php
<?php class SentryDevSeeder extends Seeder { public function run(){ Sentry::createGroup(array( 'name' => 'superuser', 'permissions' => array( 'superuser' => 1, ), )); $adminGroup = Sentry::findGroupById(1); $user = Sentry:...
<|file_sep|>original/app/database/seeds/SentryDevSeeder.php <|file_sep|>current/app/database/seeds/SentryDevSeeder.php <|file_sep|>updated/app/database/seeds/SentryDevSeeder.php <?php class SentryDevSeeder extends Seeder { public function run(){ Sentry::createGroup(array( 'name' => 'su...
48b84316111e14c054e25b95f53829ba1cc90097
app/database/seeds/SentryDevSeeder.php
app/database/seeds/SentryDevSeeder.php
PHP
<|file_sep|>original/setup.py class PyTest(Command): user_options = [] def initialize_options(self): pass def finalize_options(self): pass def run(self): errno = subprocess.call([sys.executable, 'runtests.py']) raise SystemExit(errno) setup( name='restle', des...
class PyTest(Command): user_options = [] def initialize_options(self): pass def finalize_options(self): pass def run(self): errno = subprocess.call(['py.test', 'test_restle.py']) raise SystemExit(errno) setup( name='restle', description='A REST client framewor...
<|file_sep|>original/setup.py class PyTest(Command): user_options = [] def initialize_options(self): pass def finalize_options(self): pass def run(self): errno = subprocess.call([sys.executable, 'runtests.py']) raise SystemExit(errno) setup( name='restle', des...
2cadcdbe2c9226547e95247a228aeec397a0f311
setup.py
setup.py
Python
<|file_sep|>app/styles/_alerts.scss.diff original: .container { margin-bottom: 10px; updated: <|file_sep|>app/styles/_alerts.scss.diff original: .alert { updated: .alert { @mixin alert-whitespace { margin-bottom: 10px; <|file_sep|>app/styles/_alerts.scss.diff original: &.alert-success { ...
text-align: center; .fixed-flash-inner { border-radius: 4px; cursor: pointer; display: inline-block; padding: 5px 20px; margin-top: 15px; @include fadeInDown(0.6s); p { margin: 5px 0; } } } } }
<|file_sep|>app/styles/_alerts.scss.diff original: .container { margin-bottom: 10px; updated: <|file_sep|>app/styles/_alerts.scss.diff original: .alert { updated: .alert { @mixin alert-whitespace { margin-bottom: 10px; <|file_sep|>app/styles/_alerts.scss.diff original: &.alert-success { ...
0b41b9520310a73ed514ecfd0da5bf04a775feea
app/styles/_alerts.scss
app/styles/_alerts.scss
SCSS
<|file_sep|>original/spec/acceptance/class_spec.rb require 'spec_helper_acceptance' describe 'stns class' do let(:manifest) { <<-EOS include ::stns EOS } it "should work without errors" do result = apply_manifest(manifest, :acceptable_exit_codes => [0, 2], :catch_failures => true) expect(...
include ::stns EOS } it "should work without errors" do result = apply_manifest(manifest, :acceptable_exit_codes => [0, 2], :catch_failures => true) expect(result.exit_code).not_to eq 4 expect(result.exit_code).not_to eq 6 end context 'RedHat', :if => host_inventory['platform'] == 'redh...
<|file_sep|>original/spec/acceptance/class_spec.rb require 'spec_helper_acceptance' describe 'stns class' do let(:manifest) { <<-EOS include ::stns EOS } it "should work without errors" do result = apply_manifest(manifest, :acceptable_exit_codes => [0, 2], :catch_failures => true) expect(...
ec150b272ba51b227f9b54c235325ea4da193ebc
spec/acceptance/class_spec.rb
spec/acceptance/class_spec.rb
Ruby
<|file_sep|>original/appveyor.yml version: 2.1.1.{build} os: Visual Studio 2019 configuration: - Debug - Release platform: - x86 - x64 before_build: - msbuild /t:restore build: project: CharLS.sln verbosity: minimal <|file_sep|>current/appveyor.yml version: 2.1.1.{build} os: Visual Studio 2019 configuration: - Debu...
version: 2.1.1.{build} os: Visual Studio 2019 configuration: - Debug - Release platform: - x86 - x64 before_build: - nuget restore build: project: CharLS.sln verbosity: minimal
<|file_sep|>original/appveyor.yml version: 2.1.1.{build} os: Visual Studio 2019 configuration: - Debug - Release platform: - x86 - x64 before_build: - msbuild /t:restore build: project: CharLS.sln verbosity: minimal <|file_sep|>current/appveyor.yml version: 2.1.1.{build} os: Visual Studio 2019 configuration: - Debu...
812ba2127a2d0acbc036ccbef52bce0660fac69e
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/src/openssl.ssl.context.lua local ctx = require"_openssl.ssl.context" local pack = table.pack or function(...) return { n = select("#", ...); ... } end -- Allow passing a vararg of ciphers, or an array local setCipherList; setCipherList = ctx.interpose("setCipherList", function (self, ciphers, .....
local ctx = require"_openssl.ssl.context" local pack = table.pack or function(...) return { n = select("#", ...); ... } end -- Allow passing a vararg of ciphers, or an array local setCipherList; setCipherList = ctx.interpose("setCipherList", function (self, ciphers, ...) if (...) then local ciphers_t = pack(cipher...
<|file_sep|>original/src/openssl.ssl.context.lua local ctx = require"_openssl.ssl.context" local pack = table.pack or function(...) return { n = select("#", ...); ... } end -- Allow passing a vararg of ciphers, or an array local setCipherList; setCipherList = ctx.interpose("setCipherList", function (self, ciphers, .....
c80559d64791e42f8fec9056343f4629720323e4
src/openssl.ssl.context.lua
src/openssl.ssl.context.lua
Lua
<|file_sep|>examples/react.md.diff original: var MyComponent = React.createClass({ updated: var MainComponent = React.createClass({ <|file_sep|>examples/react.md.diff original: var templates = { component: MyComponent updated: var components = { main: MainComponent <|file_sep|>original/examples/react.md Server.prot...
Server.prototype.render = function (component_name, props) { this.module.debug("Rendering React component " + component_name); var component = React.createElement(components[component_name], props); return React.renderToString(component); }; ``` ```elixir defmodule ReactRenderer do use JSGenServer, path: "../p...
<|file_sep|>examples/react.md.diff original: var MyComponent = React.createClass({ updated: var MainComponent = React.createClass({ <|file_sep|>examples/react.md.diff original: var templates = { component: MyComponent updated: var components = { main: MainComponent <|file_sep|>original/examples/react.md Server.prot...
b5064bfdc32a59e78093fe03408036ea7836e402
examples/react.md
examples/react.md
Markdown
<|file_sep|>lib/emergency_banner.rb.diff original: content && has_campaign_class? end def has_campaign_class? content.has_key?(:campaign_class) && content.fetch(:campaign_class).present? updated: content && campaign_class <|file_sep|>original/lib/emergency_banner.rb class EmergencyBanner def initiali...
class EmergencyBanner def initialize @redis = Redis.new end def enabled? content && campaign_class end private def content @data ||= @redis.hgetall("emergency_banner") @data.symbolize_keys if @data end def campaign_class content[:campaign_class] if content[:campaign_class].present?...
<|file_sep|>lib/emergency_banner.rb.diff original: content && has_campaign_class? end def has_campaign_class? content.has_key?(:campaign_class) && content.fetch(:campaign_class).present? updated: content && campaign_class <|file_sep|>original/lib/emergency_banner.rb class EmergencyBanner def initiali...
1da001bc15eb9c275e5da8c87f3f42b4e0e18d6a
lib/emergency_banner.rb
lib/emergency_banner.rb
Ruby
<|file_sep|>original/build_android/jni/Application.mk APP_ABI := armeabi-v7a APP_STL := gnustl_static APP_CPPFLAGS += -std=c++11 NDK_TOOLCHAIN_VERSION := clang <|file_sep|>current/build_android/jni/Application.mk APP_ABI := armeabi-v7a APP_STL := gnustl_static APP_CPPFLAGS += -std=c++11 NDK_TOOLC...
APP_ABI := armeabi-v7a APP_STL := c++_static APP_CPPFLAGS += -std=c++11 NDK_TOOLCHAIN_VERSION := clang
<|file_sep|>original/build_android/jni/Application.mk APP_ABI := armeabi-v7a APP_STL := gnustl_static APP_CPPFLAGS += -std=c++11 NDK_TOOLCHAIN_VERSION := clang <|file_sep|>current/build_android/jni/Application.mk APP_ABI := armeabi-v7a APP_STL := gnustl_static APP_CPPFLAGS += -std=c++11 NDK_TOOLC...
ee29fcd1d2bf242e978c3d913fb604704c0e3ae8
build_android/jni/Application.mk
build_android/jni/Application.mk
Makefile
<|file_sep|>metadata/host.stjin.anonaddy.yml.diff original: updated: - versionName: 1.1.2 versionCode: 11 commit: v1.1.2 subdir: app gradle: - yes <|file_sep|>original/metadata/host.stjin.anonaddy.yml Repo: https://gitlab.com/Stjin/anonaddy-android.git Builds: - versionName: 1.0.2 versi...
gradle: - yes - versionName: 1.1.1 versionCode: 9 commit: v1.1.1 subdir: app gradle: - yes - versionName: 1.1.2 versionCode: 11 commit: v1.1.2 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: 1.1.2 CurrentVersionCode...
<|file_sep|>metadata/host.stjin.anonaddy.yml.diff original: updated: - versionName: 1.1.2 versionCode: 11 commit: v1.1.2 subdir: app gradle: - yes <|file_sep|>original/metadata/host.stjin.anonaddy.yml Repo: https://gitlab.com/Stjin/anonaddy-android.git Builds: - versionName: 1.0.2 versi...
c2219f14d3f8adb73a2338a95674c20317ae7d8e
metadata/host.stjin.anonaddy.yml
metadata/host.stjin.anonaddy.yml
YAML
<|file_sep|>setup.py.diff original: version='0.0.3', updated: version='0.1.0', <|file_sep|>original/setup.py author_email='james.l.pettit@gmail.com', classifiers=[ 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI ...
long_description=README, url='https://github.com/Leeps-Lab/otree-redwood', author='James Pettit', author_email='james.l.pettit@gmail.com', classifiers=[ 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approve...
<|file_sep|>setup.py.diff original: version='0.0.3', updated: version='0.1.0', <|file_sep|>original/setup.py author_email='james.l.pettit@gmail.com', classifiers=[ 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI ...
17512492c1fe997e6f19f56901e6a231aea9fced
setup.py
setup.py
Python
<|file_sep|>original/app.js res.render(path, function(err, html) { if (err) { res.render(path + "/index", function(err2, html) { if (err2) { console.log(err); res.status(404).send(err + "<br>" + err2); } else { res.end(html); } }); } else { ...
res.render(path, function(err, html) { if (err) { res.render(path + "/index", function(err2, html) { if (err2) { console.log(err); res.status(404).send(err + "<br>" + err2); } else { res.end(html); } }); } else { res.end(html); } })...
<|file_sep|>original/app.js res.render(path, function(err, html) { if (err) { res.render(path + "/index", function(err2, html) { if (err2) { console.log(err); res.status(404).send(err + "<br>" + err2); } else { res.end(html); } }); } else { ...
58b3b88b68f8076a0ee2f22b7264a5507144e017
app.js
app.js
JavaScript
<|file_sep|>original/recipes-extra/recipes-kernel/linux-libc-headers/linux-libc-headers-raspberrypi_3.2.27.bb <|file_sep|>current/recipes-extra/recipes-kernel/linux-libc-headers/linux-libc-headers-raspberrypi_3.2.27.bb <|file_sep|>updated/recipes-extra/recipes-kernel/linux-libc-headers/linux-libc-headers-raspberrypi_...
require recipes-kernel/linux-libc-headers/linux-libc-headers.inc PR = "r0" PROVIDES = "linux-libc-headers" RPROVIDES_${PN}-dev = "linux-libc-headers-dev" RPROVIDES_${PN}-dbg = "linux-libc-headers-dbg" SRCREV = "10182a3bc434b27740f81c2b836a1af943060241" SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;b...
<|file_sep|>original/recipes-extra/recipes-kernel/linux-libc-headers/linux-libc-headers-raspberrypi_3.2.27.bb <|file_sep|>current/recipes-extra/recipes-kernel/linux-libc-headers/linux-libc-headers-raspberrypi_3.2.27.bb <|file_sep|>updated/recipes-extra/recipes-kernel/linux-libc-headers/linux-libc-headers-raspberrypi_...
4658e725a11d0bff204db060d832ff48e8d5c7ab
recipes-extra/recipes-kernel/linux-libc-headers/linux-libc-headers-raspberrypi_3.2.27.bb
recipes-extra/recipes-kernel/linux-libc-headers/linux-libc-headers-raspberrypi_3.2.27.bb
BitBake
<|file_sep|>original/lib/rack/switchboard/store_loader.rb module Rack class Switchboard module StoreLoader protected def create_store(options = :memory) config = options || :memory provider, config = if config.kind_of? Hash [ config.delete(:provider), config ] ...
module Rack class Switchboard module StoreLoader protected def create_store(options = :memory) config = options ? options.dup : :memory provider, config = if config.kind_of? Hash [ config.delete(:provider), config ] else [ config, {} ] ...
<|file_sep|>original/lib/rack/switchboard/store_loader.rb module Rack class Switchboard module StoreLoader protected def create_store(options = :memory) config = options || :memory provider, config = if config.kind_of? Hash [ config.delete(:provider), config ] ...
b39491678bd8db7a3e3ad9157d7b8431bfdb8cd6
lib/rack/switchboard/store_loader.rb
lib/rack/switchboard/store_loader.rb
Ruby
<|file_sep|>original/.codeclimate.yml config: languages: - ruby - javascript - python - php fixme: enabled: true rubocop: enabled: true ratings: paths: - "**.inc" - "**.js" - "**.jsx" - "**.module" - "**.php" - "**.py" - "**.rb" exclude_paths: - spec/ <|file...
config: languages: - ruby - javascript - python - php fixme: enabled: true rubocop: enabled: true exclude_fingerprints: - 55b0babc1beb44cbd9ba58882e12b227 ratings: paths: - "**.inc" - "**.js" - "**.jsx" - "**.module" - "**.php" - "**.py" - "**.rb"
<|file_sep|>original/.codeclimate.yml config: languages: - ruby - javascript - python - php fixme: enabled: true rubocop: enabled: true ratings: paths: - "**.inc" - "**.js" - "**.jsx" - "**.module" - "**.php" - "**.py" - "**.rb" exclude_paths: - spec/ <|file...
a3df384f37e645453a586069a9b617ab4d223706
.codeclimate.yml
.codeclimate.yml
YAML