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/test/browser/browserstack-runner.js
const reporter = require('mocha/lib/reporters').min;
const bridgeTests = require('mocha-selenium-bridge');
const { Builder } = require('selenium-webdriver');
const bsConfig = {
project: 'messageformat',
'browserstack.local': 'true',
'browserstack.user': pr... | const reporter = require('mocha/lib/reporters').min;
const bridgeTests = require('mocha-selenium-bridge');
const { Builder } = require('selenium-webdriver');
const bsConfig = {
project: 'messageformat',
'browserstack.local': 'true',
'browserstack.user':
process.env.BROWSERSTACK_USER || process.env.BROWSERSTA... | <|file_sep|>original/test/browser/browserstack-runner.js
const reporter = require('mocha/lib/reporters').min;
const bridgeTests = require('mocha-selenium-bridge');
const { Builder } = require('selenium-webdriver');
const bsConfig = {
project: 'messageformat',
'browserstack.local': 'true',
'browserstack.user': pr... | 1bf03374b7edefdabacefbceb43ca02c6b702920 | test/browser/browserstack-runner.js | test/browser/browserstack-runner.js | JavaScript |
<|file_sep|>packages/ar/archive-libarchive.yaml.diff
original:
hash: 69c5c4f81ee4ab901b715cd2cc5e4b36a0436ff047b7883c863b63b0a40b3aed
updated:
hash: 90358c8d3bdfe5f476337327ede3c5761805293d67881d0c0a5164afa345988b
<|file_sep|>original/packages/ar/archive-libarchive.yaml
homepage: ''
changelog-type: ''
hash: 69c5c4f81ee... | homepage: ''
changelog-type: ''
hash: 90358c8d3bdfe5f476337327ede3c5761805293d67881d0c0a5164afa345988b
test-bench-deps: {}
maintainer: vamchale@gmail.com
synopsis: Common interface using libarchive
changelog: ''
basic-deps:
bytestring: -any
composition-prelude: -any
base: '>=4.3 && <5'
libarchive: '>=2.2.5.0 &&... | <|file_sep|>packages/ar/archive-libarchive.yaml.diff
original:
hash: 69c5c4f81ee4ab901b715cd2cc5e4b36a0436ff047b7883c863b63b0a40b3aed
updated:
hash: 90358c8d3bdfe5f476337327ede3c5761805293d67881d0c0a5164afa345988b
<|file_sep|>original/packages/ar/archive-libarchive.yaml
homepage: ''
changelog-type: ''
hash: 69c5c4f81ee... | 69d3fd816d47db191347fa53c56b85949548c0d3 | packages/ar/archive-libarchive.yaml | packages/ar/archive-libarchive.yaml | YAML |
<|file_sep|>original/requirements/dev.txt
# scratchdir/requirements/dev.txt
#
# Requirements for package development.
-r base.txt
bumpversion==0.5.3
mypy==0.701
pylint==1.7.5; python_version < '3.4' # pyup: ignore
pylint==2.3.1; python_version > '3.4'
bandit==1.5.1
safety==1.8.5
isort==4.2.15; (python_version > '3.0... | # scratchdir/requirements/dev.txt
#
# Requirements for package development.
-r base.txt
bumpversion==0.5.3
mypy==0.701
pylint==1.7.5; python_version < '3.4' # pyup: ignore
pylint==2.3.1; python_version > '3.4'
bandit==1.6.0
safety==1.8.5
isort==4.2.15; (python_version > '3.0' and python_version < '3.4') # pyup: ign... | <|file_sep|>original/requirements/dev.txt
# scratchdir/requirements/dev.txt
#
# Requirements for package development.
-r base.txt
bumpversion==0.5.3
mypy==0.701
pylint==1.7.5; python_version < '3.4' # pyup: ignore
pylint==2.3.1; python_version > '3.4'
bandit==1.5.1
safety==1.8.5
isort==4.2.15; (python_version > '3.0... | d9affbe36d67fca57321a0c2ff851b47f99308d5 | requirements/dev.txt | requirements/dev.txt | Text |
<|file_sep|>original/pyxray/parser/test_wikipedia.py
from pyxray.parser.wikipedia import WikipediaElementNameParser
# Globals and constants variables.
class TestWikipediaElementNameParser(unittest.TestCase):
def setUp(self):
unittest.TestCase.setUp(self)
self.parser = WikipediaElementNameParser(... | from pyxray.parser.wikipedia import WikipediaElementNameParser
# Globals and constants variables.
class TestWikipediaElementNameParser(unittest.TestCase):
def setUp(self):
unittest.TestCase.setUp(self)
self.parser = WikipediaElementNameParser()
def tearDown(self):
unittest.TestCase.... | <|file_sep|>original/pyxray/parser/test_wikipedia.py
from pyxray.parser.wikipedia import WikipediaElementNameParser
# Globals and constants variables.
class TestWikipediaElementNameParser(unittest.TestCase):
def setUp(self):
unittest.TestCase.setUp(self)
self.parser = WikipediaElementNameParser(... | b79f5173629cbe5dfe15633084e203d4a52c0b1b | pyxray/parser/test_wikipedia.py | pyxray/parser/test_wikipedia.py | Python |
<|file_sep|>original/src/style.css
.navbar-header {
padding-right: 8px;
vertical-align: middle;
line-height: 45px;
}
.nav-link-btn {
color: #eee;
-webkit-app-region: no-drag;
font-size: 22px;
margin-left: 18px;
}
.mar-horizontal-sm {
margin-left: 2px;
margin-right: 2px;
}
.addon {
width: 84px;
}
... | }
.nav-link-btn {
color: #eee;
-webkit-app-region: no-drag;
font-size: 22px;
margin-left: 18px;
}
.mar-horizontal-sm {
margin-left: 2px;
margin-right: 2px;
}
.addon {
width: 84px;
}
#password_story {
width: 59px
} | <|file_sep|>original/src/style.css
.navbar-header {
padding-right: 8px;
vertical-align: middle;
line-height: 45px;
}
.nav-link-btn {
color: #eee;
-webkit-app-region: no-drag;
font-size: 22px;
margin-left: 18px;
}
.mar-horizontal-sm {
margin-left: 2px;
margin-right: 2px;
}
.addon {
width: 84px;
}
... | 841bed141f734c8d3c2b8a125a133ad0829a4ab8 | src/style.css | src/style.css | CSS |
<|file_sep|>original/sass/partials/_summary-block.scss
margin: 0.6em 0 0.3em 0;
}
}
.toolbar {
height: 100%;
position: absolute;
top: 0;
right: 0;
margin-right: 0.5em;
font-size: 1.5em;
.toolbarItem {
display: table;
height: 100%;
a {
cursor: pointer;
v... | .toolbar {
height: 100%;
position: absolute;
top: 0;
right: 0;
margin-right: 0.5em;
font-size: 1.5em;
.toolbarItem {
display: table;
height: 100%;
a {
cursor: pointer;
vertical-align: middle;
display: table-cell;
transition: all .025s ease-in-ou... | <|file_sep|>original/sass/partials/_summary-block.scss
margin: 0.6em 0 0.3em 0;
}
}
.toolbar {
height: 100%;
position: absolute;
top: 0;
right: 0;
margin-right: 0.5em;
font-size: 1.5em;
.toolbarItem {
display: table;
height: 100%;
a {
cursor: pointer;
v... | 98da1cb6bde2d22ba01b2a7a3eba8881fd448c77 | sass/partials/_summary-block.scss | sass/partials/_summary-block.scss | SCSS |
<|file_sep|>original/README.md
## Build
1. Copy [grpc](https://github.com/grpc/grpc) as third-party/grpc, and build grpc.
* To ease the building on Windows: [plasticbox/grpc-windows](https://github.com/plasticbox/grpc-windows)
2. Use build/grpc_cb.sln or build/Makefile to build grpc_cb.
## Done
* grpc_cpp_cb_plugin
... | ## Build
1. Copy [grpc](https://github.com/grpc/grpc) as third-party/grpc, and build grpc.
* To ease the building on Windows: [plasticbox/grpc-windows](https://github.com/plasticbox/grpc-windows)
2. Use build/grpc_cb.sln or build/Makefile to build grpc_cb.
## Done
* grpc_cpp_cb_plugin
* grpc_cb library
* helloworld e... | <|file_sep|>original/README.md
## Build
1. Copy [grpc](https://github.com/grpc/grpc) as third-party/grpc, and build grpc.
* To ease the building on Windows: [plasticbox/grpc-windows](https://github.com/plasticbox/grpc-windows)
2. Use build/grpc_cb.sln or build/Makefile to build grpc_cb.
## Done
* grpc_cpp_cb_plugin
... | 8054874e79be2fb3386eede38cb3438250bece49 | README.md | README.md | Markdown |
<|file_sep|>original/features/decrypting_a_string.feature
<|file_sep|>current/features/decrypting_a_string.feature
<|file_sep|>updated/features/decrypting_a_string.feature | Feature: Decrypting a string
As an agent at the headquarters of an intelligence operation
I want to decrypt a piece of text that has been sent by one of our agents
So that I can understand the threat to our national security
Scenario: decode a string with a cipher text
Given the key stream "DWJXH YRFDG TMS... | <|file_sep|>original/features/decrypting_a_string.feature
<|file_sep|>current/features/decrypting_a_string.feature
<|file_sep|>updated/features/decrypting_a_string.feature
Feature: Decrypting a string
As an agent at the headquarters of an intelligence operation
I want to decrypt a piece of text that has been sent... | 2452070d79e4ce7b979c0c3d1824b3593b858e99 | features/decrypting_a_string.feature | features/decrypting_a_string.feature | Cucumber |
<|file_sep|>original/config/routes.rb
Rails.application.routes.draw do
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
end
<|file_sep|>current/config/routes.rb
Rails.application.routes.draw do
# For details on the DSL available within this file, see http://guides.... | Rails.application.routes.draw do
resource :users, only: :show
resource :badges, only: :show
end | <|file_sep|>original/config/routes.rb
Rails.application.routes.draw do
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
end
<|file_sep|>current/config/routes.rb
Rails.application.routes.draw do
# For details on the DSL available within this file, see http://guides.... | 0910b2e959b74d623de6c1440e7848f199a3a011 | config/routes.rb | config/routes.rb | Ruby |
<|file_sep|>original/.codeclimate.yml
phpmd:
enabled: true
ratings:
paths:
- "**.css"
- "**.inc"
- "**.js"
- "**.php"
exclude_paths:
- "tests/*"
- "libs/**/*"
- "vendor/**/*"
- "static.words.php"
- "css/bootstrap*"
- "css/font-awesome*"
- "css/jquery*"
- "js/bootbox*"
- "js/bootstrap*"
- "js/Chart*"
- "... | phpmd:
enabled: true
ratings:
paths:
- "**.css"
- "**.inc"
- "**.js"
- "**.php"
exclude_paths:
- tests/
- libs/
- vendor/
- "static.words.php"
- "css/bootstrap*"
- "css/font-awesome*"
- "css/jquery*"
- "js/bootbox*"
- "js/bootstrap*"
- "js/Chart*"
- "js/md5*"
- "js/jquery*" | <|file_sep|>original/.codeclimate.yml
phpmd:
enabled: true
ratings:
paths:
- "**.css"
- "**.inc"
- "**.js"
- "**.php"
exclude_paths:
- "tests/*"
- "libs/**/*"
- "vendor/**/*"
- "static.words.php"
- "css/bootstrap*"
- "css/font-awesome*"
- "css/jquery*"
- "js/bootbox*"
- "js/bootstrap*"
- "js/Chart*"
- "... | 71783e4ad3e76deeada729cbaf2042ae806de2c0 | .codeclimate.yml | .codeclimate.yml | YAML |
<|file_sep|>original/composer.json
"role": "Creator"
},
{
"name": "Isaac Leinweber",
"email": "brotchen@gmail.com",
"role": "Developer"
}
],
"minimum-stability" : "dev",
"require": {
"kilahm/clio": "dev-master",
"hackpac... | "role": "Creator"
},
{
"name": "Isaac Leinweber",
"email": "brotchen@gmail.com",
"role": "Developer"
}
],
"minimum-stability" : "dev",
"require": {
"kilahm/clio": "*",
"hackpack/hack-class-scanner": "*"
},
"autol... | <|file_sep|>original/composer.json
"role": "Creator"
},
{
"name": "Isaac Leinweber",
"email": "brotchen@gmail.com",
"role": "Developer"
}
],
"minimum-stability" : "dev",
"require": {
"kilahm/clio": "dev-master",
"hackpac... | 675187f4374d1f9b926620e70d71d098c1a8bedc | composer.json | composer.json | JSON |
<|file_sep|>original/SwiftCharts/Axis/ChartAxisValuesGeneratorFixed.swift
public var last: Double? {
return values.last
}
var values: [Double]
public convenience init(values: [ChartAxisValue]) {
self.init(values: values.map{$0.scalar})
}
public init(values: [Doubl... | public var last: Double? {
return values.last
}
var values: [Double]
public convenience init(values: [ChartAxisValue]) {
self.init(values: values.map{$0.scalar})
}
public init(values: [Double]) {
self.values = values
}
public func axisInitialized(axis:... | <|file_sep|>original/SwiftCharts/Axis/ChartAxisValuesGeneratorFixed.swift
public var last: Double? {
return values.last
}
var values: [Double]
public convenience init(values: [ChartAxisValue]) {
self.init(values: values.map{$0.scalar})
}
public init(values: [Doubl... | 0606ac84654ac43145ff4993758c56c0c6af8872 | SwiftCharts/Axis/ChartAxisValuesGeneratorFixed.swift | SwiftCharts/Axis/ChartAxisValuesGeneratorFixed.swift | Swift |
<|file_sep|>original/package.json
"name": "set-functions",
"description": "Common functions for set operations",
"version": "0.1.0",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/robbie-c/js-set-functions"
},
"main": "src/set-functions.js",
"scripts": {
"prepubl... | "name": "set-functions",
"description": "Common functions for set operations",
"version": "0.1.0",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/robbie-c/js-set-functions"
},
"main": "src/set-functions.js",
"scripts": {
"lint": "eslint src",
"build": "gulp",... | <|file_sep|>original/package.json
"name": "set-functions",
"description": "Common functions for set operations",
"version": "0.1.0",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/robbie-c/js-set-functions"
},
"main": "src/set-functions.js",
"scripts": {
"prepubl... | a67e949a2c1051463c9625767c465345add3a550 | package.json | package.json | JSON |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.1
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.1
<|file_sep|>updated/.travis.yml | language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.1 | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.1
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.1
<|file_sep|>updated/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.1 | 5b82aece00cc4ae2aac7bb14c387f77a259f0bc5 | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/charting/EChart.js.diff
original:
shouldComponentUpdate(nextProps) {
updated:
componentDidUpdate(nextProps) {
<|file_sep|>src/charting/EChart.js.diff
original:
updated:
this.echart.setOption(nextProps.options);
}
shouldComponentUpdate(nextProps) {
<|file_sep|>original/src/chart... | componentDidUpdate(nextProps) {
if (nextProps.style !== this.props.style) {
this.echart.resize();
}
this.echart.setOption(nextProps.options);
}
shouldComponentUpdate(nextProps) {
const data = this.props.options.series[0].data;
const newData = nextProps.o... | <|file_sep|>src/charting/EChart.js.diff
original:
shouldComponentUpdate(nextProps) {
updated:
componentDidUpdate(nextProps) {
<|file_sep|>src/charting/EChart.js.diff
original:
updated:
this.echart.setOption(nextProps.options);
}
shouldComponentUpdate(nextProps) {
<|file_sep|>original/src/chart... | 5aca4deed9d54775526cc48a9768ebbfb812e96b | src/charting/EChart.js | src/charting/EChart.js | JavaScript |
<|file_sep|>original/alpha-queue/jobqueue/src/main/java/com/path/android/jobqueue/DebugLog.java
<|file_sep|>current/alpha-queue/jobqueue/src/main/java/com/path/android/jobqueue/DebugLog.java
<|file_sep|>updated/alpha-queue/jobqueue/src/main/java/com/path/android/jobqueue/DebugLog.java | /***
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
For more information, please... | <|file_sep|>original/alpha-queue/jobqueue/src/main/java/com/path/android/jobqueue/DebugLog.java
<|file_sep|>current/alpha-queue/jobqueue/src/main/java/com/path/android/jobqueue/DebugLog.java
<|file_sep|>updated/alpha-queue/jobqueue/src/main/java/com/path/android/jobqueue/DebugLog.java
/***
This is free and unencumbe... | a3ac859f5fd6b8f4017d6401dc5b7bc93c335650 | alpha-queue/jobqueue/src/main/java/com/path/android/jobqueue/DebugLog.java | alpha-queue/jobqueue/src/main/java/com/path/android/jobqueue/DebugLog.java | Java |
<|file_sep|>original/package.json
"license": "GPL-3.0",
"workspaces": [
"applications/*",
"packages/*",
"tests",
"utilities/*"
],
"scripts": {
"config-app": "(packages/config/install 2>/dev/null) || true",
"postinstall": "is-ci || (husky install; yarn run ... | "license": "GPL-3.0",
"workspaces": [
"applications/*",
"packages/*",
"tests",
"utilities/*"
],
"scripts": {
"config-app": "(packages/config/install 2>/dev/null) || true",
"postinstall": "is-ci || (husky install; yarn run config-app)",
"start-all":... | <|file_sep|>original/package.json
"license": "GPL-3.0",
"workspaces": [
"applications/*",
"packages/*",
"tests",
"utilities/*"
],
"scripts": {
"config-app": "(packages/config/install 2>/dev/null) || true",
"postinstall": "is-ci || (husky install; yarn run ... | 50a6bb4117e2376311b14aa31d6c2b69a60150bc | package.json | package.json | JSON |
<|file_sep|>.travis.yml.diff
original:
env:
- NODE_ENV=production
updated:
<|file_sep|>original/.travis.yml
node_js:
- "0.10"
- "0.12"
- "4"
- "6"
- "8"
- "9"
before_install:
- travis_retry npm install
install:
- npm install mocha istanbul standard
- npm install babel-cli babel-preset-env babel-p... | - "0.12"
- "4"
- "6"
- "8"
- "9"
before_install:
- travis_retry npm install
install:
- npm install -g check-node-version
- npm install -g codecov
script:
- bin/test-and-build.sh --ci
- (check-node-version --node '>=8.0.0' && codecov); echo '---'
matrix:
allow_failures:
- node_js: "0.10"
... | <|file_sep|>.travis.yml.diff
original:
env:
- NODE_ENV=production
updated:
<|file_sep|>original/.travis.yml
node_js:
- "0.10"
- "0.12"
- "4"
- "6"
- "8"
- "9"
before_install:
- travis_retry npm install
install:
- npm install mocha istanbul standard
- npm install babel-cli babel-preset-env babel-p... | 73c4dbd798f282516f6abb395512571442345b3c | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/lib/processor._coffee
<|file_sep|>current/lib/processor._coffee
<|file_sep|>updated/lib/processor._coffee | DeepZoomImage = require 'deepzoomtools'
path = require 'path'
# Defaults
DEFAULT_TILE_SIZE = 254
DEFAULT_TILE_OVERLAP = 1
DEFAULT_FORMAT = 'jpg'
# Public API
module.exports = class Processor
constructor: (@path) ->
process: (source, _) ->
destination = path.join @path, path.basename source
DeepZoomImage... | <|file_sep|>original/lib/processor._coffee
<|file_sep|>current/lib/processor._coffee
<|file_sep|>updated/lib/processor._coffee
DeepZoomImage = require 'deepzoomtools'
path = require 'path'
# Defaults
DEFAULT_TILE_SIZE = 254
DEFAULT_TILE_OVERLAP = 1
DEFAULT_FORMAT = 'jpg'
# Public API
module.exports = class Proces... | f6ad3ce674e2e0316f4fad538f2951d05323275c | lib/processor._coffee | lib/processor._coffee | CoffeeScript |
<|file_sep|>original/.vscode/launch.json
"configurations": [
{
"name": ".NET Core Launch",
"type": "coreclr",
"request": "launch",
"justMyCode": false,
"stopAtEntry": true,
"program": "${workspaceRoot}/bin/powershell",
"args": [ ],
"preLaunchTask": "build",
"cwd": "${workspaceRoot}"
},
... | "configurations": [
{
"name": ".NET Core Launch",
"type": "coreclr",
"request": "launch",
"justMyCode": false,
"stopAtEntry": true,
"program": "${workspaceRoot}/bin/powershell",
"args": [ ],
"preLaunchTask": "build",
"cwd": "${workspaceRoot}"
},
{
"name": ".NET Core Attach",
"typ... | <|file_sep|>original/.vscode/launch.json
"configurations": [
{
"name": ".NET Core Launch",
"type": "coreclr",
"request": "launch",
"justMyCode": false,
"stopAtEntry": true,
"program": "${workspaceRoot}/bin/powershell",
"args": [ ],
"preLaunchTask": "build",
"cwd": "${workspaceRoot}"
},
... | 18ba3f3365a33867374dbedd498c16e0e07cc69f | .vscode/launch.json | .vscode/launch.json | JSON |
<|file_sep|>app/views/tags/index.html.erb.diff
original:
<h4>Tags</h4>
updated:
<h4>All Tags:</h4>
<|file_sep|>original/app/views/tags/index.html.erb
<h4>Tags</h4>
<ol>
<% @tags.each do |tag| %>
<%= link_to tag.name, question_tags_path(tag), :class => "user-show-link"%>
<% end %>
</ol>
<|file_sep|>curre... | <h4>All Tags:</h4>
<ol>
<% @tags.each do |tag| %>
<%= link_to tag.name, question_path(tag) %>
<% end %>
</ol> | <|file_sep|>app/views/tags/index.html.erb.diff
original:
<h4>Tags</h4>
updated:
<h4>All Tags:</h4>
<|file_sep|>original/app/views/tags/index.html.erb
<h4>Tags</h4>
<ol>
<% @tags.each do |tag| %>
<%= link_to tag.name, question_tags_path(tag), :class => "user-show-link"%>
<% end %>
</ol>
<|file_sep|>curre... | 28d6a993a202d0175e8271f18c7c401d3df66c39 | app/views/tags/index.html.erb | app/views/tags/index.html.erb | HTML+ERB |
<|file_sep|>original/TesseractCoreTests/TypeDifferentialTests.swift
// Copyright (c) 2015 Rob Rix. All rights reserved.
final class TypeDifferentialTests: XCTestCase {
// MARK: Patching
func testEmptyDiffIsIdempotent() {
assert(TypeDifferential.Empty.apply(Term.Bool), ==, Term.Bool)
}
}
import Assertions
imp... | // Copyright (c) 2015 Rob Rix. All rights reserved.
final class TypeDifferentialTests: XCTestCase {
// MARK: Patching
func testEmptyDiffIsIdempotent() {
assert(TypeDifferential.Empty.apply(Term.Bool), ==, Term.Bool)
}
func testUnitDiffReplacesOtherConstructors() {
assert(TypeDifferential.Patch(Type.constru... | <|file_sep|>original/TesseractCoreTests/TypeDifferentialTests.swift
// Copyright (c) 2015 Rob Rix. All rights reserved.
final class TypeDifferentialTests: XCTestCase {
// MARK: Patching
func testEmptyDiffIsIdempotent() {
assert(TypeDifferential.Empty.apply(Term.Bool), ==, Term.Bool)
}
}
import Assertions
imp... | fe8a22edd54339d2bc09a57f22907390ae580e43 | TesseractCoreTests/TypeDifferentialTests.swift | TesseractCoreTests/TypeDifferentialTests.swift | Swift |
<|file_sep|>original/dynosaur.gemspec
spec.name = 'dynosaur'
spec.version = Dynosaur::VERSION
spec.authors = ['Tom Collier']
spec.email = ['collier@apartmentlist.com']
spec.license = 'MIT'
spec.summary = 'Run a rake task in a separate process (locally or on Heroku)'
sp... | spec.name = 'dynosaur'
spec.version = Dynosaur::VERSION
spec.authors = ['Tom Collier']
spec.email = ['collier@apartmentlist.com']
spec.license = 'MIT'
spec.summary = 'Run a rake task in a separate process (locally or on Heroku)'
spec.files = `git ls-files -z`.split("\x... | <|file_sep|>original/dynosaur.gemspec
spec.name = 'dynosaur'
spec.version = Dynosaur::VERSION
spec.authors = ['Tom Collier']
spec.email = ['collier@apartmentlist.com']
spec.license = 'MIT'
spec.summary = 'Run a rake task in a separate process (locally or on Heroku)'
sp... | e1fc25646454063d2288681a8416115b782c4080 | dynosaur.gemspec | dynosaur.gemspec | Ruby |
<|file_sep|>original/usr.sbin/mergemaster/Makefile
# $FreeBSD$
MAINTAINER= dougb@FreeBSD.org
SCRIPTS=mergemaster.sh
MAN= mergemaster.8
.include <bsd.prog.mk>
<|file_sep|>current/usr.sbin/mergemaster/Makefile
# $FreeBSD$
MAINTAINER= dougb@FreeBSD.org
SCRIPTS=mergemaster.sh
MAN= mergemaster.8
.include <bsd.prog.mk... | # $FreeBSD$
SCRIPTS=mergemaster.sh
MAN= mergemaster.8
.include <bsd.prog.mk>
| <|file_sep|>original/usr.sbin/mergemaster/Makefile
# $FreeBSD$
MAINTAINER= dougb@FreeBSD.org
SCRIPTS=mergemaster.sh
MAN= mergemaster.8
.include <bsd.prog.mk>
<|file_sep|>current/usr.sbin/mergemaster/Makefile
# $FreeBSD$
MAINTAINER= dougb@FreeBSD.org
SCRIPTS=mergemaster.sh
MAN= mergemaster.8
.include <bsd.prog.mk... | dbe99798c28b3bbeb3feb5d5c999a201703d4c71 | usr.sbin/mergemaster/Makefile | usr.sbin/mergemaster/Makefile | unknown |
<|file_sep|>original/dciclient/v1/utils.py
if isinstance(v, dict):
ret += flatten(v, prefix=p)
else:
ret.append("%s=%s" % (p, v))
return ret
def print_json(result_json):
formatted_result = json.dumps(result_json, indent=4)
click.echo(formatted_result)
def sanitize... | else:
ret.append("%s=%s" % (p, v))
return ret
def print_json(result_json):
formatted_result = json.dumps(result_json, indent=4)
click.echo(formatted_result)
def sanitize_kwargs(**kwargs):
kwargs = dict((k, v) for k, v in six.iteritems(kwargs) if v)
try:
kwargs['data'... | <|file_sep|>original/dciclient/v1/utils.py
if isinstance(v, dict):
ret += flatten(v, prefix=p)
else:
ret.append("%s=%s" % (p, v))
return ret
def print_json(result_json):
formatted_result = json.dumps(result_json, indent=4)
click.echo(formatted_result)
def sanitize... | c7efd5976f511200162610612fcd5b6f9b013a54 | dciclient/v1/utils.py | dciclient/v1/utils.py | Python |
<|file_sep|>original/lib/defaults.js
// Default options
'use strict';
module.exports = {
html: false,
xhtml: false,
breaks: true,
langprefix: 'language-'
};
<|file_sep|>current/lib/defaults.js
// Default options
'use strict';
module.exports = {
html: false,
xhtml: false,
breaks: true,
langprefix: ... | // Default options
'use strict';
module.exports = {
html: false,
xhtml: false,
breaks: false,
langprefix: 'language-'
}; | <|file_sep|>original/lib/defaults.js
// Default options
'use strict';
module.exports = {
html: false,
xhtml: false,
breaks: true,
langprefix: 'language-'
};
<|file_sep|>current/lib/defaults.js
// Default options
'use strict';
module.exports = {
html: false,
xhtml: false,
breaks: true,
langprefix: ... | bad3649d0f1f123b0eb18078753139c0198be3cb | lib/defaults.js | lib/defaults.js | JavaScript |
<|file_sep|>original/rb/spec/unit/selenium/webdriver/chrome/service_spec.rb
it "uses the user-provided path if set" do
Platform.stub!(:os => :unix)
Platform.stub!(:assert_executable).with("/some/path")
Chrome.path = "/some/path"
ChildProcess.should_receive(:build).
... |
it "uses the user-provided path if set" do
Platform.stub!(:os => :unix)
Platform.stub!(:assert_executable).with("/some/path")
Chrome.path = "/some/path"
ChildProcess.should_receive(:build).
with { |*args| args.first.should == "/some/path" }.
... | <|file_sep|>original/rb/spec/unit/selenium/webdriver/chrome/service_spec.rb
it "uses the user-provided path if set" do
Platform.stub!(:os => :unix)
Platform.stub!(:assert_executable).with("/some/path")
Chrome.path = "/some/path"
ChildProcess.should_receive(:build).
... | 4f57be1978a85079ae8680dba43f55ec07886b2b | rb/spec/unit/selenium/webdriver/chrome/service_spec.rb | rb/spec/unit/selenium/webdriver/chrome/service_spec.rb | Ruby |
<|file_sep|>original/odin/build.sbt
name := "processors-odin"
libraryDependencies ++= Seq(
"org.scala-lang" % "scala-reflect" % scalaVersion.value,
"org.scala-lang.modules" %% "scala-parser-combinators" % "1.0.3",
"org.apache.commons" % "commons-text" % "1.1",
"org... | name := "processors-odin"
libraryDependencies ++= Seq(
"org.scala-lang" % "scala-reflect" % scalaVersion.value,
"org.scala-lang.modules" %% "scala-parser-combinators" % "1.0.4",
"org.apache.commons" % "commons-text" % "1.1",
"org.yaml" % "snakeyaml... | <|file_sep|>original/odin/build.sbt
name := "processors-odin"
libraryDependencies ++= Seq(
"org.scala-lang" % "scala-reflect" % scalaVersion.value,
"org.scala-lang.modules" %% "scala-parser-combinators" % "1.0.3",
"org.apache.commons" % "commons-text" % "1.1",
"org... | 8662b9ec854a5ccbda6b7880dca1b72f8ba65933 | odin/build.sbt | odin/build.sbt | Scala |
<|file_sep|>.travis.yml.diff
original:
- MAVEN_VERSION=3.5.4
updated:
- MAVEN_VERSION=3.6.0
<|file_sep|>original/.travis.yml
# We need to make a preliminary installation of the needed
# Maven version cause travis will offer only Maven 3.2.5
install:
- "mvn -N io.takari:maven:wrapper -Dmaven=${MAVEN_VERSION}"
#
s... | # Maven version cause travis will offer only Maven 3.2.5
install:
- "mvn -N io.takari:maven:wrapper -Dmaven=${MAVEN_VERSION}"
#
script:
- "./mvnw --show-version --errors --batch-mode clean verify"
jdk:
- oraclejdk8
- oraclejdk9
- openjdk10
- openjdk11
cache:
directories:
- $HOME/.m2
branches:
except:
... | <|file_sep|>.travis.yml.diff
original:
- MAVEN_VERSION=3.5.4
updated:
- MAVEN_VERSION=3.6.0
<|file_sep|>original/.travis.yml
# We need to make a preliminary installation of the needed
# Maven version cause travis will offer only Maven 3.2.5
install:
- "mvn -N io.takari:maven:wrapper -Dmaven=${MAVEN_VERSION}"
#
s... | 8bbc3ea0ec199961fd69c30245667494144f597c | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/experiments/babi-1-a/notes.txt
<|file_sep|>current/experiments/babi-1-a/notes.txt
<|file_sep|>updated/experiments/babi-1-a/notes.txt | To show behavior on remotely fitted parameters, try this:
logistician sync
logistician run --data_readonly "./data/--optimize" -o "--behavior"
logistician run --data_readonly "./data/--optimize" -o "--loglikelihood-train" | <|file_sep|>original/experiments/babi-1-a/notes.txt
<|file_sep|>current/experiments/babi-1-a/notes.txt
<|file_sep|>updated/experiments/babi-1-a/notes.txt
To show behavior on remotely fitted parameters, try this:
logistician sync
logistician run --data_readonly "./data/--optimize" -o "--behavior"
logistician ru... | 57dd391758da97ea1a68b76af122bd4f4760b8d6 | experiments/babi-1-a/notes.txt | experiments/babi-1-a/notes.txt | Text |
<|file_sep|>original/README.md
Visual novel guides with modern features:
- Easier to follow than regular walkthroughs
- Presents the option to hide upcoming choices to avoid potential spoilers
- Functions well on both desktop and mobile environments
- Reusable in multiple projects
<|file_sep|>current/README.md
Visual ... | Visual novel guides with modern features:
- Easier to follow than regular walkthroughs
- Presents the option to hide upcoming choices to avoid potential spoilers
- Functions well on both desktop and mobile environments
- Reusable in multiple projects
See it in action: [*AIR: Standard Edition* Walkthrough](http://eren... | <|file_sep|>original/README.md
Visual novel guides with modern features:
- Easier to follow than regular walkthroughs
- Presents the option to hide upcoming choices to avoid potential spoilers
- Functions well on both desktop and mobile environments
- Reusable in multiple projects
<|file_sep|>current/README.md
Visual ... | f6ab40c4ac5dccd445e826f335a674da178c6a48 | README.md | README.md | Markdown |
<|file_sep|>original/package.json
"url": "https://github.com/simov/rubinho.git"
},
"main": "./server",
"dependencies": {
"async": "0.9.0",
"cheerio": "0.12.3",
"compression": "^1.6.2",
"express": "^4.14.0",
"hogan.js": "3.0.2",
"morgan": "^1.7.0",
"serve-favicon": "^2.3.0",
"se... | "dependencies": {
"async": "0.9.0",
"cheerio": "0.12.3",
"compression": "^1.6.2",
"express": "^4.14.0",
"hogan.js": "3.0.2",
"morgan": "^1.7.0",
"serve-favicon": "^2.3.0",
"serve-static": "^1.11.1",
"ws": "0.4.31"
},
"devDependencies": {
"bower": "^1.7.9"
},
"engines": ... | <|file_sep|>original/package.json
"url": "https://github.com/simov/rubinho.git"
},
"main": "./server",
"dependencies": {
"async": "0.9.0",
"cheerio": "0.12.3",
"compression": "^1.6.2",
"express": "^4.14.0",
"hogan.js": "3.0.2",
"morgan": "^1.7.0",
"serve-favicon": "^2.3.0",
"se... | 97b8497df72d30bbb9209f2df87a37f6c44290d7 | package.json | package.json | JSON |
<|file_sep|>original/site/_includes/header.html
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="{{ page.description | default: site.description | smartify }}">
<meta name="author" content="{{ site.authors }}">
<meta name="ge... | <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="{{ page.description | default: site.description | smartify }}">
<meta name="author" content="{{ site.authors }}">
<meta name="generator" content="Jekyll v{{ jekyll.version }}">... | <|file_sep|>original/site/_includes/header.html
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="{{ page.description | default: site.description | smartify }}">
<meta name="author" content="{{ site.authors }}">
<meta name="ge... | fea797ad276e970e385556674efc96629b900e71 | site/_includes/header.html | site/_includes/header.html | HTML |
<|file_sep|>original/spec/integration/command/aggregate_spec.rb
<|file_sep|>current/spec/integration/command/aggregate_spec.rb
<|file_sep|>updated/spec/integration/command/aggregate_spec.rb | # encoding: utf-8
require 'spec_helper'
ENV['ADAPTER'] = 'cassandra'
describe 'aggregate support' do
before :all do
setup_keyspace
adapter.execute("""
CREATE TABLE heffalumps (
user varint,
type varint,
time timestamp,
PRIMARY KEY (user, type, time)
)
""")
... | <|file_sep|>original/spec/integration/command/aggregate_spec.rb
<|file_sep|>current/spec/integration/command/aggregate_spec.rb
<|file_sep|>updated/spec/integration/command/aggregate_spec.rb
# encoding: utf-8
require 'spec_helper'
ENV['ADAPTER'] = 'cassandra'
describe 'aggregate support' do
before :all do
set... | b8fde1fcfb2f62efe06c31153c29f59125560d0b | spec/integration/command/aggregate_spec.rb | spec/integration/command/aggregate_spec.rb | Ruby |
<|file_sep|>original/manager/accounts/templates/accounts/_create_form.html
<div id="name-field">
{% include "serializers/_field.html" with field=serializer.name icon="ri-at-line" autofocus=True %}
</div>
<hr />
<div id="profile-fields">
<span class="title is-3">{% trans "Profile" %}</span>
{% inc... |
<div id="name-field">
{% include "serializers/_field.html" with field=serializer.name icon="ri-at-line" autofocus=True %}
</div>
<hr />
<div id="profile-fields">
<span class="title is-3">{% trans "Profile" %}</span>
{% include "_help_tip.html" with text="These fields are not required. But they'll... | <|file_sep|>original/manager/accounts/templates/accounts/_create_form.html
<div id="name-field">
{% include "serializers/_field.html" with field=serializer.name icon="ri-at-line" autofocus=True %}
</div>
<hr />
<div id="profile-fields">
<span class="title is-3">{% trans "Profile" %}</span>
{% inc... | 166c68e6fe20da16f0fb202f094765b4745e6776 | manager/accounts/templates/accounts/_create_form.html | manager/accounts/templates/accounts/_create_form.html | HTML |
<|file_sep|>original/touch_switch/touch_switch.cpp
bool running = true;
bool relay_state = false;
int last_touch;
void sig_handler(int signo)
{
if (signo == SIGINT)
running = false;
}
int main(int argc, char* argv[])
{
mraa::Gpio* touch_gpio = new mraa::Gpio(492);
mraa::Gpio* rel... | bool running = true;
bool relay_state = false;
int last_touch;
void sig_handler(int signo)
{
if (signo == SIGINT)
running = false;
}
int main(int argc, char* argv[])
{
mraa::Gpio* touch_gpio = new mraa::Gpio(29);
mraa::Gpio* relay_gpio = new mraa::Gpio(27);
mraa::Result r... | <|file_sep|>original/touch_switch/touch_switch.cpp
bool running = true;
bool relay_state = false;
int last_touch;
void sig_handler(int signo)
{
if (signo == SIGINT)
running = false;
}
int main(int argc, char* argv[])
{
mraa::Gpio* touch_gpio = new mraa::Gpio(492);
mraa::Gpio* rel... | d87d88ce5dc6ac226d834022277bfc24d9d57492 | touch_switch/touch_switch.cpp | touch_switch/touch_switch.cpp | C++ |
<|file_sep|>original/android/android_api/base/jni/JniOnMQSubscribeListener.h
* See the License for the specific language governing permissions and
* limitations under the License.
*
******************************************************************/
#include "JniOcStack.h"
#ifndef _Included_org_iotivity_base_OcRe... | * See the License for the specific language governing permissions and
* limitations under the License.
*
******************************************************************/
#include "JniOcStack.h"
#ifndef _Included_org_iotivity_base_OcResource_OnMQSubscribeListener
#define _Included_org_iotivity_base_OcResource_O... | <|file_sep|>original/android/android_api/base/jni/JniOnMQSubscribeListener.h
* See the License for the specific language governing permissions and
* limitations under the License.
*
******************************************************************/
#include "JniOcStack.h"
#ifndef _Included_org_iotivity_base_OcRe... | 21c4bbc85ab4f1ce35152e3a1c769663db23ca3f | android/android_api/base/jni/JniOnMQSubscribeListener.h | android/android_api/base/jni/JniOnMQSubscribeListener.h | C |
<|file_sep|>original/Classes/Http/ActiveHttpRequestProvider.php
namespace Neos\Flow\Http;
use Neos\Flow\Annotations as Flow;
use Neos\Flow\Core\Bootstrap;
use Psr\Http\Message\ServerRequestInterface;
/**
* Central authority to get hold of the active HTTP request.
* When no active HTTP request can be determined (for... | namespace Neos\Flow\Http;
use Neos\Flow\Annotations as Flow;
use Neos\Flow\Core\Bootstrap;
use Psr\Http\Message\ServerRequestInterface;
/**
* Central authority to get hold of the active HTTP request.
* When no active HTTP request can be determined (for example in CLI context) an exception will be thrown
*
* Note:... | <|file_sep|>original/Classes/Http/ActiveHttpRequestProvider.php
namespace Neos\Flow\Http;
use Neos\Flow\Annotations as Flow;
use Neos\Flow\Core\Bootstrap;
use Psr\Http\Message\ServerRequestInterface;
/**
* Central authority to get hold of the active HTTP request.
* When no active HTTP request can be determined (for... | a1bd0b8c257cc10dbb81b53819b1f8aab5cb8fff | Classes/Http/ActiveHttpRequestProvider.php | Classes/Http/ActiveHttpRequestProvider.php | PHP |
<|file_sep|>original/web/refresh.sh
#!/bin/sh
scp -i ~ben/certs/rtb4free_key.pem exchange.html ubuntu@rtb4free.com:XRTB/web
scp -i ~ben/certs/rtb4free_key.pem login.html ubuntu@rtb4free.com:XRTB/web
<|file_sep|>current/web/refresh.sh
#!/bin/sh
scp -i ~ben/certs/rtb4free_key.pem exchange.html ubuntu@rtb4free.com:XRTB/we... | #!/bin/sh
scp -i ~ben/certs/rtb4free_key.pem exchange.html ubuntu@rtb4free.com:XRTB/web
scp -i ~ben/certs/rtb4free_key.pem login.html ubuntu@rtb4free.com:XRTB/web
scp -i ~ben/certs/rtb4free_key.pem admin.html ubuntu@rtb4free.com:XRTB/web | <|file_sep|>original/web/refresh.sh
#!/bin/sh
scp -i ~ben/certs/rtb4free_key.pem exchange.html ubuntu@rtb4free.com:XRTB/web
scp -i ~ben/certs/rtb4free_key.pem login.html ubuntu@rtb4free.com:XRTB/web
<|file_sep|>current/web/refresh.sh
#!/bin/sh
scp -i ~ben/certs/rtb4free_key.pem exchange.html ubuntu@rtb4free.com:XRTB/we... | 0d6a1c533df7000c728375a3d71963a12c18999f | web/refresh.sh | web/refresh.sh | Shell |
<|file_sep|>CHANGELOG.md.diff
original:
updated:
## 0,.1.7
<|file_sep|>CHANGELOG.md.diff
original:
* Improved interface style.
* Improved documentation.
* Fixed assets over HTTPS.
* Fixed overactive keep-alive.
* Fixed url redirect.
* Fixed disconnect/reconnect of websocket.
updated:
* Improved interface style. (#... |
## 0.1.5
* Bake assets into wobserver.
* Remove custom tasks from hex package.
* Improved web build tools.
* Improved package build tools.
* Improved node discovery in plug mode.
* Fixed distillery support. (#3)
## 0.1.4
* Added :plug mode to run wobserver without cowboy.
* Fixed menu loading.
* Fixed custom page ... | <|file_sep|>CHANGELOG.md.diff
original:
updated:
## 0,.1.7
<|file_sep|>CHANGELOG.md.diff
original:
* Improved interface style.
* Improved documentation.
* Fixed assets over HTTPS.
* Fixed overactive keep-alive.
* Fixed url redirect.
* Fixed disconnect/reconnect of websocket.
updated:
* Improved interface style. (#... | 8b22c96cf39cf04ff0736491c2966fe056f6ebb6 | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>original/requirements.txt
APScheduler==3.3.1
boto==2.15.0
cached-property==1.3.0
click==6.7
Flask==0.10.1
future==0.16.0
gunicorn==18.0
localconfig==0.4.2
pexpect==4.2.1
psycopg2==2.7.1
redis==2.10.5
requests==2.14.1
rq==0.7.1
SQLAlchemy==1.1.9
tablib==0.11.4
ua-parser==0.7.3
user-agents==1.1.0
<|file_sep|>... | APScheduler==3.3.1
boto==2.15.0
cached-property==1.3.0
click==6.7
Flask==0.10.1
future==0.16.0
gunicorn==18.0
localconfig==0.4.2
pexpect==4.2.1
psycopg2==2.7.1
redis==2.10.5
requests==2.14.2
rq==0.7.1
SQLAlchemy==1.1.9
tablib==0.11.4
ua-parser==0.7.3
user-agents==1.1.0 | <|file_sep|>original/requirements.txt
APScheduler==3.3.1
boto==2.15.0
cached-property==1.3.0
click==6.7
Flask==0.10.1
future==0.16.0
gunicorn==18.0
localconfig==0.4.2
pexpect==4.2.1
psycopg2==2.7.1
redis==2.10.5
requests==2.14.1
rq==0.7.1
SQLAlchemy==1.1.9
tablib==0.11.4
ua-parser==0.7.3
user-agents==1.1.0
<|file_sep|>... | 2ee51dd2a38aa0eecf9db5448adaa0a5599cf111 | requirements.txt | requirements.txt | Text |
<|file_sep|>install.sh.diff
original:
updated:
rm -v "${HOME}/rc/rc" 2>/dev/null
<|file_sep|>original/install.sh
if [ -f "${filepath_git}" -o -d "${filepath_git}" ];
then
local filepath_home="${HOME}/${TARGET}"
ln -svi "${filepath_git}" "${filepath_home}"
fi
done
ln -svi "${git_dir}/rc/co... | if [ -f "${filepath_git}" -o -d "${filepath_git}" ];
then
local filepath_home="${HOME}/${TARGET}"
ln -svi "${filepath_git}" "${filepath_home}"
fi
done
rm -v "${HOME}/rc/rc" 2>/dev/null
ln -svi "${git_dir}/rc/common/.vim/colors/" "${HOME}/.vim/"
local lower_os="$(uname | tr [A-Z] [a-z])"... | <|file_sep|>install.sh.diff
original:
updated:
rm -v "${HOME}/rc/rc" 2>/dev/null
<|file_sep|>original/install.sh
if [ -f "${filepath_git}" -o -d "${filepath_git}" ];
then
local filepath_home="${HOME}/${TARGET}"
ln -svi "${filepath_git}" "${filepath_home}"
fi
done
ln -svi "${git_dir}/rc/co... | 6472823689c28d902dcc548292863e2b7136323d | install.sh | install.sh | Shell |
<|file_sep|>original/setup.cfg
[wheel]
universal = 1
[metadata]
requires-dist =
python-dateutil>=2.1,<3.0.0
jmespath>=0.7.1,<1.0.0
docutils>=0.10
ordereddict==1.1; python_version=="2.6"
simplejson==3.3.0; python_version=="2.6"
<|file_sep|>current/setup.cfg
[wheel]
universal = 1
[metadata]
requires-dist =
python... | [bdist_wheel]
universal = 1
[metadata]
requires-dist =
python-dateutil>=2.1,<3.0.0
jmespath>=0.7.1,<1.0.0
docutils>=0.10
ordereddict==1.1; python_version=="2.6"
simplejson==3.3.0; python_version=="2.6" | <|file_sep|>original/setup.cfg
[wheel]
universal = 1
[metadata]
requires-dist =
python-dateutil>=2.1,<3.0.0
jmespath>=0.7.1,<1.0.0
docutils>=0.10
ordereddict==1.1; python_version=="2.6"
simplejson==3.3.0; python_version=="2.6"
<|file_sep|>current/setup.cfg
[wheel]
universal = 1
[metadata]
requires-dist =
python... | 063d36de1faed228fb50d6e6d72c17cb285f95c2 | setup.cfg | setup.cfg | INI |
<|file_sep|>original/src/main/java/leetcode/Problem701.java
*/
public class Problem701 {
public static class TreeNode {
int val;
TreeNode left;
TreeNode right;
TreeNode(int x) {
val = x;
}
}
public TreeNode insertIntoBST(TreeNode root, int val) {
... | int val;
TreeNode left;
TreeNode right;
TreeNode(int x) {
val = x;
}
}
public TreeNode insertIntoBST(TreeNode root, int val) {
if (root == null) {
return new TreeNode(val);
}
if (root.val > val) {
root.left = i... | <|file_sep|>original/src/main/java/leetcode/Problem701.java
*/
public class Problem701 {
public static class TreeNode {
int val;
TreeNode left;
TreeNode right;
TreeNode(int x) {
val = x;
}
}
public TreeNode insertIntoBST(TreeNode root, int val) {
... | ebf9dd2e6c4ae0f5fc44cb3b2e8cd4b4e8dfaeb6 | src/main/java/leetcode/Problem701.java | src/main/java/leetcode/Problem701.java | Java |
<|file_sep|>original/build/get_landmines.py
(or a list of 'landmines').
"""
import sys
def main():
"""
ALL LANDMINES ARE EMITTED FROM HERE.
"""
print 'Need to clobber after ICU52 roll.'
print 'Landmines test.'
print 'Activating MSVS 2013.'
print 'Revert activation of MSVS 2013.'
print 'Activating MSV... | """
import sys
def main():
"""
ALL LANDMINES ARE EMITTED FROM HERE.
"""
print 'Need to clobber after ICU52 roll.'
print 'Landmines test.'
print 'Activating MSVS 2013.'
print 'Revert activation of MSVS 2013.'
print 'Activating MSVS 2013 again.'
print 'Clobber after ICU roll.'
print 'Clobber after ... | <|file_sep|>original/build/get_landmines.py
(or a list of 'landmines').
"""
import sys
def main():
"""
ALL LANDMINES ARE EMITTED FROM HERE.
"""
print 'Need to clobber after ICU52 roll.'
print 'Landmines test.'
print 'Activating MSVS 2013.'
print 'Revert activation of MSVS 2013.'
print 'Activating MSV... | 08a09d1b258eb775f641c5edf3aba4ac1c522652 | build/get_landmines.py | build/get_landmines.py | Python |
<|file_sep|>original/client/style.css
body {
font-family: Helvetica, sans-serif;
}
<|file_sep|>current/client/style.css
body {
font-family: Helvetica, sans-serif;
}
<|file_sep|>updated/client/style.css | body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
} | <|file_sep|>original/client/style.css
body {
font-family: Helvetica, sans-serif;
}
<|file_sep|>current/client/style.css
body {
font-family: Helvetica, sans-serif;
}
<|file_sep|>updated/client/style.css
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple ... | d33a38adbd4e02ff0833f1eab3c9b7b4e77f70a0 | client/style.css | client/style.css | CSS |
<|file_sep|>original/merging/binary.rb
<|file_sep|>current/merging/binary.rb
<|file_sep|>updated/merging/binary.rb | module Merging
# @abstract A Service for taking two sorted list, and merging them into a
# single sorted list. Each item in the lists must be comparable, ie. It must
# respond to and implement the Ruby comparison methods
# (:<, :<=, :==, :>=, :>, :<=>), at the very least they should implement the
# de... | <|file_sep|>original/merging/binary.rb
<|file_sep|>current/merging/binary.rb
<|file_sep|>updated/merging/binary.rb
module Merging
# @abstract A Service for taking two sorted list, and merging them into a
# single sorted list. Each item in the lists must be comparable, ie. It must
# respond to and implement ... | c33b2dcf760ac74a4f67b91007e56606b11ec061 | merging/binary.rb | merging/binary.rb | Ruby |
<|file_sep|>original/.travis.yml
language: java
<|file_sep|>current/.travis.yml
language: java
<|file_sep|>updated/.travis.yml | env:
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "G+7yVa6O/2/cUs9Sd0wIqudCUE+T8X0J2yxodmsn8Y7htr81dqLzgmzoBF2h/9+rvorEIOVFHlL+TldgzNzOQBmEsPLQpD3cewuWtXtL31F8tVI3b8ooqlevY8jjOXqWEjBjzA9WpemN7N6... | <|file_sep|>original/.travis.yml
language: java
<|file_sep|>current/.travis.yml
language: java
<|file_sep|>updated/.travis.yml
env:
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "G+7yVa6O/2/cUs9S... | fe6b66847ed1ab7ef6a4beb39d0a468a095c6299 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/app/components/Footer/messages.js
/*
* Footer Messages
*
* This contains all the text for the Footer component.
*/
import { defineMessages } from 'react-intl';
export default defineMessages({
header: {
id: 'app.components.Footer.header',
defaultMessage: 'This is the Footer component ... | /*
* Footer Messages
*
* This contains all the text for the Footer component.
*/
import { defineMessages } from 'react-intl';
export default defineMessages({
header: {
id: 'app.components.Footer.header',
defaultMessage: 'made by Tim Arioto',
},
}); | <|file_sep|>original/app/components/Footer/messages.js
/*
* Footer Messages
*
* This contains all the text for the Footer component.
*/
import { defineMessages } from 'react-intl';
export default defineMessages({
header: {
id: 'app.components.Footer.header',
defaultMessage: 'This is the Footer component ... | 1d28b0b58b0dca8aeb81afc182a53686e09b211b | app/components/Footer/messages.js | app/components/Footer/messages.js | JavaScript |
<|file_sep|>original/package.json
},
"dependencies": {
"addons-linter": "1.23.0",
"clean-css": "4.2.3",
"clean-css-cli": "4.3.0",
"jqmodal": "1.4.2",
"jquery": "3.5.0",
"jquery.browser": "0.1.0",
"jquery.cookie": "1.4.1",
"@claviska/jquery-minicolors": "2.3.4",
"jquery-pjax": "2.... | },
"dependencies": {
"addons-linter": "1.23.0",
"clean-css": "4.2.3",
"clean-css-cli": "4.3.0",
"jqmodal": "1.4.2",
"jquery": "3.5.0",
"jquery.browser": "0.1.0",
"jquery.cookie": "1.4.1",
"@claviska/jquery-minicolors": "2.3.4",
"jquery-pjax": "2.0.1",
"jquery-ui": "1.12.1",
... | <|file_sep|>original/package.json
},
"dependencies": {
"addons-linter": "1.23.0",
"clean-css": "4.2.3",
"clean-css-cli": "4.3.0",
"jqmodal": "1.4.2",
"jquery": "3.5.0",
"jquery.browser": "0.1.0",
"jquery.cookie": "1.4.1",
"@claviska/jquery-minicolors": "2.3.4",
"jquery-pjax": "2.... | 231c79aca3513928eafb0c6bbc450fa5b95dda01 | package.json | package.json | JSON |
<|file_sep|>log/src/main/java/com/proofpoint/log/LogJmxModule.java.diff
original:
updated:
import com.google.inject.Provides;
<|file_sep|>log/src/main/java/com/proofpoint/log/LogJmxModule.java.diff
original:
updated:
import javax.inject.Singleton;
<|file_sep|>original/log/src/main/java/com/proofpoint/log/LogJmxModul... |
@Beta
public class LogJmxModule
implements Module
{
@Override
public void configure(Binder binder)
{
binder.disableCircularProxies();
binder.bind(LoggingMBean.class).in(Scopes.SINGLETON);
newExporter(binder).export(LoggingMBean.class).as("com.proofpoint.log:name=Logging");
... | <|file_sep|>log/src/main/java/com/proofpoint/log/LogJmxModule.java.diff
original:
updated:
import com.google.inject.Provides;
<|file_sep|>log/src/main/java/com/proofpoint/log/LogJmxModule.java.diff
original:
updated:
import javax.inject.Singleton;
<|file_sep|>original/log/src/main/java/com/proofpoint/log/LogJmxModul... | 1b0e65abb057589f569fe62be7ea1179add25f61 | log/src/main/java/com/proofpoint/log/LogJmxModule.java | log/src/main/java/com/proofpoint/log/LogJmxModule.java | Java |
<|file_sep|>original/locales/tr/addon.properties
tooltip_play= Oynat
tooltip_pause= Duraklat
tooltip_mute= Sesi kapat
tooltip_unmute= Sesi aç
tooltip_send_to_tab= Sekmeye gönder
tooltip_minimize= Küçült
tooltip_maximize= Büyüt
tooltip_close= Kapat
error_msg= Bu videoda ters giden bir şeyler var. Daha sonra yeniden dene... | tooltip_play= Oynat
tooltip_pause= Duraklat
tooltip_mute= Sesi kapat
tooltip_unmute= Sesi aç
tooltip_send_to_tab= Sekmeye gönder
tooltip_minimize= Küçült
tooltip_maximize= Büyüt
tooltip_close= Kapat
error_msg= Bu videoda ters giden bir şeyler var. Daha sonra yeniden deneyin.
error_link= Yeni sekmede aç
# LOCALIZATION N... | <|file_sep|>original/locales/tr/addon.properties
tooltip_play= Oynat
tooltip_pause= Duraklat
tooltip_mute= Sesi kapat
tooltip_unmute= Sesi aç
tooltip_send_to_tab= Sekmeye gönder
tooltip_minimize= Küçült
tooltip_maximize= Büyüt
tooltip_close= Kapat
error_msg= Bu videoda ters giden bir şeyler var. Daha sonra yeniden dene... | f3b3e63181884c6ac25c952d0eed9445123b4cb1 | locales/tr/addon.properties | locales/tr/addon.properties | INI |
<|file_sep|>original/menus/notify-atom.json
"atom-text-editor": [
{
"label": "Toggle notify-atom",
"command": "notify-atom:toggle"
}
]
},
"menu": [
{
"label": "Packages",
"submenu": [
{
"label": "notify-atom",
"submenu": [
{... | {
} | <|file_sep|>original/menus/notify-atom.json
"atom-text-editor": [
{
"label": "Toggle notify-atom",
"command": "notify-atom:toggle"
}
]
},
"menu": [
{
"label": "Packages",
"submenu": [
{
"label": "notify-atom",
"submenu": [
{... | 582491d7a0609cc8473eb0f573b4139e148c28a7 | menus/notify-atom.json | menus/notify-atom.json | JSON |
<|file_sep|>original/errors.cpp
* limitations under the License.
*/
#include <phosphor-logging/log.hpp>
#include "errors.hpp"
namespace phosphor
{
namespace inventory
{
namespace manager
{
void InterfaceError::log() const
{
logging::log<logging::level::ERR>(
what(), phosphor::logging::entry("INTERFACE=%s... | * limitations under the License.
*/
#include <phosphor-logging/log.hpp>
#include "errors.hpp"
namespace phosphor
{
namespace inventory
{
namespace manager
{
void InterfaceError::log() const
{
logging::log<logging::level::ERR>(
what(), phosphor::logging::entry("INTERFACE=%s", interface.c_str()));
}
} // n... | <|file_sep|>original/errors.cpp
* limitations under the License.
*/
#include <phosphor-logging/log.hpp>
#include "errors.hpp"
namespace phosphor
{
namespace inventory
{
namespace manager
{
void InterfaceError::log() const
{
logging::log<logging::level::ERR>(
what(), phosphor::logging::entry("INTERFACE=%s... | 63b07dca0d175d834dd6f9aa37af625e9591f54f | errors.cpp | errors.cpp | C++ |
<|file_sep|>original/tox.ini
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist = py2714,py355,py364
[testenv]
co... | # Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist = py2714,py355,py364,py373
[testenv]
commands = nosetests {pos... | <|file_sep|>original/tox.ini
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist = py2714,py355,py364
[testenv]
co... | f06875930953b757dd4e39878262893d52aeae9b | tox.ini | tox.ini | INI |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "6"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "6"
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- "6"
install: npm install
script:
- npm run build
- npm test | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "6"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "6"
<|file_sep|>updated/.travis.yml
language: node_js
node_js:
- "6"
install: npm install
script:
- npm run build
- npm test | d7d3d725fccb733af433029aca095271fe74f1be | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/cljs/c2/util.cljs
(ns c2.util
(:require [singult.core :as singult]))
(def clj->js singult/clj->js)
(defn ->coll
"Convert something into a collection, if it's not already."
[x]
(if (coll? x) x [x]))
<|file_sep|>current/src/cljs/c2/util.cljs
(ns c2.util
(:require [singult.core :as sin... | (ns c2.util
(:require [singult.core :as singult]))
(defn ->coll
"Convert something into a collection, if it's not already."
[x]
(if (coll? x) x [x])) | <|file_sep|>original/src/cljs/c2/util.cljs
(ns c2.util
(:require [singult.core :as singult]))
(def clj->js singult/clj->js)
(defn ->coll
"Convert something into a collection, if it's not already."
[x]
(if (coll? x) x [x]))
<|file_sep|>current/src/cljs/c2/util.cljs
(ns c2.util
(:require [singult.core :as sin... | 9d55f6053fa36a803b2b97efc0fb8d5dec2de217 | src/cljs/c2/util.cljs | src/cljs/c2/util.cljs | Clojure |
<|file_sep|>original/public/javascripts/DV/models/chapter.js
this.viewer = viewer;
this.loadChapters();
};
DV.model.Chapters.prototype = {
// Load (or reload) the chapter model from the schema's defined sections.
loadChapters : function() {
var sections = this.viewer.schema.data.sections;
var chapters... | this.viewer = viewer;
this.loadChapters();
};
DV.model.Chapters.prototype = {
// Load (or reload) the chapter model from the schema's defined sections.
loadChapters : function() {
var sections = this.viewer.schema.data.sections;
var chapters = this.chapters = this.viewer.schema.data.chapters = [];
... | <|file_sep|>original/public/javascripts/DV/models/chapter.js
this.viewer = viewer;
this.loadChapters();
};
DV.model.Chapters.prototype = {
// Load (or reload) the chapter model from the schema's defined sections.
loadChapters : function() {
var sections = this.viewer.schema.data.sections;
var chapters... | e22a2dd76a1f2329b981f3d6caa64e658ed0a16e | public/javascripts/DV/models/chapter.js | public/javascripts/DV/models/chapter.js | JavaScript |
<|file_sep|>original/modules/gui/src/com/haulmont/cuba/gui/app/core/locking/messages_ru.properties
#
# Copyright (c) 2008-2013 Haulmont. All rights reserved.
# Use is subject to license terms, see http://www.cuba-platform.com/license for details.
#
caption=Блокировки
editorCaption=Блокировка
entityName=Наименование
en... | #
# Copyright (c) 2008-2013 Haulmont. All rights reserved.
# Use is subject to license terms, see http://www.cuba-platform.com/license for details.
#
caption=Блокировки
editorCaption=Блокировка
entityName=Наименование
entityId=ID
user=Пользователь
since=Заблокировано с
unlock=Разблокировать
name=Наименование
timeout=Т... | <|file_sep|>original/modules/gui/src/com/haulmont/cuba/gui/app/core/locking/messages_ru.properties
#
# Copyright (c) 2008-2013 Haulmont. All rights reserved.
# Use is subject to license terms, see http://www.cuba-platform.com/license for details.
#
caption=Блокировки
editorCaption=Блокировка
entityName=Наименование
en... | 9dbd4a6317d78b6a07071319011b0901aa82bc66 | modules/gui/src/com/haulmont/cuba/gui/app/core/locking/messages_ru.properties | modules/gui/src/com/haulmont/cuba/gui/app/core/locking/messages_ru.properties | INI |
<|file_sep|>original/SoftRenderer/DotMatrixFont.swift
<|file_sep|>current/SoftRenderer/DotMatrixFont.swift
<|file_sep|>updated/SoftRenderer/DotMatrixFont.swift | //
// DotMatrixFont.swift
// SoftRenderer
//
// Created by Princerin on 4/9/16.
// Copyright © 2016 Princerin. All rights reserved.
//
import Foundation | <|file_sep|>original/SoftRenderer/DotMatrixFont.swift
<|file_sep|>current/SoftRenderer/DotMatrixFont.swift
<|file_sep|>updated/SoftRenderer/DotMatrixFont.swift
//
// DotMatrixFont.swift
// SoftRenderer
//
// Created by Princerin on 4/9/16.
// Copyright © 2016 Princerin. All rights reserved.
//
import Foundation | 4829abed8425eb572d61e6d23d5fd5710c54c980 | SoftRenderer/DotMatrixFont.swift | SoftRenderer/DotMatrixFont.swift | Swift |
<|file_sep|>original/cli_tcdel.py
#!/usr/bin/env python
# encoding: utf-8
"""
.. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>
"""
import sys
from tcconfig.tcshow import main
if __name__ == '__main__':
sys.exit(main())
<|file_sep|>current/cli_tcdel.py
#!/usr/bin/env python
# encoding: utf-8
"""... | #!/usr/bin/env python
# encoding: utf-8
"""
.. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>
"""
import sys
from tcconfig.tcdel import main
if __name__ == '__main__':
sys.exit(main()) | <|file_sep|>original/cli_tcdel.py
#!/usr/bin/env python
# encoding: utf-8
"""
.. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>
"""
import sys
from tcconfig.tcshow import main
if __name__ == '__main__':
sys.exit(main())
<|file_sep|>current/cli_tcdel.py
#!/usr/bin/env python
# encoding: utf-8
"""... | f2d972831733fc77fef93d7d665750a55bbd4c33 | cli_tcdel.py | cli_tcdel.py | Python |
<|file_sep|>set1/challenge01/hexToBase64/hexToBase64_test.go.diff
original:
updated:
{
"",
"",
false,
},
<|file_sep|>set1/challenge01/hexToBase64/hexToBase64_test.go.diff
original:
updated:
failed := err != nil
<|file_sep|>original/set1/challenge01/hexToBase64/hexToBase64_test.go
"49276d206b696c6c69... | "SSdtIGtpbGxpbmcgeW91ciBicmFpbiBsaWtlIGEgcG9pc29ub3VzIG11c2hyb29t",
false,
},
{
"This is not valid hex",
"This should be ignored",
true,
},
}
for _, c := range cases {
got, err := HexToBase64(c.in)
failed := err != nil
switch {
case failed != c.fails:
t.Errorf("HexToBase64(%#v) failur... | <|file_sep|>set1/challenge01/hexToBase64/hexToBase64_test.go.diff
original:
updated:
{
"",
"",
false,
},
<|file_sep|>set1/challenge01/hexToBase64/hexToBase64_test.go.diff
original:
updated:
failed := err != nil
<|file_sep|>original/set1/challenge01/hexToBase64/hexToBase64_test.go
"49276d206b696c6c69... | 002dd3ffcf9bc730bc15f8aa62291b61735cd08e | set1/challenge01/hexToBase64/hexToBase64_test.go | set1/challenge01/hexToBase64/hexToBase64_test.go | Go |
<|file_sep|>client/app/views/sessionView.js.diff
original:
analystController.generateSession('infoDiv', 'sessionID', 'passwordID', 'pubkeyID', 'privkeyID', 'link-id', 'session-title', 'session-description')
.then(function () {
updated:
var result = analystController.generateSession('infoDiv', ... | $('#generate').on('click', function (e) {
e.preventDefault();
var la = Ladda.create(document.getElementById('generate'));
la.start();
var result = analystController.generateSession('infoDiv', 'sessionID', 'passwordID', 'pubkeyID', 'privkeyID', 'link-id', 'session-title', 'session... | <|file_sep|>client/app/views/sessionView.js.diff
original:
analystController.generateSession('infoDiv', 'sessionID', 'passwordID', 'pubkeyID', 'privkeyID', 'link-id', 'session-title', 'session-description')
.then(function () {
updated:
var result = analystController.generateSession('infoDiv', ... | 226de463c35cc6a4a928e7711deeec8a5f0e3616 | client/app/views/sessionView.js | client/app/views/sessionView.js | JavaScript |
<|file_sep|>package.json.diff
original:
"coffee-script": "^1.9.1",
updated:
<|file_sep|>original/package.json
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://github.com/MattMS/mattms.github.io.git"
},
"keywords": [
"GitHub"
],
"aut... | "build": "jade index.jade",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://github.com/MattMS/mattms.github.io.git"
},
"keywords": [
"GitHub"
],
"author": "Matt McKellar-Spence",
"license": "MIT",
"bugs": {
"url": "https://g... | <|file_sep|>package.json.diff
original:
"coffee-script": "^1.9.1",
updated:
<|file_sep|>original/package.json
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://github.com/MattMS/mattms.github.io.git"
},
"keywords": [
"GitHub"
],
"aut... | 6b764ddf3d9522bd89c846a38e3463719b10cae2 | package.json | package.json | JSON |
<|file_sep|>.travis.yml.diff
original:
allow_failures:
- rvm: 2.2
- rvm: jruby-head
- rvm: ruby-head
updated:
<|file_sep|>original/.travis.yml
env:
matrix:
- RAKE_TASK=spec
global:
secure: cOCoUB1zTvnl274EftNxbbmkL8MIlXa9a2/NLXpJFfJaL39JLYLCvrj85ndLO75fl8W5j7Xnx1w3kyNCL0FUumWzrIfcJFwTADv20EggrmrrJaEJ... | env:
matrix:
- RAKE_TASK=spec
global:
secure: cOCoUB1zTvnl274EftNxbbmkL8MIlXa9a2/NLXpJFfJaL39JLYLCvrj85ndLO75fl8W5j7Xnx1w3kyNCL0FUumWzrIfcJFwTADv20EggrmrrJaEJDdqi3+oxFA8/AHQK7GUXws2AEhbs1ujXO7wA44qeQmO1daWdbXmN5t2qoxc=
language: ruby
matrix:
fast_finish: true
include:
- rvm: 2.1
env: RAKE_TASK=yard
... | <|file_sep|>.travis.yml.diff
original:
allow_failures:
- rvm: 2.2
- rvm: jruby-head
- rvm: ruby-head
updated:
<|file_sep|>original/.travis.yml
env:
matrix:
- RAKE_TASK=spec
global:
secure: cOCoUB1zTvnl274EftNxbbmkL8MIlXa9a2/NLXpJFfJaL39JLYLCvrj85ndLO75fl8W5j7Xnx1w3kyNCL0FUumWzrIfcJFwTADv20EggrmrrJaEJ... | c4e13d647349ea0b46239c0a0047e228ae0410bd | .travis.yml | .travis.yml | YAML |
<|file_sep|>scripts/assign-env-vars.js.diff
original:
const assignEnvVars = function (stageName) {
updated:
const assignEnvVars = function (stageName, allEnvVarsRequired = true) {
<|file_sep|>original/scripts/assign-env-vars.js
'GRAPHQL_PORT',
// Endpoints
'GRAPHQL_ENDPOINT',
'DYNAMODB_ENDPOINT',
'S3_ENDPOINT... | // Secrets
]
// Expect one argument, the stage name.
const assignEnvVars = function (stageName, allEnvVarsRequired = true) {
// Using the name of the stage, assign the stage-specific
// value to the environment value name.
const stageNameUppercase = stageName ? stageName.toUpperCase() : ''
const stagePrefix ... | <|file_sep|>scripts/assign-env-vars.js.diff
original:
const assignEnvVars = function (stageName) {
updated:
const assignEnvVars = function (stageName, allEnvVarsRequired = true) {
<|file_sep|>original/scripts/assign-env-vars.js
'GRAPHQL_PORT',
// Endpoints
'GRAPHQL_ENDPOINT',
'DYNAMODB_ENDPOINT',
'S3_ENDPOINT... | 39db65de05c816848c07bfbc9b3562d590a34521 | scripts/assign-env-vars.js | scripts/assign-env-vars.js | JavaScript |
<|file_sep|>original/templates/profile.html
{% import 'macros/monster.html' as statblocks %}
{% import 'macros/errors.html' as errors %}
{% extends 'base/two-column-base.html' %}
{% block title %}Dungeon World Monster Maker{% endblock title %}
{% block left %}
{% if error %}
{{ errors.error(error) }}
{% else %}
... | {% import 'macros/monster.html' as statblocks %}
{% import 'macros/errors.html' as errors %}
{% extends 'base/two-column-base.html' %}
{% block title %}Dungeon World Monster Maker{% endblock title %}
{% block left %}
{% if error %}
{{ errors.error(error) }}
{% else %}
<h1>Monsters by {{ profile.display_name }}<... | <|file_sep|>original/templates/profile.html
{% import 'macros/monster.html' as statblocks %}
{% import 'macros/errors.html' as errors %}
{% extends 'base/two-column-base.html' %}
{% block title %}Dungeon World Monster Maker{% endblock title %}
{% block left %}
{% if error %}
{{ errors.error(error) }}
{% else %}
... | 1ca4ce710a79ad9ebb48edfd8c6d67f8d9890b2f | templates/profile.html | templates/profile.html | HTML |
<|file_sep|>lib/isbndbex.ex.diff
original:
def start(key) do
GenServer.start_link(__MODULE__, key)
end
updated:
def start(key), do: GenServer.start_link(__MODULE__, key)
<|file_sep|>lib/isbndbex.ex.diff
original:
def get_book(pid, id) do
GenServer.call(pid, {:get_book, id})
end
updated:
def get_book... | use GenServer
alias Isbndbex.Api, as: Api
def start(key), do: GenServer.start_link(__MODULE__, key)
def get_book(pid, id) , do: GenServer.call(pid, {:get_book , id})
def get_author(pid, id) , do: GenServer.call(pid, {:get_author , id})
def get_publisher(pid, id), do: GenServer.call(pid, {:get... | <|file_sep|>lib/isbndbex.ex.diff
original:
def start(key) do
GenServer.start_link(__MODULE__, key)
end
updated:
def start(key), do: GenServer.start_link(__MODULE__, key)
<|file_sep|>lib/isbndbex.ex.diff
original:
def get_book(pid, id) do
GenServer.call(pid, {:get_book, id})
end
updated:
def get_book... | 71c70e5ee02d67868557fe46d0ff2382516e3baf | lib/isbndbex.ex | lib/isbndbex.ex | Elixir |
<|file_sep|>original/plugins/system/check-ntp.rb
#!/usr/bin/env ruby
#
# Check NTP offset - yeah this is horrible.
#
require 'rubygems' if RUBY_VERSION < '1.9.0'
require 'sensu-plugin/check/cli'
class CheckNTP < Sensu::Plugin::Check::CLI
option :warn,
:short => '-w WARN',
:proc => proc {|a| a.to_i },
:... | #!/usr/bin/env ruby
#
# Check NTP offset - yeah this is horrible.
#
# warning and critical values are offsets in milliseconds.
#
require 'rubygems' if RUBY_VERSION < '1.9.0'
require 'sensu-plugin/check/cli'
class CheckNTP < Sensu::Plugin::Check::CLI
option :warn,
:short => '-w WARN',
:proc => proc {|a| a.t... | <|file_sep|>original/plugins/system/check-ntp.rb
#!/usr/bin/env ruby
#
# Check NTP offset - yeah this is horrible.
#
require 'rubygems' if RUBY_VERSION < '1.9.0'
require 'sensu-plugin/check/cli'
class CheckNTP < Sensu::Plugin::Check::CLI
option :warn,
:short => '-w WARN',
:proc => proc {|a| a.to_i },
:... | 077e526165f99d846b82fdf9e61aa2e6fd0807a1 | plugins/system/check-ntp.rb | plugins/system/check-ntp.rb | Ruby |
<|file_sep|>original/.travis.yml
---
sudo: false
language: ruby
bundler_args: --without system_tests
script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'"
matrix:
fast_finish: true
include:
- rvm: 1.8.7
env: PUPPET_GEM_VERSION="~> 3.0" STRICT_... | ---
sudo: false
language: ruby
bundler_args: --without system_tests
script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'"
matrix:
fast_finish: true
include:
- rvm: 1.8.7
env: PUPPET_GEM_VERSION="~> 3.0" STRICT_VARIABLES="yes" ORDERING="random"... | <|file_sep|>original/.travis.yml
---
sudo: false
language: ruby
bundler_args: --without system_tests
script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'"
matrix:
fast_finish: true
include:
- rvm: 1.8.7
env: PUPPET_GEM_VERSION="~> 3.0" STRICT_... | 8260d7a95c80cae25ca01dd39418137fd4faf3fe | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements.txt
django-crispy-forms~=1.10
django_compressor~=2.4
django_extensions~=3.1
django-sortedm2m~=3.0
django-storages~=1.11
easy-thumbnails~=2.7
icalendar==4.0.7
invoke~=1.5
pillow~=8.0
python-mimeparse
reportlab==3.5.57
matplotlib>=3.1
requests
setuptools>=18.5
sphinx
# AWS
#boto3
# RE... | django-crispy-forms~=1.10
django_compressor~=2.4
django_extensions~=3.1
django-sortedm2m~=3.0
django-storages~=1.11
easy-thumbnails~=2.7
icalendar==4.0.7
invoke~=1.5
pillow~=8.0
python-mimeparse
reportlab==3.5.58
matplotlib>=3.1
requests
setuptools>=18.5
sphinx
# AWS
#boto3
# REST API | <|file_sep|>original/requirements.txt
django-crispy-forms~=1.10
django_compressor~=2.4
django_extensions~=3.1
django-sortedm2m~=3.0
django-storages~=1.11
easy-thumbnails~=2.7
icalendar==4.0.7
invoke~=1.5
pillow~=8.0
python-mimeparse
reportlab==3.5.57
matplotlib>=3.1
requests
setuptools>=18.5
sphinx
# AWS
#boto3
# RE... | e9995d2f6648e8823ba4e079c826edc8328d024e | requirements.txt | requirements.txt | Text |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.1.
- 2.2.
- 2.3.
addons:
code_climate:
repo_token: 9ee4de0c2f9b045b414b79b67a56bc98d1f365aee5e54ca9a119319b59d8ae52
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 2.1.
- 2.2.
- 2.3.
addons:
code_climate:
repo_token: 9ee4de0c2f9b045b... | language: ruby
rvm:
- 2.1.7
- 2.2.3
- 2.3.0
addons:
code_climate:
repo_token: 9ee4de0c2f9b045b414b79b67a56bc98d1f365aee5e54ca9a119319b59d8ae52 | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.1.
- 2.2.
- 2.3.
addons:
code_climate:
repo_token: 9ee4de0c2f9b045b414b79b67a56bc98d1f365aee5e54ca9a119319b59d8ae52
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 2.1.
- 2.2.
- 2.3.
addons:
code_climate:
repo_token: 9ee4de0c2f9b045b... | 8476931ed37484430a3f3ce393c237f059d620db | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/software/raw-adc-consumer/main.c.diff
original:
updated:
#include <stdint.h>
#include <stdio.h>
//#include <unistd.h>
//#include <string.h>
#include <fcntl.h>
#include <sys/poll.h>
// TODO: Get these value from a shared source along with the firmware
#define TIME_BETWEEN_READS_NS 166.7
#define DEL... | {
max = i;
}
}
return DELAY_TIME_NS + max * TIME_BETWEEN_READS_NS;
}
int main(void)
{
uint8_t buffer[ MAX_BUFFER_SIZE ];
uint16_t* reads = (uint16_t*)buffer; // Assumes little-endian
struct pollfd pollfds[1];
pollfds[0].fd = open( CHARACTER_DEVICE_PATH, O_RDWR );
if( pol... | <|file_sep|>src/software/raw-adc-consumer/main.c.diff
original:
updated:
#include <stdint.h>
#include <stdio.h>
//#include <unistd.h>
//#include <string.h>
#include <fcntl.h>
#include <sys/poll.h>
// TODO: Get these value from a shared source along with the firmware
#define TIME_BETWEEN_READS_NS 166.7
#define DEL... | 706d8d60091b30bc950be8877864f12aed1ab9c0 | src/software/raw-adc-consumer/main.c | src/software/raw-adc-consumer/main.c | C |
<|file_sep|>original/glyphs/ibm-plex-sans.html
<|file_sep|>current/glyphs/ibm-plex-sans.html
<|file_sep|>updated/glyphs/ibm-plex-sans.html | ---
title: IBM Plex Sans Glyph Inspector
typeface: IBM Plex Sans
layout: glyphs
permalink: /ibm-plex-sans/glyphs/
description: Explore the complete character set for the free font IBM Plex Sans
body-class: sans-serif glyphs
body-head-content:
<meta property='og:image' content='https://beautifulwebtype.com/assets/imag... | <|file_sep|>original/glyphs/ibm-plex-sans.html
<|file_sep|>current/glyphs/ibm-plex-sans.html
<|file_sep|>updated/glyphs/ibm-plex-sans.html
---
title: IBM Plex Sans Glyph Inspector
typeface: IBM Plex Sans
layout: glyphs
permalink: /ibm-plex-sans/glyphs/
description: Explore the complete character set for the free font... | b76fe6c53e101c749d3daf1761ef061573ca7917 | glyphs/ibm-plex-sans.html | glyphs/ibm-plex-sans.html | HTML |
<|file_sep|>original/test-requirements.txt
docker==3.7.0
elasticsearch==6.3.1
falcon==1.4.1
falcon-cors==1.1.7
npyscreen==4.10.5
pika==0.12.0
pytest==4.1.1
pytest-cov==2.6.1
python-magic==0.4.15
pyyaml==3.13
redis==3.0.1
rq==0.13.0
sphinx==1.8.3
watchdog==0.9.0
<|file_sep|>current/test-requirements.txt
docker==3.7.0
el... | docker==3.7.0
elasticsearch==6.3.1
falcon==1.4.1
falcon-cors==1.1.7
npyscreen==4.10.5
pika==0.13.0
pytest==4.1.1
pytest-cov==2.6.1
python-magic==0.4.15
pyyaml==3.13
redis==3.0.1
rq==0.13.0
sphinx==1.8.3
watchdog==0.9.0 | <|file_sep|>original/test-requirements.txt
docker==3.7.0
elasticsearch==6.3.1
falcon==1.4.1
falcon-cors==1.1.7
npyscreen==4.10.5
pika==0.12.0
pytest==4.1.1
pytest-cov==2.6.1
python-magic==0.4.15
pyyaml==3.13
redis==3.0.1
rq==0.13.0
sphinx==1.8.3
watchdog==0.9.0
<|file_sep|>current/test-requirements.txt
docker==3.7.0
el... | bf93c8a54376d51a87086f70ab9152079611d1a6 | test-requirements.txt | test-requirements.txt | Text |
<|file_sep|>original/lib/queries.rb
class Sprint
def check_labels(x, target)
x.labels.map{|x| x.name }.include?(target)
end
def check_comments(x, target)
#TODO Trello doesn't have an api for comments yet
#x.comments.map{|x| x.body }.include?(target)
true
end
def queries
{
:needs_qe... | class Sprint
def check_labels(x, target)
labels = nil
i = 0
while true
begin
labels = x.labels
break
rescue Exception => e
puts "Error getting labels: #{e.message}"
raise if i >= 3
sleep 10
i += 1
end
end
labels.map{|x| x.name }.inc... | <|file_sep|>original/lib/queries.rb
class Sprint
def check_labels(x, target)
x.labels.map{|x| x.name }.include?(target)
end
def check_comments(x, target)
#TODO Trello doesn't have an api for comments yet
#x.comments.map{|x| x.body }.include?(target)
true
end
def queries
{
:needs_qe... | 9fff3c3222dcc80530b9c67cfca25296a9996f86 | lib/queries.rb | lib/queries.rb | Ruby |
<|file_sep|>overlay/sdk/android/env.sh.diff
original:
jagen_sdk_staging_dir="$jagen_sdk_dir/out/target/product/$jagen_android_product"
updated:
# set output directory of Android build system
export OUT_DIR="${jagen_out_dir:?}/android"
<|file_sep|>original/overlay/sdk/android/env.sh
#!/bin/sh
jagen_sdk='android'
# Man... | jagen_sdk='android'
# Many Android build and utility scripts assume Bash shell
jagen_shell="/bin/bash"
jagen_target_prefix="/system"
: ${jagen_sdk_dir:?}
: ${jagen_android_product:?}
# set output directory of Android build system
export OUT_DIR="${jagen_out_dir:?}/android"
jagen_sdk_staging_dir="$OUT_DIR/target/pr... | <|file_sep|>overlay/sdk/android/env.sh.diff
original:
jagen_sdk_staging_dir="$jagen_sdk_dir/out/target/product/$jagen_android_product"
updated:
# set output directory of Android build system
export OUT_DIR="${jagen_out_dir:?}/android"
<|file_sep|>original/overlay/sdk/android/env.sh
#!/bin/sh
jagen_sdk='android'
# Man... | e88226df2597451ad3c542863f76a37b3b604127 | overlay/sdk/android/env.sh | overlay/sdk/android/env.sh | Shell |
<|file_sep|>original/README.md
SAM - Salon Assistant Mini
==========================
Usage:
------
- To run the app:
+ Clone the repo
+ $ bundle
+ Run $ rake db:migrate
+ Run $ rake db:test:prepare
+ Type $ rails s (or rails server)
+ Open a browser and navigate to localhost:3000
+ When asked to authoriz... | SAM - Salon Assistant Mini
==========================
This was a little app I wrote to help me manage my client notes while I was working at my different salon locations during my life as a hairstylist.
Usage:
------
- To run the app:
+ Clone the repo
+ $ bundle
+ Run $ rake db:migrate
+ Run $ rake db:test:pre... | <|file_sep|>original/README.md
SAM - Salon Assistant Mini
==========================
Usage:
------
- To run the app:
+ Clone the repo
+ $ bundle
+ Run $ rake db:migrate
+ Run $ rake db:test:prepare
+ Type $ rails s (or rails server)
+ Open a browser and navigate to localhost:3000
+ When asked to authoriz... | f2372cadcc7b321fb307db000c40e37688b2db10 | README.md | README.md | Markdown |
<|file_sep|>original/lib/tasks/aggregate.rake
<|file_sep|>current/lib/tasks/aggregate.rake
<|file_sep|>updated/lib/tasks/aggregate.rake | namespace :aggregate do
namespace :hourly do
desc "Aggregate hourly impressions for every impression every recorded."
task all: :environment do
Rails.logger.level = :info
current = Impression.first.created_at.to_date
while current <= Date.today
Rails.logger.info "Aggregating Hourly I... | <|file_sep|>original/lib/tasks/aggregate.rake
<|file_sep|>current/lib/tasks/aggregate.rake
<|file_sep|>updated/lib/tasks/aggregate.rake
namespace :aggregate do
namespace :hourly do
desc "Aggregate hourly impressions for every impression every recorded."
task all: :environment do
Rails.logger.level = :... | 32a0a499da755565b2c542493a250dd3feda2767 | lib/tasks/aggregate.rake | lib/tasks/aggregate.rake | Ruby |
<|file_sep|>original/aws-config-conformance-packs/README.md
<|file_sep|>current/aws-config-conformance-packs/README.md
<|file_sep|>updated/aws-config-conformance-packs/README.md | Conformance packs enable you to create packages of compliance rules, simplifying deployment at scale by packaging up both rules and remediation
actions into a single entity. You can then deploy these across your estate, as well as share them with your customers and the public.
[Learn more about Cpacks](https://docs.a... | <|file_sep|>original/aws-config-conformance-packs/README.md
<|file_sep|>current/aws-config-conformance-packs/README.md
<|file_sep|>updated/aws-config-conformance-packs/README.md
Conformance packs enable you to create packages of compliance rules, simplifying deployment at scale by packaging up both rules and remediat... | d70c6874e534d4c70f4fbb25d68b1c10c9b198e5 | aws-config-conformance-packs/README.md | aws-config-conformance-packs/README.md | Markdown |
<|file_sep|>original/app/views/salary_templates/_form.html.haml
= semantic_form_for @salary_template do |f|
= f.semantic_errors
= f.inputs do
.row
.span8= f.input :title, :input_html => {"data-autofocus" => true}
.span8= f.input :person, :collection => Employee.all
.row
.span16= f.input :r... | = semantic_form_for @salary_template do |f|
= f.semantic_errors
= f.inputs do
.row
.span8= f.input :title, :input_html => {"data-autofocus" => true}
.span8= f.input :person, :as => :combobox, :collection => Employee.all
.row
.span16= f.input :remarks, :input_html => {:rows => 2, :class => ... | <|file_sep|>original/app/views/salary_templates/_form.html.haml
= semantic_form_for @salary_template do |f|
= f.semantic_errors
= f.inputs do
.row
.span8= f.input :title, :input_html => {"data-autofocus" => true}
.span8= f.input :person, :collection => Employee.all
.row
.span16= f.input :r... | 8ed618e59f5d25cc0c58b8e3b9ade85b2886b181 | app/views/salary_templates/_form.html.haml | app/views/salary_templates/_form.html.haml | Haml |
<|file_sep|>original/src/AddIn.Export/ExtentionDefinition.cs
using Loupe.Extensibility;
using Loupe.Extensibility.Client;
namespace Loupe.Extension.Export
{
/// <summary>
/// Top-level class for integrating with the Loupe framework
/// </summary>
[LoupeExtension(ConfigurationEditor = typeof(ExportConf... | using Loupe.Extensibility;
using Loupe.Extensibility.Client;
namespace Loupe.Extension.Export
{
/// <summary>
/// Top-level class for integrating with the Loupe framework
/// </summary>
[LoupeExtension(ConfigurationEditor = typeof(ExportConfigurationDialog),
CommonConfiguration = typeof(Export... | <|file_sep|>original/src/AddIn.Export/ExtentionDefinition.cs
using Loupe.Extensibility;
using Loupe.Extensibility.Client;
namespace Loupe.Extension.Export
{
/// <summary>
/// Top-level class for integrating with the Loupe framework
/// </summary>
[LoupeExtension(ConfigurationEditor = typeof(ExportConf... | daac8b8dfeb2ae90305558ac0959fd1d32363cd3 | src/AddIn.Export/ExtentionDefinition.cs | src/AddIn.Export/ExtentionDefinition.cs | C# |
<|file_sep|>original/.github/workflows/cifuzz.yml
name: CIFuzz
on:
push:
branches:
- main
- build
- build/*
paths-ignore:
- 'ChangeLog'
- 'README*'
- 'TODO'
pull_request:
jobs:
Fuzzing:
runs-on: ubuntu-latest
steps:
- name: Build Fuzzers
uses: google/o... | name: CIFuzz
on:
push:
branches:
- main
paths-ignore:
- 'ChangeLog'
- 'README*'
- 'TODO'
pull_request:
jobs:
Fuzzing:
runs-on: ubuntu-latest
steps:
- name: Build Fuzzers
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
with:
oss-fuzz-p... | <|file_sep|>original/.github/workflows/cifuzz.yml
name: CIFuzz
on:
push:
branches:
- main
- build
- build/*
paths-ignore:
- 'ChangeLog'
- 'README*'
- 'TODO'
pull_request:
jobs:
Fuzzing:
runs-on: ubuntu-latest
steps:
- name: Build Fuzzers
uses: google/o... | 7707a1d35641ea0511edee5cebb18f5a6baf1b67 | .github/workflows/cifuzz.yml | .github/workflows/cifuzz.yml | YAML |
<|file_sep|>original/Readme.md
# Bright theme for Shower HTML presentation engine
Follow [@shower_me](https://twitter.com/shower_me) for support and updates
To see Bright theme for Shower in action:
- Open [shwr.me/shower/themes/ribbon](http://shwr.me/shower/themes/ribbon/)
- Click any slide to enter presentation mo... | # Bright theme for Shower HTML presentation engine
Follow [@shower_me](https://twitter.com/shower_me) for support and updates
To see Bright theme for Shower in action:
- Open [shwr.me/shower/themes/bright](http://shwr.me/shower/themes/bright/)
- Click any slide to enter presentation mode
- Use arrow keys or presente... | <|file_sep|>original/Readme.md
# Bright theme for Shower HTML presentation engine
Follow [@shower_me](https://twitter.com/shower_me) for support and updates
To see Bright theme for Shower in action:
- Open [shwr.me/shower/themes/ribbon](http://shwr.me/shower/themes/ribbon/)
- Click any slide to enter presentation mo... | d94959bff4034cf027697f5a1e041c8088c79aaa | Readme.md | Readme.md | Markdown |
<|file_sep|>original/README.md
# Tutorial Models
This repository contains models referenced to from the [TensorFlow tutorials](https://www.tensorflow.org/tutorials/).
<|file_sep|>current/README.md
# Tutorial Models
This repository contains models referenced to from the [TensorFlow tutorials](https://www.tensorflow.or... | # Tutorial Models
This folder contains models referenced to from the [TensorFlow tutorials](https://www.tensorflow.org/tutorials/). | <|file_sep|>original/README.md
# Tutorial Models
This repository contains models referenced to from the [TensorFlow tutorials](https://www.tensorflow.org/tutorials/).
<|file_sep|>current/README.md
# Tutorial Models
This repository contains models referenced to from the [TensorFlow tutorials](https://www.tensorflow.or... | b9027cf3e732aa74ca881d35282f9111d0e26fd1 | README.md | README.md | Markdown |
<|file_sep|>original/app/views/users/show.html.erb
<h1 id="profile-name"><%= @user.nick_name %>'s Profile</h1>
<button id="<%= @user.id %>"type="button" class="btn btn-primary black-background edit-nickname">Change nickname</button>
<div id="form-for-nickname">
</div>
<h2>Your SoundTreks:</h2>
<div>
<ul>
<% @us... | <h1 id="profile-name">Your Profile, <%= current_user.nick_name %></h1>
<button id="<%= @user.id %>"type="button" class="btn btn-primary black-background edit-nickname">Change nickname</button>
<div id="form-for-nickname">
</div>
<h2>Your SoundTreks:</h2>
<div>
<ul>
<% @user.sound_treks.each do |sound_trek|%>
... | <|file_sep|>original/app/views/users/show.html.erb
<h1 id="profile-name"><%= @user.nick_name %>'s Profile</h1>
<button id="<%= @user.id %>"type="button" class="btn btn-primary black-background edit-nickname">Change nickname</button>
<div id="form-for-nickname">
</div>
<h2>Your SoundTreks:</h2>
<div>
<ul>
<% @us... | 0098dd316bb26159b877c966a2714f301603017f | app/views/users/show.html.erb | app/views/users/show.html.erb | HTML+ERB |
<|file_sep|>original/composer.json
"role": "Developer"
}
],
"require": {
"php": ">=5.5.9",
"illuminate/support": "~5.0",
"ext-ldap": "*"
},
"require-dev": {
"phpunit/phpunit": "~4.8|~5.6",
"mockery/mockery": "~0.9"
},
"archive": {
... | "role": "Developer"
}
],
"require": {
"php": ">=5.5.9",
"illuminate/support": "~5.0",
"ext-ldap": "*"
},
"require-dev": {
"phpunit/phpunit": "~4.8|~5.6",
"mockery/mockery": "~1.0"
},
"archive": {
"exclude": ["/examples", "/tests... | <|file_sep|>original/composer.json
"role": "Developer"
}
],
"require": {
"php": ">=5.5.9",
"illuminate/support": "~5.0",
"ext-ldap": "*"
},
"require-dev": {
"phpunit/phpunit": "~4.8|~5.6",
"mockery/mockery": "~0.9"
},
"archive": {
... | cd5213efd0d467bd5a21d99d6a963c7a2f89b81e | composer.json | composer.json | JSON |
<|file_sep|>original/files/require-css/0.1.8/css.min.js
<|file_sep|>current/files/require-css/0.1.8/css.min.js
<|file_sep|>updated/files/require-css/0.1.8/css.min.js | define(function(){if("undefined"==typeof window)return{load:function(e,t,n){n()}};var e=document.getElementsByTagName("head")[0],t=window.navigator.userAgent.match(/Trident\/([^ ;]*)|AppleWebKit\/([^ ;]*)|Opera\/([^ ;]*)|rv\:([^ ;]*)(.*?)Gecko\/([^ ;]*)|MSIE\s([^ ;]*)|AndroidWebKit\/([^ ;]*)/)||0,n=!1,r=!0;t[1]||t[7]?n... | <|file_sep|>original/files/require-css/0.1.8/css.min.js
<|file_sep|>current/files/require-css/0.1.8/css.min.js
<|file_sep|>updated/files/require-css/0.1.8/css.min.js
define(function(){if("undefined"==typeof window)return{load:function(e,t,n){n()}};var e=document.getElementsByTagName("head")[0],t=window.navigator.user... | ba5cb655163ee7e2f646f0716ba3e9125567156b | files/require-css/0.1.8/css.min.js | files/require-css/0.1.8/css.min.js | JavaScript |
<|file_sep|>original/webkit/tools/layout_tests/test_expectations.txt
BUGWK44797 SKIP : fullscreen = PASS FAIL TIMEOUT
BUGWK56454 WIN : inspector/evaluate-in-page.html = PASS TIMEOUT
BUGWK56454 WIN : inspector/report-API-errors.html = PASS TIMEOUT
BUGWK56454 WIN : inspector/syntax-highlight-css.html = PASS TIMEOUT
BUGWK... | // This file should almost always be empty. Normally Chromium test expectations
// are found in
// src/third_party/WebKit/LayoutTests/platform/chromium/test_expectations.txt
//
// Only add expectations here to temporarily suppress messages on the bots
// until the changes can be landed upstream.
// Skip these tests un... | <|file_sep|>original/webkit/tools/layout_tests/test_expectations.txt
BUGWK44797 SKIP : fullscreen = PASS FAIL TIMEOUT
BUGWK56454 WIN : inspector/evaluate-in-page.html = PASS TIMEOUT
BUGWK56454 WIN : inspector/report-API-errors.html = PASS TIMEOUT
BUGWK56454 WIN : inspector/syntax-highlight-css.html = PASS TIMEOUT
BUGWK... | 0b824d2bfddff07800f59c4e0217e615cfa4cc81 | webkit/tools/layout_tests/test_expectations.txt | webkit/tools/layout_tests/test_expectations.txt | Text |
<|file_sep|>original/.circleci/config.yml
version: 2
jobs:
build:
docker:
- image: circleci/node:9@sha256:0ec3d7136ab6567ae4c9d13124ae3ae65bd8be3f026e3832836582b313b5ef90
- image: circleci/mongo:3@sha256:0c6436f8f925503028db4327db4baac2a626989a254dc15c4e5a94d2902d75ee
steps:
- checkout
... | version: 2
jobs:
build:
docker:
- image: circleci/node:9@sha256:0ec3d7136ab6567ae4c9d13124ae3ae65bd8be3f026e3832836582b313b5ef90
- image: circleci/mongo:3@sha256:11ecec4935a0c69f00eab5eef60290223a92f36eb2c91892bfb3e821c6decbd5
steps:
- checkout
- run: yarn install --frozen-lockfile
... | <|file_sep|>original/.circleci/config.yml
version: 2
jobs:
build:
docker:
- image: circleci/node:9@sha256:0ec3d7136ab6567ae4c9d13124ae3ae65bd8be3f026e3832836582b313b5ef90
- image: circleci/mongo:3@sha256:0c6436f8f925503028db4327db4baac2a626989a254dc15c4e5a94d2902d75ee
steps:
- checkout
... | 7bfe5b597512c6ef7b5a5387869b4f0142c62c3e | .circleci/config.yml | .circleci/config.yml | YAML |
<|file_sep|>original/subiquity/utils.py
<|file_sep|>current/subiquity/utils.py
<|file_sep|>updated/subiquity/utils.py | # Copyright 2015 Canonical, Ltd.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distribute... | <|file_sep|>original/subiquity/utils.py
<|file_sep|>current/subiquity/utils.py
<|file_sep|>updated/subiquity/utils.py
# Copyright 2015 Canonical, Ltd.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Softw... | f0af14b8fcd420b63a47e18938664e14cf9ea968 | subiquity/utils.py | subiquity/utils.py | Python |
<|file_sep|>original/scripts/run_tests.sh
#!/bin/bash
DM_ENVIRONMENT=${1:-local}
bundle install
. "./scripts/envs/${DM_ENVIRONMENT}.sh"
mkdir -p reports
rm -f screenshot*
bundle exec cucumber -r features --tags ~@ssp --tags ~@wip --tags @functional-test --color --format html --out reports/index.html --format pretty... | #!/bin/bash
DM_ENVIRONMENT=${1:-local}
bundle install
. "./scripts/envs/${DM_ENVIRONMENT}.sh"
mkdir -p reports
rm -f screenshot*
bundle exec cucumber -r features --tags ~@ssp --tags ~@ssp-gcloud --tags ~@wip --tags @functional-test --color --format html --out reports/index.html --format pretty | <|file_sep|>original/scripts/run_tests.sh
#!/bin/bash
DM_ENVIRONMENT=${1:-local}
bundle install
. "./scripts/envs/${DM_ENVIRONMENT}.sh"
mkdir -p reports
rm -f screenshot*
bundle exec cucumber -r features --tags ~@ssp --tags ~@wip --tags @functional-test --color --format html --out reports/index.html --format pretty... | c4d3df6485bdf4baeb864401edf68529fc863b6c | scripts/run_tests.sh | scripts/run_tests.sh | Shell |
<|file_sep|>original/requirements/check.txt
-r docs-check.txt
check-manifest==0.48
flake8==4.0.1
flake8-bugbear==22.3.23
flake8-builtins==1.5.3
flake8-docstrings==1.6.0
flake8-isort==4.1.1
flake8-future-import==0.4.6
flake8-print==4.0.0
isort==5.10.1
m2r==0.2.1
pep8-naming==0.12.1
pydocstyle==6.1.1
pylint==2.13.7
read... | -r docs-check.txt
check-manifest==0.48
flake8==4.0.1
flake8-bugbear==22.3.23
flake8-builtins==1.5.3
flake8-docstrings==1.6.0
flake8-isort==4.1.1
flake8-future-import==0.4.6
flake8-print==4.0.0
isort==5.10.1
m2r==0.2.1
pep8-naming==0.12.1
pydocstyle==6.1.1
pylint==2.13.7
readme-renderer==35.0 | <|file_sep|>original/requirements/check.txt
-r docs-check.txt
check-manifest==0.48
flake8==4.0.1
flake8-bugbear==22.3.23
flake8-builtins==1.5.3
flake8-docstrings==1.6.0
flake8-isort==4.1.1
flake8-future-import==0.4.6
flake8-print==4.0.0
isort==5.10.1
m2r==0.2.1
pep8-naming==0.12.1
pydocstyle==6.1.1
pylint==2.13.7
read... | 577da22b15e54f0699a41084f51391a161b1b11a | requirements/check.txt | requirements/check.txt | Text |
<|file_sep|>original/.github/workflows/release.yml
tags:
# this is a glob, not a regexp
- '[0-9]*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v2
- name: Build release tarball
# run as root; current Ubuntu podman bre... | tags:
# this is a glob, not a regexp
- '[0-9]*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v2
- name: Workaround for https://github.com/actions/checkout/pull/697
run: git fetch --force origin $(git describe --tags):... | <|file_sep|>original/.github/workflows/release.yml
tags:
# this is a glob, not a regexp
- '[0-9]*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v2
- name: Build release tarball
# run as root; current Ubuntu podman bre... | 12ea2e331e23eb4e8d05b14b81d67d01d5a87b28 | .github/workflows/release.yml | .github/workflows/release.yml | YAML |
<|file_sep|>original/data/projects/lightshow.json
<|file_sep|>current/data/projects/lightshow.json
<|file_sep|>updated/data/projects/lightshow.json | {
"project_title": "CSE Light Show",
"project_goal": "Engineer and design a computer-synchronized music and light show on the Civil Engineering plaza.",
"project_details": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad... | <|file_sep|>original/data/projects/lightshow.json
<|file_sep|>current/data/projects/lightshow.json
<|file_sep|>updated/data/projects/lightshow.json
{
"project_title": "CSE Light Show",
"project_goal": "Engineer and design a computer-synchronized music and light show on the Civil Engineering plaza.",
"proj... | 7d12fdbbc879e5130cb6063181e3ee154de6d0c3 | data/projects/lightshow.json | data/projects/lightshow.json | JSON |
<|file_sep|>original/_includes/social_links.html
<ul class="links">
<li><a href="https://au.linkedin.com/in/jsietsma"><i class="fa fa-linkedin"></i></a></li>
<li><a href="https://twitter.com/JohnSietsma"><i class="fa fa-twitter"></i></a></li>
<li><a href="https://github.com/johnsietsma/"><i class="fa fa-git... | <ul class="links">
<li><a href="https://au.linkedin.com/in/jsietsma"><i class="fa fa-linkedin"></i></a></li>
<li><a href="https://twitter.com/JohnSietsma"><i class="fa fa-twitter"></i></a></li>
<li><a href="https://github.com/johnsietsma/"><i class="fa fa-github"></i></a></li>
<li><a href="http://steamc... | <|file_sep|>original/_includes/social_links.html
<ul class="links">
<li><a href="https://au.linkedin.com/in/jsietsma"><i class="fa fa-linkedin"></i></a></li>
<li><a href="https://twitter.com/JohnSietsma"><i class="fa fa-twitter"></i></a></li>
<li><a href="https://github.com/johnsietsma/"><i class="fa fa-git... | e38ea4a3d277afc300c0135173633440815ebcae | _includes/social_links.html | _includes/social_links.html | HTML |
<|file_sep|>original/tests/TestCase.php
/**
* The base URL to use while testing the application.
*
* @var string
*/
protected $baseUrl = 'http://localhost';
/**
* Creates the application.
*
* @return \Illuminate\Foundation\Application
*/
public function createApp... | *
* @var string
*/
protected $baseUrl = 'http://localhost';
/**
* Creates the application.
*
* @return \Illuminate\Foundation\Application
*/
public function setUp()
{
parent::setUp();
$this->prepareForTests();
}
public function prepareForT... | <|file_sep|>original/tests/TestCase.php
/**
* The base URL to use while testing the application.
*
* @var string
*/
protected $baseUrl = 'http://localhost';
/**
* Creates the application.
*
* @return \Illuminate\Foundation\Application
*/
public function createApp... | 547961938bf3c739c1aaebc2fcd588a436b3bdfd | tests/TestCase.php | tests/TestCase.php | PHP |
<|file_sep|>original/azure-pipelines.yml
<|file_sep|>current/azure-pipelines.yml
<|file_sep|>updated/azure-pipelines.yml | # Python package
# Create and test a Python package on multiple Python versions.
# Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and more:
# https://docs.microsoft.com/vsts/pipelines/languages/python
jobs:
- job: 'Test'
# Configure Build Environment to use Az... | <|file_sep|>original/azure-pipelines.yml
<|file_sep|>current/azure-pipelines.yml
<|file_sep|>updated/azure-pipelines.yml
# Python package
# Create and test a Python package on multiple Python versions.
# Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and more:
# ... | e6f96e7373e0b6ea1e9ccd2de292f029cb12fac9 | azure-pipelines.yml | azure-pipelines.yml | YAML |
<|file_sep|>metadata/de.storchp.fdroidbuildstatus.yml.diff
original:
updated:
- versionName: '1.2'
versionCode: 3
commit: '1.2'
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/de.storchp.fdroidbuildstatus.yml
SourceCode: https://codeberg.org/pstorch/F-Droid_Build_Status
IssueTracker: h... | Repo: https://codeberg.org/pstorch/F-Droid_Build_Status.git
Builds:
- versionName: '1.0'
versionCode: 1
commit: '1.0'
subdir: app
gradle:
- yes
- versionName: '1.2'
versionCode: 3
commit: '1.2'
subdir: app
gradle:
- yes
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
... | <|file_sep|>metadata/de.storchp.fdroidbuildstatus.yml.diff
original:
updated:
- versionName: '1.2'
versionCode: 3
commit: '1.2'
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/de.storchp.fdroidbuildstatus.yml
SourceCode: https://codeberg.org/pstorch/F-Droid_Build_Status
IssueTracker: h... | c7f66864781794b586932d9966699c0cca96b1f0 | metadata/de.storchp.fdroidbuildstatus.yml | metadata/de.storchp.fdroidbuildstatus.yml | YAML |
<|file_sep|>original/src/reddio_frontend/screens/app.cljs
(ns reddio-frontend.screens.app
(:require [re-frame.core :as rf]
[reddio-frontend.bridge :as bridge]
[reddio-frontend.screens.shared.header :as header]
[reddio-frontend.screens.home.top-subreddits :as top-subreddits]))
(def... | (ns reddio-frontend.screens.app
(:require [re-frame.core :as rf]
[reddio-frontend.bridge :as bridge]
[reddio-frontend.screens.shared.header :as header]
[reddio-frontend.screens.home.top-subreddits :as top-subreddits]))
(defn app []
(let [route @(rf/subscribe [:route])]
[:> b... | <|file_sep|>original/src/reddio_frontend/screens/app.cljs
(ns reddio-frontend.screens.app
(:require [re-frame.core :as rf]
[reddio-frontend.bridge :as bridge]
[reddio-frontend.screens.shared.header :as header]
[reddio-frontend.screens.home.top-subreddits :as top-subreddits]))
(def... | 3938f420134f9703612dcbadef86c469d88706a8 | src/reddio_frontend/screens/app.cljs | src/reddio_frontend/screens/app.cljs | Clojure |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.