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|>src/common/me/nallar/tickthreading/minecraft/commands/TicksCommand.java.diff original: World world = null; if (!arguments.isEmpty()) { try { world = DimensionManager.getWorld(Integer.valueOf(arguments.get(0))); } catch (Exception ignored) { updated: World world = DimensionManager.getWorld(0)...
} @Override public void processCommand(ICommandSender commandSender, List<String> arguments) { World world = DimensionManager.getWorld(0); try { if (!arguments.isEmpty()) { try { world = DimensionManager.getWorld(Integer.valueOf(arguments.get(0))); } catch (Exception ignored) { } } else i...
<|file_sep|>src/common/me/nallar/tickthreading/minecraft/commands/TicksCommand.java.diff original: World world = null; if (!arguments.isEmpty()) { try { world = DimensionManager.getWorld(Integer.valueOf(arguments.get(0))); } catch (Exception ignored) { updated: World world = DimensionManager.getWorld(0)...
11f6a5e9bd55af789771fd2d61e0c2c97f439f28
src/common/me/nallar/tickthreading/minecraft/commands/TicksCommand.java
src/common/me/nallar/tickthreading/minecraft/commands/TicksCommand.java
Java
<|file_sep|>original/requirements/dev.txt # adbwp/requirements/dev.txt # # Requirements for using developing package. -r base.txt bumpversion==0.5.3 mypy==0.560 pydocstyle==2.1.1 pylint==1.7.5; python_version < '3.4' # pyup: ignore pylint==1.8.2; python_version > '3.4' safety==1.7.0 bandit==1.4.0 isort==4.2.15; (pyt...
# adbwp/requirements/dev.txt # # Requirements for using developing package. -r base.txt bumpversion==0.5.3 mypy==0.570 pydocstyle==2.1.1 pylint==1.7.5; python_version < '3.4' # pyup: ignore pylint==1.8.2; python_version > '3.4' safety==1.7.0 bandit==1.4.0 isort==4.2.15; (python_version > '3.0' and python_version < '...
<|file_sep|>original/requirements/dev.txt # adbwp/requirements/dev.txt # # Requirements for using developing package. -r base.txt bumpversion==0.5.3 mypy==0.560 pydocstyle==2.1.1 pylint==1.7.5; python_version < '3.4' # pyup: ignore pylint==1.8.2; python_version > '3.4' safety==1.7.0 bandit==1.4.0 isort==4.2.15; (pyt...
0311e947244f06bde348d0057fc2246c4009ad8d
requirements/dev.txt
requirements/dev.txt
Text
<|file_sep|>original/.travis.yml rvm: - 2.1.2 before_install: gem update --remote bundler before_script: - "bundle install" script: - "bundle exec rspec" <|file_sep|>current/.travis.yml rvm: - 2.1.2 before_install: gem update --remote bundler before_script: - "bundle install" script: - "bundle exec rs...
rvm: - 2.1.2 before_install: gem update --remote bundler before_script: - "bundle install" script: - "bundle exec rspec" notifications: webhooks: https://ci.neighbor.ly/projects/421aaf06-fc95-41a4-9677-701f9c809fc6/status
<|file_sep|>original/.travis.yml rvm: - 2.1.2 before_install: gem update --remote bundler before_script: - "bundle install" script: - "bundle exec rspec" <|file_sep|>current/.travis.yml rvm: - 2.1.2 before_install: gem update --remote bundler before_script: - "bundle install" script: - "bundle exec rs...
0fa3f6b7a9a2c859ddd0b6add1a5e4795aa30ef4
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml - VERSION='3.5-dev-python-org' - ALIAS='3.5.0-dev' - INSTALL_DEST=/opt/python - PACKAGES='pip numpy nose pytest mock wheel' install: - true script: - pushd $HOME - sudo env PYTHON_BUILD_ROOT=$TRAVIS_BUILD_DIR python-build $VERSION $INSTALL_DEST/$ALIAS - sudo ln...
- VERSION='3.5-dev-python-org' - ALIAS='3.5.0-dev' - INSTALL_DEST=/opt/python - PACKAGES='pip numpy nose pytest mock wheel' install: - true script: - pushd $HOME - sudo env PYTHON_BUILD_DEFINITIONS=$TRAVIS_BUILD_DIR python-build $VERSION $INSTALL_DEST/$ALIAS - sudo ln -s $INSTALL_DEST/$VERSION...
<|file_sep|>original/.travis.yml - VERSION='3.5-dev-python-org' - ALIAS='3.5.0-dev' - INSTALL_DEST=/opt/python - PACKAGES='pip numpy nose pytest mock wheel' install: - true script: - pushd $HOME - sudo env PYTHON_BUILD_ROOT=$TRAVIS_BUILD_DIR python-build $VERSION $INSTALL_DEST/$ALIAS - sudo ln...
81c1c6a444184bee02c2700a1b7eb9c1dbdbc9e5
.travis.yml
.travis.yml
YAML
<|file_sep|>original/template/Pencil/index.php <div id="frame"> <header class="main"> <div id="menu-idiomas">[ [COMPONENT name=MenuLanguages]]</div> <div class="logo">[[COMPONENT name=Image style=height:60 id=1]]</div> <h1><a href="/">[[COMPONENT name=Label text=Título id=title]]</a></h1> <h2>[[COMPONENT name=...
<div id="frame"> <header class="main"> <!--<div id="menu-idiomas">[ [COMPONENT name=MenuLanguages]]</div>--> <div class="logo">[[COMPONENT name=Image id=logo style=height:60]]</div> <h1><a href="/">[[COMPONENT name=Label text=Título id=title]]</a></h1> <h2>[[COMPONENT name=Label text=Subtítulo id=subtitle]]</h...
<|file_sep|>original/template/Pencil/index.php <div id="frame"> <header class="main"> <div id="menu-idiomas">[ [COMPONENT name=MenuLanguages]]</div> <div class="logo">[[COMPONENT name=Image style=height:60 id=1]]</div> <h1><a href="/">[[COMPONENT name=Label text=Título id=title]]</a></h1> <h2>[[COMPONENT name=...
69dfff586d23138da86d2e3e106814a6f0ab4b19
template/Pencil/index.php
template/Pencil/index.php
PHP
<|file_sep|>index.js.diff original: fork(script, process.argv.slice(2), { updated: var child = fork(script, process.argv.slice(2), { <|file_sep|>original/index.js var path = require('path') var readPackage = require('read-closest-package') var fork = require('child_process').fork module.exports = tooler functi...
module.exports = tooler function tooler (cb) { readPackage(function (err, data, file) { if (err) return cb(err) if (!data || !data.tooler || typeof data.tooler !== 'string') { return cb('Must specify a "tooler" config in your package.json.') } var pkgPath = path.dirname(file) var script = ...
<|file_sep|>index.js.diff original: fork(script, process.argv.slice(2), { updated: var child = fork(script, process.argv.slice(2), { <|file_sep|>original/index.js var path = require('path') var readPackage = require('read-closest-package') var fork = require('child_process').fork module.exports = tooler functi...
a56ac53d7c4b797ed5a6a0c6c5b93ba7b4ba0ed0
index.js
index.js
JavaScript
<|file_sep|>original/src/main/kotlin/com/emberjs/utils/PsiElementExtensions.kt import com.intellij.patterns.PsiElementPattern import com.intellij.psi.PsiElement import com.intellij.psi.util.PsiFilter import java.util.* val PsiElement.originalVirtualFile: VirtualFile? get() = containingFile.originalFile.virtualFil...
import com.intellij.patterns.PsiElementPattern import com.intellij.psi.PsiElement import com.intellij.psi.util.PsiFilter import java.util.* val PsiElement.originalVirtualFile: VirtualFile? get() = containingFile.originalFile.virtualFile val PsiElement.module: Module? get() = originalVirtualFile?.let { findMo...
<|file_sep|>original/src/main/kotlin/com/emberjs/utils/PsiElementExtensions.kt import com.intellij.patterns.PsiElementPattern import com.intellij.psi.PsiElement import com.intellij.psi.util.PsiFilter import java.util.* val PsiElement.originalVirtualFile: VirtualFile? get() = containingFile.originalFile.virtualFil...
6f31b8174cd86266bff8cc021229406f25713a25
src/main/kotlin/com/emberjs/utils/PsiElementExtensions.kt
src/main/kotlin/com/emberjs/utils/PsiElementExtensions.kt
Kotlin
<|file_sep|>original/src/resource-pack/mc-resource-pack/assets/minecraft/models/item/skull_char.json <|file_sep|>current/src/resource-pack/mc-resource-pack/assets/minecraft/models/item/skull_char.json <|file_sep|>updated/src/resource-pack/mc-resource-pack/assets/minecraft/models/item/skull_char.json
{ "parent": "builtin/entity", "display": { "thirdperson": { "rotation": [ 180, -45, 0 ], "translation": [ 0, 1, -2.5 ], "scale": [ 0.25, 0.25, 0.25 ] }, "firstperson": { "rotation": [ 0, -180, 0 ], "scale": [ 0.55, 0.55, 0.55 ] ...
<|file_sep|>original/src/resource-pack/mc-resource-pack/assets/minecraft/models/item/skull_char.json <|file_sep|>current/src/resource-pack/mc-resource-pack/assets/minecraft/models/item/skull_char.json <|file_sep|>updated/src/resource-pack/mc-resource-pack/assets/minecraft/models/item/skull_char.json { "parent": "bu...
605192aa07b245d913af5e818b201455d7637f4f
src/resource-pack/mc-resource-pack/assets/minecraft/models/item/skull_char.json
src/resource-pack/mc-resource-pack/assets/minecraft/models/item/skull_char.json
JSON
<|file_sep|>original/app/assets/stylesheets/theme-rmath.scss @import "cc-runtime"; $theme-params: ( bgColorOrUrl: #f1f1f1, theme-color-a: #0592af, theme-color-b: #ea6d2f, activity-menu-display: none ); @include theme($theme-params...); <|file_sep|>current/app/assets/stylesheets/theme-rmath.scss @import "cc-ru...
@import "cc-runtime"; $theme-params: ( bgColorOrUrl: #f1f1f1, theme-color-a: #0592af, theme-color-b: #ea6d2f, activity-menu-display: none ); @include theme($theme-params...); footer { color: #444; }
<|file_sep|>original/app/assets/stylesheets/theme-rmath.scss @import "cc-runtime"; $theme-params: ( bgColorOrUrl: #f1f1f1, theme-color-a: #0592af, theme-color-b: #ea6d2f, activity-menu-display: none ); @include theme($theme-params...); <|file_sep|>current/app/assets/stylesheets/theme-rmath.scss @import "cc-ru...
870ef43ec8dcd42585b0a28ae044b3fb857830f1
app/assets/stylesheets/theme-rmath.scss
app/assets/stylesheets/theme-rmath.scss
SCSS
<|file_sep|>original/subprojects/launcher/src/test/groovy/org/gradle/launcher/exec/ChainingCompositeBuildActionRunnerTest.groovy <|file_sep|>current/subprojects/launcher/src/test/groovy/org/gradle/launcher/exec/ChainingCompositeBuildActionRunnerTest.groovy <|file_sep|>updated/subprojects/launcher/src/test/groovy/org/...
/* * Copyright 2016 the original author or authors. * * 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
<|file_sep|>original/subprojects/launcher/src/test/groovy/org/gradle/launcher/exec/ChainingCompositeBuildActionRunnerTest.groovy <|file_sep|>current/subprojects/launcher/src/test/groovy/org/gradle/launcher/exec/ChainingCompositeBuildActionRunnerTest.groovy <|file_sep|>updated/subprojects/launcher/src/test/groovy/org/...
9439d1a72987318d093140895b47019b9ddea5e2
subprojects/launcher/src/test/groovy/org/gradle/launcher/exec/ChainingCompositeBuildActionRunnerTest.groovy
subprojects/launcher/src/test/groovy/org/gradle/launcher/exec/ChainingCompositeBuildActionRunnerTest.groovy
Groovy
<|file_sep|>original/appveyor.yml branches: only: - master os: Windows Server 2012 cache: - %LocalAppData%\NuGet\Cache -> paket.lock build_script: - ps: .\build.cmd CI test: off artifacts: - path: artifacts\*.nupkg - path: artifacts\*.zip <|file_sep|>current/appveyor.yml branches: only: - master os:...
branches: only: - master os: Windows Server 2012 cache: - "%LocalAppData%\NuGet\Cache" -> paket.lock build_script: - ps: .\build.cmd CI test: off artifacts: - path: artifacts\*.nupkg - path: artifacts\*.zip
<|file_sep|>original/appveyor.yml branches: only: - master os: Windows Server 2012 cache: - %LocalAppData%\NuGet\Cache -> paket.lock build_script: - ps: .\build.cmd CI test: off artifacts: - path: artifacts\*.nupkg - path: artifacts\*.zip <|file_sep|>current/appveyor.yml branches: only: - master os:...
75adf6472ad58e1f201cb980b705fed8166756f9
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/modules/core/src-conf/system.properties # Main window mode: SINGLE or TABBED cuba.web.appWindowMode=TABBED # Default user accout to show in login dialog. Comment out for production mode. cuba.web.loginDialogDefaultUser=admin cuba.web.loginDialogDefaultPassword=admin # Middleware user session inac...
# Main window mode: SINGLE or TABBED cuba.web.appWindowMode=TABBED # Default user accout to show in login dialog. Comment out for production mode. cuba.web.loginDialogDefaultUser=admin cuba.web.loginDialogDefaultPassword=admin # Whether to create generic screens instead of undefined screens cuba.web.enableGenericScre...
<|file_sep|>original/modules/core/src-conf/system.properties # Main window mode: SINGLE or TABBED cuba.web.appWindowMode=TABBED # Default user accout to show in login dialog. Comment out for production mode. cuba.web.loginDialogDefaultUser=admin cuba.web.loginDialogDefaultPassword=admin # Middleware user session inac...
1f7593dfbf9c8091c8e3976a1abaa74225548ee2
modules/core/src-conf/system.properties
modules/core/src-conf/system.properties
INI
<|file_sep|>original/requirements_test.txt tox==2.9.1 mock==2.0.0 pytest==3.5.0 pytest-cov==2.5.1 pytest-flake8==1.0.0 pytest-watch==4.1.0 pytest-sugar==0.9.1 Sphinx==1.7.2 sphinx_rtd_theme==0.2.4 restructuredtext-lint==1.1.3 <|file_sep|>current/requirements_test.txt tox==2.9.1 mock==2.0.0 pytest==3.5.0 pytest-cov==2.5...
tox==3.0.0 mock==2.0.0 pytest==3.5.0 pytest-cov==2.5.1 pytest-flake8==1.0.0 pytest-watch==4.1.0 pytest-sugar==0.9.1 Sphinx==1.7.2 sphinx_rtd_theme==0.2.4 restructuredtext-lint==1.1.3
<|file_sep|>original/requirements_test.txt tox==2.9.1 mock==2.0.0 pytest==3.5.0 pytest-cov==2.5.1 pytest-flake8==1.0.0 pytest-watch==4.1.0 pytest-sugar==0.9.1 Sphinx==1.7.2 sphinx_rtd_theme==0.2.4 restructuredtext-lint==1.1.3 <|file_sep|>current/requirements_test.txt tox==2.9.1 mock==2.0.0 pytest==3.5.0 pytest-cov==2.5...
1574f2d6844f2652e248084545e1c2cfcfd3cf57
requirements_test.txt
requirements_test.txt
Text
<|file_sep|>db/seeds/prisons/DMI-durham.yml.diff original: unbookable: - 2019-11-06 updated: <|file_sep|>original/db/seeds/prisons/DMI-durham.yml tue: - 0930-1130 - 1345-1545 wed: - 0930-1130 - 1345-1545 - 1715-1915 thu: - 1345-1545 fri: - 1345-1545 sat: - 0930-1130 - 1345-1545 sun: - 0...
- 1345-1545 wed: - 0930-1130 - 1345-1545 - 1715-1915 thu: - 1345-1545 fri: - 1345-1545 sat: - 0930-1130 - 1345-1545 sun: - 0930-1130 - 1345-1545 anomalous: 2019-10-09: - 0930-1130 - 1345-1545 2019-11-06: - 1715-1915
<|file_sep|>db/seeds/prisons/DMI-durham.yml.diff original: unbookable: - 2019-11-06 updated: <|file_sep|>original/db/seeds/prisons/DMI-durham.yml tue: - 0930-1130 - 1345-1545 wed: - 0930-1130 - 1345-1545 - 1715-1915 thu: - 1345-1545 fri: - 1345-1545 sat: - 0930-1130 - 1345-1545 sun: - 0...
17fd066c68608a22fa943a94075d8f260cb79981
db/seeds/prisons/DMI-durham.yml
db/seeds/prisons/DMI-durham.yml
YAML
<|file_sep|>blueprints/node-webkit/files/vendor/node-webkit/shim.js.diff original: updated: // Move `global.window` out of the way as it causes some third-party // libraries to expose themselves via `global` instead of `window`. var globalWindow = global.window; delete global.window; <|file_sep|>original/blue...
// Move `global.window` out of the way as it causes some third-party // libraries to expose themselves via `global` instead of `window`. var globalWindow = global.window; delete global.window; // Rename node's `require` to avoid conflicts with AMD's `require`. var requireNode = window.requireNode = window....
<|file_sep|>blueprints/node-webkit/files/vendor/node-webkit/shim.js.diff original: updated: // Move `global.window` out of the way as it causes some third-party // libraries to expose themselves via `global` instead of `window`. var globalWindow = global.window; delete global.window; <|file_sep|>original/blue...
cba03842627aa03dc6133b7d758ab649403b260c
blueprints/node-webkit/files/vendor/node-webkit/shim.js
blueprints/node-webkit/files/vendor/node-webkit/shim.js
JavaScript
<|file_sep|>original/templates/reviews/review_flags.js {% if not error %} var gBugTrackerURL = "{{review_request.repository.bug_tracker}}"; var gReviewRequestPath = '{{review_request.get_absolute_url}}'; var gReviewRequestId = "{{review_request.id}}"; var gReviewRequestSummary = "{{review_request.summary}}"; ...
*/ {% if not error %} var gBugTrackerURL = "{{review_request.repository.bug_tracker}}"; var gReviewRequestPath = '{{review_request.get_absolute_url}}'; var gReviewRequestId = "{{review_request.id}}"; var gReviewRequestSummary = "{{review_request.summary}}"; var gReviewPending = {% if review %}true{% else %...
<|file_sep|>original/templates/reviews/review_flags.js {% if not error %} var gBugTrackerURL = "{{review_request.repository.bug_tracker}}"; var gReviewRequestPath = '{{review_request.get_absolute_url}}'; var gReviewRequestId = "{{review_request.id}}"; var gReviewRequestSummary = "{{review_request.summary}}"; ...
a0041ac11b0231c2831c2a53921cd794d909ae56
templates/reviews/review_flags.js
templates/reviews/review_flags.js
JavaScript
<|file_sep|>original/tests/Infrastructure/Persistence/IlluminateAirportInformationDatabaseTest.php <?php namespace OpenCFP\Test\Infrastructure\Persistence; use OpenCFP\Infrastructure\Persistence\IlluminateAirportInformationDatabase; /** * Tests integration with illuminate/database and airports table to implement *...
<?php namespace OpenCFP\Test\Infrastructure\Persistence; use OpenCFP\Infrastructure\Persistence\IlluminateAirportInformationDatabase; /** * Tests integration with illuminate/database and airports table to implement * an AirportInfromationDatabase */ class IlluminateAirportInformationDatabaseTest extends \Database...
<|file_sep|>original/tests/Infrastructure/Persistence/IlluminateAirportInformationDatabaseTest.php <?php namespace OpenCFP\Test\Infrastructure\Persistence; use OpenCFP\Infrastructure\Persistence\IlluminateAirportInformationDatabase; /** * Tests integration with illuminate/database and airports table to implement *...
819339c91d3030a7e7b043d7d5099c58be2c1b35
tests/Infrastructure/Persistence/IlluminateAirportInformationDatabaseTest.php
tests/Infrastructure/Persistence/IlluminateAirportInformationDatabaseTest.php
PHP
<|file_sep|>original/INSTALL.rst $ python setup.py develop Now setup the required database tables and pre-fill them with some dummy data:: $ paster setup-app development.ini To start the development webserver use the command:: $ paster serve development.ini While developing you may want the server to ...
To start the development webserver use the command:: $ paster serve development.ini While developing you may want the server to reload after any source code file is changed. This can be achieved easily by adding the ``--reload`` option:: $ paster serve --reload development.ini Then you are ready to go. You ...
<|file_sep|>original/INSTALL.rst $ python setup.py develop Now setup the required database tables and pre-fill them with some dummy data:: $ paster setup-app development.ini To start the development webserver use the command:: $ paster serve development.ini While developing you may want the server to ...
e3c45c8b128050a2c3964cfc907266ca8c2d1e24
INSTALL.rst
INSTALL.rst
reStructuredText
<|file_sep|>fedoracommunity/mokshaapps/updates/templates/package_updates_table_widget.mak.diff original: <td>@{date_pushed}</td> updated: <td>@{date_pushed_display}</td> <|file_sep|>original/fedoracommunity/mokshaapps/updates/templates/package_updates_table_widget.mak <tbody clas...
<tbody class="rowtemplate"> <tr> <td> ${c.update_hover_menu(show_package=False, show_version=True)} </td> <td>@{date_pushed_display}</td> <td>@{status} <div class="karma"><a href="https://admin.fedo...
<|file_sep|>fedoracommunity/mokshaapps/updates/templates/package_updates_table_widget.mak.diff original: <td>@{date_pushed}</td> updated: <td>@{date_pushed_display}</td> <|file_sep|>original/fedoracommunity/mokshaapps/updates/templates/package_updates_table_widget.mak <tbody clas...
881822e5bda0debcadcaafdb284dc11024d3031a
fedoracommunity/mokshaapps/updates/templates/package_updates_table_widget.mak
fedoracommunity/mokshaapps/updates/templates/package_updates_table_widget.mak
Makefile
<|file_sep|>original/test/demo/basic.html </style> </head> <body> <div> Simple demo page to show a default OpenSeadragon viewer. </div> <div id="contentDiv" class="openseadragon1"></div> <script type="text/javascript"> var viewer = OpenSeadragon({ // debugMode: true, ...
</style> </head> <body> <div> Simple demo page to show a default OpenSeadragon viewer. </div> <div id="contentDiv" class="openseadragon1"></div> <script type="text/javascript"> var viewer = OpenSeadragon({ // debugMode: true, id: "contentDiv", pr...
<|file_sep|>original/test/demo/basic.html </style> </head> <body> <div> Simple demo page to show a default OpenSeadragon viewer. </div> <div id="contentDiv" class="openseadragon1"></div> <script type="text/javascript"> var viewer = OpenSeadragon({ // debugMode: true, ...
d447bd561259ad9d7fb1f487f100a5367a047818
test/demo/basic.html
test/demo/basic.html
HTML
<|file_sep|>original/src/test/groovy/nebula/test/functional/internal/classpath/ClasspathAddingInitScriptBuilderFixture.groovy package nebula.test.functional.internal.classpath import org.gradle.util.GFileUtils final class ClasspathAddingInitScriptBuilderFixture { private ClasspathAddingInitScriptBuilderFixture() ...
package nebula.test.functional.internal.classpath import org.gradle.util.GFileUtils final class ClasspathAddingInitScriptBuilderFixture { private ClasspathAddingInitScriptBuilderFixture() {} static List<File> createLibraries(File projectDir, int numberOfLibs = 500) { def libraries = [] (1..n...
<|file_sep|>original/src/test/groovy/nebula/test/functional/internal/classpath/ClasspathAddingInitScriptBuilderFixture.groovy package nebula.test.functional.internal.classpath import org.gradle.util.GFileUtils final class ClasspathAddingInitScriptBuilderFixture { private ClasspathAddingInitScriptBuilderFixture() ...
b9b3c29ee2797f19afdf2a59dd5b9a286a4607fd
src/test/groovy/nebula/test/functional/internal/classpath/ClasspathAddingInitScriptBuilderFixture.groovy
src/test/groovy/nebula/test/functional/internal/classpath/ClasspathAddingInitScriptBuilderFixture.groovy
Groovy
<|file_sep|>src/region/regionNode.js.diff original: updated: import FocusedNodeView from '../focused/focusedNodeView'; <|file_sep|>original/src/region/regionNode.js constructor (node) { node.size = node.size || 60; super(node, 'region'); this.loaded = true; } isDraggable () { return true; } ...
} isDraggable () { return true; } isInteractive () { return true; } render () { // Set the default view renderer if (this.nodeView === 'focused') { this.view = new FocusedNodeView(this); } else { this.view = new NodeViewStandard(this); } } } export default RegionNod...
<|file_sep|>src/region/regionNode.js.diff original: updated: import FocusedNodeView from '../focused/focusedNodeView'; <|file_sep|>original/src/region/regionNode.js constructor (node) { node.size = node.size || 60; super(node, 'region'); this.loaded = true; } isDraggable () { return true; } ...
09aa92d45b37808d004e175a63acc7085126256b
src/region/regionNode.js
src/region/regionNode.js
JavaScript
<|file_sep|>original/README.md # learnnode-chatroom A small project,chat room, server as POC for learning node. # webpack-template Template project for webpack, karma, jasmine ## Prerequisites 1. Install Git 2. Install NodeJS & NPM ## Getting started 1. Clone project to local directory (this directory will be refe...
# learnnode-chatroom A small project,chat room, server as POC for learning node. Setup to run your chat app: 1. in command prompt, go to your code path 2. cd src 3. node chatroom-message.js # this step will start the chat server locally in port 1007. 4. In your browser, you could use: http://localhost:1007/ind...
<|file_sep|>original/README.md # learnnode-chatroom A small project,chat room, server as POC for learning node. # webpack-template Template project for webpack, karma, jasmine ## Prerequisites 1. Install Git 2. Install NodeJS & NPM ## Getting started 1. Clone project to local directory (this directory will be refe...
0bf1a2718de0c0902d8efc8c6f95e6be12ad61af
README.md
README.md
Markdown
<|file_sep|>original/src/client/components/CompanyLists/reducer.js } export default ( state = initialState, { type, id, result, payload, query, orderBy } ) => { switch (type) { case COMPANY_LISTS__LISTS_LOADED: return { ...state, lists: _.mapValues(result, (title) => ({ title })), ...
} export default ( state = initialState, { type, id, result, payload, query, orderBy } ) => { switch (type) { case COMPANY_LISTS__LISTS_LOADED: return { ...state, lists: _.mapValues(result, (name) => ({ name })), selectedId: Object.keys(result)[0], } case COMPANY_LISTS...
<|file_sep|>original/src/client/components/CompanyLists/reducer.js } export default ( state = initialState, { type, id, result, payload, query, orderBy } ) => { switch (type) { case COMPANY_LISTS__LISTS_LOADED: return { ...state, lists: _.mapValues(result, (title) => ({ title })), ...
48978a106d024a06951ca058e56185b5c9c2c9e4
src/client/components/CompanyLists/reducer.js
src/client/components/CompanyLists/reducer.js
JavaScript
<|file_sep|>original/docs/workflow/README.md <|file_sep|>current/docs/workflow/README.md <|file_sep|>updated/docs/workflow/README.md
# Workflow Documents the workflow and procedure for working on server tasks ## Getting started After clocking in and entering the working space, do the following tasks: 1. Open a new browser window and open the [Trello board](https://trello.com/b/GOAlCZ40), [GitHub repo](https://github.com/FOSSRIT/Minecraft-Server)...
<|file_sep|>original/docs/workflow/README.md <|file_sep|>current/docs/workflow/README.md <|file_sep|>updated/docs/workflow/README.md # Workflow Documents the workflow and procedure for working on server tasks ## Getting started After clocking in and entering the working space, do the following tasks: 1. Open a ne...
72d1be39b4681256f2b0c3eec23dd0ed04e7353c
docs/workflow/README.md
docs/workflow/README.md
Markdown
<|file_sep|>.travis.yml.diff original: - chmod +x ./script/cibuild # or do this locally and commit updated: - chmod +x ./scripts/cibuild # or do this locally and commit <|file_sep|>original/.travis.yml language: ruby rvm: - 2.1 before_script: - chmod +x ./script/cibuild # or do this locally and commit # Assume bun...
language: ruby rvm: - 2.1 before_script: - chmod +x ./scripts/cibuild # or do this locally and commit # Assume bundler is being used, therefore # the `install` step will run `bundle install` by default. script: ./scripts/cibuild ## branch whitelist, only for GitHub Pages #branches: # only: # - gh-pages # test...
<|file_sep|>.travis.yml.diff original: - chmod +x ./script/cibuild # or do this locally and commit updated: - chmod +x ./scripts/cibuild # or do this locally and commit <|file_sep|>original/.travis.yml language: ruby rvm: - 2.1 before_script: - chmod +x ./script/cibuild # or do this locally and commit # Assume bun...
ac34c50c4c10442a15509fcfdc193a84ad4734ab
.travis.yml
.travis.yml
YAML
<|file_sep|>index.js.diff original: module.exports = function (server) { updated: module.exports = function (io, server) { <|file_sep|>original/index.js var type = packet.data[0]; var data = packet.data[1]; switch(type) { case "khoros.join": console.log("New listener in room: " + data.khoros.roo...
var type = packet.data[0]; var data = packet.data[1]; switch(type) { case "khoros.join": console.log("New listener in room: " + data.khoros.room); socket.join(data.khoros.room); break; default: data.khoros.clientID = socket.client.id; if (data.khoros.echo) { //...
<|file_sep|>index.js.diff original: module.exports = function (server) { updated: module.exports = function (io, server) { <|file_sep|>original/index.js var type = packet.data[0]; var data = packet.data[1]; switch(type) { case "khoros.join": console.log("New listener in room: " + data.khoros.roo...
08938d804c16e802655ad4985f6de4f7262cf2da
index.js
index.js
JavaScript
<|file_sep|>original/requirements.txt BeautifulSoup4==4.7.0 GitPython==2.1.11 PyYaml==4.2b4 defusedxml==0.5.0 internetarchive==1.8.1 oauthlib==2.1.0 pip==18.1 pywikibot==3.0.20181203 requests==2.21.0 requests-oauthlib==1.0.0 roman==3.1 typing==3.6.6 yamlordereddictloader==0.4.0 <|file_sep|>current/requirements.txt Beau...
BeautifulSoup4==4.7.1 GitPython==2.1.11 PyYaml==4.2b4 defusedxml==0.5.0 internetarchive==1.8.1 oauthlib==2.1.0 pip==18.1 pywikibot==3.0.20181203 requests==2.21.0 requests-oauthlib==1.0.0 roman==3.1 typing==3.6.6 yamlordereddictloader==0.4.0
<|file_sep|>original/requirements.txt BeautifulSoup4==4.7.0 GitPython==2.1.11 PyYaml==4.2b4 defusedxml==0.5.0 internetarchive==1.8.1 oauthlib==2.1.0 pip==18.1 pywikibot==3.0.20181203 requests==2.21.0 requests-oauthlib==1.0.0 roman==3.1 typing==3.6.6 yamlordereddictloader==0.4.0 <|file_sep|>current/requirements.txt Beau...
e33829da2e0fdc9f710429b1bceab3efc10db601
requirements.txt
requirements.txt
Text
<|file_sep|>original/_notes/backend/python/selenium/basic_usage.md ``` ### Basic script ```python # main.py from selenium import webdriver # No options browser = webdriver.Chrome() browser.get('http://seleniumhq.org/') browser.quit() # With options options = webdriver.ChromeOptions() options.add_argument('--headless...
``` ### Basic script ```python # main.py from selenium import webdriver # No options browser = webdriver.Chrome() browser.get('http://seleniumhq.org/') browser.refresh() browser.quit() # With options options = webdriver.ChromeOptions() options.add_argument('--headless') # Hidden browser options.add_argument('--disa...
<|file_sep|>original/_notes/backend/python/selenium/basic_usage.md ``` ### Basic script ```python # main.py from selenium import webdriver # No options browser = webdriver.Chrome() browser.get('http://seleniumhq.org/') browser.quit() # With options options = webdriver.ChromeOptions() options.add_argument('--headless...
7fd6fb141494bdf665d74b12981656af9c1aee67
_notes/backend/python/selenium/basic_usage.md
_notes/backend/python/selenium/basic_usage.md
Markdown
<|file_sep|>original/_posts/2018-07-23-PGM_12925.md <|file_sep|>current/_posts/2018-07-23-PGM_12925.md <|file_sep|>updated/_posts/2018-07-23-PGM_12925.md
--- layout: post title: " Programmers - 문자열을 정수로 바꾸기 " excerpt: " 문자열을 정수로 바꾸기 " date: 2018-07-23 cate : "algorithm" tag: - Programmers - ReSolve --- ## Problem Problem URL : **[문자열을 정수로 바꾸기](https://programmers.co.kr/learn/courses/30/lessons/12925)** --- ## [1] Answer Code (18. 07. 23) {% highlight cpp %} int...
<|file_sep|>original/_posts/2018-07-23-PGM_12925.md <|file_sep|>current/_posts/2018-07-23-PGM_12925.md <|file_sep|>updated/_posts/2018-07-23-PGM_12925.md --- layout: post title: " Programmers - 문자열을 정수로 바꾸기 " excerpt: " 문자열을 정수로 바꾸기 " date: 2018-07-23 cate : "algorithm" tag: - Programmers - ReSolve --- ## Problem...
d305858a7a6d41e9f13d5dc0fe3c2f10330709ec
_posts/2018-07-23-PGM_12925.md
_posts/2018-07-23-PGM_12925.md
Markdown
<|file_sep|>original/metadata/org.me.tvhguide.txt Categories:Multimedia License:GPLv3 Web Site: Source Code:https://github.com/john-tornblom/TVHGuide Issue Tracker:https://github.com/john-tornblom/TVHGuide/issues Name:TVHGuide (obsolete) Auto Name:TVHGuide Summary:TVHeadEnd PVR client Description: Watch live TV and re...
Categories:Multimedia License:GPLv3 Web Site: Source Code:https://github.com/john-tornblom/TVHGuide Issue Tracker:https://github.com/john-tornblom/TVHGuide/issues Name:TVHGuide (old) Auto Name:TVHGuide Summary:TVHeadEnd PVR client Description: Watch live TV and recordings from your home theatre setup if you have a TVH...
<|file_sep|>original/metadata/org.me.tvhguide.txt Categories:Multimedia License:GPLv3 Web Site: Source Code:https://github.com/john-tornblom/TVHGuide Issue Tracker:https://github.com/john-tornblom/TVHGuide/issues Name:TVHGuide (obsolete) Auto Name:TVHGuide Summary:TVHeadEnd PVR client Description: Watch live TV and re...
693eef16d5f7cd9701dbbf792296f454c523e573
metadata/org.me.tvhguide.txt
metadata/org.me.tvhguide.txt
Text
<|file_sep|>original/app/views/products/_new_products_carousel.html.erb <h4 href='<%= products_path %>' class='new-products-carousel-header'> <a>New Products</a> <a>See all</a> </h4> <div id="myCarousel" class="carousel slide" data-ride="carousel"> <!-- Wrapper for slides --> <div class="carousel-inner" role="l...
<h4 class='new-products-carousel-header'> <%= link_to 'New Products', products_path %> <%= link_to 'See all', products_path %> </h4> <div id="myCarousel" class="carousel slide" data-ride="carousel"> <!-- Wrapper for slides --> <div class="carousel-inner" role="listbox"> <% 6.times do |i| %> <div class...
<|file_sep|>original/app/views/products/_new_products_carousel.html.erb <h4 href='<%= products_path %>' class='new-products-carousel-header'> <a>New Products</a> <a>See all</a> </h4> <div id="myCarousel" class="carousel slide" data-ride="carousel"> <!-- Wrapper for slides --> <div class="carousel-inner" role="l...
6638df3afd1666ba4186dccb5e40c947b7145f29
app/views/products/_new_products_carousel.html.erb
app/views/products/_new_products_carousel.html.erb
HTML+ERB
<|file_sep|>original/lib/matrices.js function Matrix(options) { options = options || {}; var values; if (options.values) values = options.values; if (options.rows && options.columns && !values) { values = []; for (var k = 0; k < options.rows; k++) { ...
function Matrix(options) { options = options || {}; var values; if (options.values) { values = options.values.slice(); for (var k = 0; k < values.length; k++) values[k] = values[k].slice(); } if (options.rows && options.columns && !values) { ...
<|file_sep|>original/lib/matrices.js function Matrix(options) { options = options || {}; var values; if (options.values) values = options.values; if (options.rows && options.columns && !values) { values = []; for (var k = 0; k < options.rows; k++) { ...
7d8145fce09a92004fbf302953d37863d2bc202b
lib/matrices.js
lib/matrices.js
JavaScript
<|file_sep|>_posts/RhymesWithMecca/2016-02-16-BeccasDrawingAppMilestones.md.diff original: updated: <|file_sep|>_posts/RhymesWithMecca/2016-02-16-BeccasDrawingAppMilestones.md.diff original: updated: <|file_sep|>original/_posts/RhymesWithMecca/2016-02-16-BeccasDrawingAppMilestones.md #### Milestones ##### User... -...
##### User... - [ ] will not type - graphical interface only - [ ] can select drawing mode (program changes) using clicks and/or keys - [ ] can see current mode - [ ] can choose and draw shapes, lines, and colors - [ ] can clear drawing and start over ##### Program... - [ ] uses custom modules - [ ] uses cusom func...
<|file_sep|>_posts/RhymesWithMecca/2016-02-16-BeccasDrawingAppMilestones.md.diff original: updated: <|file_sep|>_posts/RhymesWithMecca/2016-02-16-BeccasDrawingAppMilestones.md.diff original: updated: <|file_sep|>original/_posts/RhymesWithMecca/2016-02-16-BeccasDrawingAppMilestones.md #### Milestones ##### User... -...
982cbb2cf2e7e3d75a07740932e038629794cb3e
_posts/RhymesWithMecca/2016-02-16-BeccasDrawingAppMilestones.md
_posts/RhymesWithMecca/2016-02-16-BeccasDrawingAppMilestones.md
Markdown
<|file_sep|>ubotpatcher/src/main/java/me/eddiep/minecraft/ubotpatcher/UbotPatcher.java.diff original: import java.io.FileFilter; updated: <|file_sep|>ubotpatcher/src/main/java/me/eddiep/minecraft/ubotpatcher/UbotPatcher.java.diff original: import java.nio.file.CopyOption; updated: <|file_sep|>ubotpatcher/src/main/jav...
getLogger().info("No jar files found!"); getServer().getPluginManager().disablePlugin(this); return; } getLogger().info(jars.length + " jar files found!"); for (File f : jars) { getLogger().info("Moving " + f.getName() + "..."); File ...
<|file_sep|>ubotpatcher/src/main/java/me/eddiep/minecraft/ubotpatcher/UbotPatcher.java.diff original: import java.io.FileFilter; updated: <|file_sep|>ubotpatcher/src/main/java/me/eddiep/minecraft/ubotpatcher/UbotPatcher.java.diff original: import java.nio.file.CopyOption; updated: <|file_sep|>ubotpatcher/src/main/jav...
558303bfed20087482ea58d87a7e02ec8d86eed7
ubotpatcher/src/main/java/me/eddiep/minecraft/ubotpatcher/UbotPatcher.java
ubotpatcher/src/main/java/me/eddiep/minecraft/ubotpatcher/UbotPatcher.java
Java
<|file_sep|>_build/Elements/Element_118.json.diff original: "Symbol": "Uuo", updated: "Symbol": "Og", <|file_sep|>original/_build/Elements/Element_118.json { "Symbol": "Uuo", "Atomic Number": 118, "Name": "Ununodium", "Mass": null, "Group": 18, "Period": 7, "Classification": "Noble Gas", "Location"...
{ "Symbol": "Og", "Atomic Number": 118, "Name": "Oganesson", "Mass": null, "Group": 18, "Period": 7, "Classification": "Noble Gas", "Location": "p-block", "Electron shell configuration": "", "Electron subshell configuration": "", "Ionisation energy": "", "State at Room Temperature": "Gas", "B...
<|file_sep|>_build/Elements/Element_118.json.diff original: "Symbol": "Uuo", updated: "Symbol": "Og", <|file_sep|>original/_build/Elements/Element_118.json { "Symbol": "Uuo", "Atomic Number": 118, "Name": "Ununodium", "Mass": null, "Group": 18, "Period": 7, "Classification": "Noble Gas", "Location"...
bd9951f2690bfd18164a90ad24f4135445db6d1d
_build/Elements/Element_118.json
_build/Elements/Element_118.json
JSON
<|file_sep|>original/client-common/src/main/java/org/realityforge/replicant/ReplicantClientCommon.gwt.xml <module> <inherits name="arez.Arez"/> <inherits name="arez.component.Component"/> <inherits name="org.realityforge.replicant.ReplicantShared"/> <inherits name="org.realityforge.gwt.webpoller.WebPoller"/> ...
<module> <inherits name="arez.component.Component"/> <inherits name="org.realityforge.replicant.ReplicantShared"/> <inherits name="org.realityforge.gwt.webpoller.WebPoller"/> <source path='client'> <include name='*.java'/> <include name='transport/**/*'/> <include name='runtime/**/*'/> </source> ...
<|file_sep|>original/client-common/src/main/java/org/realityforge/replicant/ReplicantClientCommon.gwt.xml <module> <inherits name="arez.Arez"/> <inherits name="arez.component.Component"/> <inherits name="org.realityforge.replicant.ReplicantShared"/> <inherits name="org.realityforge.gwt.webpoller.WebPoller"/> ...
f92a0f729890d6fc31bee3646bb2e5c04c8e49fa
client-common/src/main/java/org/realityforge/replicant/ReplicantClientCommon.gwt.xml
client-common/src/main/java/org/realityforge/replicant/ReplicantClientCommon.gwt.xml
XML
<|file_sep|>original/usr.bin/kdump/Makefile # @(#)Makefile 8.1 (Berkeley) 6/6/93 # $FreeBSD$ PROG= kdump CFLAGS+=-I${.CURDIR}/../ktrace -I${.CURDIR}/../.. SRCS= kdump.c ioctl.c subr.c .PATH: ${.CURDIR}/../ktrace CLEANFILES+=ioctl.c ioctl.c: sh ${.CURDIR}/mkioctls ${DESTDIR}/usr/include > ioctl.c .include <bsd.prog....
# @(#)Makefile 8.1 (Berkeley) 6/6/93 # $FreeBSD$ PROG= kdump CFLAGS+=-I${.CURDIR}/../ktrace -I${.CURDIR}/../.. SRCS= kdump.c ioctl.c subr.c .PATH: ${.CURDIR}/../ktrace CLEANFILES+=ioctl.c .if make(depend) ioctl.c: .PHONY .else ioctl.c: mkioctls .endif sh ${.CURDIR}/mkioctls ${DESTDIR}/usr/include > ${.TARGET} .incl...
<|file_sep|>original/usr.bin/kdump/Makefile # @(#)Makefile 8.1 (Berkeley) 6/6/93 # $FreeBSD$ PROG= kdump CFLAGS+=-I${.CURDIR}/../ktrace -I${.CURDIR}/../.. SRCS= kdump.c ioctl.c subr.c .PATH: ${.CURDIR}/../ktrace CLEANFILES+=ioctl.c ioctl.c: sh ${.CURDIR}/mkioctls ${DESTDIR}/usr/include > ioctl.c .include <bsd.prog....
dbe9e49ef5dafdbdb71a8dcb769404718b7dc57d
usr.bin/kdump/Makefile
usr.bin/kdump/Makefile
unknown
<|file_sep|>packages/client/src/modules/user/containers/Register.jsx.diff original: } if (history) { updated: } else if (history) { <|file_sep|>packages/client/src/modules/user/containers/Register.jsx.diff original: return history.push('/subscription'); updated: ...
if (register.errors) { return { errors: register.errors }; } else if (history) { if (settings.subscription.enabled) { history.push('/subscription'); } else { history.push('/profile'); } } else if (navigation) { ...
<|file_sep|>packages/client/src/modules/user/containers/Register.jsx.diff original: } if (history) { updated: } else if (history) { <|file_sep|>packages/client/src/modules/user/containers/Register.jsx.diff original: return history.push('/subscription'); updated: ...
cfa1e2e180837f380c4b515d34e106756b9071bd
packages/client/src/modules/user/containers/Register.jsx
packages/client/src/modules/user/containers/Register.jsx
JSX
<|file_sep|>original/plugins-dev/src/main/java/org/runestar/client/plugins/dev/GroundColor.kt <|file_sep|>current/plugins-dev/src/main/java/org/runestar/client/plugins/dev/GroundColor.kt <|file_sep|>updated/plugins-dev/src/main/java/org/runestar/client/plugins/dev/GroundColor.kt
package org.runestar.client.plugins.dev import org.runestar.client.api.forms.RgbForm import org.runestar.client.api.util.DisposablePlugin import org.runestar.client.game.raw.CLIENT import org.runestar.client.game.raw.access.XUnderlayDefinition import org.runestar.client.plugins.spi.PluginSettings import java.awt.Color...
<|file_sep|>original/plugins-dev/src/main/java/org/runestar/client/plugins/dev/GroundColor.kt <|file_sep|>current/plugins-dev/src/main/java/org/runestar/client/plugins/dev/GroundColor.kt <|file_sep|>updated/plugins-dev/src/main/java/org/runestar/client/plugins/dev/GroundColor.kt package org.runestar.client.plugins.de...
1cc8ecc85a3ef5bdd5f4b76fac2f1f1a0e7f80e4
plugins-dev/src/main/java/org/runestar/client/plugins/dev/GroundColor.kt
plugins-dev/src/main/java/org/runestar/client/plugins/dev/GroundColor.kt
Kotlin
<|file_sep|>original/metadata.rb name 'libuuid-user' maintainer 'Chef Software, Inc.' maintainer_email 'cookbooks@chef.io' license 'Apache 2.0' description 'Set a non-login shell for the libuuid user on Ubuntu/Debian and validate that it is correct.' long_description IO.read(File.join(Fi...
name 'libuuid-user' maintainer 'Chef Software, Inc.' maintainer_email 'cookbooks@chef.io' license 'Apache-2.0' description 'Set a non-login shell for the libuuid user on Ubuntu/Debian and validate that it is correct.' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'...
<|file_sep|>original/metadata.rb name 'libuuid-user' maintainer 'Chef Software, Inc.' maintainer_email 'cookbooks@chef.io' license 'Apache 2.0' description 'Set a non-login shell for the libuuid user on Ubuntu/Debian and validate that it is correct.' long_description IO.read(File.join(Fi...
1fb6bb0977b9f6ddb67fa6a40d2e1cf4aede3248
metadata.rb
metadata.rb
Ruby
<|file_sep|>original/packages/ncurses/ncurses-native_5.4.bb <|file_sep|>current/packages/ncurses/ncurses-native_5.4.bb <|file_sep|>updated/packages/ncurses/ncurses-native_5.4.bb
SECTION = "libs" include ncurses_${PV}.bb inherit native EXTRA_OEMAKE = '"BUILD_CCFLAGS=${BUILD_CCFLAGS}"' DEPENDS = "" FILESPATH = "${FILE_DIRNAME}/local:${FILE_DIRNAME}/ncurses-${PV}-${PR}:${FILE_DIRNAME}/ncurses-${PV}:${FILE_DIRNAME}/ncurses:${FILE_DIRNAME}"
<|file_sep|>original/packages/ncurses/ncurses-native_5.4.bb <|file_sep|>current/packages/ncurses/ncurses-native_5.4.bb <|file_sep|>updated/packages/ncurses/ncurses-native_5.4.bb SECTION = "libs" include ncurses_${PV}.bb inherit native EXTRA_OEMAKE = '"BUILD_CCFLAGS=${BUILD_CCFLAGS}"' DEPENDS = "" FILESPATH = "${FILE_...
2dc8e2bce0b0474d5c1a5186b8ee330902d27651
packages/ncurses/ncurses-native_5.4.bb
packages/ncurses/ncurses-native_5.4.bb
BitBake
<|file_sep|>original/requirements.txt PyOpenSSL==19.1.0; python_version <= '2.7' # testing pytest==5.3.5 betamax==0.8.1 coverage<=4.5.99 pytest-cov==2.8.1 coveralls==1.10.0 # documentation Sphinx==2.3.1 nbsphinx==0.5.1 # data science # not needed for local use # jupyter==1.0.0 # matplotlib==3.1.1; python_version >= ...
PyOpenSSL==19.1.0; python_version <= '2.7' # testing pytest==5.3.5 betamax==0.8.1 coverage<=4.5.99 pytest-cov==2.8.1 coveralls==1.10.0 # documentation Sphinx==2.4.1 nbsphinx==0.5.1 # data science # not needed for local use # jupyter==1.0.0 # matplotlib==3.1.1; python_version >= '3.6' # integration tox==3.14.3 # co...
<|file_sep|>original/requirements.txt PyOpenSSL==19.1.0; python_version <= '2.7' # testing pytest==5.3.5 betamax==0.8.1 coverage<=4.5.99 pytest-cov==2.8.1 coveralls==1.10.0 # documentation Sphinx==2.3.1 nbsphinx==0.5.1 # data science # not needed for local use # jupyter==1.0.0 # matplotlib==3.1.1; python_version >= ...
471a52ec4000365f99f32dc7ae90475c6c1854af
requirements.txt
requirements.txt
Text
<|file_sep|>original/README.md 2. [Details for Instructors](#details-for-instructors) --- ## Details for Course Organizers | Slides | Hours | Format | Additional Notes | | ----- |:-----:| -----:| -----:| | [View](http://anything.codes/gdi-es6-javascript) | 6 | Three 2-hour classes | Print cheatsheets for each clas...
2. [Details for Instructors](#details-for-instructors) --- ## Details for Course Organizers | Slides | Hours | Format | Additional Notes | | ----- |:-----:| -----:| -----:| | [View](http://anything.codes/gdi-es6-javascript) | 6 | Three 2-hour classes | Print cheatsheets for each class — PDFs can be found in the [`...
<|file_sep|>original/README.md 2. [Details for Instructors](#details-for-instructors) --- ## Details for Course Organizers | Slides | Hours | Format | Additional Notes | | ----- |:-----:| -----:| -----:| | [View](http://anything.codes/gdi-es6-javascript) | 6 | Three 2-hour classes | Print cheatsheets for each clas...
392bc2252052f7e0a20368cde754b46fd9c3b667
README.md
README.md
Markdown
<|file_sep|>original/test/models/request_geolocator_test.rb class RequestGeolocatorTest < ActionView::TestCase test 'suggests location from ip address' do suggestion = RequestGeolocator.new('74.125.225.224').suggest assert_equal 'Mountain View, California, Estados Unidos', suggestion.fullna...
suggestion.fullname end test 'suggests properly translated locations' do I18n.with_locale(:en) do suggestion = RequestGeolocator.new('74.125.225.224').suggest assert_equal 'Mountain View, California, United States', suggestion.fullname end end test "does not suggests a loc...
<|file_sep|>original/test/models/request_geolocator_test.rb class RequestGeolocatorTest < ActionView::TestCase test 'suggests location from ip address' do suggestion = RequestGeolocator.new('74.125.225.224').suggest assert_equal 'Mountain View, California, Estados Unidos', suggestion.fullna...
4118d74a73cf67578fa8a74d035ab7aa9f0a430f
test/models/request_geolocator_test.rb
test/models/request_geolocator_test.rb
Ruby
<|file_sep|>original/readthedocs/rtd_tests/tests/test_hacks.py from django.test import TestCase from core import hacks class TestHacks(TestCase): fixtures = ['eric.json', 'test_data.json'] def setUp(self): hacks.patch_meta_path() def tearDown(self): hacks.unpatch_meta_path() def test...
from django.test import TestCase from core import hacks class TestHacks(TestCase): fixtures = ['eric.json', 'test_data.json'] def setUp(self): hacks.patch_meta_path() def tearDown(self): hacks.unpatch_meta_path() def test_hack_failed_import(self): import boogy self.as...
<|file_sep|>original/readthedocs/rtd_tests/tests/test_hacks.py from django.test import TestCase from core import hacks class TestHacks(TestCase): fixtures = ['eric.json', 'test_data.json'] def setUp(self): hacks.patch_meta_path() def tearDown(self): hacks.unpatch_meta_path() def test...
f284a1487551850c23d251a1d501e88025261369
readthedocs/rtd_tests/tests/test_hacks.py
readthedocs/rtd_tests/tests/test_hacks.py
Python
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" - "0.12" - "iojs" - "4" - "5" <|file_sep|>current/.travis.yml language: node_js node_js: - "0.10" - "0.12" - "iojs" - "4" - "5" <|file_sep|>updated/.travis.yml
language: node_js node_js: - "0.10" - "0.12" - "iojs" - "4" - "5" - "node"
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" - "0.12" - "iojs" - "4" - "5" <|file_sep|>current/.travis.yml language: node_js node_js: - "0.10" - "0.12" - "iojs" - "4" - "5" <|file_sep|>updated/.travis.yml language: node_js node_js: - "0.10" - "0.12" - "iojs" - "4" -...
99e340815cc2bccab94f78233285c2c950392a10
.travis.yml
.travis.yml
YAML
<|file_sep|>test/CodeGenCXX/linetable-virtual-variadic.cpp.diff original: // CHECK: define void @_ZT{{.+}}N7Derived16VariadicFunctionEz({{.*}} !dbg ![[SP_I:[0-9]+]] // CHECK: ret void, !dbg ![[LOC_I:[0-9]+]] updated: // CHECK-LABEL: define void @_ZT{{.+}}N7Derived16VariadicFunctionEz( // CHECK: ret void, !dbg ![[LOC:[0...
// RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm -debug-info-kind=line-tables-only %s -o - | FileCheck %s // Crasher for PR22929. class Base { virtual void VariadicFunction(...); }; class Derived : public virtual Base { virtual void VariadicFunction(...); }; void Derived::VariadicFunction(...) { } // CH...
<|file_sep|>test/CodeGenCXX/linetable-virtual-variadic.cpp.diff original: // CHECK: define void @_ZT{{.+}}N7Derived16VariadicFunctionEz({{.*}} !dbg ![[SP_I:[0-9]+]] // CHECK: ret void, !dbg ![[LOC_I:[0-9]+]] updated: // CHECK-LABEL: define void @_ZT{{.+}}N7Derived16VariadicFunctionEz( // CHECK: ret void, !dbg ![[LOC:[0...
42751e34f6c7e4fcf1ea6b67b078d1780c046c56
test/CodeGenCXX/linetable-virtual-variadic.cpp
test/CodeGenCXX/linetable-virtual-variadic.cpp
C++
<|file_sep|>original/.eslintrc.json { "env": { "browser": true, "commonjs": true, "es6": true, "jquery": true, "webextensions": true }, "extends": "eslint:recommended", "parserOptions": { "ecmaVersion": 2017 }, "rules": { "comma-dangle": [ ...
{ "env": { "browser": true, "commonjs": true, "es6": true, "jquery": true, "webextensions": true }, "extends": "eslint:recommended", "parserOptions": { "ecmaVersion": 2020 }, "rules": { "comma-dangle": [ "error", { ...
<|file_sep|>original/.eslintrc.json { "env": { "browser": true, "commonjs": true, "es6": true, "jquery": true, "webextensions": true }, "extends": "eslint:recommended", "parserOptions": { "ecmaVersion": 2017 }, "rules": { "comma-dangle": [ ...
e8bf55c227612cf220b54ce513ef23925dc160e0
.eslintrc.json
.eslintrc.json
JSON
<|file_sep|>original/run.sh #!/bin/bash # TODO: Click the I Agree button on YaleGuest source /home/pi/.bashrc ifconfig wlan0 up iwconfig wlan0 essid YaleGuest sleep 10 iwconfig wlan0 essid YaleGuest sleep 10 curl --data "email=YaleGuest@yale.edu&cmd=cmd" http://10.160.252.249/auth/index.html/u sudo airmon-ng start wl...
#!/bin/bash # TODO: Click the I Agree button on YaleGuest source /home/pi/.bashrc ifconfig wlan0 up iwconfig wlan0 essid YaleGuest sleep 10 iwconfig wlan0 essid YaleGuest sleep 10 curl --data "email=YaleGuest@yale.edu&cmd=cmd" http://10.160.252.249/auth/index.html/u sudo airmon-ng start wlan0 sudo tcpdump -e -i mon0 ...
<|file_sep|>original/run.sh #!/bin/bash # TODO: Click the I Agree button on YaleGuest source /home/pi/.bashrc ifconfig wlan0 up iwconfig wlan0 essid YaleGuest sleep 10 iwconfig wlan0 essid YaleGuest sleep 10 curl --data "email=YaleGuest@yale.edu&cmd=cmd" http://10.160.252.249/auth/index.html/u sudo airmon-ng start wl...
06441253292a9013a9e5e0231f7bed90a5a0ea83
run.sh
run.sh
Shell
<|file_sep|>original/setup/setup_tm.sh #!/usr/bin/env bash source ~/dotfiles/setup/header.sh # The path to the cloned Asimov repository export ASIMOV_PATH=~/asimov # Exclude the given directory path from Time Machine exclude_dir() { local dir_path="$1" sudo tmutil addexclusion -p "${dir_path%/}" } # Only back up ...
#!/usr/bin/env bash source ~/dotfiles/setup/header.sh # The path to the cloned Asimov repository export ASIMOV_PATH=~/asimov # Exclude the given directory path from Time Machine exclude_dir() { local dir_path="$1" echo "Excluding $dir_path" sudo tmutil addexclusion -p "${dir_path%/}" } # Only back up /Users for ...
<|file_sep|>original/setup/setup_tm.sh #!/usr/bin/env bash source ~/dotfiles/setup/header.sh # The path to the cloned Asimov repository export ASIMOV_PATH=~/asimov # Exclude the given directory path from Time Machine exclude_dir() { local dir_path="$1" sudo tmutil addexclusion -p "${dir_path%/}" } # Only back up ...
6eddd8b9c383120f735c30e8428977d0d2ab7076
setup/setup_tm.sh
setup/setup_tm.sh
Shell
<|file_sep|>packages/wi/witherable.yaml.diff original: hash: e678ea8e7b097ef219b908eb35c6e96b2082fb8a270313478adccf0bc5a952ea updated: hash: c10939269a1d74d08de9f443893f395a6ffec698f65ffe3a7cc28e12df4114c9 <|file_sep|>packages/wi/witherable.yaml.diff original: updated: - '0.2' <|file_sep|>original/packages/wi/witherab...
vector: -any all-versions: - '0.0' - '0.1' - '0.1.1' - '0.1.1.1' - '0.1.2' - '0.1.2.1' - '0.1.2.2' - '0.1.2.3' - '0.1.3' - '0.1.3.2' - '0.1.3.3' - '0.1.3.4' - '0.2' author: Fumiaki Kinoshita latest: '0.2' description-type: haddock description: A stronger variant of `traverse` which can remove elements and generalised...
<|file_sep|>packages/wi/witherable.yaml.diff original: hash: e678ea8e7b097ef219b908eb35c6e96b2082fb8a270313478adccf0bc5a952ea updated: hash: c10939269a1d74d08de9f443893f395a6ffec698f65ffe3a7cc28e12df4114c9 <|file_sep|>packages/wi/witherable.yaml.diff original: updated: - '0.2' <|file_sep|>original/packages/wi/witherab...
1b69d9059a44e10cbfd650e350f8974fe77f9174
packages/wi/witherable.yaml
packages/wi/witherable.yaml
YAML
<|file_sep|>original/about-me.html Hi there, I'm Michael Hudson, and I'm a software developer currently based out of Newcastle, Australia. I write software for a living, and like to think I'm getting better at it all the time. My current goal is to learn how to manage small software teams in order to build ...
Hi there, I'm Michael Hudson, and I'm a software developer currently based out of Newcastle, Australia. I write software for a living, and like to think I'm getting better at it all the time. My current goal is to learn how to manage small software teams in order to build something that I wouldn't be ca...
<|file_sep|>original/about-me.html Hi there, I'm Michael Hudson, and I'm a software developer currently based out of Newcastle, Australia. I write software for a living, and like to think I'm getting better at it all the time. My current goal is to learn how to manage small software teams in order to build ...
4b48f4914d031e1b4e3cabef41032be198a21527
about-me.html
about-me.html
HTML
<|file_sep|>original/lib/tidbits.rb require_relative 'core_extend/lib/core_extend' require_relative 'git/lib/git' require_relative 'options/lib/options' require_relative 'rush/lib/rush' require_relative 'susu/lib/susu' <|file_sep|>current/lib/tidbits.rb require_relative 'core_extend/lib/core_extend' require_relative 'g...
# TidBits is a library of snippets. # Sometimes users my not want to check out all snippets (git submodules), so here # load everything that does exist, but don't barf if some files don't. # module TidBits [ { name: 'CoreExtend', file: 'core_extend/lib/core_extend' } \ , { name: 'Git' , file: 'git/lib/git' ...
<|file_sep|>original/lib/tidbits.rb require_relative 'core_extend/lib/core_extend' require_relative 'git/lib/git' require_relative 'options/lib/options' require_relative 'rush/lib/rush' require_relative 'susu/lib/susu' <|file_sep|>current/lib/tidbits.rb require_relative 'core_extend/lib/core_extend' require_relative 'g...
46b144fed345aaa7ee8df03dd2fe4544bfbacbc3
lib/tidbits.rb
lib/tidbits.rb
Ruby
<|file_sep|>original/src/test/groovy/ee/tuleva/onboarding/fund/FundRepositorySpec.groovy <|file_sep|>current/src/test/groovy/ee/tuleva/onboarding/fund/FundRepositorySpec.groovy <|file_sep|>updated/src/test/groovy/ee/tuleva/onboarding/fund/FundRepositorySpec.groovy
package ee.tuleva.onboarding.fund import ee.tuleva.onboarding.fund.manager.FundManager import org.springframework.beans.factory.annotation.Autowired import org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTest import org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager import spock.lang.Spec...
<|file_sep|>original/src/test/groovy/ee/tuleva/onboarding/fund/FundRepositorySpec.groovy <|file_sep|>current/src/test/groovy/ee/tuleva/onboarding/fund/FundRepositorySpec.groovy <|file_sep|>updated/src/test/groovy/ee/tuleva/onboarding/fund/FundRepositorySpec.groovy package ee.tuleva.onboarding.fund import ee.tuleva.o...
31561c7da21d508c7ba7b7aa600488d52c3a7c33
src/test/groovy/ee/tuleva/onboarding/fund/FundRepositorySpec.groovy
src/test/groovy/ee/tuleva/onboarding/fund/FundRepositorySpec.groovy
Groovy
<|file_sep|>TrailsKit.podspec.diff original: s.name = 'TrailsKit' s.version = '0.3.0' s.summary = 'Tools for representing and displaying geographical data for parks and trails.' s.homepage = 'https://github.com/mmertsock/TrailsKit' s.author = 'mmertsock' updated: s.name = "TrailsKit" s.version = "0.3.0" ...
Pod::Spec.new do |s| s.name = "TrailsKit" s.version = "0.3.0" s.summary = "Tools for representing and displaying geographical data for parks and trails." s.homepage = "https://github.com/mmertsock/TrailsKit" s.author = "mmertsock" s.requires_arc = true s.ios.deployment_target = "7.0" s.source_file...
<|file_sep|>TrailsKit.podspec.diff original: s.name = 'TrailsKit' s.version = '0.3.0' s.summary = 'Tools for representing and displaying geographical data for parks and trails.' s.homepage = 'https://github.com/mmertsock/TrailsKit' s.author = 'mmertsock' updated: s.name = "TrailsKit" s.version = "0.3.0" ...
20d45dd0eb10fe40e0ef9a3bfcd22960c3d1b4cf
TrailsKit.podspec
TrailsKit.podspec
Ruby
<|file_sep|>original/gulpfile.js var gulp = require('gulp'), jsdoc = require('gulp-jsdoc'), ghPages = require('gulp-gh-pages'), docsSrcDir = './assets/js/**/*.js', docsDestDir = './docs/js', jsDocTask; jsDocTask = function() { return gulp.src(docsSrcDir) .pipe( jsdoc(docsDestDir, ...
var gulp = require('gulp'), jsdoc = require('gulp-jsdoc'), ghPages = require('gulp-gh-pages'), docsSrcDir = './assets/js/**/*.js', docsDestDir = './docs/js', jsDocTask; jsDocTask = function() { return gulp.src([docsSrcDir, './README.md']) .pipe( jsdoc(docsDestDir, { pa...
<|file_sep|>original/gulpfile.js var gulp = require('gulp'), jsdoc = require('gulp-jsdoc'), ghPages = require('gulp-gh-pages'), docsSrcDir = './assets/js/**/*.js', docsDestDir = './docs/js', jsDocTask; jsDocTask = function() { return gulp.src(docsSrcDir) .pipe( jsdoc(docsDestDir, ...
d41a53734f7577d1f64af7eceae523599a662669
gulpfile.js
gulpfile.js
JavaScript
<|file_sep|>original/src/index.js // Allow doc to be passed in as the lone first param if (cb && typeof cb !== 'function') { doc = cb; cb = null; } // Use global document if we don't have one doc = doc || window.document; // Handle DOM load const done = () => resolve(cb && setTimeout(cb)); // Resolve now...
// Allow doc to be passed in as the lone first param if (cb && typeof cb !== 'function') { doc = cb; cb = null; } // Use global document if we don't have one doc = doc || window.document; // Handle DOM load const done = () => resolve(void (cb && setTimeout(cb))); // Resolve now if DOM has already loaded ...
<|file_sep|>original/src/index.js // Allow doc to be passed in as the lone first param if (cb && typeof cb !== 'function') { doc = cb; cb = null; } // Use global document if we don't have one doc = doc || window.document; // Handle DOM load const done = () => resolve(cb && setTimeout(cb)); // Resolve now...
6b9b737e40004cbe10acff77f7b08c4576e88568
src/index.js
src/index.js
JavaScript
<|file_sep|>original/_includes/nav.html </button> <a class="navbar-brand" href="{{ site.baseurl }}/">{{ site.title }}</a> </div> <!-- Collect the nav links, forms, and other content for toggling --> <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">...
</button> <a class="navbar-brand" href="{{ site.baseurl }}/">{{ site.title }}</a> </div> <!-- Collect the nav links, forms, and other content for toggling --> <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> <ul class="nav navbar-nav n...
<|file_sep|>original/_includes/nav.html </button> <a class="navbar-brand" href="{{ site.baseurl }}/">{{ site.title }}</a> </div> <!-- Collect the nav links, forms, and other content for toggling --> <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">...
0aba16ef29e331ef4918b31c85ac7e51aaa5ad96
_includes/nav.html
_includes/nav.html
HTML
<|file_sep|>app/themes/base/buttons.js.diff original: '&:hover,&:active,&:focus': { updated: '&:hover,&:active': { <|file_sep|>original/app/themes/base/buttons.js '&:disabled': { backgroundColor: colors.lightestGrey, borderColor: colors.lightestGrey, color: colors.text.primaryDisabled, ...
'&:disabled': { backgroundColor: colors.lightestGrey, borderColor: colors.lightestGrey, color: colors.text.primaryDisabled, }, }, secondary: { bg: colors.white, color: colors.text.primary, border: borders.input, '&:hover,&:active': { color: colors.white, backgro...
<|file_sep|>app/themes/base/buttons.js.diff original: '&:hover,&:active,&:focus': { updated: '&:hover,&:active': { <|file_sep|>original/app/themes/base/buttons.js '&:disabled': { backgroundColor: colors.lightestGrey, borderColor: colors.lightestGrey, color: colors.text.primaryDisabled, ...
e505a3c3b61043202f9286bd882798988070a97c
app/themes/base/buttons.js
app/themes/base/buttons.js
JavaScript
<|file_sep|>original/griddedspectra.py <|file_sep|>current/griddedspectra.py <|file_sep|>updated/griddedspectra.py
# -*- coding: utf-8 -*- """Class to create spectra spaced on a regular grid through the box""" import numpy as np import hdfsim import spectra class GriddedSpectra(spectra.Spectra): """Generate metal line spectra from simulation snapshot. Default parameters are BOSS DR9""" def __init__(self,num, base, nspec=2...
<|file_sep|>original/griddedspectra.py <|file_sep|>current/griddedspectra.py <|file_sep|>updated/griddedspectra.py # -*- coding: utf-8 -*- """Class to create spectra spaced on a regular grid through the box""" import numpy as np import hdfsim import spectra class GriddedSpectra(spectra.Spectra): """Generate met...
03f1f9558b717cd2d6b08db609eb8bd706ad641e
griddedspectra.py
griddedspectra.py
Python
<|file_sep|>original/lib/rad_core/engine.rb require 'statsd' module RadCore class Engine < ::Rails::Engine initializer :append_migrations do |app| unless app.root.to_s.match root.to_s config.paths['db/migrate'].expanded.each do |expanded_path| app.config.paths['db/migrate'] << expanded_pa...
require 'statsd' module RadCore class Engine < ::Rails::Engine config.autoload_paths << root.join('lib') initializer :append_migrations do |app| unless app.root.to_s.match root.to_s config.paths['db/migrate'].expanded.each do |expanded_path| app.config.paths['db/migrate'] << expanded...
<|file_sep|>original/lib/rad_core/engine.rb require 'statsd' module RadCore class Engine < ::Rails::Engine initializer :append_migrations do |app| unless app.root.to_s.match root.to_s config.paths['db/migrate'].expanded.each do |expanded_path| app.config.paths['db/migrate'] << expanded_pa...
51bfd05428346e1b6177855d8521b20759fcc14b
lib/rad_core/engine.rb
lib/rad_core/engine.rb
Ruby
<|file_sep|>src/views/preview/meta.jsx.diff original: updated: href={`https://scratch.mit.edu/projects/${id}`} <|file_sep|>original/src/views/preview/meta.jsx <meta content={`Scratch - ${title}`} property="og:title" /> <meta ...
<meta content={`Scratch - ${title}`} property="og:title" /> <meta content={truncatedInstructions} property="og:description" /> <link href={`https://scratch.mit.edu/projects/${id}`}...
<|file_sep|>src/views/preview/meta.jsx.diff original: updated: href={`https://scratch.mit.edu/projects/${id}`} <|file_sep|>original/src/views/preview/meta.jsx <meta content={`Scratch - ${title}`} property="og:title" /> <meta ...
bbbe0f8836ecd89b5c6f791f3c122a37b3d3cdef
src/views/preview/meta.jsx
src/views/preview/meta.jsx
JSX
<|file_sep|>original/casing.gemspec # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'casing' s.version = '0.1.1' s.summary = 'Convert the case of strings, symbols, and hash keys, including camelCase, PascalCase, and underscore_case' s.description = ' ' s.authors = ['Obsidian Software, Inc'] ...
# -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'casing' s.version = '0.1.2' s.summary = 'Convert the case of strings, symbols, and hash keys, including camelCase, PascalCase, and underscore_case' s.description = ' ' s.authors = ['Obsidian Software, Inc'] s.email = 'opensource@obsidianexch...
<|file_sep|>original/casing.gemspec # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'casing' s.version = '0.1.1' s.summary = 'Convert the case of strings, symbols, and hash keys, including camelCase, PascalCase, and underscore_case' s.description = ' ' s.authors = ['Obsidian Software, Inc'] ...
a2e72dccfcac4f2ffeb9f103244bbd1c342c182e
casing.gemspec
casing.gemspec
Ruby
<|file_sep|>original/spec/integration/package.json { "name": "test-package", "private": true, "version": "1.0.0", "description": "A bare-bones package used as a fixture during integration testing", "author": "smhxx <captaintrek@gmail.com>", "main": "index.ts", "dependencies": { "@types/atom": "1.24.3"...
{ "name": "test-package", "private": true, "version": "1.0.0", "description": "A bare-bones package used as a fixture during integration testing", "author": "smhxx <captaintrek@gmail.com>", "main": "index.ts", "dependencies": { "@types/atom": "1.24.4", "atom-ts-transpiler": "file:../..", "type...
<|file_sep|>original/spec/integration/package.json { "name": "test-package", "private": true, "version": "1.0.0", "description": "A bare-bones package used as a fixture during integration testing", "author": "smhxx <captaintrek@gmail.com>", "main": "index.ts", "dependencies": { "@types/atom": "1.24.3"...
361228e96fd9d663b39eb1091f4d970ce5315b10
spec/integration/package.json
spec/integration/package.json
JSON
<|file_sep|>original/app/views/catalog/_facet_pagination.html.erb <|file_sep|>current/app/views/catalog/_facet_pagination.html.erb <|file_sep|>updated/app/views/catalog/_facet_pagination.html.erb
<div class="prev_next_links btn-group pull-left"> <%= link_to_previous_page @pagination, raw(t('views.pagination.previous')), params: search_state.to_h, param_name: blacklight_config.facet_paginator_class.request_keys[:page], class: 'btn btn-link', data: { ajax_modal: "preserve" } do %> <%= content_tag :span, raw...
<|file_sep|>original/app/views/catalog/_facet_pagination.html.erb <|file_sep|>current/app/views/catalog/_facet_pagination.html.erb <|file_sep|>updated/app/views/catalog/_facet_pagination.html.erb <div class="prev_next_links btn-group pull-left"> <%= link_to_previous_page @pagination, raw(t('views.pagination.previou...
dfd22add0aba69e364b56a2a90273249b8036894
app/views/catalog/_facet_pagination.html.erb
app/views/catalog/_facet_pagination.html.erb
HTML+ERB
<|file_sep|>original/environment.yml - r-ggplot2 - r-htmlwidgets - r-pbmcapply - r-ggseqlogo - r-svglite # required for ggplot2 - r-rlang - r-lazyeval # needed to install rmimp from source: - r-rocr - r-data.table - r-mclust - bioconductor-s4vectors - bioconductor-genomicranges - bioconduc...
- r-htmlwidgets - r-pbmcapply - r-ggseqlogo - r-svglite # required for ggplot2 - r-rlang - r-lazyeval # needed to install rmimp from source: - r-rocr - r-data.table - r-mclust - bioconductor-s4vectors - bioconductor-genomicranges - bioconductor-biostrings - bioconductor-biocgenerics - pi...
<|file_sep|>original/environment.yml - r-ggplot2 - r-htmlwidgets - r-pbmcapply - r-ggseqlogo - r-svglite # required for ggplot2 - r-rlang - r-lazyeval # needed to install rmimp from source: - r-rocr - r-data.table - r-mclust - bioconductor-s4vectors - bioconductor-genomicranges - bioconduc...
b53ee801cf49bb9aad2991fd7e37ab5e0648e5d0
environment.yml
environment.yml
YAML
<|file_sep|>src/parse-response.js.diff original: console.warn('Error while parsing JSON', err); updated: throw new Error('Error while parsing JSON', err); <|file_sep|>original/src/parse-response.js text = response.text; } try { const parsedResponse = JSON.parse(text); if ( parsedResponse...
text = response.text; } try { const parsedResponse = JSON.parse(text); if ( parsedResponse && parsedResponse.data && (parsedResponse.data instanceof Object === true) ) { return parsedResponse.data; } } catch (err) { throw new Error('Error while parsing JSON', err)...
<|file_sep|>src/parse-response.js.diff original: console.warn('Error while parsing JSON', err); updated: throw new Error('Error while parsing JSON', err); <|file_sep|>original/src/parse-response.js text = response.text; } try { const parsedResponse = JSON.parse(text); if ( parsedResponse...
a0f082064e1d54e8cc7fc2c061aaa6f96b8a6d6c
src/parse-response.js
src/parse-response.js
JavaScript
<|file_sep|>original/golden/k8s-instances/flutter-engine/flutter-engine-periodictasks.json5 { cl_comment_template: "Gold has detected about {{.NumNewDigests}} new digest(s) on patchset {{.PatchsetOrder}}.\n\ View them at {{.InstanceURL}}/cl/{{.CRS}}/{{.ChangelistID}}", changelist_diff_period: "5m", comment_on_cls...
{ cl_comment_template: "Gold has detected about {{.NumNewDigests}} new digest(s) on patchset {{.PatchsetOrder}}.\n\ View them at {{.InstanceURL}}/cl/{{.CRS}}/{{.ChangelistID}}", changelist_diff_period: "5m", comment_on_cls_period: "0", primary_branch_diff_period: "5m", update_traces_ignore_period: "1m", pro...
<|file_sep|>original/golden/k8s-instances/flutter-engine/flutter-engine-periodictasks.json5 { cl_comment_template: "Gold has detected about {{.NumNewDigests}} new digest(s) on patchset {{.PatchsetOrder}}.\n\ View them at {{.InstanceURL}}/cl/{{.CRS}}/{{.ChangelistID}}", changelist_diff_period: "5m", comment_on_cls...
3292b2b519418b6f53e973558f3507f82aa15bbe
golden/k8s-instances/flutter-engine/flutter-engine-periodictasks.json5
golden/k8s-instances/flutter-engine/flutter-engine-periodictasks.json5
JSON5
<|file_sep|>original/Instanssi/admin_upload/models.py class UploadedFile(models.Model): event = models.ForeignKey(Event, verbose_name=u'Tapahtuma') user = models.ForeignKey(User, verbose_name=u'Käyttäjä') description = models.TextField(u'Kuvaus', help_text=u'Lyhyt kuvaus siitä, mihin/missä tiedostoa käytetä...
def __unicode__(self): return self.file.name + ' by ' + self.user.username class Meta: verbose_name=u"tiedosto" verbose_name_plural=u"tiedostot" def name(self): return os.path.basename(self.file.name) def save(self, *args, **kwargs): # ...
<|file_sep|>original/Instanssi/admin_upload/models.py class UploadedFile(models.Model): event = models.ForeignKey(Event, verbose_name=u'Tapahtuma') user = models.ForeignKey(User, verbose_name=u'Käyttäjä') description = models.TextField(u'Kuvaus', help_text=u'Lyhyt kuvaus siitä, mihin/missä tiedostoa käytetä...
8ea1ee477a8f9f31e2fcb5fb92a02243723c822e
Instanssi/admin_upload/models.py
Instanssi/admin_upload/models.py
Python
<|file_sep|>original/indra/tests/test_tas.py from nose.plugins.attrib import attr from indra.sources.tas import process_from_web @attr('slow') def test_processor(): tp = process_from_web(affinity_class_limit=10) assert tp assert tp.statements num_stmts = len(tp.statements) # This is the total numb...
from nose.plugins.attrib import attr from indra.sources.tas import process_from_web @attr('slow') def test_processor(): tp = process_from_web(affinity_class_limit=10) assert tp assert tp.statements num_stmts = len(tp.statements) # This is the total number of statements about human genes assert...
<|file_sep|>original/indra/tests/test_tas.py from nose.plugins.attrib import attr from indra.sources.tas import process_from_web @attr('slow') def test_processor(): tp = process_from_web(affinity_class_limit=10) assert tp assert tp.statements num_stmts = len(tp.statements) # This is the total numb...
20a801255ab505641e1ec0d449a4b36411c673bc
indra/tests/test_tas.py
indra/tests/test_tas.py
Python
<|file_sep|>app/webpack.config.js.diff original: updated: require('dotenv').config() var webpack = require('webpack') <|file_sep|>original/app/webpack.config.js module.exports = { entry: "./app/App.jsx", output: { filename: "public/bundle.js" }, module: { loaders: [ { test: /\.jsx?$/, exclude: /nod...
require('dotenv').config() var webpack = require('webpack') module.exports = { plugins: [ new webpack.DefinePlugin({ 'process.env': { 'GOOGLE_MAPS_API_KEY': JSON.stringify(process.env.GOOGLE_MAPS_API_KEY) } }) ], entry: "./app/App.jsx", output: { filename: "public/bundle.js" }, module: { loader...
<|file_sep|>app/webpack.config.js.diff original: updated: require('dotenv').config() var webpack = require('webpack') <|file_sep|>original/app/webpack.config.js module.exports = { entry: "./app/App.jsx", output: { filename: "public/bundle.js" }, module: { loaders: [ { test: /\.jsx?$/, exclude: /nod...
487352b2044291e6f88abed30fc23cf161305d99
app/webpack.config.js
app/webpack.config.js
JavaScript
<|file_sep|>original/README.md # PopIt API The API specific part of the [PopIt](http://popit.mysociety.org/) project. Provides read and write access to the data and manages where it is stored. Will be [Popolo](http://popoloproject.com/) compliant. Can be used as a standalone server, or embedded in a [Express](http://...
# PopIt API [![Build Status](https://travis-ci.org/mysociety/popit-api.png?branch=master)](https://travis-ci.org/mysociety/popit-api) The API specific part of the [PopIt](http://popit.mysociety.org/) project. Provides read and write access to the data and manages where it is stored. Will be [Popolo](http://popoloproj...
<|file_sep|>original/README.md # PopIt API The API specific part of the [PopIt](http://popit.mysociety.org/) project. Provides read and write access to the data and manages where it is stored. Will be [Popolo](http://popoloproject.com/) compliant. Can be used as a standalone server, or embedded in a [Express](http://...
aaa6eb124d3593a2b243516c30cadd3aef76f6f2
README.md
README.md
Markdown
<|file_sep|>original/composer.json "license": "MIT", "authors": [ { "name": "Justin Hileman", "email": "justin@justinhileman.info", "homepage": "http://justinhileman.com" } ], "require": { "php": ">=5.3.0", "symfony/console": "~2.3.10",...
"license": "MIT", "authors": [ { "name": "Justin Hileman", "email": "justin@justinhileman.info", "homepage": "http://justinhileman.com" } ], "require": { "php": ">=5.3.0", "symfony/console": "~2.3, >=2.3.10", "nikic/php-parser":...
<|file_sep|>original/composer.json "license": "MIT", "authors": [ { "name": "Justin Hileman", "email": "justin@justinhileman.info", "homepage": "http://justinhileman.com" } ], "require": { "php": ">=5.3.0", "symfony/console": "~2.3.10",...
cf228e2ffb3febf679b96b41d729efea34e6a1c3
composer.json
composer.json
JSON
<|file_sep|>original/docs/development/release_guide.rst * Update ``RELEASE_NOTES.rst`` * Update ``docs/credits.rst`` to include new contributors * Edit ``plasmapy/_metadata.py`` to remove ``.dev`` from ``version`` * Update ``astropy_helpers`` to the most recent release * Create a new branch for the release that is...
* Update ``RELEASE_NOTES.rst`` * Update ``docs/credits.rst`` to include new contributors * Edit ``plasmapy/_metadata.py`` to remove ``.dev`` from ``version`` * Update ``astropy_helpers`` to the most recent release * Create a new branch for the release that is separate from the master branch * Merge (via fast-f...
<|file_sep|>original/docs/development/release_guide.rst * Update ``RELEASE_NOTES.rst`` * Update ``docs/credits.rst`` to include new contributors * Edit ``plasmapy/_metadata.py`` to remove ``.dev`` from ``version`` * Update ``astropy_helpers`` to the most recent release * Create a new branch for the release that is...
c3fb02c9f3a8985fc57d3ac5fdbc641cc406c56d
docs/development/release_guide.rst
docs/development/release_guide.rst
reStructuredText
<|file_sep|>original/test-projects/multi-page-test-project/gulpfile.js { path: '/subpage', title: 'Test Subpage Title', description: 'Test subpage description', twitterImage: '100euro.png', openGraphImage: '50euro.png', schemaImage: '20euro.png' } ]; var opts = { paths: ['node_modules/lu...
title: 'Test Subpage Title', description: 'Test subpage description', twitterImage: '100euro.png', openGraphImage: '50euro.png', schemaImage: '20euro.png' } ]; var opts = { paths: ['node_modules/lucify-commons', 'test_modules/module1'], publishFromFolder: 'dist', assetContext: 'test-path/'...
<|file_sep|>original/test-projects/multi-page-test-project/gulpfile.js { path: '/subpage', title: 'Test Subpage Title', description: 'Test subpage description', twitterImage: '100euro.png', openGraphImage: '50euro.png', schemaImage: '20euro.png' } ]; var opts = { paths: ['node_modules/lu...
03ccc7c6cbb66df07580b772acc6a746d73993cd
test-projects/multi-page-test-project/gulpfile.js
test-projects/multi-page-test-project/gulpfile.js
JavaScript
<|file_sep|>examples/portfolio.js.diff original: params.prods = ["IBM", "YHOO", "MSFT"]; updated: params.prods = ["IBM", "GOOGL", "MSFT"]; <|file_sep|>original/examples/portfolio.js params.referenceDate = "Sat Aug 06 2011 12:00:00"; params.targetReturn = undefined; params.lows = [0, 0, 0]; params.highs = [-1, -1, -1]; ...
params.referenceDate = "Sat Aug 06 2011 12:00:00"; params.targetReturn = undefined; params.lows = [0, 0, 0]; params.highs = [-1, -1, -1]; finance.portfolio.getOptimalPortfolio(params, function (err, res) { var i; if (!err) { console.log("Portfolio assets are the following: " + params.prods); f...
<|file_sep|>examples/portfolio.js.diff original: params.prods = ["IBM", "YHOO", "MSFT"]; updated: params.prods = ["IBM", "GOOGL", "MSFT"]; <|file_sep|>original/examples/portfolio.js params.referenceDate = "Sat Aug 06 2011 12:00:00"; params.targetReturn = undefined; params.lows = [0, 0, 0]; params.highs = [-1, -1, -1]; ...
7bcd750a80f0b2ef2a189a500229f4f4fdd43911
examples/portfolio.js
examples/portfolio.js
JavaScript
<|file_sep|>original/lib/dandelionapi/base.rb class Request protected def call(endpoint, params) begin params = params.merge( :token => Dandelionapi.config.token ) conn = Faraday.new(url: Dandelionapi.config.endpoint) do |faraday| faraday....
class Request protected def call(endpoint, params) begin params = params.merge( :token => Dandelionapi.config.token ) params.each{ |k,v| params[k] = v.join(",") if v.kind_of?(Array) } conn = Faraday.new(url: Dandelionap...
<|file_sep|>original/lib/dandelionapi/base.rb class Request protected def call(endpoint, params) begin params = params.merge( :token => Dandelionapi.config.token ) conn = Faraday.new(url: Dandelionapi.config.endpoint) do |faraday| faraday....
fbd9911f82cf7a67691b9fd5bd98e14acebb5639
lib/dandelionapi/base.rb
lib/dandelionapi/base.rb
Ruby
<|file_sep|>.travis.yml.diff original: - build-tools-28.0.2 updated: - build-tools-28.0.3 <|file_sep|>.travis.yml.diff original: - master updated: - develop <|file_sep|>original/.travis.yml # The SDK version used to compile your project - android-28 licenses: - android-sdk-license-.+ branches: ...
# The BuildTools version used by your project - build-tools-28.0.3 # The SDK version used to compile your project - android-28 licenses: - android-sdk-license-.+ branches: only: - develop cache: directories: - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/ script: - ./scripts/chec...
<|file_sep|>.travis.yml.diff original: - build-tools-28.0.2 updated: - build-tools-28.0.3 <|file_sep|>.travis.yml.diff original: - master updated: - develop <|file_sep|>original/.travis.yml # The SDK version used to compile your project - android-28 licenses: - android-sdk-license-.+ branches: ...
5e0e573a5372cc164a14febfac0043b34aeee6fd
.travis.yml
.travis.yml
YAML
<|file_sep|>original/Src/PegSharp/External/BlockChain.cs return this.blocks.Last(); } } public bool Add(BlockData block) { if ((this.blocks.Count == 0 && block.Number == 0) || (this.blocks.Count > 0 && this.BestBlock.Hash.Equals(block.ParentHash))) ...
return this.blocks.Last(); } } public bool Add(BlockData block) { if ((this.blocks.Count == 0 && block.Number == 0) || (this.blocks.Count > 0 && this.BestBlock.Hash.Equals(block.ParentHash))) { this.blocks.Add(block); ...
<|file_sep|>original/Src/PegSharp/External/BlockChain.cs return this.blocks.Last(); } } public bool Add(BlockData block) { if ((this.blocks.Count == 0 && block.Number == 0) || (this.blocks.Count > 0 && this.BestBlock.Hash.Equals(block.ParentHash))) ...
eff88a66d1fab0189627cf758e4db321adf850bf
Src/PegSharp/External/BlockChain.cs
Src/PegSharp/External/BlockChain.cs
C#
<|file_sep|>db/migrate/20180204115304_add_restricted_users_to_tasks.rb.diff original: revert AddRestrictedUserToTasks updated: <|file_sep|>original/db/migrate/20180204115304_add_restricted_users_to_tasks.rb require_relative '20180107172830_add_restricted_user_to_tasks' class AddRestrictedUsersToTasks < ActiveRec...
require_relative '20180107172830_add_restricted_user_to_tasks' class AddRestrictedUsersToTasks < ActiveRecord::Migration def up create_table :restrictions do |t| t.belongs_to :user, index: true t.belongs_to :task, index: true end Task.all.each do |task| if !task.restricted_user_id.nil?...
<|file_sep|>db/migrate/20180204115304_add_restricted_users_to_tasks.rb.diff original: revert AddRestrictedUserToTasks updated: <|file_sep|>original/db/migrate/20180204115304_add_restricted_users_to_tasks.rb require_relative '20180107172830_add_restricted_user_to_tasks' class AddRestrictedUsersToTasks < ActiveRec...
3527d9e73f3cc90171627b95323442386c5acd6a
db/migrate/20180204115304_add_restricted_users_to_tasks.rb
db/migrate/20180204115304_add_restricted_users_to_tasks.rb
Ruby
<|file_sep|>original/elm-package.json { "version": "1.0.0", "summary": "iOS-style calculator", "repository": "https://github.com/lydell/elm-calculator.git", "license": "MIT", "source-directories": [ "elm" ], "exposed-modules": [], "dependencies": { "eeue56/elm-flat-matrix...
{ "version": "1.0.0", "summary": "The classic game MineSweeper made with Elm.", "repository": "https://github.com/lydell/elm-minesweeper.git", "license": "MIT", "source-directories": [ "elm" ], "exposed-modules": [], "dependencies": { "eeue56/elm-flat-matrix": "3.0.2 <= v...
<|file_sep|>original/elm-package.json { "version": "1.0.0", "summary": "iOS-style calculator", "repository": "https://github.com/lydell/elm-calculator.git", "license": "MIT", "source-directories": [ "elm" ], "exposed-modules": [], "dependencies": { "eeue56/elm-flat-matrix...
58f46edcebf50275dca2e4253e7c56d59e2e3af1
elm-package.json
elm-package.json
JSON
<|file_sep|>original/mapbox_vector_tile/__init__.py from . import encoder from . import decoder def decode(tile, y_coord_down=False): vector_tile = decoder.TileData() message = vector_tile.getMessage(tile, y_coord_down) return message def encode(layers, quantize_bounds=None, y_coord_down=False, extents=...
from . import encoder from . import decoder # Enable Shapely "speedups" if available # http://toblerity.org/shapely/manual.html#performance from shapely import speedups if speedups.available: speedups.enable() def decode(tile, y_coord_down=False): vector_tile = decoder.TileData() message = vector_tile.g...
<|file_sep|>original/mapbox_vector_tile/__init__.py from . import encoder from . import decoder def decode(tile, y_coord_down=False): vector_tile = decoder.TileData() message = vector_tile.getMessage(tile, y_coord_down) return message def encode(layers, quantize_bounds=None, y_coord_down=False, extents=...
b3391187cb87ae33d4b8dd6e55f5edfdb695ea53
mapbox_vector_tile/__init__.py
mapbox_vector_tile/__init__.py
Python
<|file_sep|>original/cookbooks/ad-auth/templates/default/lsassd.reg.erb [HKEY_THIS_MACHINE\Services\lsass\Parameters] "SpaceReplacement"="-" [HKEY_THIS_MACHINE\Services\lsass\Parameters\Providers\ActiveDirectory] "HomeDirTemplate"="%H/%D/%U" "SpaceReplacement"="-" "AssumeDefaultDomain"=dword:00000001 "NssGroupMembersQ...
[HKEY_THIS_MACHINE\Services\lsass\Parameters] "SpaceReplacement"="-" [HKEY_THIS_MACHINE\Services\lsass\Parameters\Providers\ActiveDirectory] "HomeDirTemplate"="%H/%D/%U" "SpaceReplacement"="-" "AssumeDefaultDomain"=dword:00000001 "NssGroupMembersQueryCacheOnly"=dword:00000001 "RequireMembershipOf"=sza:"<%= @ad_members...
<|file_sep|>original/cookbooks/ad-auth/templates/default/lsassd.reg.erb [HKEY_THIS_MACHINE\Services\lsass\Parameters] "SpaceReplacement"="-" [HKEY_THIS_MACHINE\Services\lsass\Parameters\Providers\ActiveDirectory] "HomeDirTemplate"="%H/%D/%U" "SpaceReplacement"="-" "AssumeDefaultDomain"=dword:00000001 "NssGroupMembersQ...
c24675d90bf2fe05b1637dbf4dbae06786777d7d
cookbooks/ad-auth/templates/default/lsassd.reg.erb
cookbooks/ad-auth/templates/default/lsassd.reg.erb
HTML+ERB
<|file_sep|>api/src/main/java/org/runestar/client/api/LafInstallation.kt.diff original: import org.runestar.general.fonts.RUNESCAPE_CHAT_BOLD_FONT updated: <|file_sep|>api/src/main/java/org/runestar/client/api/LafInstallation.kt.diff original: val boldFont = FontUIResource(RUNESCAPE_CHAT_BOLD_FONT) updated: <...
import javax.swing.JPopupMenu import javax.swing.UIManager import javax.swing.plaf.FontUIResource internal object LafInstallation : Runnable { override fun run() { val chatFont = FontUIResource(RUNESCAPE_CHAT_FONT) UIManager.put("Label.font", chatFont) UIManager.put("Button.font", chatFon...
<|file_sep|>api/src/main/java/org/runestar/client/api/LafInstallation.kt.diff original: import org.runestar.general.fonts.RUNESCAPE_CHAT_BOLD_FONT updated: <|file_sep|>api/src/main/java/org/runestar/client/api/LafInstallation.kt.diff original: val boldFont = FontUIResource(RUNESCAPE_CHAT_BOLD_FONT) updated: <...
e4f8f684083d69ad6346328e6d020da139a07218
api/src/main/java/org/runestar/client/api/LafInstallation.kt
api/src/main/java/org/runestar/client/api/LafInstallation.kt
Kotlin
<|file_sep|>original/Modules/IO/DCMTK/src/CMakeLists.txt set(ITKIODCMTK_SRC itkDCMTKImageIO.cxx itkDCMTKFileReader.cxx itkDCMTKImageIOFactory.cxx itkDCMTKSeriesFileNames.cxx ) add_library(ITKIODCMTK ${ITK_LIBRARY_BUILD_TYPE} ${ITKIODCMTK_SRC}) link_module_libraries() target_link_libraries(ITKIODCMTK LINK_PUBL...
set(ITKIODCMTK_SRC itkDCMTKImageIO.cxx itkDCMTKFileReader.cxx itkDCMTKImageIOFactory.cxx itkDCMTKSeriesFileNames.cxx ) add_library(ITKIODCMTK ${ITK_LIBRARY_BUILD_TYPE} ${ITKIODCMTK_SRC}) itk_module_link_dependencies() target_link_libraries(ITKIODCMTK LINK_PUBLIC ${ITKImageIntensity_LIBRARIES}) if(DEFINED DCM...
<|file_sep|>original/Modules/IO/DCMTK/src/CMakeLists.txt set(ITKIODCMTK_SRC itkDCMTKImageIO.cxx itkDCMTKFileReader.cxx itkDCMTKImageIOFactory.cxx itkDCMTKSeriesFileNames.cxx ) add_library(ITKIODCMTK ${ITK_LIBRARY_BUILD_TYPE} ${ITKIODCMTK_SRC}) link_module_libraries() target_link_libraries(ITKIODCMTK LINK_PUBL...
b52f7e7b5bc1e535a0ca31fce7177b6a2b963244
Modules/IO/DCMTK/src/CMakeLists.txt
Modules/IO/DCMTK/src/CMakeLists.txt
Text
<|file_sep|>blog/templates/news-section.html.diff original: <time datetime="{{ page.date | date(format="%Y-%m-%d") }}" class="post-date"> updated: <time datetime="{{ page.date | date(format="%Y-%m-%d") }}" class="post-date" style="margin-bottom: 0.5rem;"> <|file_sep|>original/blog/templates/news...
<h1>{{ section.title }}</h1> {% block introduction %}{% endblock introduction %} <div class="posts neutral"> {% for page in section.pages %} <div> <h2 class="post-title"><a href="/{{ page.path | safe }}">{{ page.title }}</a></h2> <time datetime="{{ page.date | date(format="%Y-%m-%...
<|file_sep|>blog/templates/news-section.html.diff original: <time datetime="{{ page.date | date(format="%Y-%m-%d") }}" class="post-date"> updated: <time datetime="{{ page.date | date(format="%Y-%m-%d") }}" class="post-date" style="margin-bottom: 0.5rem;"> <|file_sep|>original/blog/templates/news...
4f557713ead00608b453f2a1ecccaa388013c47f
blog/templates/news-section.html
blog/templates/news-section.html
HTML
<|file_sep|>original/less/deck/draftboard-card.less background-size: @grid-size @grid-size; background-position: top top; background-image: linear-gradient(to right, #eee 1px, transparent 1px), linear-gradient(to bottom, #eee 1px, transparent 1px); } .sd-board-inset-shadow { position: f...
background-size: @grid-size @grid-size; background-position: top top; background-image: linear-gradient(to right, #eee 1px, transparent 1px), linear-gradient(to bottom, #eee 1px, transparent 1px); } .sd-board-inset-shadow { position: fixed; width: 100%; height: 100%; z-index...
<|file_sep|>original/less/deck/draftboard-card.less background-size: @grid-size @grid-size; background-position: top top; background-image: linear-gradient(to right, #eee 1px, transparent 1px), linear-gradient(to bottom, #eee 1px, transparent 1px); } .sd-board-inset-shadow { position: f...
8cb0c3e304a31848cddceb7a997f44ba13663d3c
less/deck/draftboard-card.less
less/deck/draftboard-card.less
Less
<|file_sep|>original/lib/stripe/bitcoin_receiver.rb module Stripe class BitcoinReceiver < APIResource extend Stripe::APIOperations::Create include Stripe::APIOperations::Update include Stripe::APIOperations::Delete extend Stripe::APIOperations::List def self.url "/v1/bitcoin/receivers" ...
module Stripe class BitcoinReceiver < APIResource extend Stripe::APIOperations::Create include Stripe::APIOperations::Update include Stripe::APIOperations::Delete extend Stripe::APIOperations::List def self.url "/v1/bitcoin/receivers" end def url if respond_to?(:customer) && ...
<|file_sep|>original/lib/stripe/bitcoin_receiver.rb module Stripe class BitcoinReceiver < APIResource extend Stripe::APIOperations::Create include Stripe::APIOperations::Update include Stripe::APIOperations::Delete extend Stripe::APIOperations::List def self.url "/v1/bitcoin/receivers" ...
c259547dd7fed6077eb374c3ed9488fcf526c284
lib/stripe/bitcoin_receiver.rb
lib/stripe/bitcoin_receiver.rb
Ruby
<|file_sep|>original/kettle-plugins/kafka/src/main/java/org/pentaho/big/data/kettle/plugins/recordsfromstream/RecordsFromStreamMeta.java * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY ...
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License....
<|file_sep|>original/kettle-plugins/kafka/src/main/java/org/pentaho/big/data/kettle/plugins/recordsfromstream/RecordsFromStreamMeta.java * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY ...
0950dcd6cb3d373504f2e53f86998401a2a5d39b
kettle-plugins/kafka/src/main/java/org/pentaho/big/data/kettle/plugins/recordsfromstream/RecordsFromStreamMeta.java
kettle-plugins/kafka/src/main/java/org/pentaho/big/data/kettle/plugins/recordsfromstream/RecordsFromStreamMeta.java
Java
<|file_sep|>jenkins/jobs/deb-build-pkg.yaml.diff original: timeout: 120 updated: timeout: 90 <|file_sep|>original/jenkins/jobs/deb-build-pkg.yaml publishers: - console-log - job-template: name: '{name}-dpkg-{node}' node: '{node}' wrappers: - build-timeout: ti...
publishers: - console-log - job-template: name: '{name}-dpkg-{node}' node: '{node}' wrappers: - build-timeout: timeout: 90 - timestamps builders: - gerrit-git-prep - pkgos-infra-build-pkg publishers: - deb-pkgs: project: '{name}' - c...
<|file_sep|>jenkins/jobs/deb-build-pkg.yaml.diff original: timeout: 120 updated: timeout: 90 <|file_sep|>original/jenkins/jobs/deb-build-pkg.yaml publishers: - console-log - job-template: name: '{name}-dpkg-{node}' node: '{node}' wrappers: - build-timeout: ti...
ab6fd866d79f3d15f307af299d05fd09acea79a7
jenkins/jobs/deb-build-pkg.yaml
jenkins/jobs/deb-build-pkg.yaml
YAML
<|file_sep|>original/meta-oe/recipes-connectivity/libuv/libuv_1.27.0.bb SUMMARY = "A multi-platform support library with a focus on asynchronous I/O" HOMEPAGE = "https://github.com/libuv/libuv" BUGTRACKER = "https://github.com/libuv/libuv/issues" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=a68902a430e3220026...
SUMMARY = "A multi-platform support library with a focus on asynchronous I/O" HOMEPAGE = "https://github.com/libuv/libuv" BUGTRACKER = "https://github.com/libuv/libuv/issues" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=a68902a430e32200263d182d44924d47" SRCREV = "a4fc9a66cc35256dbc4dcd67c910174f05b6daa6" SRC...
<|file_sep|>original/meta-oe/recipes-connectivity/libuv/libuv_1.27.0.bb SUMMARY = "A multi-platform support library with a focus on asynchronous I/O" HOMEPAGE = "https://github.com/libuv/libuv" BUGTRACKER = "https://github.com/libuv/libuv/issues" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=a68902a430e3220026...
732190ce46c984b9db418e5b323f52d10b6cb78c
meta-oe/recipes-connectivity/libuv/libuv_1.27.0.bb
meta-oe/recipes-connectivity/libuv/libuv_1.27.0.bb
BitBake
<|file_sep|>original/reru.gemspec Gem::Specification.new do |spec| spec.name = "reru" spec.version = Reru::VERSION spec.authors = ["Andrey Subbotin"] spec.email = ["andrey@subbotin.me"] spec.description = %q{A gem to easily do the Functional Reactive Programming voodoo.} spec...
Gem::Specification.new do |spec| spec.name = "reru" spec.version = Reru::VERSION spec.authors = ["Andrey Subbotin"] spec.email = ["andrey@subbotin.me"] spec.description = %q{A gem to easily do the Functional Reactive Programming voodoo.} spec.summary = %q{A gem to easily...
<|file_sep|>original/reru.gemspec Gem::Specification.new do |spec| spec.name = "reru" spec.version = Reru::VERSION spec.authors = ["Andrey Subbotin"] spec.email = ["andrey@subbotin.me"] spec.description = %q{A gem to easily do the Functional Reactive Programming voodoo.} spec...
e4b21048722b3673051420f713feffb7c7dcc71b
reru.gemspec
reru.gemspec
Ruby
<|file_sep|>Scripts/script-ExtractDomainFromUrlFormat.yml.diff original: updated: def extract_domain(the_input): is_email = validate_email(the_input) if is_email: domain = re.search('@[\w.]+', the_input) if len(domain.group()) > 0: return(domain.group()[1:]) else: ...
# Otherwise assumes it's an array for item in the_input: domains.append(extract_domain(item)) demisto.results(domains) type: python tags: - indicator-format comment: Extract Domain from a URL or Email enabled: true args: - name: input required: true default: true description: The URL(s) or Email(s) to...
<|file_sep|>Scripts/script-ExtractDomainFromUrlFormat.yml.diff original: updated: def extract_domain(the_input): is_email = validate_email(the_input) if is_email: domain = re.search('@[\w.]+', the_input) if len(domain.group()) > 0: return(domain.group()[1:]) else: ...
e1561d68510aa921e0bfb0365c451e248e1cf9d5
Scripts/script-ExtractDomainFromUrlFormat.yml
Scripts/script-ExtractDomainFromUrlFormat.yml
YAML
<|file_sep|>original/t/nqp/64-native.t <|file_sep|>current/t/nqp/64-native.t <|file_sep|>updated/t/nqp/64-native.t
plan(4); { my int $x; ok(~$x eq '0', 'native int initialized to 0'); $x := 42; ok($x == 42, 'can set native int'); sub foo() { my $y := 58; ok($x == 42, 'can access native ints from nested scopes'); ok($x + $y == 100, 'can add native ints to each other'); } ...
<|file_sep|>original/t/nqp/64-native.t <|file_sep|>current/t/nqp/64-native.t <|file_sep|>updated/t/nqp/64-native.t plan(4); { my int $x; ok(~$x eq '0', 'native int initialized to 0'); $x := 42; ok($x == 42, 'can set native int'); sub foo() { my $y := 58; ok($x == 42, 'ca...
e417703242badff83a30c69e558fb2d82a78d329
t/nqp/64-native.t
t/nqp/64-native.t
Perl
<|file_sep|>original/queries/immigration-health-surcharge/browsers.json { "data-set": { "data-group": "immigration-health-surcharge", "data-type": "browser-usage" }, "entrypoint": "performanceplatform.collector.ga", "options": {}, "query": { "dimensions": [ "browser", "browserVersion",...
{ "data-set": { "data-group": "immigration-health-surcharge", "data-type": "browser-usage" }, "entrypoint": "performanceplatform.collector.ga", "options": {}, "query": { "dimensions": [ "browser", "browserVersion" ], "id": "ga:100268363", "metrics": [ "visitors" ]...
<|file_sep|>original/queries/immigration-health-surcharge/browsers.json { "data-set": { "data-group": "immigration-health-surcharge", "data-type": "browser-usage" }, "entrypoint": "performanceplatform.collector.ga", "options": {}, "query": { "dimensions": [ "browser", "browserVersion",...
1bc6f7021da703bc0ef75352803cda2c0b4faf2e
queries/immigration-health-surcharge/browsers.json
queries/immigration-health-surcharge/browsers.json
JSON
<|file_sep|>original/packages/no/nowdoc.yaml <|file_sep|>current/packages/no/nowdoc.yaml <|file_sep|>updated/packages/no/nowdoc.yaml
homepage: https://github.com/YoshikuniJujo/nowdoc#readme changelog-type: markdown hash: b38f69b32ff16222a5deac87da8622c0ce0bda129dfaa213b106a35713a193ab test-bench-deps: base: ! '>=4.7 && <5' nowdoc: -any template-haskell: -any maintainer: PAF01143@nifty.ne.jp synopsis: Here document without variable expansion li...
<|file_sep|>original/packages/no/nowdoc.yaml <|file_sep|>current/packages/no/nowdoc.yaml <|file_sep|>updated/packages/no/nowdoc.yaml homepage: https://github.com/YoshikuniJujo/nowdoc#readme changelog-type: markdown hash: b38f69b32ff16222a5deac87da8622c0ce0bda129dfaa213b106a35713a193ab test-bench-deps: base: ! '>=4....
167a3c1c04fa395071d889bfd3d7fa7bf523ad44
packages/no/nowdoc.yaml
packages/no/nowdoc.yaml
YAML
<|file_sep|>original/attributes/berkshelf.rb default.base.berkshelf_version = '2.0.14' default.base.berkshelf_solve_version = '0.8.2' <|file_sep|>current/attributes/berkshelf.rb default.base.berkshelf_version = '2.0.14' default.base.berkshelf_solve_version = '0.8.2' <|file_sep|>updated/attributes/berkshelf.rb
default.base.berkshelf_version = '2.0.16' default.base.berkshelf_solve_version = '0.8.2'
<|file_sep|>original/attributes/berkshelf.rb default.base.berkshelf_version = '2.0.14' default.base.berkshelf_solve_version = '0.8.2' <|file_sep|>current/attributes/berkshelf.rb default.base.berkshelf_version = '2.0.14' default.base.berkshelf_solve_version = '0.8.2' <|file_sep|>updated/attributes/berkshelf.rb default.b...
d290f5f22bd3c07765faa8b0436e1c4955773326
attributes/berkshelf.rb
attributes/berkshelf.rb
Ruby
<|file_sep|>original/vim/README.md # Dotfiles for Vim **Plugins are managed via [Vundle][vundle]**. That means depedencies can be installed and updated interactively. After installing a dependency you have to tell [Vundle][vundle] about it next time Vim starts up. I do this via my [00-vundle.vim][vundleconf] file. W...
# Dotfiles for Vim **Plugins are managed via [Vundle][vundle]**. That means dependencies can be installed and updated interactively. After installing a dependency you have to tell [Vundle][vundle] about it next time Vim starts up. I do this via my [00-vundle.vim][vundleconf] file. With a plugin added to [Vundle][vun...
<|file_sep|>original/vim/README.md # Dotfiles for Vim **Plugins are managed via [Vundle][vundle]**. That means depedencies can be installed and updated interactively. After installing a dependency you have to tell [Vundle][vundle] about it next time Vim starts up. I do this via my [00-vundle.vim][vundleconf] file. W...
9a8b96e7b12209d75d60409be1c7e0c006420757
vim/README.md
vim/README.md
Markdown
<|file_sep|>original/lib/database_flusher/active_record/adapters/mysql2_adapter.rb super flags = raw_connection.query_options[:flags] unless flags.include?('MULTI_STATEMENTS'.freeze) raise 'MULTI_STATEMENTS flag is not enabled' end end private def execute_mu...
class Mysql2Adapter < AbstractAdapter def initialize(connection) super flags = raw_connection.query_options[:flags] unless flags.include?('MULTI_STATEMENTS'.freeze) raise 'MULTI_STATEMENTS flag is not enabled' end end private def execute_multi(sql)...
<|file_sep|>original/lib/database_flusher/active_record/adapters/mysql2_adapter.rb super flags = raw_connection.query_options[:flags] unless flags.include?('MULTI_STATEMENTS'.freeze) raise 'MULTI_STATEMENTS flag is not enabled' end end private def execute_mu...
222403939af23bae2d48df30ebe3dbed05a6f904
lib/database_flusher/active_record/adapters/mysql2_adapter.rb
lib/database_flusher/active_record/adapters/mysql2_adapter.rb
Ruby