prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>original/appveyor.yml test: off install: - ps: ./Setup.ps1 build_script: - ps: ./Build.ps1 for: - matrix: only: - image: Ubuntu install: - sh setup.sh build_script: - sh build.sh artifacts: - path: artifacts/Serilog.*.nupkg - path: artifacts/Serilog.*.snupkg deploy: - provider: NuGet a...
test: off install: - ps: ./Setup.ps1 build_script: - ps: ./Build.ps1 for: - matrix: only: - image: Ubuntu # install: # - sh setup.sh build_script: - sh build.sh artifacts: - path: artifacts/Serilog.*.nupkg - path: artifacts/Serilog.*.snupkg deploy: - provider: NuGet api_key: secure: N59tiJECUYpi...
<|file_sep|>original/appveyor.yml test: off install: - ps: ./Setup.ps1 build_script: - ps: ./Build.ps1 for: - matrix: only: - image: Ubuntu install: - sh setup.sh build_script: - sh build.sh artifacts: - path: artifacts/Serilog.*.nupkg - path: artifacts/Serilog.*.snupkg deploy: - provider: NuGet a...
6100384a9decfb29e0f23540c1531007881b36fb
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/.travis.yml language: python sudo: required dist: trusty python: - "2.7" - "3.3" - "3.4" - "3.5" - "3.5-dev" - "nightly" before_install: - sudo apt-get -qq update - sudo apt-get install -y clang-format-3.5 install: - pip install coveralls script: - coverage run -m py.test ./test...
language: python sudo: required dist: trusty python: - "3.4" - "3.5" - "3.5-dev" - "nightly" before_install: - sudo apt-get -qq update - sudo apt-get install -y clang-format-3.5 install: - pip install coveralls script: - coverage run -m py.test ./tests/ after_success: - coveralls
<|file_sep|>original/.travis.yml language: python sudo: required dist: trusty python: - "2.7" - "3.3" - "3.4" - "3.5" - "3.5-dev" - "nightly" before_install: - sudo apt-get -qq update - sudo apt-get install -y clang-format-3.5 install: - pip install coveralls script: - coverage run -m py.test ./test...
f882a6d99ba478b64791fd8413f641c34d3608a7
.travis.yml
.travis.yml
YAML
<|file_sep|>README.md.diff original: ## Download updated: ## Install <|file_sep|>original/README.md # SoupBinTCP SoupBinTCP implements NASDAQ SoupBinTCP 3.00 client and server on Node. ## Download Download SoupBinTCP: ``` npm install soupbintcp ``` ## License Copyright 2017 Jussi Virtanen. Released under the Apa...
# SoupBinTCP SoupBinTCP implements NASDAQ SoupBinTCP 3.00 client and server on Node. ## Install Install SoupBinTCP: ``` npm install soupbintcp ``` ## License Copyright 2017 Jussi Virtanen. Released under the Apache License, Version 2.0. See `LICENSE.txt` for details.
<|file_sep|>README.md.diff original: ## Download updated: ## Install <|file_sep|>original/README.md # SoupBinTCP SoupBinTCP implements NASDAQ SoupBinTCP 3.00 client and server on Node. ## Download Download SoupBinTCP: ``` npm install soupbintcp ``` ## License Copyright 2017 Jussi Virtanen. Released under the Apa...
a69dffaf9fbca0cea49cb390096dcc5127ce16bd
README.md
README.md
Markdown
<|file_sep|>src/helpers.js.diff original: export function explode(actions$){ updated: export function explode(action$){ <|file_sep|>original/src/helpers.js export function explode(actions$){ let exploded = {}; // Values in action$ look like { type: TOGGLE_ACTION, payload: {} } for (let actionType of act...
export function explode(action$){ let exploded = {}; // Values in action$ look like { type: TOGGLE_ACTION, payload: {} } for (let actionType of action$.actionTypes) { let streamName = _snakeToCamel(actionType.toLowerCase()) + '$'; exploded[streamName] = action$.filter(({ type...
<|file_sep|>src/helpers.js.diff original: export function explode(actions$){ updated: export function explode(action$){ <|file_sep|>original/src/helpers.js export function explode(actions$){ let exploded = {}; // Values in action$ look like { type: TOGGLE_ACTION, payload: {} } for (let actionType of act...
d8a882094fe73fb71ec3fb42ae1a8aed72f2f8e2
src/helpers.js
src/helpers.js
JavaScript
<|file_sep|>original/srv/init.js /** * @module ogs.srv */ /** Define ogs.srv namespace */ var srvModule = ogs.namespace("srv"); <|file_sep|>current/srv/init.js /** * @module ogs.srv */ /** Define ogs.srv namespace */ var srvModule = ogs.namespace("srv"); <|file_sep|>updated/srv/init.js
/** * @module ogs.srv */ /*jslint devel: true, forin: true, newcap: true, plusplus: true, white: true, indent: 2*/ /*global ogs*/ /** Define ogs.srv namespace */ var srvModule = ogs.namespace("srv");
<|file_sep|>original/srv/init.js /** * @module ogs.srv */ /** Define ogs.srv namespace */ var srvModule = ogs.namespace("srv"); <|file_sep|>current/srv/init.js /** * @module ogs.srv */ /** Define ogs.srv namespace */ var srvModule = ogs.namespace("srv"); <|file_sep|>updated/srv/init.js /** * @module ogs.srv */ ...
079ff312ffa5574ae42d0d643cc2187a9e392fa2
srv/init.js
srv/init.js
JavaScript
<|file_sep|>original/setup.py "html5" ], extras_require={ "dev": [ "pdbpp", "twine", "tox", ], "test": [ "check-manifest", "codecov>=1.4.0", "freezegun", "pycodestyle", "pydocstyle", ...
"html5" ], extras_require={ "dev": [ "pdbpp", "twine", "tox", ], "test": [ "check-manifest", "freezegun", "pycodestyle", "pydocstyle", "pylint", "pytest", "pyte...
<|file_sep|>original/setup.py "html5" ], extras_require={ "dev": [ "pdbpp", "twine", "tox", ], "test": [ "check-manifest", "codecov>=1.4.0", "freezegun", "pycodestyle", "pydocstyle", ...
21febe61699787a0a47bd0ee2ba5e58727d75c17
setup.py
setup.py
Python
<|file_sep|>original/README.md # OpenSRS ## Usage Looking up statuses of domains ```python >>> from opensrs import OpenSRS >>> client = OpenSRS(host, port, username, private_key, default_timeout) >>> client.suggest_domains('foo', ['.COM', '.ORG', '.NET', '.INFO'], 4)) { 'lookup': [ {'status': 'taken', 'do...
# OpenSRS [![Build Status](https://travis-ci.org/yola/opensrs.svg?branch=master)](https://travis-ci.org/yola/opensrs) ## Usage Looking up statuses of domains ```python >>> from opensrs import OpenSRS >>> client = OpenSRS(host, port, username, private_key, default_timeout) >>> client.suggest_domains('foo', ['.COM', '...
<|file_sep|>original/README.md # OpenSRS ## Usage Looking up statuses of domains ```python >>> from opensrs import OpenSRS >>> client = OpenSRS(host, port, username, private_key, default_timeout) >>> client.suggest_domains('foo', ['.COM', '.ORG', '.NET', '.INFO'], 4)) { 'lookup': [ {'status': 'taken', 'do...
de3db9012e0e098fc10c539eaea394c39e3df60f
README.md
README.md
Markdown
<|file_sep|>original/.travis.yml --- language: "node_js" node_js: - "0.10" - "0.11" - "0.12" - "4" - "5" - "6" - "node" script: - "npm test" - "npm run lint" sudo: false <|file_sep|>current/.travis.yml --- language: "node_js" node_js: - "0.10" - "0.11" - "0.12" - "4" - "5" - "6" - "node" script: - "npm test" - "npm run...
--- language: "node_js" node_js: - "0.10" - "0.11" - "0.12" - "4" - "5" - "6" - "7" - "node" script: - "npm test" - "npm run lint" sudo: false
<|file_sep|>original/.travis.yml --- language: "node_js" node_js: - "0.10" - "0.11" - "0.12" - "4" - "5" - "6" - "node" script: - "npm test" - "npm run lint" sudo: false <|file_sep|>current/.travis.yml --- language: "node_js" node_js: - "0.10" - "0.11" - "0.12" - "4" - "5" - "6" - "node" script: - "npm test" - "npm run...
932d07874d65256965a20b2034930fc8d2af7c18
.travis.yml
.travis.yml
YAML
<|file_sep|>hub/imports/QtMediaHub/components/media/QMHExternalBackend.qml.diff original: updated: import QtMediaHub.components 1.0 <|file_sep|>hub/imports/QtMediaHub/components/media/QMHExternalBackend.qml.diff original: updated: id: root <|file_sep|>hub/imports/QtMediaHub/components/media/QMHExternalBackend.qml...
onPausedChanged: //Why are these discrete functions again girish? if (paused) runtime.mediaPlayer.pause() else runtime.mediaPlayer.resume() //Having a hard time deciding what to maintain //As (setable) property and what to keep as function function play()...
<|file_sep|>hub/imports/QtMediaHub/components/media/QMHExternalBackend.qml.diff original: updated: import QtMediaHub.components 1.0 <|file_sep|>hub/imports/QtMediaHub/components/media/QMHExternalBackend.qml.diff original: updated: id: root <|file_sep|>hub/imports/QtMediaHub/components/media/QMHExternalBackend.qml...
8152bbc27a5aa916bdd315819d03d74912930bde
hub/imports/QtMediaHub/components/media/QMHExternalBackend.qml
hub/imports/QtMediaHub/components/media/QMHExternalBackend.qml
QML
<|file_sep|>original/app/views/activities/_list.html.haml %table.table.table-striped.activities.collection %thead %tr - [:date, :person, :project, :duration].each do |attr| %th= t_attr(attr, Activity) %tbody = render collection = render 'sidebar' <|file_sep|>current/app/views/activities/_list...
%table.table.table-striped.activities.collection %thead %tr - [:date, :person, :project, :duration].each do |attr| %th= t_attr(attr, Activity) %tbody = render collection = render 'activities/sidebar'
<|file_sep|>original/app/views/activities/_list.html.haml %table.table.table-striped.activities.collection %thead %tr - [:date, :person, :project, :duration].each do |attr| %th= t_attr(attr, Activity) %tbody = render collection = render 'sidebar' <|file_sep|>current/app/views/activities/_list...
afa99b7f01df22a3c6c91b32057437af737e062e
app/views/activities/_list.html.haml
app/views/activities/_list.html.haml
Haml
<|file_sep|>test/crossgen.Tests/project.json.diff original: "xunit.netcore.extensions": "1.0.0-prerelease-00206", "dotnet-test-xunit": "1.0.0-dev-140469-38" updated: "dotnet-test-xunit": "1.0.0-rc2-173361-36" <|file_sep|>original/test/crossgen.Tests/project.json }, "Microsoft.DotNet.Tools.Te...
"version": "1.0.0-rc2-*" }, "Microsoft.DotNet.Tools.Tests.Utilities": { "target": "project" }, "Microsoft.DotNet.Cli.Utils": { "target": "project" }, "xunit": "2.1.0", "dotnet-test-xunit": "1.0.0-rc2-173361-36" }, "frameworks": { "netcoreapp1.0": { "import...
<|file_sep|>test/crossgen.Tests/project.json.diff original: "xunit.netcore.extensions": "1.0.0-prerelease-00206", "dotnet-test-xunit": "1.0.0-dev-140469-38" updated: "dotnet-test-xunit": "1.0.0-rc2-173361-36" <|file_sep|>original/test/crossgen.Tests/project.json }, "Microsoft.DotNet.Tools.Te...
51b20e89d2261ae67999fc54a35f4bec34223feb
test/crossgen.Tests/project.json
test/crossgen.Tests/project.json
JSON
<|file_sep|>original/u2fval/__init__.py # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above # copyright notice, this list of conditions and the following # ...
# 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above # copyright notice, this list of conditions and the following # disclaimer in the documentation and/or ...
<|file_sep|>original/u2fval/__init__.py # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above # copyright notice, this list of conditions and the following # ...
a48b7bc7606d85705d8798f7823adb032df6dc0d
u2fval/__init__.py
u2fval/__init__.py
Python
<|file_sep|>.travis.yml.diff original: updated: - ruby-head <|file_sep|>original/.travis.yml rvm: - 1.8.7 - 1.9.2 - ree - jruby - rubinius notifications: recipients: - weppos@weppos.net <|file_sep|>current/.travis.yml rvm: - 1.8.7 - 1.9.2 - ruby-head - ree - jruby - rubinius notifications...
rvm: - 1.8.7 - 1.9.2 - ruby-head - ree - jruby notifications: recipients: - weppos@weppos.net
<|file_sep|>.travis.yml.diff original: updated: - ruby-head <|file_sep|>original/.travis.yml rvm: - 1.8.7 - 1.9.2 - ree - jruby - rubinius notifications: recipients: - weppos@weppos.net <|file_sep|>current/.travis.yml rvm: - 1.8.7 - 1.9.2 - ruby-head - ree - jruby - rubinius notifications...
954cf7bea6002e6586161f2c7738d1f5c4e28152
.travis.yml
.travis.yml
YAML
<|file_sep|>original/Tests/TestTimer.php public static function getLongRunningTests($amount) { arsort(Timer::$log); return array_slice(Timer::$log, 0, $amount); } public function endTest(\PHPUnit_Framework_Test $test, $length) { self::$log[get_class($test) . '::' . $test->g...
{ arsort(Timer::$log); return array_slice(Timer::$log, 0, $amount); } public function endTest(\PHPUnit_Framework_Test $test, $length) { self::$log[get_class($test) . '::' . $test->getName()] = $length; } public function startTest(\PHPUnit_Framework_Test $test) {} p...
<|file_sep|>original/Tests/TestTimer.php public static function getLongRunningTests($amount) { arsort(Timer::$log); return array_slice(Timer::$log, 0, $amount); } public function endTest(\PHPUnit_Framework_Test $test, $length) { self::$log[get_class($test) . '::' . $test->g...
a307f29a3e079d3f1af2cec06419f74edad2560e
Tests/TestTimer.php
Tests/TestTimer.php
PHP
<|file_sep|>minionmsg.go.diff original: updated: // // Defines all the tools to handle the MINIONMSG messages coming from the // minions. // // TODO: We need to reject unauthenticated messages (wrong user id). // <|file_sep|>minionmsg.go.diff original: reMinionMsg = regexp.MustCompile(`^MINIONMSG (.*)`) updated: reM...
} func NewMinionMsg(line string) *MinionMsg { tokens := reMinionMsg.FindStringSubmatch(line) if tokens == nil { return nil } msg := &MinionMsg{ Name: tokens[1], Body: tokens[2], } tokens = strings.Split(msg.Body, " ") msg.Command = tokens[0] if len(tokens) > 1 { msg.Args = append(msg.Args, tokens[1:]...
<|file_sep|>minionmsg.go.diff original: updated: // // Defines all the tools to handle the MINIONMSG messages coming from the // minions. // // TODO: We need to reject unauthenticated messages (wrong user id). // <|file_sep|>minionmsg.go.diff original: reMinionMsg = regexp.MustCompile(`^MINIONMSG (.*)`) updated: reM...
f0d17c4283b4252b6d5cac6b8e0275f538a6765e
minionmsg.go
minionmsg.go
Go
<|file_sep|>original/297_serialize_and_deserialize_binary_tree.cc <|file_sep|>current/297_serialize_and_deserialize_binary_tree.cc <|file_sep|>updated/297_serialize_and_deserialize_binary_tree.cc
// https://leetcode.com/problems/serialize-and-deserialize-binary-tree/ // Use level order or preorder traversal to serialize since these two methods // saves parents before childs. It would be convenient to deserialize. /** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode ...
<|file_sep|>original/297_serialize_and_deserialize_binary_tree.cc <|file_sep|>current/297_serialize_and_deserialize_binary_tree.cc <|file_sep|>updated/297_serialize_and_deserialize_binary_tree.cc // https://leetcode.com/problems/serialize-and-deserialize-binary-tree/ // Use level order or preorder traversal to seria...
318bb50037be0c48588f1e26d9f844496ec1c3ad
297_serialize_and_deserialize_binary_tree.cc
297_serialize_and_deserialize_binary_tree.cc
C++
<|file_sep|>original/include/private/chromium/GrSlug.h /* * Copyright 2021 Google LLC * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef GrSlug_DEFINED #define GrSlug_DEFINED #include "include/private/chromium/Slug.h" // TODO: Update Chrome to use ...
/* * Copyright 2021 Google LLC * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef GrSlug_DEFINED #define GrSlug_DEFINED #include "include/private/chromium/Slug.h" // TODO: Update Chrome to use sktext::gpu classes and remove these using GrSlug = skt...
<|file_sep|>original/include/private/chromium/GrSlug.h /* * Copyright 2021 Google LLC * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef GrSlug_DEFINED #define GrSlug_DEFINED #include "include/private/chromium/Slug.h" // TODO: Update Chrome to use ...
4c26a927a6e0c1669a18d999a3a6dd7897c21f8c
include/private/chromium/GrSlug.h
include/private/chromium/GrSlug.h
C
<|file_sep|>original/src/test/java/info/u_team/u_team_test/init/TestSounds.java package info.u_team.u_team_test.init; import info.u_team.u_team_core.util.registry.CommonDeferredRegister; import info.u_team.u_team_test.TestMod; import net.minecraft.util.*; import net.minecraftforge.eventbus.api.IEventBus; import net.mi...
package info.u_team.u_team_test.init; import info.u_team.u_team_core.util.registry.CommonDeferredRegister; import info.u_team.u_team_test.TestMod; import net.minecraft.util.SoundEvent; import net.minecraftforge.eventbus.api.IEventBus; import net.minecraftforge.fml.RegistryObject; import net.minecraftforge.registries.F...
<|file_sep|>original/src/test/java/info/u_team/u_team_test/init/TestSounds.java package info.u_team.u_team_test.init; import info.u_team.u_team_core.util.registry.CommonDeferredRegister; import info.u_team.u_team_test.TestMod; import net.minecraft.util.*; import net.minecraftforge.eventbus.api.IEventBus; import net.mi...
5ac931c8b8e105e88d39b58ae5c49b9bfcf4c13f
src/test/java/info/u_team/u_team_test/init/TestSounds.java
src/test/java/info/u_team/u_team_test/init/TestSounds.java
Java
<|file_sep|>original/test/CMakeLists.txt # Static library for test cases. include_directories(../src) set(LIBNAME "testlib") add_library( ${LIBNAME} SHARED Test.h Test.cpp ../src/Util.h ../src/Util.cpp ../src/Face.h ../src/Face.cpp ../src/FaceDetector.h ../src/FaceDetector.cpp ../res.qrc <|f...
# Static library for test cases. include_directories(../src) set(LIBNAME "testlib") add_library( ${LIBNAME} STATIC Test.h Test.cpp ../src/Util.h ../src/Util.cpp ../src/Face.h ../src/Face.cpp ../src/FaceDetector.h ../src/FaceDetector.cpp ../res.qrc
<|file_sep|>original/test/CMakeLists.txt # Static library for test cases. include_directories(../src) set(LIBNAME "testlib") add_library( ${LIBNAME} SHARED Test.h Test.cpp ../src/Util.h ../src/Util.cpp ../src/Face.h ../src/Face.cpp ../src/FaceDetector.h ../src/FaceDetector.cpp ../res.qrc <|f...
3feb3de5f41823be7369ed2517b0ece66003b02e
test/CMakeLists.txt
test/CMakeLists.txt
Text
<|file_sep|>original/models/List_Region.js var keystone = require('keystone'), Types = keystone.Field.Types; // Create model. Additional options allow menu name to be used what auto-generating URLs var Region = new keystone.List('Region', { autokey: { path: 'key', from: 'Region', unique: true }, map: { name: 'regio...
var keystone = require('keystone'), Types = keystone.Field.Types; // Create model. Additional options allow menu name to be used what auto-generating URLs var Region = new keystone.List('Region', { autokey: { path: 'key', from: 'Region', unique: true }, map: { name: 'region' } }); // Create fields Region.add({ re...
<|file_sep|>original/models/List_Region.js var keystone = require('keystone'), Types = keystone.Field.Types; // Create model. Additional options allow menu name to be used what auto-generating URLs var Region = new keystone.List('Region', { autokey: { path: 'key', from: 'Region', unique: true }, map: { name: 'regio...
b8c043239018e87acfb2f2b63ed90d93f0476336
models/List_Region.js
models/List_Region.js
JavaScript
<|file_sep|>original/tox.ini [tox] envlist = py36, py37, py38, py39 [gh-actions] python = 3.6: py36 3.7: py37 3.8: py38 3.9: py39 [testenv] passenv = PYTHONPATH deps = pytest pytest-cov commands = pytest --cov --cov-append --cov-config=.coveragerc --cov-report=term-missing --cov-fail-under=95 ...
[tox] envlist = py36, py37, py38, py39 [gh-actions] python = 3.6: py36 3.7: py37 3.8: py38 3.9: py39 [testenv] passenv = PYTHONPATH deps = pytest pytest-cov commands = pytest --cov --cov-append --cov-config=.coveragerc --cov-report=term-missing --cov-fail-under=95 --cov-report=xml
<|file_sep|>original/tox.ini [tox] envlist = py36, py37, py38, py39 [gh-actions] python = 3.6: py36 3.7: py37 3.8: py38 3.9: py39 [testenv] passenv = PYTHONPATH deps = pytest pytest-cov commands = pytest --cov --cov-append --cov-config=.coveragerc --cov-report=term-missing --cov-fail-under=95 ...
6391d3f3a8f63a114b117178c6a5876682114bbf
tox.ini
tox.ini
INI
<|file_sep|>original/project/Dependencies.scala "joda-time" % "joda-time" % "2.10.13", "org.joda" % "joda-convert" % "2.2.2" ) lazy val jackson = Seq( "com.fasterxml.jackson.core" % "jackson-databind" % "2.13.1" ) lazy val scalaz_core = Def.setting( "org.scalaz" %%% "scalaz-core" % "7.3.6" ) ...
"joda-time" % "joda-time" % "2.10.13", "org.joda" % "joda-convert" % "2.2.2" ) lazy val jackson = Seq( "com.fasterxml.jackson.core" % "jackson-databind" % "2.13.1" ) lazy val scalaz_core = Def.setting( "org.scalaz" %%% "scalaz-core" % "7.3.6" ) lazy val paranamer = "com.thoughtworks.paraname...
<|file_sep|>original/project/Dependencies.scala "joda-time" % "joda-time" % "2.10.13", "org.joda" % "joda-convert" % "2.2.2" ) lazy val jackson = Seq( "com.fasterxml.jackson.core" % "jackson-databind" % "2.13.1" ) lazy val scalaz_core = Def.setting( "org.scalaz" %%% "scalaz-core" % "7.3.6" ) ...
6e1ad08b8616dab517a7fe4792070e048efa2bec
project/Dependencies.scala
project/Dependencies.scala
Scala
<|file_sep|>original/scripts/dev-server.sh # Shared code # Initial build, required because {{changed}} is not filled at initial run. echo "Copying locales and shared files..." cp ./shared/*.json ./build/server/shared cp ./shared/locales/*.json ./build/server/shared/locales (./node_modules/onchange/cli.js "./shared/*.j...
mkdir -p ./build/server/shared/locales # Shared code # Initial build, required because {{changed}} is not filled at initial run. echo "Copying locales and shared files..." cp ./shared/*.json ./build/server/shared cp ./shared/locales/*.json ./build/server/shared/locales (./node_modules/onchange/cli.js "./shared/*.json"...
<|file_sep|>original/scripts/dev-server.sh # Shared code # Initial build, required because {{changed}} is not filled at initial run. echo "Copying locales and shared files..." cp ./shared/*.json ./build/server/shared cp ./shared/locales/*.json ./build/server/shared/locales (./node_modules/onchange/cli.js "./shared/*.j...
4889bb626acbb5eab546c5d9ce9c8182330b88d1
scripts/dev-server.sh
scripts/dev-server.sh
Shell
<|file_sep|>original/devise.gemspec # -*- encoding: utf-8 -*- $:.push File.expand_path("../lib", __FILE__) require "devise/version" Gem::Specification.new do |s| s.name = "devise" s.version = Devise::VERSION.dup s.platform = Gem::Platform::RUBY s.license = "MIT" s.summary = "Flexible au...
# -*- encoding: utf-8 -*- $:.push File.expand_path("../lib", __FILE__) require "devise/version" Gem::Specification.new do |s| s.name = "devise" s.version = Devise::VERSION.dup s.platform = Gem::Platform::RUBY s.licenses = ["MIT"] s.summary = "Flexible authentication solution for Rails wi...
<|file_sep|>original/devise.gemspec # -*- encoding: utf-8 -*- $:.push File.expand_path("../lib", __FILE__) require "devise/version" Gem::Specification.new do |s| s.name = "devise" s.version = Devise::VERSION.dup s.platform = Gem::Platform::RUBY s.license = "MIT" s.summary = "Flexible au...
a6b754b697c61eef2078cec1726900ee10430c1a
devise.gemspec
devise.gemspec
Ruby
<|file_sep|>src/components/Home.jsx.diff original: <React.Fragment> updated: <> <|file_sep|>original/src/components/Home.jsx import React from 'react'; import styles from '../stylesheets/components/common/typography.css'; const Home = () => ( <React.Fragment> <h1 className={styles.heading}>Home</h1> </Rea...
import React from 'react'; import styles from '../stylesheets/components/common/typography.css'; const Home = () => ( <> <h1 className={styles.heading}>Home</h1> </> ); export default Home;
<|file_sep|>src/components/Home.jsx.diff original: <React.Fragment> updated: <> <|file_sep|>original/src/components/Home.jsx import React from 'react'; import styles from '../stylesheets/components/common/typography.css'; const Home = () => ( <React.Fragment> <h1 className={styles.heading}>Home</h1> </Rea...
117a504083f7535989e287a40bcb507b667b4897
src/components/Home.jsx
src/components/Home.jsx
JSX
<|file_sep|>original/source/assets/javascripts/app/_gdpr.js (function ($, dc) { "use strict"; $(function gdprBanner() { if (!dc.hasItem("gdpr-accept")) { var gdpr = $("<div class='gdpr-cookie-banner'>").on("click", ".gdpr-close", function(e) { dc.setItem("gdpr-accept", "yes"); $(document....
(function ($, dc) { "use strict"; $(function gdprBanner() { if (!dc.hasItem("gdpr-accept")) { var gdpr = $("<div class='gdpr-cookie-banner'>").on("click", ".gdpr-close", function(e) { dc.setItem("gdpr-accept", "yes"); $(document.body).removeClass("with-gdpr"); gdpr.remove(); ...
<|file_sep|>original/source/assets/javascripts/app/_gdpr.js (function ($, dc) { "use strict"; $(function gdprBanner() { if (!dc.hasItem("gdpr-accept")) { var gdpr = $("<div class='gdpr-cookie-banner'>").on("click", ".gdpr-close", function(e) { dc.setItem("gdpr-accept", "yes"); $(document....
f69a6945c3889ca4f9f3faa57f728d373918c6a0
source/assets/javascripts/app/_gdpr.js
source/assets/javascripts/app/_gdpr.js
JavaScript
<|file_sep|>original/app/notes/20171211-0853.md <|file_sep|>current/app/notes/20171211-0853.md <|file_sep|>updated/app/notes/20171211-0853.md
Cassandra Primary Keys cassandra-primary-kyes 1512982399 Cassandra schemas can be a bit hard to design and are especially important to design correctly because of the distributed nature of Cassandra. Many new users of Cassandra try to design schemas similar to relational databases because of CQL's similar syntax to...
<|file_sep|>original/app/notes/20171211-0853.md <|file_sep|>current/app/notes/20171211-0853.md <|file_sep|>updated/app/notes/20171211-0853.md Cassandra Primary Keys cassandra-primary-kyes 1512982399 Cassandra schemas can be a bit hard to design and are especially important to design correctly because of the distri...
2ef35a86e79e33f598818b7e0c94283ef4cd848c
app/notes/20171211-0853.md
app/notes/20171211-0853.md
Markdown
<|file_sep|>original/qiita.gemspec require 'qiita/version' Gem::Specification.new do |gem| gem.name = "qiita" gem.version = Qiita::VERSION gem.authors = ["Hiroshige Umino"] gem.email = ["yaotti@qiita.com"] gem.description = <<desc Gets some tag's or user's items at qiita.com....
require 'qiita/version' Gem::Specification.new do |gem| gem.name = "qiita" gem.version = Qiita::VERSION gem.authors = ["Hiroshige Umino"] gem.email = ["yaotti@qiita.com"] gem.description = <<desc Gets some tag's or user's items at qiita.com. Creates, updates, deletes and st...
<|file_sep|>original/qiita.gemspec require 'qiita/version' Gem::Specification.new do |gem| gem.name = "qiita" gem.version = Qiita::VERSION gem.authors = ["Hiroshige Umino"] gem.email = ["yaotti@qiita.com"] gem.description = <<desc Gets some tag's or user's items at qiita.com....
9dc5ee2e54d9fa4abb5d30d535551e4a8d67b167
qiita.gemspec
qiita.gemspec
Ruby
<|file_sep|>original/TODO.md # TODO ### Core features * Spam protection in login process * Add automated tests to compare server-side typeable-detection with client-side typeable-to-DOM matching algorithm * Better anti-cheat * Add method to kick out inactive users ### Bugs * Error occurs after unjoining (playerCursor...
# TODO ### Core features * Spam protection in login process * Add automated tests to compare server-side typeable-detection with client-side typeable-to-DOM matching algorithm * Better anti-cheat * Add method to kick out inactive users * Allow single user to play multi-player, to allow multi-player to get started when...
<|file_sep|>original/TODO.md # TODO ### Core features * Spam protection in login process * Add automated tests to compare server-side typeable-detection with client-side typeable-to-DOM matching algorithm * Better anti-cheat * Add method to kick out inactive users ### Bugs * Error occurs after unjoining (playerCursor...
8c094da6715feedfcd9b7d32e47daafa47ececab
TODO.md
TODO.md
Markdown
<|file_sep|>original/jme3-desktop/src/main/resources/com/jme3/app/SettingsDialog_zh_CN.properties <|file_sep|>current/jme3-desktop/src/main/resources/com/jme3/app/SettingsDialog_zh_CN.properties <|file_sep|>updated/jme3-desktop/src/main/resources/com/jme3/app/SettingsDialog_zh_CN.properties
frame.title={0} \u663E\u793A\u8BBE\u7F6E button.ok=\u542F\u52A8 button.cancel=\u53D6\u6D88 checkbox.fullscreen=\u5168\u5C4F\u663E\u793A? checkbox.vsync=\u5782\u76F4\u540C\u6B65? checkbox.gamma=\u4F3D\u9A6C\u6821\u6B63 label.resolutions=\u5206\u8FA8\u7387 label.colordepth=\u8272\u5F69\u6DF1\u5EA6 label.refresh=\u5237...
<|file_sep|>original/jme3-desktop/src/main/resources/com/jme3/app/SettingsDialog_zh_CN.properties <|file_sep|>current/jme3-desktop/src/main/resources/com/jme3/app/SettingsDialog_zh_CN.properties <|file_sep|>updated/jme3-desktop/src/main/resources/com/jme3/app/SettingsDialog_zh_CN.properties frame.title={0} \u663E\u79...
6479a7cdf86475bdc33d42422a511b177a1b117d
jme3-desktop/src/main/resources/com/jme3/app/SettingsDialog_zh_CN.properties
jme3-desktop/src/main/resources/com/jme3/app/SettingsDialog_zh_CN.properties
INI
<|file_sep|>original/src/test/org/apache/velocity/test/util/introspection/ClassMapTestCase.java <|file_sep|>current/src/test/org/apache/velocity/test/util/introspection/ClassMapTestCase.java <|file_sep|>updated/src/test/org/apache/velocity/test/util/introspection/ClassMapTestCase.java
package org.apache.velocity.test.util.introspection; /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under th...
<|file_sep|>original/src/test/org/apache/velocity/test/util/introspection/ClassMapTestCase.java <|file_sep|>current/src/test/org/apache/velocity/test/util/introspection/ClassMapTestCase.java <|file_sep|>updated/src/test/org/apache/velocity/test/util/introspection/ClassMapTestCase.java package org.apache.velocity.test...
30f464fb447612967567fbee943c2d971db56286
src/test/org/apache/velocity/test/util/introspection/ClassMapTestCase.java
src/test/org/apache/velocity/test/util/introspection/ClassMapTestCase.java
Java
<|file_sep|>original/lib/nark/reporter/http.rb require 'sinatra' module Nark module Reporter class HTTP < Sinatra::Base set :port, 9494 get "/nark/available_plugins" do JSON.pretty_generate :plugins => Nark.available_plugins end get "/nark/:plugin_method" do if Nark::Plu...
require 'sinatra' module Nark module Reporter class HTTP < Sinatra::Base get "/nark/available_plugins" do JSON.pretty_generate :plugins => Nark.available_plugins end get "/nark/:plugin_method" do if Nark::Plugin.defined_methods.include? params[:plugin_method].to_sym ...
<|file_sep|>original/lib/nark/reporter/http.rb require 'sinatra' module Nark module Reporter class HTTP < Sinatra::Base set :port, 9494 get "/nark/available_plugins" do JSON.pretty_generate :plugins => Nark.available_plugins end get "/nark/:plugin_method" do if Nark::Plu...
0592642edfb058ddd72bf7637f0f35c3b6217671
lib/nark/reporter/http.rb
lib/nark/reporter/http.rb
Ruby
<|file_sep|>original/README.md # magento2-attribute-set-code [![Build Status](https://img.shields.io/travis/snowio/magento2-attribute-set-code.svg?style=flat-square)](https://travis-ci.org/snowio/magento2-attribute-set-code) <|file_sep|>current/README.md # magento2-attribute-set-code [![Build Status](https://img.shie...
# magento2-attribute-set-code [![Build Status](https://travis-ci.org/snowio/magento2-attribute-set-code.svg?branch=master)](https://travis-ci.org/snowio/magento2-attribute-set-code)
<|file_sep|>original/README.md # magento2-attribute-set-code [![Build Status](https://img.shields.io/travis/snowio/magento2-attribute-set-code.svg?style=flat-square)](https://travis-ci.org/snowio/magento2-attribute-set-code) <|file_sep|>current/README.md # magento2-attribute-set-code [![Build Status](https://img.shie...
301cecc9d91df5a254883d3c8231f1d9547b99b6
README.md
README.md
Markdown
<|file_sep|>original/lib/page/storage.js getFile : function () { return config.file; }, rmFile : function () { config.file = null; }, formConfig : function () { return extend(config, {}); } }; module.exports = storage; /** * Simple extend function for key-value pairs */ function extend(a,...
getFile : function () { return config.file; }, rmFile : function () { config.file = null; }, formConfig : function () { return extend(config, { filter : '1' }); } }; module.exports = storage; /** * Simple extend function for key-value pairs */ function extend(a, b) { var obj = {};
<|file_sep|>original/lib/page/storage.js getFile : function () { return config.file; }, rmFile : function () { config.file = null; }, formConfig : function () { return extend(config, {}); } }; module.exports = storage; /** * Simple extend function for key-value pairs */ function extend(a,...
c44548e375bcf5d71b70796f3988e4242e214708
lib/page/storage.js
lib/page/storage.js
JavaScript
<|file_sep|>original/USERGUIDE.txt <|file_sep|>current/USERGUIDE.txt <|file_sep|>updated/USERGUIDE.txt
# friendly non-technical guide in progress. Jmbo Generic User Guide ======================= Initial configuration --------------------- `jmbo-generic` requires initial configuration before it is ready to serve your site. Sites ***** Your web presence typically consists of a normal web site and a mobile site. Ther...
<|file_sep|>original/USERGUIDE.txt <|file_sep|>current/USERGUIDE.txt <|file_sep|>updated/USERGUIDE.txt # friendly non-technical guide in progress. Jmbo Generic User Guide ======================= Initial configuration --------------------- `jmbo-generic` requires initial configuration before it is ready to serve y...
39800cfe8667e697c9f90f68a1186bf724e15bc9
USERGUIDE.txt
USERGUIDE.txt
Text
<|file_sep|>original/debian-setup.sh echo "Waiting for network" while ! ip route | grep default > /dev/null; do printf . sleep 1 done echo useradd chefdeploy groupadd wheel apt-get install --force-yes -fuy debian-keyring apt-get install sudo gpasswd -a chefdeploy wheel echo "%wheel ALL = (ALL) NOPASS...
while ! ip route | grep default > /dev/null; do printf . sleep 1 done echo useradd chefdeploy groupadd wheel apt-get install --force-yes -fuy debian-keyring apt-get update apt-get install sudo gpasswd -a chefdeploy wheel echo "%wheel ALL = (ALL) NOPASSWD: ALL" > /etc/sudoers.d/passwordless_wheel mkd...
<|file_sep|>original/debian-setup.sh echo "Waiting for network" while ! ip route | grep default > /dev/null; do printf . sleep 1 done echo useradd chefdeploy groupadd wheel apt-get install --force-yes -fuy debian-keyring apt-get install sudo gpasswd -a chefdeploy wheel echo "%wheel ALL = (ALL) NOPASS...
badee4aaabeadc448a92d2a734c74f70cc773e99
debian-setup.sh
debian-setup.sh
Shell
<|file_sep|>original/src/cosy/heroku/cli.lua return Lustache:render (pattern, variables) end if Lfs.attributes (arguments.where, "mode") ~= "directory" then print (Colors ("%{bright red blackbg}failure%{reset}")) os.exit (1) end local configuration = { dev_mode = false, recaptcha = { public_key = os.g...
return Lustache:render (pattern, variables) end if Lfs.attributes (arguments.where, "mode") ~= "directory" then print (Colors ("%{bright red blackbg}failure%{reset}")) os.exit (1) end local configuration = { dev_mode = false, server = { log = true, }, recaptcha = { public_key = os.getenv "R...
<|file_sep|>original/src/cosy/heroku/cli.lua return Lustache:render (pattern, variables) end if Lfs.attributes (arguments.where, "mode") ~= "directory" then print (Colors ("%{bright red blackbg}failure%{reset}")) os.exit (1) end local configuration = { dev_mode = false, recaptcha = { public_key = os.g...
39c07fb88c34dfdacdf4500686770e9853f1e7af
src/cosy/heroku/cli.lua
src/cosy/heroku/cli.lua
Lua
<|file_sep|>public/css/_base.scss.diff original: @import 'https://fonts.googleapis.com/css?family=Open+Sans'; updated: @import 'https://fonts.googleapis.com/css?family=Maven+Pro'; <|file_sep|>original/public/css/_base.scss @import 'https://fonts.googleapis.com/css?family=Open+Sans'; body { margin: 0 auto; max-width...
@import 'https://fonts.googleapis.com/css?family=Maven+Pro'; body { margin: 0 auto; max-width: 75%; font-family: "Maven Pro", "Helvetica", "Arial", sans-serif; line-height: 1.5; padding: 4em 1em; color: $body-color; } h1, h2, strong { color: $heading-color; } a { color: $primary-color; text-decorati...
<|file_sep|>public/css/_base.scss.diff original: @import 'https://fonts.googleapis.com/css?family=Open+Sans'; updated: @import 'https://fonts.googleapis.com/css?family=Maven+Pro'; <|file_sep|>original/public/css/_base.scss @import 'https://fonts.googleapis.com/css?family=Open+Sans'; body { margin: 0 auto; max-width...
611574876f49c75bd8e9fde5b1f762f2670e3ee3
public/css/_base.scss
public/css/_base.scss
SCSS
<|file_sep|>original/lib/forem/default_permissions.rb end unless method_defined?(:can_read_forem_forums?) def can_read_forem_forums? true end end unless method_defined?(:can_read_forem_forum?) def can_read_forem_forum?(forum) true end e...
end unless method_defined?(:can_read_forem_forums?) def can_read_forem_forums? true end end unless method_defined?(:can_read_forem_forum?) def can_read_forem_forum?(forum) return true if forum.allowed_viewers.empty? user = Forem.user_class...
<|file_sep|>original/lib/forem/default_permissions.rb end unless method_defined?(:can_read_forem_forums?) def can_read_forem_forums? true end end unless method_defined?(:can_read_forem_forum?) def can_read_forem_forum?(forum) true end e...
0ea2aff4b771aae6c04e78bf8617b4a1210c8066
lib/forem/default_permissions.rb
lib/forem/default_permissions.rb
Ruby
<|file_sep|>recipes/pylibftdi/meta.yaml.diff original: - python updated: - python >=3.4 <|file_sep|>original/recipes/pylibftdi/meta.yaml build: noarch: python number: 0 script: "{{ PYTHON }} -m pip install . -vv" requirements: host: - python - pip run: - python test: imports: - pyl...
build: noarch: python number: 0 script: "{{ PYTHON }} -m pip install . -vv" requirements: host: - python >=3.4 - pip run: - python >=3.4 test: imports: - pylibftdi requires: - pip commands: - pip check about:
<|file_sep|>recipes/pylibftdi/meta.yaml.diff original: - python updated: - python >=3.4 <|file_sep|>original/recipes/pylibftdi/meta.yaml build: noarch: python number: 0 script: "{{ PYTHON }} -m pip install . -vv" requirements: host: - python - pip run: - python test: imports: - pyl...
6118e2804eff0d93d1d3dcf497acac6e5c2306a9
recipes/pylibftdi/meta.yaml
recipes/pylibftdi/meta.yaml
YAML
<|file_sep|>app/controllers/welcome_controller.rb.diff original: etag { can? :manage, Entity } # Don't cache admin content together with the rest updated: etag { current_user } # Pages vary depending on whether user is logged on etag { can? :manage, Entity } # Pages seen as admin may look different <|file...
@post_highlights = @post_highlights.where(featured: true).includes(:photo).order("published_at desc").limit(5) @topic_highlights = (can? :manage, Topic) ? Topic.all : Topic.published @topic_highlights = @topic_highlights.where(featured: true).order("featured_order ASC").limit(4) @highlights_items = @p...
<|file_sep|>app/controllers/welcome_controller.rb.diff original: etag { can? :manage, Entity } # Don't cache admin content together with the rest updated: etag { current_user } # Pages vary depending on whether user is logged on etag { can? :manage, Entity } # Pages seen as admin may look different <|file...
c35b87f380debe3510be8b79bb7856ca45d92c99
app/controllers/welcome_controller.rb
app/controllers/welcome_controller.rb
Ruby
<|file_sep|>original/requirements_dev.txt click==6.7 PyYAML==3.12 fs==0.5.5a1 pip==9.0.1 wheel==0.29.0 flake8==3.3.0 tox==2.6.0 coverage==4.3.4 pytest==3.0.6 pytest_cov==2.4.0 Sphinx==1.5.2 sphinx-rtd-theme==0.1.10b0 moto==0.4.31 pymongo==3.4.0 boto3==1.4.4 bumpversion==0.5.3 watchdog==0.8.3 cryptography==1.7.2 clatter...
click==6.7 PyYAML==3.12 fs==0.5.5a1 pip==9.0.1 wheel==0.29.0 flake8==3.3.0 tox==2.6.0 coverage==4.3.4 pytest==3.0.6 pytest_cov==2.4.0 Sphinx==1.5.3 sphinx-rtd-theme==0.1.10b0 moto==0.4.31 pymongo==3.4.0 boto3==1.4.4 bumpversion==0.5.3 watchdog==0.8.3 cryptography==1.7.2 clatter==0.1.1
<|file_sep|>original/requirements_dev.txt click==6.7 PyYAML==3.12 fs==0.5.5a1 pip==9.0.1 wheel==0.29.0 flake8==3.3.0 tox==2.6.0 coverage==4.3.4 pytest==3.0.6 pytest_cov==2.4.0 Sphinx==1.5.2 sphinx-rtd-theme==0.1.10b0 moto==0.4.31 pymongo==3.4.0 boto3==1.4.4 bumpversion==0.5.3 watchdog==0.8.3 cryptography==1.7.2 clatter...
2e1984c89ec9251f7626345b2edfdb23e856255d
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/.gitlab-ci.yml DOCKER_HOST: tcp://docker:2375/ services: - docker:dind .integration_tests: script: - mvn clean install -U - cd rest-webservice && mvn clean install -U - cd rest-integration-tests/src/test/resources/ && docker-compose up -d - cd ../../../../../ && mvn -B --projects rest...
DOCKER_HOST: tcp://docker:2375/ services: - docker:dind .integration_tests: script: - mvn clean install -U - cd rest-webservice && mvn clean install -U - cd rest-integration-tests/src/test/resources/ && docker-compose up -d - sleep 10 - cd ../../../../../ && mvn -B --projects rest-webservice/rest-integr...
<|file_sep|>original/.gitlab-ci.yml DOCKER_HOST: tcp://docker:2375/ services: - docker:dind .integration_tests: script: - mvn clean install -U - cd rest-webservice && mvn clean install -U - cd rest-integration-tests/src/test/resources/ && docker-compose up -d - cd ../../../../../ && mvn -B --projects rest...
b96b7dd9c97d2ddbdc13a81082160616577d2f49
.gitlab-ci.yml
.gitlab-ci.yml
YAML
<|file_sep|>README.md.diff original: var size = 0.001; updated: var cellWidth = 0.2; var units = 'miles'; <|file_sep|>original/README.md | `units` | String | used in calculating cellWidth ('miles' or 'kilometers') | ### Example ```js var bbox = [7.2669410, 43.695307, 7.2862529, 43.706476]; var size = 0.0...
| `units` | String | used in calculating cellWidth ('miles' or 'kilometers') | ### Example ```js var bbox = [7.2669410, 43.695307, 7.2862529, 43.706476]; var cellWidth = 0.2; var units = 'miles'; var hexgrid = turf.hexGrid(bbox, cellWidth, units); //=hexgrid ``` ## Installation Requires [nodejs](http...
<|file_sep|>README.md.diff original: var size = 0.001; updated: var cellWidth = 0.2; var units = 'miles'; <|file_sep|>original/README.md | `units` | String | used in calculating cellWidth ('miles' or 'kilometers') | ### Example ```js var bbox = [7.2669410, 43.695307, 7.2862529, 43.706476]; var size = 0.0...
351a1f36f2d36a1dae4744c93d346b3114d3e969
README.md
README.md
Markdown
<|file_sep|>original/CODE_OF_CONDUCT.md <|file_sep|>current/CODE_OF_CONDUCT.md <|file_sep|>updated/CODE_OF_CONDUCT.md
# Community Participation Guidelines This repository is governed by Mozilla's code of conduct and etiquette guidelines. For more details, please read the [Mozilla Community Participation Guidelines](https://www.mozilla.org/about/governance/policies/participation/). ## How to Report For more information on how to re...
<|file_sep|>original/CODE_OF_CONDUCT.md <|file_sep|>current/CODE_OF_CONDUCT.md <|file_sep|>updated/CODE_OF_CONDUCT.md # Community Participation Guidelines This repository is governed by Mozilla's code of conduct and etiquette guidelines. For more details, please read the [Mozilla Community Participation Guidelines]...
3c9853f58030c89f9578f7b58ddde19548ac4d75
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
Markdown
<|file_sep|>src/forager/client/StatusMonitor.java.diff original: updated: private Forager clientInstance; <|file_sep|>src/forager/client/StatusMonitor.java.diff original: private Forager forager; public StatusMonitor(Forager forager) { this.forager = forager; this.maxActive = forager.getMa...
public void run() { online = true; while (online) { int active = clientInstance.getNumActive() + clientInstance.getNumPending(); if (active < maxActive) { int numTasks = maxActive - active; try { clientInst...
<|file_sep|>src/forager/client/StatusMonitor.java.diff original: updated: private Forager clientInstance; <|file_sep|>src/forager/client/StatusMonitor.java.diff original: private Forager forager; public StatusMonitor(Forager forager) { this.forager = forager; this.maxActive = forager.getMa...
ac14c5d2db246cf74f4bf639c7ef263305da2195
src/forager/client/StatusMonitor.java
src/forager/client/StatusMonitor.java
Java
<|file_sep|>src/test/scala/com/campudus/scycle/ScycleSuite.scala.diff original: Scycle.run({ drivers => Map( "text" -> { println("test main???") val input$ = Observable.just(inputText) println(s"observable.main=${input$}") val mapped = input$.map({...
class ScycleSuite extends AsyncFunSpec { describe("Scycle") { it("works with empty maps") { Scycle.run(Map.empty, Map.empty) succeed } it("can read data from a logic") { val inputText = "Hello World!" val p = Promise[String] Scycle.run(drivers => Map("test" -> Obse...
<|file_sep|>src/test/scala/com/campudus/scycle/ScycleSuite.scala.diff original: Scycle.run({ drivers => Map( "text" -> { println("test main???") val input$ = Observable.just(inputText) println(s"observable.main=${input$}") val mapped = input$.map({...
677df9edcad03186bb08a779dffe80248306a279
src/test/scala/com/campudus/scycle/ScycleSuite.scala
src/test/scala/com/campudus/scycle/ScycleSuite.scala
Scala
<|file_sep|>original/src/liboslnoise/CMakeLists.txt #FILE ( GLOB compiler_headers "../liboslexec/*.h" ) INCLUDE_DIRECTORIES ( ../liboslexec ) if (BUILDSTATIC) ADD_LIBRARY ( oslnoise STATIC ${liboslnoise_srcs} ) else () ADD_LIBRARY ( oslnoise SHARED ${liboslnoise_srcs} ) endif () TARGET_LINK_LIBRARIES ( oslno...
#FILE ( GLOB compiler_headers "../liboslexec/*.h" ) INCLUDE_DIRECTORIES ( ../liboslexec ) if (BUILDSTATIC) ADD_LIBRARY ( oslnoise STATIC ${liboslnoise_srcs} ) else () ADD_LIBRARY ( oslnoise SHARED ${liboslnoise_srcs} ) endif () TARGET_LINK_LIBRARIES ( oslnoise ${OPENIMAGEIO_LIBRARY} ${ILMBASE_LIBRARIES} ${Bo...
<|file_sep|>original/src/liboslnoise/CMakeLists.txt #FILE ( GLOB compiler_headers "../liboslexec/*.h" ) INCLUDE_DIRECTORIES ( ../liboslexec ) if (BUILDSTATIC) ADD_LIBRARY ( oslnoise STATIC ${liboslnoise_srcs} ) else () ADD_LIBRARY ( oslnoise SHARED ${liboslnoise_srcs} ) endif () TARGET_LINK_LIBRARIES ( oslno...
1672ed597c97e8985189c62e4e6469a1dbf6c0b8
src/liboslnoise/CMakeLists.txt
src/liboslnoise/CMakeLists.txt
Text
<|file_sep|>aliases.zsh.diff original: alias ls='ls -GF' updated: alias ls='ls -F' <|file_sep|>original/aliases.zsh alias history='fc -l 1' alias ls='ls -GF' alias ll='ls -al' alias sgem='sudo gem' alias rfind='find . -name *.rb | xargs grep -n' alias git-svn-dcommit-push='git svn dcommit && git push github master...
alias ls='ls -F' alias ll='ls -al' alias sgem='sudo gem' alias rfind='find . -name *.rb | xargs grep -n' alias git-svn-dcommit-push='git svn dcommit && git push github master:svntrunk' bindkey '\ew' kill-region bindkey -s '\el' "ls\n" bindkey -s '\e.' "..\n" alias et='mate . &' alias ett='mate app config lib db p...
<|file_sep|>aliases.zsh.diff original: alias ls='ls -GF' updated: alias ls='ls -F' <|file_sep|>original/aliases.zsh alias history='fc -l 1' alias ls='ls -GF' alias ll='ls -al' alias sgem='sudo gem' alias rfind='find . -name *.rb | xargs grep -n' alias git-svn-dcommit-push='git svn dcommit && git push github master...
7b844f8aa3540e2b75d2e7114475331415d59f67
aliases.zsh
aliases.zsh
Shell
<|file_sep|>generic/test/Debounce/example_test.go.diff original: updated: "fmt" <|file_sep|>original/generic/test/Debounce/example_test.go source := MakeTimedInt(due[0], func(Next func(int), Error func(error), Complete func()) time.Duration { if i < len(due) { Next(i) i++ return due[i-1] } else {...
if i < len(due) { Next(i) i++ return due[i-1] } else { Complete() return 0 } }) debounced := source.Debounce(100 * time.Millisecond) if err := debounced.Println(); err != nil { fmt.Println(err) } // Output: // 1 // 3 // 4 }
<|file_sep|>generic/test/Debounce/example_test.go.diff original: updated: "fmt" <|file_sep|>original/generic/test/Debounce/example_test.go source := MakeTimedInt(due[0], func(Next func(int), Error func(error), Complete func()) time.Duration { if i < len(due) { Next(i) i++ return due[i-1] } else {...
3e84fbe28510417aa31508d0bf68cdfa11d96760
generic/test/Debounce/example_test.go
generic/test/Debounce/example_test.go
Go
<|file_sep|>lib/frecon/models/robot.rb.diff original: updated: # This is an optional field we included for organization. <|file_sep|>original/lib/frecon/models/robot.rb # lib/frecon/models/robot.rb # # Copyright (C) 2014 Christopher Cooper, Sam Craig, Tiger Huang, Vincent Mai, Sam Mercier, and Kristofer Rye # # This...
# Copyright (C) 2014 Christopher Cooper, Sam Craig, Tiger Huang, Vincent Mai, Sam Mercier, and Kristofer Rye # # This file is part of FReCon, an API for scouting at FRC Competitions, which is # licensed under the MIT license. You should have received a copy of the MIT # license with this program. If not, please see #...
<|file_sep|>lib/frecon/models/robot.rb.diff original: updated: # This is an optional field we included for organization. <|file_sep|>original/lib/frecon/models/robot.rb # lib/frecon/models/robot.rb # # Copyright (C) 2014 Christopher Cooper, Sam Craig, Tiger Huang, Vincent Mai, Sam Mercier, and Kristofer Rye # # This...
9cb38b0d0a442600e570a5afbedbb9e032c905e6
lib/frecon/models/robot.rb
lib/frecon/models/robot.rb
Ruby
<|file_sep|>original/TODO.md 1. hasMany - specify the relationship - lookup the relation when getting the hasMany key 1. Assign an ID for models without one - store the un-persisted state of a model as `persisted=false` [Done in 0.9.5] - update to `true` when the save succeeds [Done in 0.9.5] 1. Assign a createdA...
- specify the relationship - lookup the relation when getting the hasMany key 1. Assign an ID for models without one - store the un-persisted state of a model as `persisted=false` [Done in 0.9.5] - update to `true` when the save succeeds [Done in 0.9.5] 1. Assign a createdAt on create 1. Assign an updatedAt when ...
<|file_sep|>original/TODO.md 1. hasMany - specify the relationship - lookup the relation when getting the hasMany key 1. Assign an ID for models without one - store the un-persisted state of a model as `persisted=false` [Done in 0.9.5] - update to `true` when the save succeeds [Done in 0.9.5] 1. Assign a createdA...
bf3ea72447fb2f5ad37a17c661f56a1d00bc47c9
TODO.md
TODO.md
Markdown
<|file_sep|>original/server.coffee # EXPRESS BOOTSTRAP # ----------------- # add middlewares http.addThirdPartyMiddlewares app http.tuneResponses app # def routing api = require './api' api app # listen app.listen process.env.PORT logger.info "HTTP REST API listening on port #{process.env.PORT}".green # SHOW INDEX # ...
# EXPRESS BOOTSTRAP # ----------------- # add middlewares http.addThirdPartyMiddlewares app http.tuneResponses app # def routing api = require './api' api app # listen port = process.env.PORT || 3000 app.listen port logger.info "HTTP REST API listening on port #{port}".green # SHOW INDEX # ------------------- app.use...
<|file_sep|>original/server.coffee # EXPRESS BOOTSTRAP # ----------------- # add middlewares http.addThirdPartyMiddlewares app http.tuneResponses app # def routing api = require './api' api app # listen app.listen process.env.PORT logger.info "HTTP REST API listening on port #{process.env.PORT}".green # SHOW INDEX # ...
cf9597dbb4772740749d5dafbb480f57d39a0b6a
server.coffee
server.coffee
CoffeeScript
<|file_sep|>original/.travis/run-tests.sh #!/bin/bash travisdir=$(dirname $(readlink /proc/$$/fd/255)) testdir="$travisdir/../tests" testedcomponents=(`cat "$travisdir/tested-components"`) result=0 for tested in "${testedcomponents[@]}" do echo "$tested:" phpunit -c $testdir/phpunit.xml --stderr $t...
#!/bin/bash travisdir=$(dirname $(readlink /proc/$$/fd/255)) testdir="$travisdir/../tests" testedcomponents=(`cat "$travisdir/tested-components"`) result=0 for tested in "${testedcomponents[@]}" do echo "$tested:" phpunit -c $testdir/phpunit.xml $testdir/$tested result=$(($result || $?)) do...
<|file_sep|>original/.travis/run-tests.sh #!/bin/bash travisdir=$(dirname $(readlink /proc/$$/fd/255)) testdir="$travisdir/../tests" testedcomponents=(`cat "$travisdir/tested-components"`) result=0 for tested in "${testedcomponents[@]}" do echo "$tested:" phpunit -c $testdir/phpunit.xml --stderr $t...
d58316f30bd8c78452b8c06f7ba6e0d3ba948acb
.travis/run-tests.sh
.travis/run-tests.sh
Shell
<|file_sep|>app/services/data/get-full-overview.js.diff original: var orderBy = 'ldu_name, team_name' updated: var orderBy = 'lduCluster, teamName' <|file_sep|>original/app/services/data/get-full-overview.js 'total_cases AS totalCases', 'available_points AS availablePoints', 'total_points AS totalPoints...
'total_cases AS totalCases', 'available_points AS availablePoints', 'total_points AS totalPoints', 'contracted_hours AS contractedHours', 'reduction_hours AS reductionHours', 'grade_code AS gradeCode' ] if (orgUnit.name === orgUnitConstants.REGION.name || orgUnit.name === orgUnitConstants.N...
<|file_sep|>app/services/data/get-full-overview.js.diff original: var orderBy = 'ldu_name, team_name' updated: var orderBy = 'lduCluster, teamName' <|file_sep|>original/app/services/data/get-full-overview.js 'total_cases AS totalCases', 'available_points AS availablePoints', 'total_points AS totalPoints...
af8c5912d8f865b50e53d288d2257e3875009c55
app/services/data/get-full-overview.js
app/services/data/get-full-overview.js
JavaScript
<|file_sep|>original/composer.json { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], "require": { "php": ">=5.5.9", "symfony/security-core": "~2.8|~3.0|~4.0" }, "require-dev": { "symfony/phpunit-bridge": "~2...
{ "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], "require": { "php": ">=5.5.9", "symfony/security-core": "~2.8|~3.0|~4.0" }, "require-dev": { "symfony/phpunit-bridge": "~2.8|~3.0|~4.0", "doctrine/co...
<|file_sep|>original/composer.json { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], "require": { "php": ">=5.5.9", "symfony/security-core": "~2.8|~3.0|~4.0" }, "require-dev": { "symfony/phpunit-bridge": "~2...
64812c66f6885089dbf7b755bb309c5c07f6ee8a
composer.json
composer.json
JSON
<|file_sep|>metadata/me.hackerchick.sharetoinputstick.yml.diff original: updated: - versionName: 3.4.2 versionCode: 15 commit: v3.4.2 subdir: app submodules: true gradle: - yes antifeatures: - NonFreeAdd <|file_sep|>original/metadata/me.hackerchick.sharetoinputstick.yml subdi...
subdir: app submodules: true gradle: - yes antifeatures: - NonFreeAdd - versionName: 3.4.2 versionCode: 15 commit: v3.4.2 subdir: app submodules: true gradle: - yes antifeatures: - NonFreeAdd AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVer...
<|file_sep|>metadata/me.hackerchick.sharetoinputstick.yml.diff original: updated: - versionName: 3.4.2 versionCode: 15 commit: v3.4.2 subdir: app submodules: true gradle: - yes antifeatures: - NonFreeAdd <|file_sep|>original/metadata/me.hackerchick.sharetoinputstick.yml subdi...
676133a254efbf4b364d97f6f3ec965253eba7f6
metadata/me.hackerchick.sharetoinputstick.yml
metadata/me.hackerchick.sharetoinputstick.yml
YAML
<|file_sep|>original/articles/_posts/2012-08-20-testing-your-app-inside-opera-tv-store.md --- title: Testing Your App Inside the Opera TV Store authors: - patrick-lauke layout: article --- <|file_sep|>current/articles/_posts/2012-08-20-testing-your-app-inside-opera-tv-store.md --- title: Testing Your App Inside the Ope...
--- title: Testing Your App Inside the Opera TV Store authors: - patrick-lauke intro: 'This article introduces the concept of “Paired devices”, which allows developers to test their applications directly inside the Opera TV Store even before they’ve been submitted.' layout: article ---
<|file_sep|>original/articles/_posts/2012-08-20-testing-your-app-inside-opera-tv-store.md --- title: Testing Your App Inside the Opera TV Store authors: - patrick-lauke layout: article --- <|file_sep|>current/articles/_posts/2012-08-20-testing-your-app-inside-opera-tv-store.md --- title: Testing Your App Inside the Ope...
df7a6d60cd4f750ddd43653eab11ae0cf77aeb2b
articles/_posts/2012-08-20-testing-your-app-inside-opera-tv-store.md
articles/_posts/2012-08-20-testing-your-app-inside-opera-tv-store.md
Markdown
<|file_sep|>original/packages/talos.forms/inputs/checkbox.html <template name="checkboxInput"> {{#mdlWrapper}} <label class="mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect" for="{{field}}"> <input class="mdl-checkbox__input reactive-element" id="{{field}}" na...
<template name="checkboxInput"> {{#mdlWrapper}} {{#each options}} <label class="mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect {{outerLabelClass}}" for="{{field}}"> <input class="mdl-checkbox__input reactive-element {{inputClass}}" id="{{field}}" ...
<|file_sep|>original/packages/talos.forms/inputs/checkbox.html <template name="checkboxInput"> {{#mdlWrapper}} <label class="mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect" for="{{field}}"> <input class="mdl-checkbox__input reactive-element" id="{{field}}" na...
e9839c27d4827331a97d3d71ea19fa8c7649471f
packages/talos.forms/inputs/checkbox.html
packages/talos.forms/inputs/checkbox.html
HTML
<|file_sep|>original/config/dev.exs use Mix.Config config :matrix, Matrix.Endpoint, http: [port: 4000], debug_errors: true, code_reloader: true, check_origin: false, watchers: [ npm: ["run", "watch"] ] # Watch static and templates for browser reloading. config :matrix, Matrix.Endpoint, live_reload: ...
use Mix.Config config :matrix, Matrix.Endpoint, http: [port: System.get_env("PORT") || 4000], debug_errors: true, code_reloader: true, check_origin: false, watchers: [ npm: ["run", "watch"] ] # Watch static and templates for browser reloading. config :matrix, Matrix.Endpoint, live_reload: [ patt...
<|file_sep|>original/config/dev.exs use Mix.Config config :matrix, Matrix.Endpoint, http: [port: 4000], debug_errors: true, code_reloader: true, check_origin: false, watchers: [ npm: ["run", "watch"] ] # Watch static and templates for browser reloading. config :matrix, Matrix.Endpoint, live_reload: ...
6948ca425efd61d51c3290f4f8bf511a02ce600d
config/dev.exs
config/dev.exs
Elixir
<|file_sep|>original/styles/api/template/topic.php <?php if (!defined('InternalAccess')) exit('{"Status": 0,"ErrorMessage": "403"}'); ?> { "Status": 1, "Page": "<?php echo $Page;?>", "TotalPage": "<?php echo $TotalPage;?>", "IsFavorite": "<?php echo $CurUserID?$IsFavorite:0;?>", "TopicInfo" : <?php echo json_encod...
<?php if (!defined('InternalAccess')) exit('{"Status": 0,"ErrorMessage": "403"}'); foreach($PostsArray as $key => $Post) { $PostsArray['PostFloor'] = ($Page-1) * $Config['PostsPerPage'] + $key; } ?> { "Status": 1, "Page": "<?php echo $Page;?>", "TotalPage": "<?php echo $TotalPage;?>", "IsFavorite": "<?php echo $Cu...
<|file_sep|>original/styles/api/template/topic.php <?php if (!defined('InternalAccess')) exit('{"Status": 0,"ErrorMessage": "403"}'); ?> { "Status": 1, "Page": "<?php echo $Page;?>", "TotalPage": "<?php echo $TotalPage;?>", "IsFavorite": "<?php echo $CurUserID?$IsFavorite:0;?>", "TopicInfo" : <?php echo json_encod...
38e68ec2fe0fa0ae6144dae9f5a9ec44c42522ab
styles/api/template/topic.php
styles/api/template/topic.php
PHP
<|file_sep|>original/content/pages/Home.md Title: Hiya! Slug: home URL: save_as: index.html I'm a senior data engineer from The Netherlands, currently working at [Nike](https://nike.com){:target="_blank"} on optimizing membership and personalization. Before that, I was a software engineer at [Avanade](https://avanade....
Title: Hiya! Slug: home URL: save_as: index.html I'm a senior data engineer from The Netherlands, currently working at [Nike](https://nike.com){:target="_blank"} on optimizing membership and personalization. Before that, I was a software engineer at [Avanade](https://avanade.com){:target="_blank"} where I focussed on ...
<|file_sep|>original/content/pages/Home.md Title: Hiya! Slug: home URL: save_as: index.html I'm a senior data engineer from The Netherlands, currently working at [Nike](https://nike.com){:target="_blank"} on optimizing membership and personalization. Before that, I was a software engineer at [Avanade](https://avanade....
143a6189c333a5ff1a78d7ec04cf2dbad51a43ef
content/pages/Home.md
content/pages/Home.md
Markdown
<|file_sep|>app/views/layouts/hyrax.html.erb.diff original: <a name="skip-to-content" id="skip-to-content"></a> <%= content_for?(:content) ? yield(:content) : yield %> updated: <a name="skip-to-content" id="skip-to-content"></a> <%= content_for?(:content) ? yield(:content) : yield %> <|f...
</div> <% end %> <a name="skip-to-content" id="skip-to-content"></a> <%= content_for?(:content) ? yield(:content) : yield %> </div><!-- /#content-wrapper --> <%= render 'shared/footer' %> <%= render 'shared/ajax_modal' %> </body> <script type="text/javascript"> $( docum...
<|file_sep|>app/views/layouts/hyrax.html.erb.diff original: <a name="skip-to-content" id="skip-to-content"></a> <%= content_for?(:content) ? yield(:content) : yield %> updated: <a name="skip-to-content" id="skip-to-content"></a> <%= content_for?(:content) ? yield(:content) : yield %> <|f...
22360259801aca081447e8f909c142192ce98927
app/views/layouts/hyrax.html.erb
app/views/layouts/hyrax.html.erb
HTML+ERB
<|file_sep|>lib/pager_api/railtie.rb.diff original: config.after_initialize do updated: initializer "pager_api.configure_pagination_helpers" do <|file_sep|>original/lib/pager_api/railtie.rb module PagerApi class Railtie < Rails::Railtie config.after_initialize do require 'pager_api/hooks' end ...
module PagerApi class Railtie < Rails::Railtie initializer "pager_api.configure_pagination_helpers" do require 'pager_api/hooks' end end end
<|file_sep|>lib/pager_api/railtie.rb.diff original: config.after_initialize do updated: initializer "pager_api.configure_pagination_helpers" do <|file_sep|>original/lib/pager_api/railtie.rb module PagerApi class Railtie < Rails::Railtie config.after_initialize do require 'pager_api/hooks' end ...
78b43de3b89c1a73cb9a50dfb9860c344ba2cd02
lib/pager_api/railtie.rb
lib/pager_api/railtie.rb
Ruby
<|file_sep|>lib/google_ajax_libraries_helper.rb.diff original: def google_javascript_include_tag(*ajax_libraries) html = "<script src=\"http://www.google.com/jsapi\"></script>\n" updated: def google_javascript_include_tag(scripts={}, opts={}, *backward_compat) key = opts[:key] || nil ajax_libr...
html << "<script type=\"text/javascript\" src=\"http://www.google.com/jsapi" html << "?key=#{key}" if key html << "\"></script>\n" html << "<script>\n" ajax_libraries.each do |al| begin html << " google.load(\"#{al[0]}\", \"#{al[1] || 1 }\", {uncompressed:#{al[2] || fals...
<|file_sep|>lib/google_ajax_libraries_helper.rb.diff original: def google_javascript_include_tag(*ajax_libraries) html = "<script src=\"http://www.google.com/jsapi\"></script>\n" updated: def google_javascript_include_tag(scripts={}, opts={}, *backward_compat) key = opts[:key] || nil ajax_libr...
d9354be3b13faa2244becf7766cb5c55d46a9568
lib/google_ajax_libraries_helper.rb
lib/google_ajax_libraries_helper.rb
Ruby
<|file_sep|>metadata/me.ranko.autodark.yml.diff original: updated: - versionName: 2.1.1 versionCode: 9 commit: v2.1.1 subdir: app submodules: true gradle: - yes <|file_sep|>original/metadata/me.ranko.autodark.yml IssueTracker: https://github.com/0ranko0P/AutoDark/issues Changelog: https://...
Builds: - versionName: 2.0.3 versionCode: 6 commit: v2.0.3 subdir: app submodules: true gradle: - yes - versionName: 2.1.1 versionCode: 9 commit: v2.1.1 subdir: app submodules: true gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: ...
<|file_sep|>metadata/me.ranko.autodark.yml.diff original: updated: - versionName: 2.1.1 versionCode: 9 commit: v2.1.1 subdir: app submodules: true gradle: - yes <|file_sep|>original/metadata/me.ranko.autodark.yml IssueTracker: https://github.com/0ranko0P/AutoDark/issues Changelog: https://...
c9d0289a932bda0dd8a3b42c13fd067973897a74
metadata/me.ranko.autodark.yml
metadata/me.ranko.autodark.yml
YAML
<|file_sep|>original/src/web/CMakeLists.txt find_package(Qt4 4.6 COMPONENTS QtCore QtNetwork QtXml REQUIRED) set(QT_DONT_USE_QTGUI TRUE) set(QT_USE_QTNETWORK TRUE) set(QT_USE_QTXML TRUE) include(${QT_USE_FILE}) set(HEADERS proteindatabank.h pubchem.h web.h ) set(SOURCES downloadthread.cpp proteindatabank.cp...
find_package(Qt4 4.6 COMPONENTS QtCore QtNetwork QtXml REQUIRED) set(QT_DONT_USE_QTGUI TRUE) set(QT_USE_QTNETWORK TRUE) set(QT_USE_QTXML TRUE) include(${QT_USE_FILE}) find_package(Boost REQUIRED) include_directories(${Boost_INCLUDE_DIRS}) set(HEADERS proteindatabank.h pubchem.h web.h ) set(SOURCES downloadth...
<|file_sep|>original/src/web/CMakeLists.txt find_package(Qt4 4.6 COMPONENTS QtCore QtNetwork QtXml REQUIRED) set(QT_DONT_USE_QTGUI TRUE) set(QT_USE_QTNETWORK TRUE) set(QT_USE_QTXML TRUE) include(${QT_USE_FILE}) set(HEADERS proteindatabank.h pubchem.h web.h ) set(SOURCES downloadthread.cpp proteindatabank.cp...
92fd5d8a143fae34b7ae9a1a202fe136db5a3f46
src/web/CMakeLists.txt
src/web/CMakeLists.txt
Text
<|file_sep|>styles.css.diff original: updated: -webkit-transition: opacity 0.4s ease-in; -moz-transition: opacity 0.4s ease-in; -ms-transition: opacity 0.4s ease-in; -o-transition: opacity 0.4s ease-in; <|file_sep|>original/styles.css top: calc(100% + 0.5em); width: 100%; padding-left: 0.2em; padding-right: 0....
.card .card-hover { position: absolute; top: calc(100% + 0.5em); width: 100%; padding-left: 0.2em; padding-right: 0.2em; border-radius: 0.2em; background-color: white; z-index: 1; opacity: 1; -webkit-transition: opacity 0.2s ease-in; -moz-transition: opacity 0.2s ease-in; -ms-transition: opacity 0.2s ease-i...
<|file_sep|>styles.css.diff original: updated: -webkit-transition: opacity 0.4s ease-in; -moz-transition: opacity 0.4s ease-in; -ms-transition: opacity 0.4s ease-in; -o-transition: opacity 0.4s ease-in; <|file_sep|>original/styles.css top: calc(100% + 0.5em); width: 100%; padding-left: 0.2em; padding-right: 0....
d4e52b3d07edba3f1cc0c4c3f7eec312a65182ec
styles.css
styles.css
CSS
<|file_sep|>original/cura.desktop <|file_sep|>current/cura.desktop <|file_sep|>updated/cura.desktop
[Desktop Entry] Version=1.0 Name=Cura GenericName=3D Printing Software Comment= Exec=/usr/bin/cura_app.py TryExec=/usr/bin/cura_app.py Icon=cura Terminal=false Type=Application Categories=Graphics; Keywords=3D;Printing;
<|file_sep|>original/cura.desktop <|file_sep|>current/cura.desktop <|file_sep|>updated/cura.desktop [Desktop Entry] Version=1.0 Name=Cura GenericName=3D Printing Software Comment= Exec=/usr/bin/cura_app.py TryExec=/usr/bin/cura_app.py Icon=cura Terminal=false Type=Application Categories=Graphics; Keywords=3D;Printing...
ef61f01812d0feb28c214c243882e97ac09a9720
cura.desktop
cura.desktop
desktop
<|file_sep|>original/components/atoms/static_atoms.txt print progress radio range readystatechange reftest-wait reset right sans-serif screen search select serif statechange storage submit suspend tel text time timeupdate <|file_sep|>current/components/atoms/static_atoms.txt print progress radio range readystatechange ...
print progress radio range readystatechange reftest-wait reset right sans-serif screen scroll-position search select serif statechange storage submit suspend tel text time
<|file_sep|>original/components/atoms/static_atoms.txt print progress radio range readystatechange reftest-wait reset right sans-serif screen search select serif statechange storage submit suspend tel text time timeupdate <|file_sep|>current/components/atoms/static_atoms.txt print progress radio range readystatechange ...
9bb72139e40571126f9b2872c77a4f38bb0b568b
components/atoms/static_atoms.txt
components/atoms/static_atoms.txt
Text
<|file_sep|>original/.travis.yml language: ruby sudo: false before_install: - gem install bundler -v '~> 1.13' rvm: - 2.2.6 - 2.3.3 - 2.4.0 gemfile: - gemfiles/rails_5.0.gemfile <|file_sep|>current/.travis.yml language: ruby sudo: false before_install: - gem install bundler -v '~> 1.13' rvm: - 2.2.6 - 2...
language: ruby sudo: false before_install: - gem update --system 2.6.9 - gem install bundler -v '~> 1.14' rvm: - 2.2.6 - 2.3.3 - 2.4.0 gemfile: - gemfiles/rails_5.0.gemfile
<|file_sep|>original/.travis.yml language: ruby sudo: false before_install: - gem install bundler -v '~> 1.13' rvm: - 2.2.6 - 2.3.3 - 2.4.0 gemfile: - gemfiles/rails_5.0.gemfile <|file_sep|>current/.travis.yml language: ruby sudo: false before_install: - gem install bundler -v '~> 1.13' rvm: - 2.2.6 - 2...
a87e521461e42fec08a8fb35341c0f79b40161aa
.travis.yml
.travis.yml
YAML
<|file_sep|>original/CMakeLists.txt <|file_sep|>current/CMakeLists.txt <|file_sep|>updated/CMakeLists.txt
# Cmake version info cmake_minimum_required(VERSION 2.8) #project name project(CS585) #collect all source files in current directory aux_source_directory(. All_files) #build exe add_executable(Mytest ${All_files})
<|file_sep|>original/CMakeLists.txt <|file_sep|>current/CMakeLists.txt <|file_sep|>updated/CMakeLists.txt # Cmake version info cmake_minimum_required(VERSION 2.8) #project name project(CS585) #collect all source files in current directory aux_source_directory(. All_files) #build exe add_executable(Mytest ${All_fil...
a537c8cad435cf00a29905aef6fd8082b5b04133
CMakeLists.txt
CMakeLists.txt
Text
<|file_sep|>original/py-requirements/prod.txt -r base.txt gunicorn==19.7.1 raven==6.1.0 sendgrid==3.6.5 sendgrid-django==4.0.4 <|file_sep|>current/py-requirements/prod.txt -r base.txt gunicorn==19.7.1 raven==6.1.0 sendgrid==3.6.5 sendgrid-django==4.0.4 <|file_sep|>updated/py-requirements/prod.txt
-r base.txt gunicorn==19.7.1 raven==6.2.1 sendgrid==3.6.5 sendgrid-django==4.0.4
<|file_sep|>original/py-requirements/prod.txt -r base.txt gunicorn==19.7.1 raven==6.1.0 sendgrid==3.6.5 sendgrid-django==4.0.4 <|file_sep|>current/py-requirements/prod.txt -r base.txt gunicorn==19.7.1 raven==6.1.0 sendgrid==3.6.5 sendgrid-django==4.0.4 <|file_sep|>updated/py-requirements/prod.txt -r base.txt gunicor...
232bcabc93a707465a623694afb0cc7d1d5a29ce
py-requirements/prod.txt
py-requirements/prod.txt
Text
<|file_sep|>original/script/cruise_build.rb #!/usr/bin/env ruby p "My project name is: #{ARGV.inspect}" <|file_sep|>current/script/cruise_build.rb #!/usr/bin/env ruby p "My project name is: #{ARGV.inspect}" <|file_sep|>updated/script/cruise_build.rb
#!/usr/bin/env ruby project_name = ARGV.first case project_name when "racing_on_rails" # Nothing else to get when "atra" exec("svn co svn+ssh://butlerpress.com/var/repos/atra/trunk local") else raise "Don't know how to build project named: '#{project_name}'" end exec("rake cruise")
<|file_sep|>original/script/cruise_build.rb #!/usr/bin/env ruby p "My project name is: #{ARGV.inspect}" <|file_sep|>current/script/cruise_build.rb #!/usr/bin/env ruby p "My project name is: #{ARGV.inspect}" <|file_sep|>updated/script/cruise_build.rb #!/usr/bin/env ruby project_name = ARGV.first case project_name wh...
20a06b703d23963c3714963f5bb96bff5ac7ee86
script/cruise_build.rb
script/cruise_build.rb
Ruby
<|file_sep|>.travis.yml.diff original: - 4 - 6 updated: <|file_sep|>original/.travis.yml sudo: false language: node_js cache: directories: - node_modules notifications: email: false node_js: - 4 - 6 - 8 before_script: - npm prune branches: except: - "/^v\\d+\\.\\d+\\.\\d+$/" <|file_sep|>curre...
sudo: false language: node_js cache: directories: - node_modules notifications: email: false node_js: - 8 - 10 before_script: - npm prune branches: except: - "/^v\\d+\\.\\d+\\.\\d+$/"
<|file_sep|>.travis.yml.diff original: - 4 - 6 updated: <|file_sep|>original/.travis.yml sudo: false language: node_js cache: directories: - node_modules notifications: email: false node_js: - 4 - 6 - 8 before_script: - npm prune branches: except: - "/^v\\d+\\.\\d+\\.\\d+$/" <|file_sep|>curre...
126bd65579c49143633415d1fdd837c6880d4531
.travis.yml
.travis.yml
YAML
<|file_sep|>CONTRIBUTING.md.diff original: Build and run the app: updated: Build and run the backend: <|file_sep|>original/CONTRIBUTING.md ``` ### Run Build and run the app: ```bash ./zh run ``` ### Test Run the app tests: ```bash ./zh test ``` ### Lint Lint code: <|file_sep|>current/CONTRIBUTING.md ``` ### Ru...
``` ### Run Build and run the backend: ```bash ./zh run ``` Run the frontend: ```bash cd frontend && npx snowpack dev ``` ### Test Run the app tests: ```bash
<|file_sep|>CONTRIBUTING.md.diff original: Build and run the app: updated: Build and run the backend: <|file_sep|>original/CONTRIBUTING.md ``` ### Run Build and run the app: ```bash ./zh run ``` ### Test Run the app tests: ```bash ./zh test ``` ### Lint Lint code: <|file_sep|>current/CONTRIBUTING.md ``` ### Ru...
8257e4633a7ef95d2836d12131bd5a4700ea3002
CONTRIBUTING.md
CONTRIBUTING.md
Markdown
<|file_sep|>original/app/server/sonicpi/incomingosc.rb <|file_sep|>current/app/server/sonicpi/incomingosc.rb <|file_sep|>updated/app/server/sonicpi/incomingosc.rb
#-- # This file is part of Sonic Pi: http://sonic-pi.net # Full project source: https://github.com/samaaron/sonic-pi # License: https://github.com/samaaron/sonic-pi/blob/master/LICENSE.md # # Copyright 2013, 2014 by Sam Aaron (http://sam.aaron.name). # All rights reserved. # # Permission is granted for use, copying, mo...
<|file_sep|>original/app/server/sonicpi/incomingosc.rb <|file_sep|>current/app/server/sonicpi/incomingosc.rb <|file_sep|>updated/app/server/sonicpi/incomingosc.rb #-- # This file is part of Sonic Pi: http://sonic-pi.net # Full project source: https://github.com/samaaron/sonic-pi # License: https://github.com/samaaron...
398da7db4ed643cf4a66afbcef52f9a6bff22f6c
app/server/sonicpi/incomingosc.rb
app/server/sonicpi/incomingosc.rb
Ruby
<|file_sep|>original/Tests/Functional/Bundle/FirewallEntryPointBundle/Security/EntryPointStub.php * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Bundle\SecurityBundle\Tests\Functional\Bundle\FirewallEntryPointBundl...
* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Bundle\SecurityBundle\Tests\Functional\Bundle\FirewallEntryPointBundle\Security; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Re...
<|file_sep|>original/Tests/Functional/Bundle/FirewallEntryPointBundle/Security/EntryPointStub.php * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Bundle\SecurityBundle\Tests\Functional\Bundle\FirewallEntryPointBundl...
b3ca34533219b57f573d0ea3caed0d41a1adf16d
Tests/Functional/Bundle/FirewallEntryPointBundle/Security/EntryPointStub.php
Tests/Functional/Bundle/FirewallEntryPointBundle/Security/EntryPointStub.php
PHP
<|file_sep|>original/project/plugins.sbt // Comment to get more information during initialization logLevel := Level.Warn // Resolvers resolvers += "Typesafe repository" at "https://repo.typesafe.com/typesafe/releases/" resolvers += Resolver.url("heroku-sbt-plugin-releases", url("https://dl.bintray.com/heroku/sbt-pl...
// Comment to get more information during initialization logLevel := Level.Warn // Resolvers resolvers += "Typesafe repository" at "https://repo.typesafe.com/typesafe/releases/" resolvers += Resolver.url("heroku-sbt-plugin-releases", url("https://dl.bintray.com/heroku/sbt-plugins/"))(Resolver.ivyStylePatterns) // ...
<|file_sep|>original/project/plugins.sbt // Comment to get more information during initialization logLevel := Level.Warn // Resolvers resolvers += "Typesafe repository" at "https://repo.typesafe.com/typesafe/releases/" resolvers += Resolver.url("heroku-sbt-plugin-releases", url("https://dl.bintray.com/heroku/sbt-pl...
1dd8c0ed743b611231ef6c70d15edca78d7f9c44
project/plugins.sbt
project/plugins.sbt
Scala
<|file_sep|>original/studygroups/migrations/0034_create_facilitators_group.py # -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations def create_facilitators_group(apps, schema_editor): Group = apps.get_model("auth", "Group") group = Group(name="facilitators") ...
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations def create_facilitators_group(apps, schema_editor): Group = apps.get_model("auth", "Group") Group.objects.get_or_create(name="facilitators") class Migration(migrations.Migration): dependencies = [ ...
<|file_sep|>original/studygroups/migrations/0034_create_facilitators_group.py # -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations def create_facilitators_group(apps, schema_editor): Group = apps.get_model("auth", "Group") group = Group(name="facilitators") ...
5e412494e09d845dcb08529bd9c436f52cdda91b
studygroups/migrations/0034_create_facilitators_group.py
studygroups/migrations/0034_create_facilitators_group.py
Python
<|file_sep|>original/.travis.yml language: ruby rvm: - "1.8.7" - "1.9.2" - "1.9.3" - jruby-18mode # JRuby in 1.8 mode - jruby-19mode # JRuby in 1.9 mode - rbx-18mode - rbx-19mode <|file_sep|>current/.travis.yml language: ruby rvm: - "1.8.7" - "1.9.2" - "1.9.3" - jruby-18mode # JRuby in 1.8 mode ...
language: ruby rvm: - "1.8.7" - "1.9.2" - "1.9.3" - jruby-18mode # JRuby in 1.8 mode - jruby-19mode # JRuby in 1.9 mode - rbx-18mode - rbx-19mode before_install: gem install bundler -v "~> 1.2.0"
<|file_sep|>original/.travis.yml language: ruby rvm: - "1.8.7" - "1.9.2" - "1.9.3" - jruby-18mode # JRuby in 1.8 mode - jruby-19mode # JRuby in 1.9 mode - rbx-18mode - rbx-19mode <|file_sep|>current/.travis.yml language: ruby rvm: - "1.8.7" - "1.9.2" - "1.9.3" - jruby-18mode # JRuby in 1.8 mode ...
b0a15fe8c7be000a668339658011eb113924eda5
.travis.yml
.travis.yml
YAML
<|file_sep|>.travis.yml.diff original: updated: matrix: include: - os: linux rust: stable env: LIBCURL_NO_PKG_CONFIG=1 <|file_sep|>original/.travis.yml - beta - nightly sudo: false before_script: - pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH script: - export CA...
matrix: include: - os: linux rust: stable env: LIBCURL_NO_PKG_CONFIG=1 sudo: false before_script: - pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH script: - export CARGO_TARGET_DIR=`pwd`/target - cargo test - cargo run --manifest-path systest/Cargo.toml - cargo d...
<|file_sep|>.travis.yml.diff original: updated: matrix: include: - os: linux rust: stable env: LIBCURL_NO_PKG_CONFIG=1 <|file_sep|>original/.travis.yml - beta - nightly sudo: false before_script: - pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH script: - export CA...
16f90d348a707eea65f6031dab92f2f9b7beea24
.travis.yml
.travis.yml
YAML
<|file_sep|>original/test/ClangModules/availability_variadic.swift // RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -parse -verify -I %S/Inputs/custom-modules %s import Foundation func variadicFunc2(A : Int32, _: Any...) -> Int { return 0 } class C1 {} func test_unavailable_because_variadic() { print...
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -parse -verify -I %S/Inputs/custom-modules %s // REQUIRES: OS=macosx import Foundation func variadicFunc2(A : Int32, _: Any...) -> Int { return 0 } class C1 {} func test_unavailable_because_variadic() { print(variadicFunc1(2, [3])) // expected-error {...
<|file_sep|>original/test/ClangModules/availability_variadic.swift // RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -parse -verify -I %S/Inputs/custom-modules %s import Foundation func variadicFunc2(A : Int32, _: Any...) -> Int { return 0 } class C1 {} func test_unavailable_because_variadic() { print...
9662523c4e2dfc0888facde1a47d1ca91e7dcfc5
test/ClangModules/availability_variadic.swift
test/ClangModules/availability_variadic.swift
Swift
<|file_sep|>app/initializers/logging.js.diff original: updated: import {fbEmailKeyScrubber} from 'nag-admin/helpers/fb-email-key-scrubber'; <|file_sep|>app/initializers/logging.js.diff original: updated: after: 'authentication', <|file_sep|>original/app/initializers/logging.js /* global Raygun */ import Ember from '...
name: 'logging', after: 'authentication', initialize: function(container, application) { // Capture Exceptions and log them to Raygun Raygun.init('G5oRCMKDmgp63+QZnCHnZA==').attach(); // Capture ember errors and log them to Raygun Ember.onerror = function(error) { Raygun.send(error); }; // Set the ...
<|file_sep|>app/initializers/logging.js.diff original: updated: import {fbEmailKeyScrubber} from 'nag-admin/helpers/fb-email-key-scrubber'; <|file_sep|>app/initializers/logging.js.diff original: updated: after: 'authentication', <|file_sep|>original/app/initializers/logging.js /* global Raygun */ import Ember from '...
0ecbe93a3f2f2956a24e68f9f61c2430b7a12bc3
app/initializers/logging.js
app/initializers/logging.js
JavaScript
<|file_sep|>plugin/src/main/resources/xitrum_resources/build.sbt.diff original: libraryDependencies += "tv.cntt" %% "xitrum" % "1.1-SNAPSHOT" updated: libraryDependencies += "tv.cntt" %% "xitrum" % "1.1-SNAPSHOT" <|file_sep|>original/plugin/src/main/resources/xitrum_resources/build.sbt...
organization := "my.organization" name := "my_project" version := "1.0-SNAPSHOT" scalaVersion := "2.9.0-1" // For Xitrum resolvers += "Sonatype Snapshot Repository" at "https://oss.sonatype.org/content/repositories/snapshots" // For Netty 4, remove this when Netty 4 is released resolvers += "Local Mav...
<|file_sep|>plugin/src/main/resources/xitrum_resources/build.sbt.diff original: libraryDependencies += "tv.cntt" %% "xitrum" % "1.1-SNAPSHOT" updated: libraryDependencies += "tv.cntt" %% "xitrum" % "1.1-SNAPSHOT" <|file_sep|>original/plugin/src/main/resources/xitrum_resources/build.sbt...
c39e9d69eb3dce620436db40d516cb8d8f39ed60
plugin/src/main/resources/xitrum_resources/build.sbt
plugin/src/main/resources/xitrum_resources/build.sbt
Scala
<|file_sep|>original/TheSpot/app/controllers/users_controller.rb class UsersController < ApplicationController def new @user = User.new end end <|file_sep|>current/TheSpot/app/controllers/users_controller.rb class UsersController < ApplicationController def new @user = User.new end end <|file_sep|>updat...
class UsersController < ApplicationController def new @user = User.new end def user_params params.require(:user).permit([:email, :username, :password, :password_confirmation]) end end
<|file_sep|>original/TheSpot/app/controllers/users_controller.rb class UsersController < ApplicationController def new @user = User.new end end <|file_sep|>current/TheSpot/app/controllers/users_controller.rb class UsersController < ApplicationController def new @user = User.new end end <|file_sep|>updat...
fd3ec74f6f028d0269ba602cc858c60f5484c3f0
TheSpot/app/controllers/users_controller.rb
TheSpot/app/controllers/users_controller.rb
Ruby
<|file_sep|>original/examples/console_logger_signals.py <|file_sep|>current/examples/console_logger_signals.py <|file_sep|>updated/examples/console_logger_signals.py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Log radiation hits or noise signals to the console. Released under MIT License. See LICENSE file. By Yoan Tournade <y@yoantournade.com> """ import time from PiPocketGeiger import RadiationWatch def example_run_context(): example_run_context.hit_flag = False ...
<|file_sep|>original/examples/console_logger_signals.py <|file_sep|>current/examples/console_logger_signals.py <|file_sep|>updated/examples/console_logger_signals.py #!/usr/bin/env python # -*- coding: utf-8 -*- """ Log radiation hits or noise signals to the console. Released under MIT License. See LICENSE file. By...
cca072b6cf5b0162e1cf10d6873739d762a7a05e
examples/console_logger_signals.py
examples/console_logger_signals.py
Python
<|file_sep|>original/includes/ServiceWiring.php return [ Constants::SERVICE_ALLOWED_DOMAINS_STORE => static function ( MediaWikiServices $services ) { $glConfig = GoogleLogin::getGLConfig(); if ( is_array( $glConfig->get( 'GLAllowedDomains' ) ) && !$glConfig->get( 'GLAllowedDomainsDB' ) ) { return new A...
return [ Constants::SERVICE_ALLOWED_DOMAINS_STORE => static function ( MediaWikiServices $services ) { $glConfig = GoogleLogin::getGLConfig(); if ( is_array( $glConfig->get( 'GLAllowedDomains' ) ) && !$glConfig->get( 'GLAllowedDomainsDB' ) ) { return new ArrayAllowedDomainsStore( $glConfig->get( 'GLAllo...
<|file_sep|>original/includes/ServiceWiring.php return [ Constants::SERVICE_ALLOWED_DOMAINS_STORE => static function ( MediaWikiServices $services ) { $glConfig = GoogleLogin::getGLConfig(); if ( is_array( $glConfig->get( 'GLAllowedDomains' ) ) && !$glConfig->get( 'GLAllowedDomainsDB' ) ) { return new A...
9c8fbf7f15f661a6463234a8c9e55718d2ad27de
includes/ServiceWiring.php
includes/ServiceWiring.php
PHP
<|file_sep|>original/requirements_dev.txt configparser==3.5.0 flake8==3.5.0 future==0.16.0 Keras>=2.0.0 matplotlib==3.0.0 mock==2.0.0 numpy==1.15.2 pandas==0.23.4 pandocfilters==1.4.2 pathlib2==2.3.2 pbr==4.3.0 pexpect==4.6.0 Pillow==5.3.0 protobuf==3.6.1 Pygments==2.2.0 python-dateutil==2.7.3 PyYAML==4.1 pyzmq==17.1.2...
configparser==3.5.0 flake8==3.5.0 future==0.16.0 Keras>=2.0.0 matplotlib==3.0.0 mock==2.0.0 numpy==1.15.2 pandas==0.23.4 pandocfilters==1.4.2 pathlib2==2.3.2 pbr==5.1.0 pexpect==4.6.0 Pillow==5.3.0 protobuf==3.6.1 Pygments==2.2.0 python-dateutil==2.7.3 PyYAML==4.1 pyzmq==17.1.2 scipy==1.1.0 seaborn==0.9.0 Sphinx==1.8.1
<|file_sep|>original/requirements_dev.txt configparser==3.5.0 flake8==3.5.0 future==0.16.0 Keras>=2.0.0 matplotlib==3.0.0 mock==2.0.0 numpy==1.15.2 pandas==0.23.4 pandocfilters==1.4.2 pathlib2==2.3.2 pbr==4.3.0 pexpect==4.6.0 Pillow==5.3.0 protobuf==3.6.1 Pygments==2.2.0 python-dateutil==2.7.3 PyYAML==4.1 pyzmq==17.1.2...
e3dbbc9164f624224be56defb1b03d8e7581cf6d
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/.travis.yml language: python matrix: include: - os: linux language: python - os: osx language: generic addons: apt: packages: - gcc - libssl-dev - libsqlite3-dev - uuid-dev before_install: - "[[ $TRAVIS_OS_NAME == 'osx' ]] && brew update" -...
language: python matrix: allow_failures: - os: osx include: - os: linux language: python - os: osx language: generic addons: apt: packages: - gcc - libssl-dev - libsqlite3-dev - uuid-dev before_install: - "[[ $TRAVIS_OS_NAME == 'osx' ]] && brew update"
<|file_sep|>original/.travis.yml language: python matrix: include: - os: linux language: python - os: osx language: generic addons: apt: packages: - gcc - libssl-dev - libsqlite3-dev - uuid-dev before_install: - "[[ $TRAVIS_OS_NAME == 'osx' ]] && brew update" -...
eab8666635d501b5d60a90ca34d9670da8259e77
.travis.yml
.travis.yml
YAML
<|file_sep|>original/requirements-test.txt # this assumes the base requirements have been satisfied via setup.py pytest pytest-cov pytest-pep8 mock <|file_sep|>current/requirements-test.txt # this assumes the base requirements have been satisfied via setup.py pytest pytest-cov pytest-pep8 mock <|file_sep|>updated/requi...
# this assumes the base requirements have been satisfied via setup.py # pytest>=3.3.0 dropped support for Python 2.6 and 3.3 pytest<=3.2.5 pytest-cov pytest-pep8 mock
<|file_sep|>original/requirements-test.txt # this assumes the base requirements have been satisfied via setup.py pytest pytest-cov pytest-pep8 mock <|file_sep|>current/requirements-test.txt # this assumes the base requirements have been satisfied via setup.py pytest pytest-cov pytest-pep8 mock <|file_sep|>updated/requi...
a179e422ba16cb8f3f3cbedd978a0f9257571328
requirements-test.txt
requirements-test.txt
Text
<|file_sep|>original/setup.cfg [metadata] name = pytest-testmon version = 1.2.1 license = AGPL author_email = tibor.arpas@infinit.sk author = Tibor Arpas, Tomas Matlovic, Daniel Hahler, Martin Racak description = selects tests affected by changed files and methods long_description = file: README.rst url = https://testm...
[metadata] name = pytest-testmon version = 1.2.2 license = AGPL author_email = tibor.arpas@infinit.sk author = Tibor Arpas, Tomas Matlovic, Daniel Hahler, Martin Racak description = selects tests affected by changed files and methods long_description = file: README.rst url = https://testmon.org platforms = linux ...
<|file_sep|>original/setup.cfg [metadata] name = pytest-testmon version = 1.2.1 license = AGPL author_email = tibor.arpas@infinit.sk author = Tibor Arpas, Tomas Matlovic, Daniel Hahler, Martin Racak description = selects tests affected by changed files and methods long_description = file: README.rst url = https://testm...
477476fe0cfc2060db3a6954bef6a829050fa64d
setup.cfg
setup.cfg
INI
<|file_sep|>original/test/CodeGen/Blackfin/2009-08-15-SetCC-Undef.ll <|file_sep|>current/test/CodeGen/Blackfin/2009-08-15-SetCC-Undef.ll <|file_sep|>updated/test/CodeGen/Blackfin/2009-08-15-SetCC-Undef.ll
; RUN: llvm-as < %s | llc -march=bfin -verify-machineinstrs ; XFAIL: * ; An undef argument causes a setugt node to escape instruction selection. define void @bugt() { cond_next305: %tmp306307 = trunc i32 undef to i8 ; <i8> [#uses=1] %tmp308 = icmp ugt i8 %tmp306307, 6 ; <i1> [#uses=1] b...
<|file_sep|>original/test/CodeGen/Blackfin/2009-08-15-SetCC-Undef.ll <|file_sep|>current/test/CodeGen/Blackfin/2009-08-15-SetCC-Undef.ll <|file_sep|>updated/test/CodeGen/Blackfin/2009-08-15-SetCC-Undef.ll ; RUN: llvm-as < %s | llc -march=bfin -verify-machineinstrs ; XFAIL: * ; An undef argument causes a setugt node ...
7d927212de4371e8883cab5b00651528baa6f83b
test/CodeGen/Blackfin/2009-08-15-SetCC-Undef.ll
test/CodeGen/Blackfin/2009-08-15-SetCC-Undef.ll
LLVM
<|file_sep|>original/README.md object-utils ============ [![Build Status](https://travis-ci.org/ultraq/object-utils.svg?branch=master)](https://travis-ci.org/ultraq/object-utils) [![npm](https://img.shields.io/npm/v/@ultraq/object-utils.svg?maxAge=3600)](https://www.npmjs.com/package/@ultraq/object-utils) [![License]...
object-utils ============ [![Build Status](https://travis-ci.org/ultraq/object-utils.svg?branch=master)](https://travis-ci.org/ultraq/object-utils) [![Coverage Status](https://coveralls.io/repos/github/ultraq/object-utils/badge.svg?branch=master)](https://coveralls.io/github/ultraq/object-utils?branch=master) [![npm]...
<|file_sep|>original/README.md object-utils ============ [![Build Status](https://travis-ci.org/ultraq/object-utils.svg?branch=master)](https://travis-ci.org/ultraq/object-utils) [![npm](https://img.shields.io/npm/v/@ultraq/object-utils.svg?maxAge=3600)](https://www.npmjs.com/package/@ultraq/object-utils) [![License]...
ae648bd5dc552acb9d8ce64387e81b0743922dd4
README.md
README.md
Markdown
<|file_sep|>original/.zuul.yaml - project: templates: - puppet-openstack-check-jobs - puppet-openstack-module-unit-jobs - puppet-openstack-integration-jobs-scenario001 - puppet-openstack-integration-jobs-scenario002 - puppet-openstack-integration-jobs-scenario004 - puppet-opensta...
- project: templates: - puppet-openstack-check-jobs - puppet-openstack-module-unit-jobs - puppet-openstack-integration-jobs-scenario001 - puppet-openstack-integration-jobs-scenario002 - puppet-openstack-integration-jobs-scenario004 - puppet-openstack-integration-jobs-scenario005 ...
<|file_sep|>original/.zuul.yaml - project: templates: - puppet-openstack-check-jobs - puppet-openstack-module-unit-jobs - puppet-openstack-integration-jobs-scenario001 - puppet-openstack-integration-jobs-scenario002 - puppet-openstack-integration-jobs-scenario004 - puppet-opensta...
dd5e07d679f106804d7b83e06d18aa5f5fc753c9
.zuul.yaml
.zuul.yaml
YAML
<|file_sep|>original/nrf5/boards/feather52/mpconfigboard_s132.mk MCU_SERIES = m4 MCU_VARIANT = nrf52 MCU_SUB_VARIANT = nrf52832 SOFTDEV_VERSION = 2.0.1 LD_FILE = boards/feather52/custom_nrf52832_dfu_app.ld NRF_DEFINES += -DNRF52832_XXAA <|file_sep|>current/nrf5/boards/feather52/mpconfigboard_s132.mk MCU_SERIES = m4 M...
MCU_SERIES = m4 MCU_VARIANT = nrf52 MCU_SUB_VARIANT = nrf52832 SOFTDEV_VERSION = 2.0.1 LD_FILE = boards/feather52/custom_nrf52832_dfu_app.ld NRF_DEFINES += -DNRF52832_XXAA check_defined = \ $(strip $(foreach 1,$1, \ $(call __check_defined,$1,$(strip $(value 2))))) __check_defined = \ $(if $(value $1),, ...
<|file_sep|>original/nrf5/boards/feather52/mpconfigboard_s132.mk MCU_SERIES = m4 MCU_VARIANT = nrf52 MCU_SUB_VARIANT = nrf52832 SOFTDEV_VERSION = 2.0.1 LD_FILE = boards/feather52/custom_nrf52832_dfu_app.ld NRF_DEFINES += -DNRF52832_XXAA <|file_sep|>current/nrf5/boards/feather52/mpconfigboard_s132.mk MCU_SERIES = m4 M...
3996ed7183b33678bd05c9adb6b3b5f30d55465c
nrf5/boards/feather52/mpconfigboard_s132.mk
nrf5/boards/feather52/mpconfigboard_s132.mk
Makefile
<|file_sep|>original/src/Sdmx/api/client/http/RequestHttpClient.php /** * @param string $url * @param array $headers * @param array $options * @return string */ public function get($url, $headers = array('Accept' => 'application/xml', 'Accept-Encoding' => 'gzip'), $options = array()) ...
/** * @param string $url * @param array $headers * @param array $options * @return string */ public function get($url, $headers = array('Accept' => 'application/xml', 'Accept-Encoding' => 'gzip'), $options = array()) { $headersToSend = array_merge($this->predefinedHeaders, $...
<|file_sep|>original/src/Sdmx/api/client/http/RequestHttpClient.php /** * @param string $url * @param array $headers * @param array $options * @return string */ public function get($url, $headers = array('Accept' => 'application/xml', 'Accept-Encoding' => 'gzip'), $options = array()) ...
cd2b403975e2b4d9adeee053f7befea64a0bd198
src/Sdmx/api/client/http/RequestHttpClient.php
src/Sdmx/api/client/http/RequestHttpClient.php
PHP
<|file_sep|>original/install_scripts/osx_defaults.sh # make dock really small defaults write com.apple.dock tilesize -int 32 # dock restart killall Dock # no report when app crashes defaults write com.apple.CrashReporter DialogType none # performance > security, don't verify DMG :) defaults write com.apple.framewor...
# dock restart killall Dock # no report when app crashes defaults write com.apple.CrashReporter DialogType none # performance > security, don't verify DMG :) defaults write com.apple.frameworks.diskimages skip-verify -bool YES # save dialogs extended on default defaults write -g NSNavPanelExpandedStateForSaveMode -...
<|file_sep|>original/install_scripts/osx_defaults.sh # make dock really small defaults write com.apple.dock tilesize -int 32 # dock restart killall Dock # no report when app crashes defaults write com.apple.CrashReporter DialogType none # performance > security, don't verify DMG :) defaults write com.apple.framewor...
bedd2c63abdbf8d279ecc5df0cfcd615210ed43e
install_scripts/osx_defaults.sh
install_scripts/osx_defaults.sh
Shell
<|file_sep|>original/README.md # My presentations A repository for my presnetation - [DevNation 2014: Introduction to Fabric8](https://github.com/iocanel/presentations/tree/2014-devnation-introduction-to-fabric8) - [DevNation 2014: Fabric8: Depp Dive](https://github.com/iocanel/presentations/tree/2014-devnation-fabric...
# My presentations A repository for my presnetation - [DevNation 2014: Introduction to Fabric8](https://github.com/iocanel/presentations/tree/2014-devnation-introduction-to-fabric8) - [DevNation 2014: Fabric8: Depp Dive](https://github.com/iocanel/presentations/tree/2014-devnation-fabric8-deep-dive) - [JavaSi 2014: In...
<|file_sep|>original/README.md # My presentations A repository for my presnetation - [DevNation 2014: Introduction to Fabric8](https://github.com/iocanel/presentations/tree/2014-devnation-introduction-to-fabric8) - [DevNation 2014: Fabric8: Depp Dive](https://github.com/iocanel/presentations/tree/2014-devnation-fabric...
8807739ba8ef9b6c8d453da5ed07484273c39d6c
README.md
README.md
Markdown
<|file_sep|>app/scripts/services/invitation-service.js.diff original: var vm = this; updated: <|file_sep|>app/scripts/services/invitation-service.js.diff original: return vm.executeAction(invitation_uuid, 'accept'); updated: return this.executeAction(invitation_uuid, 'accept'); <|file_sep|>app/scri...
this._super(); this.endpoint = '/user-invitations/'; }, accept: function(invitation_uuid) { return this.executeAction(invitation_uuid, 'accept'); }, cancel: function(invitation_uuid) { return this.executeAction(invitation_uuid, 'cancel'); }, resend: fu...
<|file_sep|>app/scripts/services/invitation-service.js.diff original: var vm = this; updated: <|file_sep|>app/scripts/services/invitation-service.js.diff original: return vm.executeAction(invitation_uuid, 'accept'); updated: return this.executeAction(invitation_uuid, 'accept'); <|file_sep|>app/scri...
9f2b45cec678d106844359977968c859f1bc9c16
app/scripts/services/invitation-service.js
app/scripts/services/invitation-service.js
JavaScript