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|>original/tests/testapp/tests/utils.py class MockDate(datetime.date): @classmethod def today(cls): return datetime.date(2012, 6, 1) return MockDate def reset_db(): using = DEFAULT_DB_ALIAS connection = connections[using] sql_list = sql_delete(elephantblog.mod...
class MockDate(datetime.date): @classmethod def today(cls): return datetime.date(2012, 6, 1) return MockDate def reset_db(): using = DEFAULT_DB_ALIAS connection = connections[using] sql_list = sql_delete(elephantblog.models, no_style(), connection) sql_list += sql_a...
<|file_sep|>original/tests/testapp/tests/utils.py class MockDate(datetime.date): @classmethod def today(cls): return datetime.date(2012, 6, 1) return MockDate def reset_db(): using = DEFAULT_DB_ALIAS connection = connections[using] sql_list = sql_delete(elephantblog.mod...
6fb30db07457fb231827cfa4c8215f8ff107cb74
tests/testapp/tests/utils.py
tests/testapp/tests/utils.py
Python
<|file_sep|>original/lib/capistrano/templates/launchd/app.plist.erb <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>de.faxomat.app</string> <key>ProgramArguments</key> <array> <string>bundle</string>...
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>de.faxomat.app</string> <key>ProgramArguments</key> <array> <string>bundle</string> <string>exec</string> <string>puma</string> <string>--c...
<|file_sep|>original/lib/capistrano/templates/launchd/app.plist.erb <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>de.faxomat.app</string> <key>ProgramArguments</key> <array> <string>bundle</string>...
f88af0754594e40b31a9f443af6104b4e52ca525
lib/capistrano/templates/launchd/app.plist.erb
lib/capistrano/templates/launchd/app.plist.erb
HTML+ERB
<|file_sep|>packages/le/lenz-template.yaml.diff original: hash: 25fac909c683856f994baedbd6b298421dd816216804ed2817697931f16b2f17 updated: hash: 589aa24ca463ff0b322bc47094921da8b697525e8f9653a4683fba1272eca16d <|file_sep|>packages/le/lenz-template.yaml.diff original: base: ! '>=4.9 && <4.11' updated: base: ! '>=4.9 ...
changelog-type: '' hash: 589aa24ca463ff0b322bc47094921da8b697525e8f9653a4683fba1272eca16d test-bench-deps: {} maintainer: strake888@gmail.com synopsis: Van Laarhoven lens templates changelog: '' basic-deps: base-unicode-symbols: ! '>=0.1 && <0.3' base: ! '>=4.9 && <5' lenz: ! '>=0.2 && <0.4' containers: ! '>=0....
<|file_sep|>packages/le/lenz-template.yaml.diff original: hash: 25fac909c683856f994baedbd6b298421dd816216804ed2817697931f16b2f17 updated: hash: 589aa24ca463ff0b322bc47094921da8b697525e8f9653a4683fba1272eca16d <|file_sep|>packages/le/lenz-template.yaml.diff original: base: ! '>=4.9 && <4.11' updated: base: ! '>=4.9 ...
985c9d4761119feac28ea83b974b232590e7ab18
packages/le/lenz-template.yaml
packages/le/lenz-template.yaml
YAML
<|file_sep|>original/_includes/_scripts.html <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/js/bootstrap.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/...
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha256-KXn5puMvxCw+dAYznun...
<|file_sep|>original/_includes/_scripts.html <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/js/bootstrap.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/...
1ba1db61c40a78daf2e2410f56797ca3c7c3a9da
_includes/_scripts.html
_includes/_scripts.html
HTML
<|file_sep|>original/lib/booking_locations/location.rb end def guider_name_for(guider_id) guiders.find { |guider| guider.id == guider_id }.name end def location_for(location_id) return self if id == location_id locations.find { |location| location.id == location_id } end de...
end def slots @slots ||= @data['slots'].map { |slot| Slot.new(slot) } end def guider_name_for(guider_id) guiders.find { |guider| guider.id == guider_id }.name end def location_for(location_id) return self if id == location_id locations.find { |location| location.id ==...
<|file_sep|>original/lib/booking_locations/location.rb end def guider_name_for(guider_id) guiders.find { |guider| guider.id == guider_id }.name end def location_for(location_id) return self if id == location_id locations.find { |location| location.id == location_id } end de...
a0d11dd2d3be5a24ec7275124685008a805bd810
lib/booking_locations/location.rb
lib/booking_locations/location.rb
Ruby
<|file_sep|>recipes/libconeangle/meta.yaml.diff original: updated: - {{ compiler('cxx') }} <|file_sep|>recipes/libconeangle/meta.yaml.diff original: - scikit-build updated: <|file_sep|>recipes/libconeangle/meta.yaml.diff original: updated: - scikit-build <|file_sep|>original/recipes/libconeangle/meta.yam...
- {{ compiler('cxx') }} - {{ compiler('fortran') }} - cmake - fypp - ninja host: - pip - python - scikit-build run: - numpy >=1.20 - python test: imports: - libconeangle commands: - pip check requires: - pip
<|file_sep|>recipes/libconeangle/meta.yaml.diff original: updated: - {{ compiler('cxx') }} <|file_sep|>recipes/libconeangle/meta.yaml.diff original: - scikit-build updated: <|file_sep|>recipes/libconeangle/meta.yaml.diff original: updated: - scikit-build <|file_sep|>original/recipes/libconeangle/meta.yam...
6dc6f59e64e1513de53505efdd665fe481f2c485
recipes/libconeangle/meta.yaml
recipes/libconeangle/meta.yaml
YAML
<|file_sep|>playbooks/common/openshift-cluster/initialize_openshift_version.yml.diff original: updated: when: not openshift.common.is_atomic | bool <|file_sep|>original/playbooks/common/openshift-cluster/initialize_openshift_version.yml # https://bugzilla.redhat.com/show_bug.cgi?id=1282961 # https://github...
# https://bugzilla.redhat.com/show_bug.cgi?id=1282961 # https://github.com/openshift/openshift-ansible/issues/1138 - name: Check for bad combinations of yum and subscription-manager command: > {{ repoquery_cmd }} --installed --qf '%{version}' "yum" register: yum_ver_test changed_when: false ...
<|file_sep|>playbooks/common/openshift-cluster/initialize_openshift_version.yml.diff original: updated: when: not openshift.common.is_atomic | bool <|file_sep|>original/playbooks/common/openshift-cluster/initialize_openshift_version.yml # https://bugzilla.redhat.com/show_bug.cgi?id=1282961 # https://github...
62e5b2a4bc80448af6411faf81c5ea89b739587a
playbooks/common/openshift-cluster/initialize_openshift_version.yml
playbooks/common/openshift-cluster/initialize_openshift_version.yml
YAML
<|file_sep|>original/README.md ## Installation Install via NPM with `npm install tokenize-markdown`. ## Usage ```js var tokenizeMarkdown = require( 'tokenize-markdown' ); // Get all tokens var tokens = tokenizeMarkdown.fromFiles( 'some_markdown_file.md' ] ); // Get only tokens of type "code" and lang "javascript" ...
## Installation Install via NPM with `npm install tokenize-markdown`. ## Usage ```js var tokenizeMarkdown = require( 'tokenize-markdown' ); // Get all tokens var tokens = tokenizeMarkdown.fromFiles( ['some_markdown_file.md' ] ); // Get only tokens of type "code" and lang "javascript" var jsTokens = tokenizeMarkdow...
<|file_sep|>original/README.md ## Installation Install via NPM with `npm install tokenize-markdown`. ## Usage ```js var tokenizeMarkdown = require( 'tokenize-markdown' ); // Get all tokens var tokens = tokenizeMarkdown.fromFiles( 'some_markdown_file.md' ] ); // Get only tokens of type "code" and lang "javascript" ...
a1b67e12ab879481982209877191420905a059ba
README.md
README.md
Markdown
<|file_sep|>original/.vscode/tasks.json "args": [ "-c" ], "options": { "cwd": "${fileDirname}" }, "tasks": [ { "taskName": "Go Build", "suppressTaskName": true, "isBuildCommand": true, "args": ["go build -o $GOPATH/bin/vsphere-o...
"args": [ "-c" ], "options": { "cwd": "${fileDirname}" }, "tasks": [ { "taskName": "Go Build", "suppressTaskName": true, "isBuildCommand": true, "args": ["go build -o $GOPATH/bin/vsphere-osx ${workspaceRoot}/vsphere-cli/vsphere-...
<|file_sep|>original/.vscode/tasks.json "args": [ "-c" ], "options": { "cwd": "${fileDirname}" }, "tasks": [ { "taskName": "Go Build", "suppressTaskName": true, "isBuildCommand": true, "args": ["go build -o $GOPATH/bin/vsphere-o...
0c47969f41daff8739fe0264aae1774754e53064
.vscode/tasks.json
.vscode/tasks.json
JSON
<|file_sep|>original/config.sample.json , "url": "http://url-nomsociete.com" , "url_nice": "_url-NomSociété.com_" , "hourly_rate": 130 , "hourly_rate_legend": "euros HT / heures" } , "client": { "description": "La société X, Société par actions simplifiée au capital de Y euros, dont le siège social est s...
, "url": "http://url-nomsociete.com" , "url_nice": "_url-NomSociété.com_" , "hourly_rate": 130 , "hourly_rate_legend": "euros HT / heures" } , "client": { "description": "La société X, Société par actions simplifiée au capital de Y euros, dont le siège social est sis PAR LÀ, immatriculée sous le n° Z, re...
<|file_sep|>original/config.sample.json , "url": "http://url-nomsociete.com" , "url_nice": "_url-NomSociété.com_" , "hourly_rate": 130 , "hourly_rate_legend": "euros HT / heures" } , "client": { "description": "La société X, Société par actions simplifiée au capital de Y euros, dont le siège social est s...
48231a3368fc33901a630dc26c748d8b8e4a5910
config.sample.json
config.sample.json
JSON
<|file_sep|>packages/al/alg.yaml.diff original: hash: 63aa959965938f8b4583ce2b2aa05933511a790f4a780031f376cb9fcf0fa363 updated: hash: ac4e231e4c8d8b69666d0a96e81373d4a3d000ac4f25e23c9546cce66b4509bd <|file_sep|>packages/al/alg.yaml.diff original: - '0.1.1.0' updated: <|file_sep|>original/packages/al/alg.yaml homepage:...
homepage: '' changelog-type: '' hash: ac4e231e4c8d8b69666d0a96e81373d4a3d000ac4f25e23c9546cce66b4509bd test-bench-deps: {} maintainer: strake888@gmail.com synopsis: Algebraic structures changelog: '' basic-deps: base: ! '>=4.9 && <5' all-versions: - '0.1.0.0' author: M Farkas-Dyck latest: '0.1.0.0' description-type: ...
<|file_sep|>packages/al/alg.yaml.diff original: hash: 63aa959965938f8b4583ce2b2aa05933511a790f4a780031f376cb9fcf0fa363 updated: hash: ac4e231e4c8d8b69666d0a96e81373d4a3d000ac4f25e23c9546cce66b4509bd <|file_sep|>packages/al/alg.yaml.diff original: - '0.1.1.0' updated: <|file_sep|>original/packages/al/alg.yaml homepage:...
91121c6ac76424f2ada4e3f2b00ce0b536095eea
packages/al/alg.yaml
packages/al/alg.yaml
YAML
<|file_sep|>original/test/Verifier/2006-10-15-AddrLabel.ll ; RUN: not llvm-as %s -o /dev/null -f && ; RUN: llvm-as %s -o /dev/null -f 2>&1 | grep 'Cannot form' int %main() { %foo = call sbyte* %llvm.stacksave() %foop = cast sbyte* %foo to label* %nret = load label* %foop br label %...
; RUN: llvm-upgrade %s | not llvm-as -o /dev/null -f && ; RUN: llvm-upgrade %s | llvm-as -o /dev/null -f 2>&1 | grep 'Cannot form' int %main() { %foo = call sbyte* %llvm.stacksave() %foop = cast sbyte* %foo to label* %nret = load label* %foop br label %nret; }
<|file_sep|>original/test/Verifier/2006-10-15-AddrLabel.ll ; RUN: not llvm-as %s -o /dev/null -f && ; RUN: llvm-as %s -o /dev/null -f 2>&1 | grep 'Cannot form' int %main() { %foo = call sbyte* %llvm.stacksave() %foop = cast sbyte* %foo to label* %nret = load label* %foop br label %...
a5ce97b15a1835fbcbe8a33642fde13ce49501d3
test/Verifier/2006-10-15-AddrLabel.ll
test/Verifier/2006-10-15-AddrLabel.ll
LLVM
<|file_sep|>original/README.md First, make sure you have the latest version of [Node.js](https://nodejs.org/) and [npm](https://github.com/npm/npm). We recommend using [nvm](https://github.com/creationix/nvm) to manage these, and there's a `.nvmrc` file in this project, so just run this and you're all set: ```sh nvm us...
Now you need to install the dependencies: ```sh npm install ``` Then, in order to log your bot into Discord, set [your bot token](https://discordapp.com/developers/applications/me): ```sh export DISCORD_TOKEN=<your discord app token> # you could, instead, fill it in the ./settings.json file ``` And finally, start yo...
<|file_sep|>original/README.md First, make sure you have the latest version of [Node.js](https://nodejs.org/) and [npm](https://github.com/npm/npm). We recommend using [nvm](https://github.com/creationix/nvm) to manage these, and there's a `.nvmrc` file in this project, so just run this and you're all set: ```sh nvm us...
97a8771e7816646e7d97b7d14e057d1da3be0c32
README.md
README.md
Markdown
<|file_sep|>original/packages/cli/lib/lib/webpack/polyfills.js if (!global.Promise) global.Promise = require('promise-polyfill'); if (!global.fetch) global.fetch = require('isomorphic-unfetch'); <|file_sep|>current/packages/cli/lib/lib/webpack/polyfills.js if (!global.Promise) global.Promise = require('promise-polyfill...
if (!global.Promise) global.Promise = require('promise-polyfill').default; if (!global.fetch) global.fetch = require('isomorphic-unfetch');
<|file_sep|>original/packages/cli/lib/lib/webpack/polyfills.js if (!global.Promise) global.Promise = require('promise-polyfill'); if (!global.fetch) global.fetch = require('isomorphic-unfetch'); <|file_sep|>current/packages/cli/lib/lib/webpack/polyfills.js if (!global.Promise) global.Promise = require('promise-polyfill...
096ecc50dfb70c2ad6face906980ba715ce0f6dd
packages/cli/lib/lib/webpack/polyfills.js
packages/cli/lib/lib/webpack/polyfills.js
JavaScript
<|file_sep|>original/README.md ready-to-use project structure with decent defaults. # Installation As easy as pip install lubricate # Usage Currently there are two types of projects available: `python` and `analysis`. A `python` project is a fully configured Python package with tests, docs and CI. An `analysis...
# Usage Currently there are two types of projects available: `python` and `analysis`. A `python` project is a fully configured Python package with tests, docs and CI. An `analysis` is a scientific project. ## Create a Python package lubricate new python foo This will create the following folder structure ...
<|file_sep|>original/README.md ready-to-use project structure with decent defaults. # Installation As easy as pip install lubricate # Usage Currently there are two types of projects available: `python` and `analysis`. A `python` project is a fully configured Python package with tests, docs and CI. An `analysis...
69c2eaadb4d3af283b29ba2e2044fefd7346cc01
README.md
README.md
Markdown
<|file_sep|>original/src/main/resources/META-INF/m2e/lifecycle-mapping-metadata.xml <|file_sep|>current/src/main/resources/META-INF/m2e/lifecycle-mapping-metadata.xml <|file_sep|>updated/src/main/resources/META-INF/m2e/lifecycle-mapping-metadata.xml
<lifecycleMappingMetadata> <pluginExecutions> <pluginExecution> <pluginExecutionFilter> <goals> <goal>enhance</goal> <goal>enhance-check</goal> </goals> </pluginExecutionFilter> <action> <ignore /> </action> </pluginExecution> </pluginExecu...
<|file_sep|>original/src/main/resources/META-INF/m2e/lifecycle-mapping-metadata.xml <|file_sep|>current/src/main/resources/META-INF/m2e/lifecycle-mapping-metadata.xml <|file_sep|>updated/src/main/resources/META-INF/m2e/lifecycle-mapping-metadata.xml <lifecycleMappingMetadata> <pluginExecutions> <pluginExecution...
a75f189b08d4a9afed55ec3baa61095868ca4a93
src/main/resources/META-INF/m2e/lifecycle-mapping-metadata.xml
src/main/resources/META-INF/m2e/lifecycle-mapping-metadata.xml
XML
<|file_sep|>original/requirements.txt dj-database-url==0.5.0 Django==1.11.15 django-cors-middleware==1.3.1 django-crispy-forms==1.7.2 django-filter==1.1.0 django-guardian==1.4.9 django-model-utils==3.1.1 djangorestframework==3.8.2 djoser==0.7.0 djangorestframework-jwt==1.11.0 gunicorn==19.9.0 psycopg2==2.7.5 pytz==2018...
dj-database-url==0.5.0 Django==1.11.15 django-cors-middleware==1.3.1 django-crispy-forms==1.7.2 django-filter==1.1.0 django-guardian==1.4.9 django-model-utils==3.1.1 djangorestframework==3.8.2 djoser==0.7.0 djangorestframework-jwt==1.11.0 gunicorn==19.9.0 psycopg2==2.7.5 pytz==2018.5 requests==2.20.0 requests-mock==1.5...
<|file_sep|>original/requirements.txt dj-database-url==0.5.0 Django==1.11.15 django-cors-middleware==1.3.1 django-crispy-forms==1.7.2 django-filter==1.1.0 django-guardian==1.4.9 django-model-utils==3.1.1 djangorestframework==3.8.2 djoser==0.7.0 djangorestframework-jwt==1.11.0 gunicorn==19.9.0 psycopg2==2.7.5 pytz==2018...
d3c9adf5e049f716756a959e5c154c6a4aa48310
requirements.txt
requirements.txt
Text
<|file_sep|>original/package.json "node": ">= 0.12.0" }, "main": "./lib/dbus", "scripts": { "node-gyp": "node_modules/.bin/node-gyp", "install": "npm run build:release", "test": "tap test/**/*.test.js", "build:release": "node-gyp configure build", "build:debug": "node-gyp configure build -...
"node": ">= 0.12.0" }, "main": "./lib/dbus", "scripts": { "node-gyp": "node_modules/.bin/node-gyp", "install": "npm run build:release", "test": "tap test/**/*.test.js", "build:release": "node-gyp configure build", "build:debug": "node-gyp configure build --debug" }, "dependencies": { ...
<|file_sep|>original/package.json "node": ">= 0.12.0" }, "main": "./lib/dbus", "scripts": { "node-gyp": "node_modules/.bin/node-gyp", "install": "npm run build:release", "test": "tap test/**/*.test.js", "build:release": "node-gyp configure build", "build:debug": "node-gyp configure build -...
64d3b073891308e2e2eb48a1852bd2b45820d0c9
package.json
package.json
JSON
<|file_sep|>original/git/aliases.zsh alias gitcheck="find . -maxdepth 1 -type d -exec sh -c 'echo {}; cd {} && git wtf; echo' \;" alias gitpurgelocal="git checkout master && git branch --merged | grep -v master | xargs git branch -d" alias gitpurgeremote="git checkout master && git remote prune origin && git branch -r ...
alias gitcheck="find . -maxdepth 1 -type d -exec sh -c 'echo {}; cd {} && git wtf; echo' \;" alias gitpurgelocal="git checkout master && git branch --merged | grep -v master | xargs git branch -d" alias gitpurgeremote="git checkout master && git remote prune origin && git branch -r --merged | grep -v master | sed -e 's...
<|file_sep|>original/git/aliases.zsh alias gitcheck="find . -maxdepth 1 -type d -exec sh -c 'echo {}; cd {} && git wtf; echo' \;" alias gitpurgelocal="git checkout master && git branch --merged | grep -v master | xargs git branch -d" alias gitpurgeremote="git checkout master && git remote prune origin && git branch -r ...
170cd094de38ac379e9a9b747136c361a96c0dc2
git/aliases.zsh
git/aliases.zsh
Shell
<|file_sep|>.travis.yml.diff original: - "3.6" updated: - "3.7" <|file_sep|>.travis.yml.diff original: updated: dist: xenial <|file_sep|>original/.travis.yml - export PATH=$TRAVIS_BUILD_DIR:$PATH install: - cd frontend - npm install - cd $TRAVIS_BUILD_DIR script: - cd frontend - npm run lint - npm ru...
- export PATH=$TRAVIS_BUILD_DIR:$PATH install: - cd frontend - npm install - cd $TRAVIS_BUILD_DIR script: - cd frontend - npm run lint - npm run build - cd $TRAVIS_BUILD_DIR - python setup.py install test deploy: provider: pypi user: $PYPI_USER password: $PYPI_PASS distributions: "sdist bdist_...
<|file_sep|>.travis.yml.diff original: - "3.6" updated: - "3.7" <|file_sep|>.travis.yml.diff original: updated: dist: xenial <|file_sep|>original/.travis.yml - export PATH=$TRAVIS_BUILD_DIR:$PATH install: - cd frontend - npm install - cd $TRAVIS_BUILD_DIR script: - cd frontend - npm run lint - npm ru...
8649d88f033c332c4395ac25cdf5588472b72440
.travis.yml
.travis.yml
YAML
<|file_sep|>original/node/package.json { "name": "jactivity", "version": "2.0.0", "description": "", "repository": { "type": "git", "url": "https://projects.teco.edu/jactivity.git" }, "dependencies": { "body-parser": "^1.8.1", "express": "^4.9.0", "mysql": "^2.5.4", "express-session": "~1.7.6", "pat...
{ "name": "jactivity", "version": "2.0.0", "description": "", "repository": { "type": "git", "url": "https://projects.teco.edu/jactivity.git" }, "dependencies": { "body-parser": "^1.8.1", "express": "^4.9.0", "mysql": "^2.5.4", "express-session": "~1.7.6", "path-exists" : "2.1.0", "body-parser": "...
<|file_sep|>original/node/package.json { "name": "jactivity", "version": "2.0.0", "description": "", "repository": { "type": "git", "url": "https://projects.teco.edu/jactivity.git" }, "dependencies": { "body-parser": "^1.8.1", "express": "^4.9.0", "mysql": "^2.5.4", "express-session": "~1.7.6", "pat...
2e890ac2cf56c1f92233b748a4e6a1fe40c11d72
node/package.json
node/package.json
JSON
<|file_sep|>original/test/capybara_helper.rb require 'test_helper' require 'capybara/rails' class ActionDispatch::IntegrationTest include Capybara::DSL def login(user) visit login_path fill_in 'Username', with: user.username fill_in 'Password', with: user.password click_button 'Login' assert c...
require 'test_helper' require 'capybara/rails' class ActionDispatch::IntegrationTest include Capybara::DSL self.fixture_path = File.expand_path('../fixtures', __FILE__) def login(user) visit login_path fill_in 'Username', with: user.username fill_in 'Password', with: user.password click_button '...
<|file_sep|>original/test/capybara_helper.rb require 'test_helper' require 'capybara/rails' class ActionDispatch::IntegrationTest include Capybara::DSL def login(user) visit login_path fill_in 'Username', with: user.username fill_in 'Password', with: user.password click_button 'Login' assert c...
8984f10575192be4cccaac8ed9bd1f66aa6df066
test/capybara_helper.rb
test/capybara_helper.rb
Ruby
<|file_sep|>original/src/functions/_px-to-rem.scss $pixels: $pixels * 1px; } @if (unitless($context)) { $context: $context * 1px; } @return $pixels / $context * 1em; } @function rem($pixels, $context: $font-base-size) { @if (unitless($pixels)) { $pixels: $pixels * 1px; } @if (unitless($con...
$pixels: $pixels * 1px; } @if (unitless($context)) { $context: $context * 1px; } @return $pixels / $context * 1em; } @function rem($pixels, $context: $font-base-size) { @if (unitless($pixels)) { $pixels: $pixels * 1px; } @if (unitless($context)) { $context: $context * 1px; } @retu...
<|file_sep|>original/src/functions/_px-to-rem.scss $pixels: $pixels * 1px; } @if (unitless($context)) { $context: $context * 1px; } @return $pixels / $context * 1em; } @function rem($pixels, $context: $font-base-size) { @if (unitless($pixels)) { $pixels: $pixels * 1px; } @if (unitless($con...
59cb34a1c4201e26aa3d7363547c599d2a47c370
src/functions/_px-to-rem.scss
src/functions/_px-to-rem.scss
SCSS
<|file_sep|>original/Cargo.toml [package] name = "metl" version = "0.0.0" authors = ["George Burton <burtonageo@gmail.com>"] license = "MIT" keywords = ["graphics", "metal", "apple", "mtl"] description = "High-level bindings for Apple's Metal Graphics API" repository = "https://github.com/burtonageo/mtl-rs" [dependenc...
[package] name = "metl" version = "0.0.0" authors = ["George Burton <burtonageo@gmail.com>"] license = "MIT" keywords = ["graphics", "metal", "apple", "mtl"] description = "High-level bindings for Apple's Metal Graphics API" repository = "https://github.com/burtonageo/metl" [dependencies] cocoa = "0.2.4" core-foundati...
<|file_sep|>original/Cargo.toml [package] name = "metl" version = "0.0.0" authors = ["George Burton <burtonageo@gmail.com>"] license = "MIT" keywords = ["graphics", "metal", "apple", "mtl"] description = "High-level bindings for Apple's Metal Graphics API" repository = "https://github.com/burtonageo/mtl-rs" [dependenc...
81fabc66cf08d8931a852f4e3e086f06bbab5bf5
Cargo.toml
Cargo.toml
TOML
<|file_sep|>Casks/eclipse-jee-kepler.rb.diff original: updated: name 'Eclipse' name 'Eclipse IDE for Java EE Developers' <|file_sep|>original/Casks/eclipse-jee-kepler.rb cask :v1 => 'eclipse-jee-kepler' do version '4.3.2' sha256 'd18c5b4249a782a36c2d7bb377871393acd5dd552a195fc49b5b944f04874fbf' url 'http://...
cask :v1 => 'eclipse-jee-kepler' do version '4.3.2' sha256 'd18c5b4249a782a36c2d7bb377871393acd5dd552a195fc49b5b944f04874fbf' url 'http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/kepler/SR2/eclipse-jee-kepler-SR2-macosx-cocoa-x86_64.tar.gz' name 'Eclipse' name 'Eclipse ID...
<|file_sep|>Casks/eclipse-jee-kepler.rb.diff original: updated: name 'Eclipse' name 'Eclipse IDE for Java EE Developers' <|file_sep|>original/Casks/eclipse-jee-kepler.rb cask :v1 => 'eclipse-jee-kepler' do version '4.3.2' sha256 'd18c5b4249a782a36c2d7bb377871393acd5dd552a195fc49b5b944f04874fbf' url 'http://...
8e7a003dcc332254cd4306eb6d10588f874f0c1f
Casks/eclipse-jee-kepler.rb
Casks/eclipse-jee-kepler.rb
Ruby
<|file_sep|>src/seajs-flush.js.diff original: var _load = Module.prototype._load updated: var load = Module.prototype.load <|file_sep|>src/seajs-flush.js.diff original: Module.prototype._load = function() { updated: Module.prototype.load = function() { <|file_sep|>src/seajs-flush.js.diff original: updated: ...
// Load it mod.load() } // Flush to load dependencies seajs.on("requested", function() { seajs.flush() }) // Flush to load `require.async` when module.factory is executed seajs.on("exec", function() { seajs.flush() }) // Register as module define("seajs-flush", [], {}) })(seajs);...
<|file_sep|>src/seajs-flush.js.diff original: var _load = Module.prototype._load updated: var load = Module.prototype.load <|file_sep|>src/seajs-flush.js.diff original: Module.prototype._load = function() { updated: Module.prototype.load = function() { <|file_sep|>src/seajs-flush.js.diff original: updated: ...
c9b88bb85437f21305cac55d3b3ed9a12db669f9
src/seajs-flush.js
src/seajs-flush.js
JavaScript
<|file_sep|>original/src/DepartureInfo.css .even { background-color: lightgrey; } .odd { background-color: ghostwhite; } .departure li { float: left; display: block; text-align: left; text-decoration: none; } .hide { display: none; } .route.type { width: 3%; <|file_sep|>current/src/DepartureInfo.css .even {...
.even { background-color: lightgrey; } .odd { background-color: ghostwhite; } .departure li { float: left; /*display: block;*/ text-align: left; text-decoration: none; } .hide { display: none; } .route.type { width: 3%;
<|file_sep|>original/src/DepartureInfo.css .even { background-color: lightgrey; } .odd { background-color: ghostwhite; } .departure li { float: left; display: block; text-align: left; text-decoration: none; } .hide { display: none; } .route.type { width: 3%; <|file_sep|>current/src/DepartureInfo.css .even {...
09dbc3255ebdb74ee1c118a20ea2a95a7168e809
src/DepartureInfo.css
src/DepartureInfo.css
CSS
<|file_sep|>original/Model/OrderItemUnitInterface.php * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sylius\Component\Core\Model; use Sylius\Component\Inventory\Model\InventoryUnitInterface; use ...
* (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sylius\Component\Core\Model; use Sylius\Component\Inventory\Model\InventoryUnitInterface; use Sylius\Component\Order\Model\OrderItemUnitInterface as...
<|file_sep|>original/Model/OrderItemUnitInterface.php * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sylius\Component\Core\Model; use Sylius\Component\Inventory\Model\InventoryUnitInterface; use ...
36dd0725d50638d5310c101329f20997ce66fdc5
Model/OrderItemUnitInterface.php
Model/OrderItemUnitInterface.php
PHP
<|file_sep|>original/pyhunter/exceptions.py class PyhunterError(Exception): """ Generic exception class for the library """ pass class MissingCompanyError(PyhunterError): pass class MissingNameError(PyhunterError): pass class HunterApiError(PyhunterError): """ Represents something...
class PyhunterError(Exception): """ Generic exception class for the library """ pass class MissingCompanyError(PyhunterError): pass class MissingNameError(PyhunterError): pass class HunterApiError(PyhunterError): """ Represents something went wrong in the call to the Hunter API ...
<|file_sep|>original/pyhunter/exceptions.py class PyhunterError(Exception): """ Generic exception class for the library """ pass class MissingCompanyError(PyhunterError): pass class MissingNameError(PyhunterError): pass class HunterApiError(PyhunterError): """ Represents something...
0b0a11d01378368fb795c117ffd931811eaf9b76
pyhunter/exceptions.py
pyhunter/exceptions.py
Python
<|file_sep|>original/templates/default.html <!doctype html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="chrome=1"> <title>$title$</title> <link rel="stylesheet" href="/css/main.css"> <script src='https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS...
<!doctype html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="chrome=1"> <title>$title$</title> <link rel="stylesheet" href="/css/main.css"> <script src='https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script> <meta name="v...
<|file_sep|>original/templates/default.html <!doctype html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="chrome=1"> <title>$title$</title> <link rel="stylesheet" href="/css/main.css"> <script src='https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS...
2bd32bb7ba928ae7798830b6ff5aa06159ea0f54
templates/default.html
templates/default.html
HTML
<|file_sep|>functional_tests/test_homepage.py.diff original: def test_django_working(self): updated: def test_can_see_todays_recipe(self): # Alice goes to our website <|file_sep|>original/functional_tests/test_homepage.py import unittest from selenium import webdriver class HomePageRecipeTests(unittest...
class HomePageRecipeTests(unittest.TestCase): def setUp(self): self.browser = webdriver.Firefox() def tearDown(self): self.browser.close() def test_can_see_todays_recipe(self): # Alice goes to our website self.browser.get('http://localhost:8000') # She notices tha...
<|file_sep|>functional_tests/test_homepage.py.diff original: def test_django_working(self): updated: def test_can_see_todays_recipe(self): # Alice goes to our website <|file_sep|>original/functional_tests/test_homepage.py import unittest from selenium import webdriver class HomePageRecipeTests(unittest...
2ce3b7bb5207fcdbedd731bb9cbc928393654507
functional_tests/test_homepage.py
functional_tests/test_homepage.py
Python
<|file_sep|>original/CONTRIBUTING.md # Contributing If you wish to contribute to the discord.js codebase or documentation, feel free to fork the repository and submit a pull request. We use ESLint to enforce a consistent coding style, so having that set up in your editor of choice is a great boon to your coding process...
# Contributing If you wish to contribute to the discord.js codebase or documentation, feel free to fork the repository and submit a pull request. We use ESLint to enforce a consistent coding style, so having that set up in your editor of choice is a great boon to your coding process. ## Setup To get ready to work on t...
<|file_sep|>original/CONTRIBUTING.md # Contributing If you wish to contribute to the discord.js codebase or documentation, feel free to fork the repository and submit a pull request. We use ESLint to enforce a consistent coding style, so having that set up in your editor of choice is a great boon to your coding process...
863e34db196653e27564917e0864e3a44001053e
CONTRIBUTING.md
CONTRIBUTING.md
Markdown
<|file_sep|>app/views/layouts/application.html.erb.diff original: <% if current_user %> <a href='/login'><li id="loginout" class="fa fa-sign-out fa-2x"></li></a> updated: <% if session[:user_id] %> <a href='/logout'><li id="loginout" class="fa fa-sign-out fa-2x"></li></a> <|f...
<h1><a href='/'>YesAnd</a></h1> </li> </ul> <section class="top-bar-section"> <!-- Right Nav Section --> <ul class="right"> <% if session[:user_id] %> <a href='/logout'><li id="loginout" class="fa fa-sign-out fa-2x"></li></a> <% else %> ...
<|file_sep|>app/views/layouts/application.html.erb.diff original: <% if current_user %> <a href='/login'><li id="loginout" class="fa fa-sign-out fa-2x"></li></a> updated: <% if session[:user_id] %> <a href='/logout'><li id="loginout" class="fa fa-sign-out fa-2x"></li></a> <|f...
beac5e93be9ce149f9c3d497f27ca6fa6a291cea
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
HTML+ERB
<|file_sep|>original/test/Frontend/macro_defined_type.cpp // RUN: %clang_cc1 -fsyntax-only -verify %s #define NODEREF __attribute__((noderef)) void Func() { int NODEREF i; // expected-warning{{'noderef' can only be used on an array or pointer type}} int NODEREF *i_ptr; // There should be no difference whether ...
// RUN: %clang_cc1 -fsyntax-only -verify -triple x86_64-linux-gnu %s #define NODEREF __attribute__((noderef)) void Func() { int NODEREF i; // expected-warning{{'noderef' can only be used on an array or pointer type}} int NODEREF *i_ptr; // There should be no difference whether a macro defined type is used or n...
<|file_sep|>original/test/Frontend/macro_defined_type.cpp // RUN: %clang_cc1 -fsyntax-only -verify %s #define NODEREF __attribute__((noderef)) void Func() { int NODEREF i; // expected-warning{{'noderef' can only be used on an array or pointer type}} int NODEREF *i_ptr; // There should be no difference whether ...
36d9f294eebaf9e5ba231c00c7c0d50fd2a98a94
test/Frontend/macro_defined_type.cpp
test/Frontend/macro_defined_type.cpp
C++
<|file_sep|>original/lib/aggro/channel.rb def handles_query?(query) target_class.responds_to? query end def run_query(query) target.ask query if handles_query? query end private def target @target ||= begin ConcurrentActor.spawn! id, target_class.new(id) end ...
end def run_query(query) target.ask query if handles_query? query end private def target @target ||= begin ConcurrentActor.spawn!( name: id, args: [target_class.new(id)], executor: Concurrent.configuration.global_operation_pool ) end...
<|file_sep|>original/lib/aggro/channel.rb def handles_query?(query) target_class.responds_to? query end def run_query(query) target.ask query if handles_query? query end private def target @target ||= begin ConcurrentActor.spawn! id, target_class.new(id) end ...
87daaa2ee82908fe1b8ee44f772faddfcaa6a7df
lib/aggro/channel.rb
lib/aggro/channel.rb
Ruby
<|file_sep|>test/integration/answer_rendering_test.rb.diff original: context "rendering a quick answer" do should "quick_answer request" do setup_api_responses('vat-rates') visit "/vat-rates" updated: should "rendering a quick answer correctly" do setup_api_responses('vat-rates') visit "/vat...
within '#content' do within 'header' do assert page.has_content?("VAT rates") assert page.has_content?("Quick answer") end within '.article-container' do within 'article' do assert page.has_selector?(".highlight-answer p em", :text => "20%") end ...
<|file_sep|>test/integration/answer_rendering_test.rb.diff original: context "rendering a quick answer" do should "quick_answer request" do setup_api_responses('vat-rates') visit "/vat-rates" updated: should "rendering a quick answer correctly" do setup_api_responses('vat-rates') visit "/vat...
2b12bf9aeb238cc6e1d234ca21496fdcaee0b634
test/integration/answer_rendering_test.rb
test/integration/answer_rendering_test.rb
Ruby
<|file_sep|>original/qemu_run.sh #!/bin/bash source ./deps/kerndev-vars.sh source ./deps/kerndev-functions.sh # qemu-kvm is installed under /usr/libexec # in CentOS 7 export PATH=$PATH:/usr/libexec qemu-kvm -enable-kvm -nographic \ -kernel "$KERNDEV_HOME/boot/bzImage" \ -initrd "$KERNDEV_HOME/boot/initramfs.img"...
# qemu-kvm is installed under /usr/libexec # in CentOS 7 export PATH=$PATH:/usr/libexec qemu-kvm -enable-kvm -nographic \ -kernel "$KERNDEV_HOME/boot/bzImage" \ -initrd "$KERNDEV_HOME/boot/initramfs.img" \ -hda "$ROOTFS_IMG" \ -m 1024M -cpu host -smp 4 \ -append "root=/dev/sda rw console=ttyS0" # Add usb ho...
<|file_sep|>original/qemu_run.sh #!/bin/bash source ./deps/kerndev-vars.sh source ./deps/kerndev-functions.sh # qemu-kvm is installed under /usr/libexec # in CentOS 7 export PATH=$PATH:/usr/libexec qemu-kvm -enable-kvm -nographic \ -kernel "$KERNDEV_HOME/boot/bzImage" \ -initrd "$KERNDEV_HOME/boot/initramfs.img"...
ff02b40799747e8b04f61dfbe73172f9649df20f
qemu_run.sh
qemu_run.sh
Shell
<|file_sep|>original/README.md [![Build Status](https://travis-ci.org/aldryn/aldryn-faq.svg?branch=develop)](https://travis-ci.org/aldryn/aldryn-faq) [![Coverage Status](https://coveralls.io/repos/aldryn/aldryn-faq/badge.svg)](https://coveralls.io/r/aldryn/aldryn-faq) Aldryn FAQ App =============== Simple faq applica...
[![Build Status](https://travis-ci.org/aldryn/aldryn-faq.svg)](https://travis-ci.org/aldryn/aldryn-faq) [![Coverage Status](https://coveralls.io/repos/aldryn/aldryn-faq/badge.svg)](https://coveralls.io/r/aldryn/aldryn-faq) Aldryn FAQ App =============== Simple faq application. It allows you to: - write a questions a...
<|file_sep|>original/README.md [![Build Status](https://travis-ci.org/aldryn/aldryn-faq.svg?branch=develop)](https://travis-ci.org/aldryn/aldryn-faq) [![Coverage Status](https://coveralls.io/repos/aldryn/aldryn-faq/badge.svg)](https://coveralls.io/r/aldryn/aldryn-faq) Aldryn FAQ App =============== Simple faq applica...
73f766e1038cbab391fe70a578ea19c684b359ff
README.md
README.md
Markdown
<|file_sep|>original/.vscode/settings.json { "json.schemas": [ { "fileMatch": [ "doc/**/*.json" ], "url": "./tools/api-schema.json" } ], "workbench.colorCustomizations": { "activityBar.background": "#0088d1", "activityBar.foreground": "#ffffff", "activityBar.inactiveF...
{ "json.schemas": [ { "fileMatch": [ "doc/**/*.json" ], "url": "./tools/api-schema.json" } ], "workbench.colorCustomizations": { "activityBar.background": "#0088d1", "activityBar.foreground": "#ffffff", "activityBar.inactiveForeground": "#ffffff70" }, "eslint.alwa...
<|file_sep|>original/.vscode/settings.json { "json.schemas": [ { "fileMatch": [ "doc/**/*.json" ], "url": "./tools/api-schema.json" } ], "workbench.colorCustomizations": { "activityBar.background": "#0088d1", "activityBar.foreground": "#ffffff", "activityBar.inactiveF...
2129683126b33641e13888e6acf57c8e6c88c9a6
.vscode/settings.json
.vscode/settings.json
JSON
<|file_sep|>original/requirements.txt cairocffi==0.8.0 cryptography==1.9 psycopg2cffi==2.7.5 pycrypto==2.6.1 python_axolotl_curve25519==0.1 rcssmin==1.0.6 regex==2017.06.07 rjsmin==1.0.12 subprocess32==3.2.7; python_version<'3' Twisted==17.1.0 ujson==1.35; platform_python_implementation=='CPython' <|file_sep|>current/r...
cairocffi==0.8.0 cryptography==1.9 psycopg2cffi==2.7.5 pycrypto==2.6.1 python_axolotl_curve25519==0.1 rcssmin==1.0.6 regex==2017.06.07 rjsmin==1.0.12 subprocess32==3.2.7; python_version<'3' Twisted==17.5.0 ujson==1.35; platform_python_implementation=='CPython'
<|file_sep|>original/requirements.txt cairocffi==0.8.0 cryptography==1.9 psycopg2cffi==2.7.5 pycrypto==2.6.1 python_axolotl_curve25519==0.1 rcssmin==1.0.6 regex==2017.06.07 rjsmin==1.0.12 subprocess32==3.2.7; python_version<'3' Twisted==17.1.0 ujson==1.35; platform_python_implementation=='CPython' <|file_sep|>current/r...
0bc27e0eb7dd2390f7e42c5dddd6b12cab4f9a64
requirements.txt
requirements.txt
Text
<|file_sep|>original/generators/client/templates/common/package.json { "devDependencies": { "concurrently": "5.3.0", "cypress": "6.2.1", "puppeteer": "5.5.0", "wait-on": "5.2.1", "husky": "4.3.8", "lint-staged": "10.5.3" }, "dependencies": { "dayjs": "1.10.4" } } <|file_sep|>current/...
{ "devDependencies": { "concurrently": "5.3.0", "cypress": "6.4.0", "puppeteer": "5.5.0", "wait-on": "5.2.1", "husky": "4.3.8", "lint-staged": "10.5.3" }, "dependencies": { "dayjs": "1.10.4" } }
<|file_sep|>original/generators/client/templates/common/package.json { "devDependencies": { "concurrently": "5.3.0", "cypress": "6.2.1", "puppeteer": "5.5.0", "wait-on": "5.2.1", "husky": "4.3.8", "lint-staged": "10.5.3" }, "dependencies": { "dayjs": "1.10.4" } } <|file_sep|>current/...
da92c69dd88a4a8ae52d47d0270bc8d478486df7
generators/client/templates/common/package.json
generators/client/templates/common/package.json
JSON
<|file_sep|>original/requirements-dev.txt -e . flake8==3.5.0 ipdb==0.10.3 pytest==3.4.0 pytest-asyncio==0.8.0 pytest-cov==2.5.1 <|file_sep|>current/requirements-dev.txt -e . flake8==3.5.0 ipdb==0.10.3 pytest==3.4.0 pytest-asyncio==0.8.0 pytest-cov==2.5.1 <|file_sep|>updated/requirements-dev.txt
-e . flake8==3.5.0 ipdb==0.11 pytest==3.4.0 pytest-asyncio==0.8.0 pytest-cov==2.5.1
<|file_sep|>original/requirements-dev.txt -e . flake8==3.5.0 ipdb==0.10.3 pytest==3.4.0 pytest-asyncio==0.8.0 pytest-cov==2.5.1 <|file_sep|>current/requirements-dev.txt -e . flake8==3.5.0 ipdb==0.10.3 pytest==3.4.0 pytest-asyncio==0.8.0 pytest-cov==2.5.1 <|file_sep|>updated/requirements-dev.txt -e . flake8==3.5.0 ipdb=...
fe1cd2b016d7109465ba3ff10443502a32f862d1
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>original/script/upgrade.sh printf '\033[0;34m%s\033[0m\n' "Upgrading Dotfiles" cd "$DOTS" oldcommit=$(git rev-parse master) if git fetch origin && git rebase origin/master master then newcommit=$(git rev-parse master) if [[ $oldcommit != $newcommit ]]; then printf '\033[0;34m%s\033[0m\n' 'Dotfiles ...
printf '\033[0;34m%s\033[0m\n' "Upgrading Dotfiles" cd "$DOTS" oldcommit=$(git rev-parse master) if git fetch origin && git rebase origin/master master then newcommit=$(git rev-parse master) if [[ $oldcommit != $newcommit ]]; then printf '\033[0;34m%s\033[0m\n' 'Dotfiles updated to current version.' printf...
<|file_sep|>original/script/upgrade.sh printf '\033[0;34m%s\033[0m\n' "Upgrading Dotfiles" cd "$DOTS" oldcommit=$(git rev-parse master) if git fetch origin && git rebase origin/master master then newcommit=$(git rev-parse master) if [[ $oldcommit != $newcommit ]]; then printf '\033[0;34m%s\033[0m\n' 'Dotfiles ...
137d1dc9a8f0514abf0335d4e2b9da4018d78667
script/upgrade.sh
script/upgrade.sh
Shell
<|file_sep|>original/less/flight.less @import "../../capsule/view/theme/default/stylesheet/_mixins"; @import "_mixin.less"; @import "_ui.less"; @import "_theme.less"; @import "_menu.less"; <|file_sep|>current/less/flight.less @import "../../capsule/view/theme/default/stylesheet/_mixins"; @import "_mixin.less"; @import ...
@import "../../capsule/view/theme/default/stylesheet/_mixins"; @import "_mixin.less"; @import "_ui.less"; // @import "_theme.less"; // @import "_menu.less";
<|file_sep|>original/less/flight.less @import "../../capsule/view/theme/default/stylesheet/_mixins"; @import "_mixin.less"; @import "_ui.less"; @import "_theme.less"; @import "_menu.less"; <|file_sep|>current/less/flight.less @import "../../capsule/view/theme/default/stylesheet/_mixins"; @import "_mixin.less"; @import ...
9ed315fd8477bd23b1537924a2ea4f39f48c2d0a
less/flight.less
less/flight.less
Less
<|file_sep|>original/.travis.yml language: python python: - 2.7 - 3.5 sudo: false env: - DJANGO_VERSION=1.7.10 - DJANGO_VERSION=1.8.9 - DJANGO_VERSION=1.9.2 install: # Install dependencies only for Py27. For Py3 we can currently only # guarantee that the package is installable without fetching the deps. ...
language: python python: - 2.7 - 3.5 sudo: false env: - DJANGO_VERSION=1.7.11 - DJANGO_VERSION=1.8.11 - DJANGO_VERSION=1.9.4 install: # Install dependencies only for Py27. For Py3 we can currently only # guarantee that the package is installable without fetching the deps. # We need to keep this until se...
<|file_sep|>original/.travis.yml language: python python: - 2.7 - 3.5 sudo: false env: - DJANGO_VERSION=1.7.10 - DJANGO_VERSION=1.8.9 - DJANGO_VERSION=1.9.2 install: # Install dependencies only for Py27. For Py3 we can currently only # guarantee that the package is installable without fetching the deps. ...
1abe01e44995cba2cd2f9f2c821e4c8c6aa20032
.travis.yml
.travis.yml
YAML
<|file_sep|>original/config/routes.rb Rails.application.routes.draw do root 'secrets#new' resources :secrets, only: [:create, :new, :show] end <|file_sep|>current/config/routes.rb Rails.application.routes.draw do root 'secrets#new' resources :secrets, only: [:create, :new, :show] end <|file_sep|>updated/confi...
Rails.application.routes.draw do root 'secrets#new' resources :secrets, only: [:create, :new, :show], id: /([^\/])+/ end
<|file_sep|>original/config/routes.rb Rails.application.routes.draw do root 'secrets#new' resources :secrets, only: [:create, :new, :show] end <|file_sep|>current/config/routes.rb Rails.application.routes.draw do root 'secrets#new' resources :secrets, only: [:create, :new, :show] end <|file_sep|>updated/confi...
043d871cac2cff65f43596b529b30ea4774b5f69
config/routes.rb
config/routes.rb
Ruby
<|file_sep|>original/requirements_test.txt tox==2.7.0 mock==2.0.0 pytest==3.2.1 pytest-cov==2.5.1 pytest-pep8==1.0.6 pytest-watch==4.1.0 pytest-sugar==0.8.0 Sphinx==1.6.3 sphinx_rtd_theme==0.2.4 <|file_sep|>current/requirements_test.txt tox==2.7.0 mock==2.0.0 pytest==3.2.1 pytest-cov==2.5.1 pytest-pep8==1.0.6 pytest-wa...
tox==2.7.0 mock==2.0.0 pytest==3.2.1 pytest-cov==2.5.1 pytest-pep8==1.0.6 pytest-watch==4.1.0 pytest-sugar==0.9.0 Sphinx==1.6.3 sphinx_rtd_theme==0.2.4
<|file_sep|>original/requirements_test.txt tox==2.7.0 mock==2.0.0 pytest==3.2.1 pytest-cov==2.5.1 pytest-pep8==1.0.6 pytest-watch==4.1.0 pytest-sugar==0.8.0 Sphinx==1.6.3 sphinx_rtd_theme==0.2.4 <|file_sep|>current/requirements_test.txt tox==2.7.0 mock==2.0.0 pytest==3.2.1 pytest-cov==2.5.1 pytest-pep8==1.0.6 pytest-wa...
233b50a477059cb691ec9f9391fe940eb9382ab3
requirements_test.txt
requirements_test.txt
Text
<|file_sep|>original/README.md Bits for Microbits ================== This repo contains various little scripts I've put together for the [BBC Microbit](http://microbit.org/) using python. Inside each folder you'll find a README explaining what the script does and how to use it. I will also be writing tutorials for ea...
Bits for Microbits ================== This repo contains various little scripts I've put together for the [BBC Microbit](http://microbit.org/) using python. Inside each folder you'll find a README explaining what the script does and how to use it. I will also be writing tutorials for each one so if you're struggling ...
<|file_sep|>original/README.md Bits for Microbits ================== This repo contains various little scripts I've put together for the [BBC Microbit](http://microbit.org/) using python. Inside each folder you'll find a README explaining what the script does and how to use it. I will also be writing tutorials for ea...
6e24d9835299d10db35266cab2012082b31c4e11
README.md
README.md
Markdown
<|file_sep|>original/Documents/Doxygen/CMakeLists.txt <|file_sep|>current/Documents/Doxygen/CMakeLists.txt <|file_sep|>updated/Documents/Doxygen/CMakeLists.txt
#-- Add an Option to toggle the generation of the API documentation if(BUILD_DOCUMENTATION) FIND_PACKAGE(Doxygen) if (NOT DOXYGEN_FOUND) message(FATAL_ERROR "Doxygen is needed to build the documentation. Please install it correctly") endif() #-- Configure the Template Doxyfile for our specific project con...
<|file_sep|>original/Documents/Doxygen/CMakeLists.txt <|file_sep|>current/Documents/Doxygen/CMakeLists.txt <|file_sep|>updated/Documents/Doxygen/CMakeLists.txt #-- Add an Option to toggle the generation of the API documentation if(BUILD_DOCUMENTATION) FIND_PACKAGE(Doxygen) if (NOT DOXYGEN_FOUND) message(FATAL...
7aa4f1524da7b74adea4b60cbd92199c12d26059
Documents/Doxygen/CMakeLists.txt
Documents/Doxygen/CMakeLists.txt
Text
<|file_sep|>original/.travis.yml sudo: false language: ruby rvm: - 2.3.1 before_install: gem install bundler -v 1.13.6 <|file_sep|>current/.travis.yml sudo: false language: ruby rvm: - 2.3.1 before_install: gem install bundler -v 1.13.6 <|file_sep|>updated/.travis.yml
sudo: false language: ruby rvm: - 2.3.1 - 2.2.0 - 2.1.9 before_install: gem install bundler -v 1.13.6
<|file_sep|>original/.travis.yml sudo: false language: ruby rvm: - 2.3.1 before_install: gem install bundler -v 1.13.6 <|file_sep|>current/.travis.yml sudo: false language: ruby rvm: - 2.3.1 before_install: gem install bundler -v 1.13.6 <|file_sep|>updated/.travis.yml sudo: false language: ruby rvm: - 2.3.1 - 2...
2df2af916ae7c1374db94c050a430268cdfe9e1b
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml services: - memcached # cache vendor dirs cache: directories: - lib/vendor/swiftmailer - $HOME/.composer/cache install: - composer self-update before_script: - sh -c 'if [ $(php -r "echo PHP_MINOR_VERSION;") -le 4 ] && [ $(php -r "echo PHP_MAJOR_VERSI...
sudo: false services: - memcached # cache vendor dirs cache: directories: - lib/vendor/swiftmailer - $HOME/.composer/cache install: - composer self-update before_script: - sh -c 'if [ $(php -r "echo PHP_RELEASE_VERSION;") -le 98 ] && [ $(php -r "echo PHP_MAJOR_VERSION;") -le 5 ]; the...
<|file_sep|>original/.travis.yml services: - memcached # cache vendor dirs cache: directories: - lib/vendor/swiftmailer - $HOME/.composer/cache install: - composer self-update before_script: - sh -c 'if [ $(php -r "echo PHP_MINOR_VERSION;") -le 4 ] && [ $(php -r "echo PHP_MAJOR_VERSI...
2a4ca3952118bea5ea9c0bf93443efa7ebd7ab83
.travis.yml
.travis.yml
YAML
<|file_sep|>original/bin/requirements.txt cachetools==4.2.2 certifi==2021.5.30 chardet==4.0.0 coverage==5.5 google-api-core==1.31.0 google-api-python-client==2.15.0 google-auth==1.33.1 google-auth-httplib2==0.1.0 google-auth-oauthlib==0.4.4 googleapis-common-protos==1.53.0 httplib2==0.19.1 idna==2.10 oauth2client==4.1....
cachetools==4.2.2 certifi==2021.5.30 chardet==4.0.0 coverage==5.5 google-api-core==1.31.1 google-api-python-client==2.15.0 google-auth==1.33.1 google-auth-httplib2==0.1.0 google-auth-oauthlib==0.4.4 googleapis-common-protos==1.53.0 httplib2==0.19.1 idna==2.10 oauth2client==4.1.3 oauthlib==3.1.1 packaging==21.0 protobuf...
<|file_sep|>original/bin/requirements.txt cachetools==4.2.2 certifi==2021.5.30 chardet==4.0.0 coverage==5.5 google-api-core==1.31.0 google-api-python-client==2.15.0 google-auth==1.33.1 google-auth-httplib2==0.1.0 google-auth-oauthlib==0.4.4 googleapis-common-protos==1.53.0 httplib2==0.19.1 idna==2.10 oauth2client==4.1....
d201b8e72428cb224b5af9cd8d772406216b3942
bin/requirements.txt
bin/requirements.txt
Text
<|file_sep|>gamernews/apps/threadedcomments/views.py.diff original: def comment_posted( request ): updated: def comment_posted(request): <|file_sep|>gamernews/apps/threadedcomments/views.py.diff original: comment_id, blob_id = request.GET['c'].split( ':' ) blob = Blob.objects.get( pk=blob_id ) updated:...
from core.models import Account as User from django_comments.models import Comment from news.models import Blob, BlobInstance from .models import ThreadedComment def single_comment(request, id): comment = get_object_or_404(ThreadedComment, id=id) variables = RequestContext(request, {'comment': comment}) r...
<|file_sep|>gamernews/apps/threadedcomments/views.py.diff original: def comment_posted( request ): updated: def comment_posted(request): <|file_sep|>gamernews/apps/threadedcomments/views.py.diff original: comment_id, blob_id = request.GET['c'].split( ':' ) blob = Blob.objects.get( pk=blob_id ) updated:...
0867054258e231b2ce9b028c5ce2bc3a26bca7be
gamernews/apps/threadedcomments/views.py
gamernews/apps/threadedcomments/views.py
Python
<|file_sep|>lib/handler/react.js.diff original: updated: const MAX_AGE = '30d'; <|file_sep|>lib/handler/react.js.diff original: // TODO https://expressjs.com/en/api.html#res.sendFile updated: <|file_sep|>lib/handler/react.js.diff original: res.sendFile(file); updated: res.sendFile(file, { maxAge...
res.sendFile(file, { maxAge: MAX_AGE }); }); app.get('/js/react/react.min.js', function(req, res) { const file = path.join(__dirname, '..', '..', 'node_modules', 'react', 'dist', 'react.min.js'); res.sendFile(file, { maxAge: MAX_AGE }); }); app.get('/js/react/react-...
<|file_sep|>lib/handler/react.js.diff original: updated: const MAX_AGE = '30d'; <|file_sep|>lib/handler/react.js.diff original: // TODO https://expressjs.com/en/api.html#res.sendFile updated: <|file_sep|>lib/handler/react.js.diff original: res.sendFile(file); updated: res.sendFile(file, { maxAge...
c88d99993a47834da2342c92868a6c8464f26695
lib/handler/react.js
lib/handler/react.js
JavaScript
<|file_sep|>src/main.c.diff original: erase(); updated: clear(); <|file_sep|>original/src/main.c getmaxyx(stdscr, ymax, xmax); enum Direction dir = RIGHT; Board* board = create_board(create_snake(), NULL, xmax, ymax); int i; for (i = 0; i < 6; i++) { add_new_food(board); } while(true) { ...
enum Direction dir = RIGHT; Board* board = create_board(create_snake(), NULL, xmax, ymax); int i; for (i = 0; i < 6; i++) { add_new_food(board); } while(true) { clear(); display_points(board->snake, ACS_BLOCK); display_points(board->foods, ACS_DIAMOND); refresh(); dir = get_next_mo...
<|file_sep|>src/main.c.diff original: erase(); updated: clear(); <|file_sep|>original/src/main.c getmaxyx(stdscr, ymax, xmax); enum Direction dir = RIGHT; Board* board = create_board(create_snake(), NULL, xmax, ymax); int i; for (i = 0; i < 6; i++) { add_new_food(board); } while(true) { ...
4705e8ddf88e130ce1899366e2647176ce6d9407
src/main.c
src/main.c
C
<|file_sep|>chtignore.go.diff original: updated: var logger = log.New(os.Stderr, "", 0) <|file_sep|>chtignore.go.diff original: log.Fatal("Mandatory argument missing: chtignore Java") updated: missingArgument() <|file_sep|>chtignore.go.diff original: log.Fatal("Mandatory argument missing: chtignore Java") updat...
body, err := ioutil.ReadAll(resp.Body) if err != nil { logger.Fatal(err) } return string(body) } func get(url string) (resp *http.Response) { resp, err := http.Get(url) if err != nil { logger.Fatal(err) } return resp } func missingArgument() { logger.Fatal("Mandatory argument missing, use: chtignore <...
<|file_sep|>chtignore.go.diff original: updated: var logger = log.New(os.Stderr, "", 0) <|file_sep|>chtignore.go.diff original: log.Fatal("Mandatory argument missing: chtignore Java") updated: missingArgument() <|file_sep|>chtignore.go.diff original: log.Fatal("Mandatory argument missing: chtignore Java") updat...
4ad79a219fa376bfe31d085ec24948d5c03889a6
chtignore.go
chtignore.go
Go
<|file_sep|>mfh.py.diff original: trigger_process = Process( args=(update_event,), name="trigger_process", target=update.trigger, ) trigger_process.start() trigger_process.join() updated: if args.updater: trigger_process = Process( args=(update_event,)...
trigger_process = Process( args=(update_event,), name="trigger_process", target=update.trigger, ) trigger_process.start() trigger_process.join() while mfhclient_process.is_alive(): time.sleep(5) else: if args.updater: ...
<|file_sep|>mfh.py.diff original: trigger_process = Process( args=(update_event,), name="trigger_process", target=update.trigger, ) trigger_process.start() trigger_process.join() updated: if args.updater: trigger_process = Process( args=(update_event,)...
f9926da62fc50c8602797cb12ac80264140c8028
mfh.py
mfh.py
Python
<|file_sep|>original/subversion/tests/xml/co1.txt / ______________/ | \_____________ mu / | \ / | \ B C D _____/|\_____ _____________/|\ ...
alpha beta / H / _______/|\______ / / | \ G / | \ ________/|\__...
<|file_sep|>original/subversion/tests/xml/co1.txt / ______________/ | \_____________ mu / | \ / | \ B C D _____/|\_____ _____________/|\ ...
eac3c6c41b4488b7e97b3cf7a75dbd7f141de649
subversion/tests/xml/co1.txt
subversion/tests/xml/co1.txt
Text
<|file_sep|>original/lib/grok.rb class Grok # Given an article title and a date, return the number of page views for every # day from that date until today. # # [title] title of a Wikipedia page (including namespace, if applicable) # [date] a specific date # [language] the language version of Wikipedia...
class Grok # Given an article title and a date, return the number of page views for every # day from that date until today. # # [title] title of a Wikipedia page (including namespace, if applicable) # [date] a specific date # [language] the language version of Wikipedia def self.get_views_since_date_...
<|file_sep|>original/lib/grok.rb class Grok # Given an article title and a date, return the number of page views for every # day from that date until today. # # [title] title of a Wikipedia page (including namespace, if applicable) # [date] a specific date # [language] the language version of Wikipedia...
b8150b2361748ebdbbcf53e66af560f160bdff20
lib/grok.rb
lib/grok.rb
Ruby
<|file_sep|>original/.travis.yml language: python python: - 2.6 - 2.7 - 3.2 - 3.3 # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors #install: pip install nose # command to run tests, e.g. python setup.py test script: nosetests <|file_sep|>current/.travis.yml language: python...
language: python python: - 2.6 - 2.7 - 3.2 # - 3.3 # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors #install: pip install nose # command to run tests, e.g. python setup.py test script: nosetests
<|file_sep|>original/.travis.yml language: python python: - 2.6 - 2.7 - 3.2 - 3.3 # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors #install: pip install nose # command to run tests, e.g. python setup.py test script: nosetests <|file_sep|>current/.travis.yml language: python...
961c74e5d930c61d90fba4edab5dab8c7101a454
.travis.yml
.travis.yml
YAML
<|file_sep|>original/modules.txt LWP::UserAgent Mail::Mailer Mojolicious Moose Parallel::ForkManager Roman Sort::Versions Spreadsheet::WriteExcel Statistics::Basic Statistics::Basic::Mean String::ShellQuote Switch Sys::Syslog URI URI::Escape URI::Escape::JavaScript URI::Split XML::Parser XML::SAX::Expat XML::Simple ZMQ...
Mail::Mailer Mojolicious Moose Parallel::ForkManager Roman Sort::Versions Spreadsheet::WriteExcel Statistics::Basic Statistics::Basic::Mean String::ShellQuote Switch Sys::Load Sys::Syslog URI URI::Escape URI::Escape::JavaScript URI::Split XML::Parser XML::SAX::Expat XML::Simple ZMQ::LibZMQ3
<|file_sep|>original/modules.txt LWP::UserAgent Mail::Mailer Mojolicious Moose Parallel::ForkManager Roman Sort::Versions Spreadsheet::WriteExcel Statistics::Basic Statistics::Basic::Mean String::ShellQuote Switch Sys::Syslog URI URI::Escape URI::Escape::JavaScript URI::Split XML::Parser XML::SAX::Expat XML::Simple ZMQ...
de56acf0701aab4d676de8b1391d2eb641fbc3af
modules.txt
modules.txt
Text
<|file_sep|>original/app/models/timeslot.rb class Timeslot < ActiveRecord::Base belongs_to :tutor, class_name: 'User' has_one :student, class_name: 'User' validates :start, :tutor_id, presence: true end <|file_sep|>current/app/models/timeslot.rb class Timeslot < ActiveRecord::Base belongs_to :tutor, class_n...
class Timeslot < ActiveRecord::Base belongs_to :tutor, class_name: 'User' belongs_to :student, class_name: 'User' validates :start, :tutor_id, presence: true end
<|file_sep|>original/app/models/timeslot.rb class Timeslot < ActiveRecord::Base belongs_to :tutor, class_name: 'User' has_one :student, class_name: 'User' validates :start, :tutor_id, presence: true end <|file_sep|>current/app/models/timeslot.rb class Timeslot < ActiveRecord::Base belongs_to :tutor, class_n...
b026c47ebe26ad88ab2fabb860ae7704571c2366
app/models/timeslot.rb
app/models/timeslot.rb
Ruby
<|file_sep|>original/CHANGELOG.md <|file_sep|>current/CHANGELOG.md <|file_sep|>updated/CHANGELOG.md
# Change Log All notable changes to this project will be documented in this file. ## 2.0.0 (Unreleased yet) - Use of **Gulp** for the build process - Replace the webfont by **SVG symbols** (which are direclty included in the compiled javascript) - Ability to change **canvas ratio** ## 1.0.x (2014) Initial release....
<|file_sep|>original/CHANGELOG.md <|file_sep|>current/CHANGELOG.md <|file_sep|>updated/CHANGELOG.md # Change Log All notable changes to this project will be documented in this file. ## 2.0.0 (Unreleased yet) - Use of **Gulp** for the build process - Replace the webfont by **SVG symbols** (which are direclty includ...
2d5ddc70aa6eb841b084dbf28c9cf83fc2dc7120
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>.travis.yml.diff original: - INSTANCE=ubuntu-16-04 CHEF_VERSION=12.5.1 updated: - INSTANCE=ubuntu-16-04 CHEF_VERSION=12.7.2 <|file_sep|>.travis.yml.diff original: - INSTANCE=centos-6 CHEF_VERSION=12.5.1 updated: - INSTANCE=centos-6 CHEF_VERSION=12.7.2 <|file_sep|>original/.travis.yml before_install...
before_install: - gem update --system # see https://github.com/bundler/bundler/issues/5357 env: - INSTANCE=ubuntu-16-04 - INSTANCE=ubuntu-16-04 CHEF_VERSION=12.7.2 - INSTANCE=centos-6 - INSTANCE=centos-6 CHEF_VERSION=12.7.2 - INSTANCE=centos-7 - INSTANCE=centos-7 CHEF_VERSION=12.7.2 script: - KITCHEN...
<|file_sep|>.travis.yml.diff original: - INSTANCE=ubuntu-16-04 CHEF_VERSION=12.5.1 updated: - INSTANCE=ubuntu-16-04 CHEF_VERSION=12.7.2 <|file_sep|>.travis.yml.diff original: - INSTANCE=centos-6 CHEF_VERSION=12.5.1 updated: - INSTANCE=centos-6 CHEF_VERSION=12.7.2 <|file_sep|>original/.travis.yml before_install...
6cfe835ae153b2bf6dc2b943f3d1ffd0557e4230
.travis.yml
.travis.yml
YAML
<|file_sep|>original/docs/TypeReference.md <|file_sep|>current/docs/TypeReference.md <|file_sep|>updated/docs/TypeReference.md
# Symbolic Type References *Symbolic type references* are compact represenations containing the minimum amount of information about type relationships primarily for the purposes of reflection. ## Encoding Thees are encoded with a mostly textual mangling. Single characters denote the start of a mangling node but 32-b...
<|file_sep|>original/docs/TypeReference.md <|file_sep|>current/docs/TypeReference.md <|file_sep|>updated/docs/TypeReference.md # Symbolic Type References *Symbolic type references* are compact represenations containing the minimum amount of information about type relationships primarily for the purposes of reflectio...
52b07dd6b5eef943f8973e156324dfb4cf8b1b1b
docs/TypeReference.md
docs/TypeReference.md
Markdown
<|file_sep|>original/README.md # vicarious-microservice Vicarious Pig Latin Microservice <|file_sep|>current/README.md # vicarious-microservice Vicarious Pig Latin Microservice <|file_sep|>updated/README.md
# Vicarious Pig Latin Microservice This is a microservice built on the Flask Python microframework. This microservice can be used to translate requested strings into [Pig Latin](https://en.wikipedia.org/wiki/Pig_Latin), with the following specifications: - Listens on port 80, accepts a string that contains at least o...
<|file_sep|>original/README.md # vicarious-microservice Vicarious Pig Latin Microservice <|file_sep|>current/README.md # vicarious-microservice Vicarious Pig Latin Microservice <|file_sep|>updated/README.md # Vicarious Pig Latin Microservice This is a microservice built on the Flask Python microframework. This microser...
fb016ebffb5747b8cb0d6e79ea99ec2d71c689e1
README.md
README.md
Markdown
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 - 2.1.4 before_script: - sudo apt-get install libexiv2-dev script: - bundle exec rake spec <|file_sep|>current/.travis.yml language: ruby rvm: - 1.9.3 - 2.1.4 before_script: - sudo apt-get install libexiv2-dev script: - bundle exec rake spec <...
language: ruby rvm: - 1.9.3 - 2.0 - 2.1 before_script: - sudo apt-get install libexiv2-dev script: - bundle exec rake spec
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 - 2.1.4 before_script: - sudo apt-get install libexiv2-dev script: - bundle exec rake spec <|file_sep|>current/.travis.yml language: ruby rvm: - 1.9.3 - 2.1.4 before_script: - sudo apt-get install libexiv2-dev script: - bundle exec rake spec <...
cf70616f289209098a3cd63dcdae8686ce046a4a
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.forestry/front_matter/templates/menu.yml label: Link Title description: Entire the name of submenu the link - name: url type: text config: required: false label: url description: 'Absolute url example: "http:www.google.com". Relative url example: ...
label: Link Title description: Entire the name of submenu the link - name: url type: text config: required: false label: url description: 'Absolute url example: "http:www.google.com". Relative url example: "/programs/xsv/"' config: min: max: ...
<|file_sep|>original/.forestry/front_matter/templates/menu.yml label: Link Title description: Entire the name of submenu the link - name: url type: text config: required: false label: url description: 'Absolute url example: "http:www.google.com". Relative url example: ...
593de804857cf1c34e0226845a7905264a3edec0
.forestry/front_matter/templates/menu.yml
.forestry/front_matter/templates/menu.yml
YAML
<|file_sep|>roles/db/tasks/main.yml.diff original: - name: Ensure user has access to the database updated: - name: Ensure database is created <|file_sep|>original/roles/db/tasks/main.yml - name: Ensure the PostgreSQL service is running service: name=postgresql state=started enabled=yes - name: Ensure database is cr...
- name: Ensure the PostgreSQL service is running service: name=postgresql state=started enabled=yes - name: Ensure database is created sudo_user: postgres postgresql_db: db={{ db_name }} state=present - name: Ensure database is created sudo_user: postgres postgresql_db: name={{ db_name }} e...
<|file_sep|>roles/db/tasks/main.yml.diff original: - name: Ensure user has access to the database updated: - name: Ensure database is created <|file_sep|>original/roles/db/tasks/main.yml - name: Ensure the PostgreSQL service is running service: name=postgresql state=started enabled=yes - name: Ensure database is cr...
19aaa32a846e66e50270963aa85ae80c0ed35b38
roles/db/tasks/main.yml
roles/db/tasks/main.yml
YAML
<|file_sep|>package.json.diff original: "bin": { "server": "NODE_PATH=lib node ./app.js" }, updated: <|file_sep|>package.json.diff original: "start": "NODE_PATH=lib node ./app.js", updated: "start": "node ./app.js", <|file_sep|>original/package.json { "name": "personal-log", "author": "João Paulo D...
{ "name": "personal-log", "author": "João Paulo Dubas <joao.dubas@gmail.com>", "version": "0.5.0", "description": "Personal blog system", "private": true, "scripts": { "start": "node ./app.js", "prepublish": "./node_modules/.bin/bower install" }, "main": "./lib/boot.js", "keywords": [ "blo...
<|file_sep|>package.json.diff original: "bin": { "server": "NODE_PATH=lib node ./app.js" }, updated: <|file_sep|>package.json.diff original: "start": "NODE_PATH=lib node ./app.js", updated: "start": "node ./app.js", <|file_sep|>original/package.json { "name": "personal-log", "author": "João Paulo D...
f13eceea995e91580bfd74865a9439cde70bb5aa
package.json
package.json
JSON
<|file_sep|>original/.travis.yml language: node_js node_js: - 8 - 10 - 12 - node before_install: 'sudo apt-get update && sudo apt-get install -y graphicsmagick' cache: directories: - node_modules matrix: include: - name: Lint node_js: 12 script: npm run lint script: npm run test:ci af...
language: node_js node_js: - 8 - 10 - 12 - 14 before_install: 'sudo apt-get update && sudo apt-get install -y graphicsmagick' cache: directories: - node_modules matrix: include: - name: Lint node_js: 12 script: npm run lint script: npm run test:ci after_success: '<coverage/lcov.info ....
<|file_sep|>original/.travis.yml language: node_js node_js: - 8 - 10 - 12 - node before_install: 'sudo apt-get update && sudo apt-get install -y graphicsmagick' cache: directories: - node_modules matrix: include: - name: Lint node_js: 12 script: npm run lint script: npm run test:ci af...
88aeb904f892c3ecc2afde542e956d5f98532b6b
.travis.yml
.travis.yml
YAML
<|file_sep|>src/web/api/graphql/resolvers/accounts-resolvers.js.diff original: const flags = accounts.map((account) => { updated: return accounts.reduce((result, account) => { <|file_sep|>src/web/api/graphql/resolvers/accounts-resolvers.js.diff original: if (flag && flag.individual) { const individual = m...
const flag = auditor.auditAccount(account) if (flag) { const individual = flag.individual ? mapIndividualInFlag(flag) : null result.push({ individual: individual, serviceId: flag.serviceId, userIdentity: flag.userIdentity, assets: flag.assets }) } return...
<|file_sep|>src/web/api/graphql/resolvers/accounts-resolvers.js.diff original: const flags = accounts.map((account) => { updated: return accounts.reduce((result, account) => { <|file_sep|>src/web/api/graphql/resolvers/accounts-resolvers.js.diff original: if (flag && flag.individual) { const individual = m...
904e45640d608b27ebbe6d4c4e1e4a252d8b01c6
src/web/api/graphql/resolvers/accounts-resolvers.js
src/web/api/graphql/resolvers/accounts-resolvers.js
JavaScript
<|file_sep|>original/.gitlab-ci.yml variables: GIT_STRATEGY: fetch GIT_SUBMODULE_STRATEGY: recursive before_script: - | apt-get update -qq && apt-get install -qq build-essential curl fuse genisoimage gnupg libfuse-dev nasm pkg-config software-properties-common syslinux && apt-key adv -q --batch --yes ...
variables: GIT_STRATEGY: fetch GIT_SUBMODULE_STRATEGY: recursive before_script: - | apt-get update -qq && apt-get install -qq build-essential curl fuse genisoimage gnupg libfuse-dev nasm pkg-config software-properties-common syslinux && apt-key adv -q --batch --yes --keyserver keyserver.ubuntu.com --r...
<|file_sep|>original/.gitlab-ci.yml variables: GIT_STRATEGY: fetch GIT_SUBMODULE_STRATEGY: recursive before_script: - | apt-get update -qq && apt-get install -qq build-essential curl fuse genisoimage gnupg libfuse-dev nasm pkg-config software-properties-common syslinux && apt-key adv -q --batch --yes ...
fcf3b8cf26641e05d251eb8b7a255a3fd6ba404e
.gitlab-ci.yml
.gitlab-ci.yml
YAML
<|file_sep|>original/pflichtenheft/weitere.tex \section{Weitere nichtfunktionale Anforderungen}% \begin{description}% \item [Auslieferung] Das Produkt wird sowohl als Eclipse-Plugin ausgeliefert als auch als eigenständig lauffähiges Eclipse-basierendes Produkt. \item [Referenzplattform] Das Programm muss alle ...
\section{Weitere nichtfunktionale Anforderungen}% \begin{description}% \item [Referenzplattform] Das Programm muss unter Verwendung der Oracle Java Runtime Environment in der Version 7 unter Linux alle Anforderungen erfüllen. \item [Lizenz von Z3] Die Lizenz des von Microsoft entwickelten Beweisers Z3 lässt nu...
<|file_sep|>original/pflichtenheft/weitere.tex \section{Weitere nichtfunktionale Anforderungen}% \begin{description}% \item [Auslieferung] Das Produkt wird sowohl als Eclipse-Plugin ausgeliefert als auch als eigenständig lauffähiges Eclipse-basierendes Produkt. \item [Referenzplattform] Das Programm muss alle ...
9a501457a40d5f017ef61daf66b1de433d50dda8
pflichtenheft/weitere.tex
pflichtenheft/weitere.tex
TeX
<|file_sep|>original/.zuul.yaml - project: templates: - openstack-python3-ussuri-jobs - openstack-cover-jobs - publish-openstack-docs-pti - check-requirements - openstackclient-plugin-jobs - openstack-lower-constraints-jobs <|file_sep|>current/.zuul.yaml - project: templates:...
- project: templates: - openstack-python3-victoria-jobs - openstack-cover-jobs - publish-openstack-docs-pti - check-requirements - openstackclient-plugin-jobs - openstack-lower-constraints-jobs
<|file_sep|>original/.zuul.yaml - project: templates: - openstack-python3-ussuri-jobs - openstack-cover-jobs - publish-openstack-docs-pti - check-requirements - openstackclient-plugin-jobs - openstack-lower-constraints-jobs <|file_sep|>current/.zuul.yaml - project: templates:...
0fe6205a1af574524c4fe3f709b12947a1b6dfd0
.zuul.yaml
.zuul.yaml
YAML
<|file_sep|>original/_posts/2000-01-05-usage.md --- title: "usage" bg: '#d35400' color: white fa-icon: play style: center --- ### What your developers have to know: # Just Execute `coala` ### Right where your `.coafile` lies. And of course, coala works on **Linux**, **Windows** and **Mac**! Just make sure to use **...
color: white fa-icon: play style: center --- ### What your developers have to know: # Just Execute `coala` ### Right where your `.coafile` lies. And of course, coala works on **Linux**, **Windows** and **Mac**! Just make sure to use **Python 3**. You can also execute coala right from your editor. Check out <https:...
<|file_sep|>original/_posts/2000-01-05-usage.md --- title: "usage" bg: '#d35400' color: white fa-icon: play style: center --- ### What your developers have to know: # Just Execute `coala` ### Right where your `.coafile` lies. And of course, coala works on **Linux**, **Windows** and **Mac**! Just make sure to use **...
6b5b3e94813b051a05c1e2b1b29d84ab8f640522
_posts/2000-01-05-usage.md
_posts/2000-01-05-usage.md
Markdown
<|file_sep|>original/src/main/java/com/google/sps/servlets/GetEnvStatus.java <|file_sep|>current/src/main/java/com/google/sps/servlets/GetEnvStatus.java <|file_sep|>updated/src/main/java/com/google/sps/servlets/GetEnvStatus.java
package com.google.sps.servlets; import com.google.appengine.api.datastore.DatastoreService; import com.google.appengine.api.datastore.DatastoreServiceFactory; import com.google.appengine.api.datastore.Entity; import com.google.appengine.api.datastore.EntityNotFoundException; import com.google.appengine.api.datastore....
<|file_sep|>original/src/main/java/com/google/sps/servlets/GetEnvStatus.java <|file_sep|>current/src/main/java/com/google/sps/servlets/GetEnvStatus.java <|file_sep|>updated/src/main/java/com/google/sps/servlets/GetEnvStatus.java package com.google.sps.servlets; import com.google.appengine.api.datastore.DatastoreServ...
c686c832292a0f6e1a65666ab630cf6baf2416a4
src/main/java/com/google/sps/servlets/GetEnvStatus.java
src/main/java/com/google/sps/servlets/GetEnvStatus.java
Java
<|file_sep|>metadata/com.infomaniak.sync.yml.diff original: updated: - versionName: 1.5.1 versionCode: 26 commit: 1.5.1 subdir: app submodules: true gradle: - free <|file_sep|>original/metadata/com.infomaniak.sync.yml - versionName: '1.4' versionCode: 24 commit: '1.4' subdir...
- versionName: '1.5' versionCode: 25 commit: '1.5' subdir: app submodules: true gradle: - free - versionName: 1.5.1 versionCode: 26 commit: 1.5.1 subdir: app submodules: true gradle: - free AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: 1.5.1 ...
<|file_sep|>metadata/com.infomaniak.sync.yml.diff original: updated: - versionName: 1.5.1 versionCode: 26 commit: 1.5.1 subdir: app submodules: true gradle: - free <|file_sep|>original/metadata/com.infomaniak.sync.yml - versionName: '1.4' versionCode: 24 commit: '1.4' subdir...
4bb731e047d5e10531bdf7c018f386c43014373e
metadata/com.infomaniak.sync.yml
metadata/com.infomaniak.sync.yml
YAML
<|file_sep|>original/spec/tags/20/ruby/core/kernel/respond_to_tags.txt fails:Kernel#respond_to? returns true if obj responds to the given protected method fails:Kernel#respond_to? returns true if obj responds to the given protected method (include_private = false) <|file_sep|>current/spec/tags/20/ruby/core/kernel/respo...
fails:Kernel#respond_to? returns false if obj responds to the given protected method fails:Kernel#respond_to? returns false if obj responds to the given protected method (include_private = false)
<|file_sep|>original/spec/tags/20/ruby/core/kernel/respond_to_tags.txt fails:Kernel#respond_to? returns true if obj responds to the given protected method fails:Kernel#respond_to? returns true if obj responds to the given protected method (include_private = false) <|file_sep|>current/spec/tags/20/ruby/core/kernel/respo...
a73f8cfd8885fd1611e5aeda14ffe1d88ce239f5
spec/tags/20/ruby/core/kernel/respond_to_tags.txt
spec/tags/20/ruby/core/kernel/respond_to_tags.txt
Text
<|file_sep|>lib/simctl/device_settings.rb.diff original: updated: KeyboardAllowPaddle KeyboardAssistant KeyboardAutocapitalization KeyboardAutocorrection KeyboardCapsLock KeyboardCheckSpelling <|file_sep|>lib/simctl/device_settings.rb.diff original: ...
%w( KeyboardAllowPaddle KeyboardAssistant KeyboardAutocapitalization KeyboardAutocorrection KeyboardCapsLock KeyboardCheckSpelling KeyboardPeriodShortcut KeyboardPrediction KeyboardShowPredictionBar ).each do |key|...
<|file_sep|>lib/simctl/device_settings.rb.diff original: updated: KeyboardAllowPaddle KeyboardAssistant KeyboardAutocapitalization KeyboardAutocorrection KeyboardCapsLock KeyboardCheckSpelling <|file_sep|>lib/simctl/device_settings.rb.diff original: ...
edeec29d30fbb7043307bda3978ca487b12586cf
lib/simctl/device_settings.rb
lib/simctl/device_settings.rb
Ruby
<|file_sep|>original/Resources/config/app/liip_imagine.yml <|file_sep|>current/Resources/config/app/liip_imagine.yml <|file_sep|>updated/Resources/config/app/liip_imagine.yml
liip_imagine: filter_sets: darvin_admin_ckeditor_toolbar: filters: thumbnail: { size: [ 16, 16 ], mode: outbound } darvin_admin_ckeditor_widget: filters: thumbnail: { size: [ 64, 64 ], mode: outbound } resolvers: default: ...
<|file_sep|>original/Resources/config/app/liip_imagine.yml <|file_sep|>current/Resources/config/app/liip_imagine.yml <|file_sep|>updated/Resources/config/app/liip_imagine.yml liip_imagine: filter_sets: darvin_admin_ckeditor_toolbar: filters: thumbnail: { size: [ 16, 16 ], mode:...
02ba369e461021e6e35787d5e8d10c52a8eaccb7
Resources/config/app/liip_imagine.yml
Resources/config/app/liip_imagine.yml
YAML
<|file_sep|>original/src/pages/index.hbs mdtext: src/pages/startpage image: src: /content/images/icons/Iteam-icon-07.png alt: Arrow icon position: left - type: services - type: instagram social-media: instagram: iteam1337 instagram-count: 4 instagram-resolution: h...
- type: text mdtext: src/pages/startpage image: src: /content/images/icons/Iteam-icon-07.png alt: Arrow icon position: left - type: services - type: instagram social-media: instagram: iteam1337 instagram-count: 4 instagram-resolution: high - type: cont...
<|file_sep|>original/src/pages/index.hbs mdtext: src/pages/startpage image: src: /content/images/icons/Iteam-icon-07.png alt: Arrow icon position: left - type: services - type: instagram social-media: instagram: iteam1337 instagram-count: 4 instagram-resolution: h...
bc1a3327f474a1c1c178e12b3ed445d8c2218082
src/pages/index.hbs
src/pages/index.hbs
Handlebars
<|file_sep|>original/.travis.yml language: node_js node_js: - '5.0' - '4.0' - '0.12' - '0.10' before_script: - npm run lint <|file_sep|>current/.travis.yml language: node_js node_js: - '5.0' - '4.0' - '0.12' - '0.10' before_script: - npm run lint <|file_sep|>updated/.travis.yml
language: node_js node_js: - '12.0' - '10.0' - '8.0' - '6.0' before_script: - npm run lint
<|file_sep|>original/.travis.yml language: node_js node_js: - '5.0' - '4.0' - '0.12' - '0.10' before_script: - npm run lint <|file_sep|>current/.travis.yml language: node_js node_js: - '5.0' - '4.0' - '0.12' - '0.10' before_script: - npm run lint <|file_sep|>updated/.travis.yml language: node_js node_js: - '12.0' -...
93168dc70769cdf4627744a5e8937c8136a0a054
.travis.yml
.travis.yml
YAML
<|file_sep|>original/requirements/dev.txt # Everything the developer needs in addition to the production requirements -r prod.txt # Testing pytest==3.0.3 WebTest==2.0.20 factory-boy==2.6.1 # Lint and code style flake8==3.0.4 flake8-blind-except==0.1.0 flake8-debugger==1.4.0 flake8-docstrings==1.0.2 flake8-isort==1.2 ...
# Everything the developer needs in addition to the production requirements -r prod.txt # Testing pytest==3.0.3 WebTest==2.0.20 factory-boy==2.6.1 # Lint and code style flake8==3.0.4 flake8-blind-except==0.1.1 flake8-debugger==1.4.0 flake8-docstrings==1.0.2 flake8-isort==1.2 flake8-quotes==0.2.4 isort==4.2.2 pep8-nam...
<|file_sep|>original/requirements/dev.txt # Everything the developer needs in addition to the production requirements -r prod.txt # Testing pytest==3.0.3 WebTest==2.0.20 factory-boy==2.6.1 # Lint and code style flake8==3.0.4 flake8-blind-except==0.1.0 flake8-debugger==1.4.0 flake8-docstrings==1.0.2 flake8-isort==1.2 ...
7132ef91c2b49b754fc27bcd14bfca9140fc7d49
requirements/dev.txt
requirements/dev.txt
Text
<|file_sep|>original/test-resources/logback-test.xml <appender name="PCP_ACCESS" class="ch.qos.logback.core.ConsoleAppender"> <file>./test-resources/log/pcp-broker-messages.log</file> <encoder> <pattern>[%d] %m%n</pattern> </encoder> </appender> <logger name="pcp_access...
<appender name="PCP_ACCESS" class="ch.qos.logback.core.ConsoleAppender"> <file>./test-resources/log/pcp-broker-messages.log</file> <encoder> <pattern>[%d] %m%n</pattern> </encoder> </appender> <logger name="pcp_access"> <appender-ref ref="PCP_ACCESS"/> </log...
<|file_sep|>original/test-resources/logback-test.xml <appender name="PCP_ACCESS" class="ch.qos.logback.core.ConsoleAppender"> <file>./test-resources/log/pcp-broker-messages.log</file> <encoder> <pattern>[%d] %m%n</pattern> </encoder> </appender> <logger name="pcp_access...
b48da8c81140b35a0c5c44d42523aca8a6ff30af
test-resources/logback-test.xml
test-resources/logback-test.xml
XML
<|file_sep|>original/.github/workflows/run_renovate.yml branch: description: "Branch that renovate should operate on" type: string required: true jobs: renovate: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 - name: Renovate-dry-run...
branch: description: "Branch that renovate should operate on" type: string required: true jobs: renovate: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 - name: Renovate-dry-run uses: renovatebot/github-action@v34.26.0 ...
<|file_sep|>original/.github/workflows/run_renovate.yml branch: description: "Branch that renovate should operate on" type: string required: true jobs: renovate: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 - name: Renovate-dry-run...
1fb1c31653a342c7711bf4e6931e32524e3abf11
.github/workflows/run_renovate.yml
.github/workflows/run_renovate.yml
YAML
<|file_sep|>original/app/models/session.js import DS from 'ember-data'; export default DS.Model.extend({ username: DS.attr('string'), apiKey: DS.attr('string'), }); <|file_sep|>current/app/models/session.js import DS from 'ember-data'; export default DS.Model.extend({ username: DS.attr('string'), apiKey: DS.a...
import DS from 'ember-data'; export default DS.Model.extend({ accountName: DS.attr('string'), apiKey: DS.attr('string'), });
<|file_sep|>original/app/models/session.js import DS from 'ember-data'; export default DS.Model.extend({ username: DS.attr('string'), apiKey: DS.attr('string'), }); <|file_sep|>current/app/models/session.js import DS from 'ember-data'; export default DS.Model.extend({ username: DS.attr('string'), apiKey: DS.a...
1b5396236031bacda967dc1d22913b3b3c8bdb86
app/models/session.js
app/models/session.js
JavaScript
<|file_sep|>metakernel/magics/tests/test_download_magic.py.diff original: updated: clear_log_text(kernel) kernel.do_execute("%download https://raw.githubusercontent.com/blink1073/metakernel/master/LICENSE.txt") text = get_log_text(kernel) assert "Downloaded 'LICENSE.txt'" in text, text assert os.p...
def test_download_magic(): kernel = get_kernel(EvalKernel) kernel.do_execute("%download --filename TEST.txt https://raw.githubusercontent.com/blink1073/metakernel/master/LICENSE.txt") text = get_log_text(kernel) assert "Downloaded 'TEST.txt'" in text, text assert os.path.isfile("TEST.txt"), "File do...
<|file_sep|>metakernel/magics/tests/test_download_magic.py.diff original: updated: clear_log_text(kernel) kernel.do_execute("%download https://raw.githubusercontent.com/blink1073/metakernel/master/LICENSE.txt") text = get_log_text(kernel) assert "Downloaded 'LICENSE.txt'" in text, text assert os.p...
46d274401080d47f3a9974c6ee80f2f3b9c0c8b0
metakernel/magics/tests/test_download_magic.py
metakernel/magics/tests/test_download_magic.py
Python
<|file_sep|>src/framework.rs.diff original: // TODO: Do not lend the entire `Context`. Maybe `Context` can emit // a more limited type that can be used for rendering. updated: <|file_sep|>src/framework.rs.diff original: updated: self.application.stop(); <|file_sep|>src/framework....
} _ => {} } self.application.react(&event); } self.context.clear(); self.application.render(&mut self.context); self.context.flush().unwrap(); } self.application.stop(); } } pub t...
<|file_sep|>src/framework.rs.diff original: // TODO: Do not lend the entire `Context`. Maybe `Context` can emit // a more limited type that can be used for rendering. updated: <|file_sep|>src/framework.rs.diff original: updated: self.application.stop(); <|file_sep|>src/framework....
3682a25bc3d68521dc65cb9c77dfed47606abc29
src/framework.rs
src/framework.rs
Rust
<|file_sep|>original/duell_library.xml <?xml version="1.0" encoding="utf-8"?> <library> <haxelib name="msignal" /> <include path="backends/types_cpp/duell_library.xml" if="cpp" /> <include path="backends/types_html5/duell_library.xml" if="html5" /> <include path="backends/types_flash/duell_library.xml" i...
<?xml version="1.0" encoding="utf-8"?> <library> <haxelib name="msignal" version="1.2.2" /> <include path="backends/types_cpp/duell_library.xml" if="cpp" /> <include path="backends/types_html5/duell_library.xml" if="html5" /> <include path="backends/types_flash/duell_library.xml" if="flash" /> <library...
<|file_sep|>original/duell_library.xml <?xml version="1.0" encoding="utf-8"?> <library> <haxelib name="msignal" /> <include path="backends/types_cpp/duell_library.xml" if="cpp" /> <include path="backends/types_html5/duell_library.xml" if="html5" /> <include path="backends/types_flash/duell_library.xml" i...
61467d3e6cf4fdd6fdf2a57a9c0ba865368a7afe
duell_library.xml
duell_library.xml
XML
<|file_sep|>original/Tests/Twig/NavigationExtensionTest.php use PHPUnit\Framework\TestCase; use Rybakit\Bundle\NavigationBundle\Tests\Fixtures\Item; use Rybakit\Bundle\NavigationBundle\Twig\NavigationExtension; class NavigationExtensionTest extends TestCase { /** * @dataProvider provideGetAncestorData *...
use PHPUnit\Framework\TestCase; use Rybakit\Bundle\NavigationBundle\Tests\Fixtures\Item; use Rybakit\Bundle\NavigationBundle\Twig\NavigationExtension; class NavigationExtensionTest extends TestCase { /** * @dataProvider provideGetAncestorData */ public function testGetAncestor(Item $item, $level, It...
<|file_sep|>original/Tests/Twig/NavigationExtensionTest.php use PHPUnit\Framework\TestCase; use Rybakit\Bundle\NavigationBundle\Tests\Fixtures\Item; use Rybakit\Bundle\NavigationBundle\Twig\NavigationExtension; class NavigationExtensionTest extends TestCase { /** * @dataProvider provideGetAncestorData *...
ec2adaf3723189e0d0a639fc6fae4e68f9ad1316
Tests/Twig/NavigationExtensionTest.php
Tests/Twig/NavigationExtensionTest.php
PHP
<|file_sep|>original/src/Nimbus.Tests.Integration/AssemblySetUp.cs using NUnit.Framework; [assembly: Category("IntegrationTest")] [assembly: Parallelizable(ParallelScope.Fixtures)] [assembly: LevelOfParallelism(32)] <|file_sep|>current/src/Nimbus.Tests.Integration/AssemblySetUp.cs using NUnit.Framework; [assembly: ...
using NUnit.Framework; [assembly: Category("IntegrationTest")] [assembly: Parallelizable(ParallelScope.Fixtures)] [assembly: LevelOfParallelism(2)]
<|file_sep|>original/src/Nimbus.Tests.Integration/AssemblySetUp.cs using NUnit.Framework; [assembly: Category("IntegrationTest")] [assembly: Parallelizable(ParallelScope.Fixtures)] [assembly: LevelOfParallelism(32)] <|file_sep|>current/src/Nimbus.Tests.Integration/AssemblySetUp.cs using NUnit.Framework; [assembly: ...
8084a3405f4ca901237d9d8a51e11277e978858b
src/Nimbus.Tests.Integration/AssemblySetUp.cs
src/Nimbus.Tests.Integration/AssemblySetUp.cs
C#
<|file_sep|>original/README.md ### 2. Configure overlay tutorial popup with `TutorialOverlayHelper` ```java public class MyActivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_my); n...
.setFocusable(true) .setTouchable(true) .setOutsideTouchable(true) .setContentView(R.layout.popup_view) .show(this, 500L); } } ``` That's it! ## License This library is licensed under Apache License v2. ``` Copyright (C) 2014 nohana...
<|file_sep|>original/README.md ### 2. Configure overlay tutorial popup with `TutorialOverlayHelper` ```java public class MyActivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_my); n...
e39b3e192400836573b063046a53b9ffe821c4bb
README.md
README.md
Markdown
<|file_sep|>ios/shared/ios_sharedlo/objective_c/view_controllers/testing_tiles/MLOTestingTileParametersViewController.h.diff original: updated: // The size of the actual pixel tile <|file_sep|>original/ios/shared/ios_sharedlo/objective_c/view_controllers/testing_tiles/MLOTestingTileParametersViewController.h // // Thi...
// License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #import "MLOViewController.h" #import "MLOTestingTileSubviewControllerProtocol.h" // The size of the actual pixel tile static const CGFloat CONTEXT_WIDTH_DEFAULT = 450; static const CGFlo...
<|file_sep|>ios/shared/ios_sharedlo/objective_c/view_controllers/testing_tiles/MLOTestingTileParametersViewController.h.diff original: updated: // The size of the actual pixel tile <|file_sep|>original/ios/shared/ios_sharedlo/objective_c/view_controllers/testing_tiles/MLOTestingTileParametersViewController.h // // Thi...
e56b0c0f248ae779a0abd9e1d5aa7f7420a03f64
ios/shared/ios_sharedlo/objective_c/view_controllers/testing_tiles/MLOTestingTileParametersViewController.h
ios/shared/ios_sharedlo/objective_c/view_controllers/testing_tiles/MLOTestingTileParametersViewController.h
C
<|file_sep|>original/.github/workflows/T3000Controls.yml build: runs-on: windows-2019 steps: - name: checkout uses: actions/checkout@v2 with: submodules: recursive - name: cmake run: | cd ${{ github.workspace }} mkdir build cd build...
build: runs-on: windows-2019 steps: - name: checkout uses: actions/checkout@v2 with: submodules: recursive - name: cmake run: | cd ${{ github.workspace }} mkdir build cd build cmake -A Win32 .. -DCMAKE_TOOLCHAIN_FILE=../vc...
<|file_sep|>original/.github/workflows/T3000Controls.yml build: runs-on: windows-2019 steps: - name: checkout uses: actions/checkout@v2 with: submodules: recursive - name: cmake run: | cd ${{ github.workspace }} mkdir build cd build...
a1547971be971ab52dcaca64ff1e777ed0c2186f
.github/workflows/T3000Controls.yml
.github/workflows/T3000Controls.yml
YAML
<|file_sep|>original/locales/et/server.ftl <|file_sep|>current/locales/et/server.ftl <|file_sep|>updated/locales/et/server.ftl
// Localization for Server-side strings of Firefox Screenshots // // Please don't localize Firefox, Firefox Screenshots, or Screenshots // Global phrases shared across pages, prefixed with 'g' [[ global ]] gMyShots = Minu pildid [[ Footer ]] // Note: link text for a link to mozilla.org footerLinkMozilla = Mozil...
<|file_sep|>original/locales/et/server.ftl <|file_sep|>current/locales/et/server.ftl <|file_sep|>updated/locales/et/server.ftl // Localization for Server-side strings of Firefox Screenshots // // Please don't localize Firefox, Firefox Screenshots, or Screenshots // Global phrases shared across pages, prefixed wit...
6d7cffca6d0551d4eeb042784e9d378218b24057
locales/et/server.ftl
locales/et/server.ftl
FreeMarker
<|file_sep|>doc.go.diff original: import "log" updated: import ( "database/sql" "log" ) var db sql.DB <|file_sep|>original/doc.go // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
"database/sql" "log" ) var db sql.DB func init() { f := log.Flags() log.SetFlags(f | log.Llongfile) } // OpenDB opens the database connection as per the given driver and // connection information. func OpenDB(driver, connInfo string) *sql.DB { db, err := sql.Open(driver, connInfo) if err != nil { log.Fatalf(...
<|file_sep|>doc.go.diff original: import "log" updated: import ( "database/sql" "log" ) var db sql.DB <|file_sep|>original/doc.go // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
cb7f0c5db00f51a4c7c5e90390fddec9c25251fe
doc.go
doc.go
Go
<|file_sep|>original/src/Numerics/Optimizers/AmoebaOptimizer/ExampleCostFunction.h typedef SmartPointer<Self> Pointer; typedef SmartPointer<const Self> ConstPointer; /** Method for creation through the object factory. */ itkNewMacro(Self); /** Run-time type information (and related methods). */ itkT...
typedef SmartPointer<Self> Pointer; typedef SmartPointer<const Self> ConstPointer; /** Method for creation through the object factory. */ itkNewMacro(Self); /** Run-time type information (and related methods). */ itkTypeMacro(ExampleCostFunction2, SingleValuedCostfunction); unsigned int GetNumb...
<|file_sep|>original/src/Numerics/Optimizers/AmoebaOptimizer/ExampleCostFunction.h typedef SmartPointer<Self> Pointer; typedef SmartPointer<const Self> ConstPointer; /** Method for creation through the object factory. */ itkNewMacro(Self); /** Run-time type information (and related methods). */ itkT...
4981c2107f53231c8a76b6b6ae8ebef10eaea32a
src/Numerics/Optimizers/AmoebaOptimizer/ExampleCostFunction.h
src/Numerics/Optimizers/AmoebaOptimizer/ExampleCostFunction.h
C
<|file_sep|>original/spec/math_spec.rb <|file_sep|>current/spec/math_spec.rb <|file_sep|>updated/spec/math_spec.rb
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe Math do it 'should solve a quadratic formula' it 'should get the number of permutations with n and k' it 'should get the number of combinations with n and k' it 'should get the number of steps to finish the Collatz Conjecture' it 'should ...
<|file_sep|>original/spec/math_spec.rb <|file_sep|>current/spec/math_spec.rb <|file_sep|>updated/spec/math_spec.rb require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe Math do it 'should solve a quadratic formula' it 'should get the number of permutations with n and k' it 'should get the nu...
0644e6d8dddcf982362e131acc9d023b333985df
spec/math_spec.rb
spec/math_spec.rb
Ruby
<|file_sep|>original/bin/pwgen.php /* * Interactive script to generate password hashes. * */ // This is the base directory of the SimpleSAMLphp installation $baseDir = dirname(dirname(__FILE__)); // Add library autoloader require_once($baseDir . '/lib/_autoload.php'); echo "Enter password: "; $password = trim(fg...
* Interactive script to generate password hashes. * */ // This is the base directory of the SimpleSAMLphp installation $baseDir = dirname(dirname(__FILE__)); // Add library autoloader require_once($baseDir . '/lib/_autoload.php'); echo "Enter password: "; $password = trim(fgets(STDIN)); if (empty($password)) { ...
<|file_sep|>original/bin/pwgen.php /* * Interactive script to generate password hashes. * */ // This is the base directory of the SimpleSAMLphp installation $baseDir = dirname(dirname(__FILE__)); // Add library autoloader require_once($baseDir . '/lib/_autoload.php'); echo "Enter password: "; $password = trim(fg...
1e1cb6ad15ab42fc68285510cb1b1b3a3b8d12fc
bin/pwgen.php
bin/pwgen.php
PHP