prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>original/tests/Testing/Concerns/MakesHttpRequestsTest.php
<|file_sep|>current/tests/Testing/Concerns/MakesHttpRequestsTest.php
<|file_sep|>updated/tests/Testing/Concerns/MakesHttpRequestsTest.php | <?php
use Illuminate\Http\JsonResponse;
use Laravel\Lumen\Application;
use Laravel\Lumen\Http\Request;
use Laravel\Lumen\Testing\Concerns\MakesHttpRequests;
use PHPUnit\Framework\TestCase;
class MakesHttpRequestsTest extends TestCase
{
use MakesHttpRequests;
public function testReceiveJson()
{
$t... | <|file_sep|>original/tests/Testing/Concerns/MakesHttpRequestsTest.php
<|file_sep|>current/tests/Testing/Concerns/MakesHttpRequestsTest.php
<|file_sep|>updated/tests/Testing/Concerns/MakesHttpRequestsTest.php
<?php
use Illuminate\Http\JsonResponse;
use Laravel\Lumen\Application;
use Laravel\Lumen\Http\Request;
use La... | 5a0801084a94142cbab545dee97dd2a8a52d2999 | tests/Testing/Concerns/MakesHttpRequestsTest.php | tests/Testing/Concerns/MakesHttpRequestsTest.php | PHP |
<|file_sep|>numba/cuda/models.py.diff
original:
if fe_type == types.float32:
updated:
if fe_type == types.float16:
be_type = ir.IntType(16)
elif fe_type == types.float32:
<|file_sep|>original/numba/cuda/models.py
class GridGroupModel(models.PrimitiveModel):
def __init__(self, dmm... | class GridGroupModel(models.PrimitiveModel):
def __init__(self, dmm, fe_type):
be_type = ir.IntType(64)
super().__init__(dmm, fe_type, be_type)
@register_default(types.Float)
class FloatModel(models.PrimitiveModel):
def __init__(self, dmm, fe_type):
if fe_type == types.float16:
... | <|file_sep|>numba/cuda/models.py.diff
original:
if fe_type == types.float32:
updated:
if fe_type == types.float16:
be_type = ir.IntType(16)
elif fe_type == types.float32:
<|file_sep|>original/numba/cuda/models.py
class GridGroupModel(models.PrimitiveModel):
def __init__(self, dmm... | 6689858b2364a668b362a5f00d4c86e57141dc37 | numba/cuda/models.py | numba/cuda/models.py | Python |
<|file_sep|>.travis.yml.diff
original:
updated:
env:
<|file_sep|>.travis.yml.diff
original:
updated:
dist: trusty
<|file_sep|>original/.travis.yml
sudo: required
os:
- linux
env:
- CFG=MONO
- TRAVIS_OS_UNAME=$(uname -s)
- dotnet: 1.0.1
mono: none
dist: trusty
... | - mono: latest
dist: trusty
sudo: required
os:
- linux
env:
- CFG=MONO
- TRAVIS_OS_UNAME=$(uname -s)
- dotnet: 1.0.1
mono: none
os:
- osx
env:
- CFG=CORE
- TRAVIS_OS_UNAME=$(uname -s)
- mono: latest
sudo: required
os:
... | <|file_sep|>.travis.yml.diff
original:
updated:
env:
<|file_sep|>.travis.yml.diff
original:
updated:
dist: trusty
<|file_sep|>original/.travis.yml
sudo: required
os:
- linux
env:
- CFG=MONO
- TRAVIS_OS_UNAME=$(uname -s)
- dotnet: 1.0.1
mono: none
dist: trusty
... | cbd6fe8af55a01aad7699706b84447686361bc82 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/package.json
"contributors": [{
"name": "Brennan Moore",
"email": "brennanmoore@gmail.com",
"url": "http://brennanmoore.com"
}],
"scripts": {
"test": "mocha",
"preinstall": "coffee -c lib"
},
"dependencies": {
"showdown": "git://github.com/craigspaeth/showdown.git"... | "contributors": [{
"name": "Brennan Moore",
"email": "brennanmoore@gmail.com",
"url": "http://brennanmoore.com"
}],
"scripts": {
"test": "mocha",
"preinstall": "coffee -c lib"
},
"dependencies": {
"markdown": "*",
"underscore": "*",
"backbone": "*"
},
"devDependencies": {
... | <|file_sep|>original/package.json
"contributors": [{
"name": "Brennan Moore",
"email": "brennanmoore@gmail.com",
"url": "http://brennanmoore.com"
}],
"scripts": {
"test": "mocha",
"preinstall": "coffee -c lib"
},
"dependencies": {
"showdown": "git://github.com/craigspaeth/showdown.git"... | 470c9e2cb10115956e360d4cd12a4ffbf884745e | package.json | package.json | JSON |
<|file_sep|>lib/actions/volume.js.diff
original:
updated:
function boundVolume(vol) {
if(vol < 0) {
vol = 0;
} else if(vol > 100) {
vol = 100;
}
return vol;
}
<|file_sep|>original/lib/actions/volume.js
vol = 0;
} else if(vol > 100) {
vol = 100;
}
return vol;
}
var commandP... | }
return vol;
}
module.exports = function(radio, command, logger) {
logger = logger || winston;
var commandPromise;
if(command.hasOwnProperty('value')) {
var absoluteVol = parseInt(command.value);
commandPromise = radio.sendCommands([
['setvol', boundVolume(absoluteVol)]
]);
} else if(... | <|file_sep|>lib/actions/volume.js.diff
original:
updated:
function boundVolume(vol) {
if(vol < 0) {
vol = 0;
} else if(vol > 100) {
vol = 100;
}
return vol;
}
<|file_sep|>original/lib/actions/volume.js
vol = 0;
} else if(vol > 100) {
vol = 100;
}
return vol;
}
var commandP... | 981676eccb141aa1c3a6d26df31699b927f24fc0 | lib/actions/volume.js | lib/actions/volume.js | JavaScript |
<|file_sep|>original/xmantissa/plugins/hyperbolaoff.py
benefactorClass = hyperbola_model.HyperbolaBenefactor)
plugin = offering.Offering(
name = u"Hyperbola",
description = u"""
This is the wonderful Hyperbola application. Click me to install.
""",
siteRequirements = (
(userbase.IReal... | benefactorClass = hyperbola_model.HyperbolaBenefactor)
plugin = offering.Offering(
name = u"Hyperbola",
description = u"""
This is the wonderful Hyperbola application. Click me to install.
""",
siteRequirements = (
(userbase.IRealm, userbase.LoginSystem),
(None, website.WebSit... | <|file_sep|>original/xmantissa/plugins/hyperbolaoff.py
benefactorClass = hyperbola_model.HyperbolaBenefactor)
plugin = offering.Offering(
name = u"Hyperbola",
description = u"""
This is the wonderful Hyperbola application. Click me to install.
""",
siteRequirements = (
(userbase.IReal... | 249a49d2f174571db22860ebfffc37637cacd9be | xmantissa/plugins/hyperbolaoff.py | xmantissa/plugins/hyperbolaoff.py | Python |
<|file_sep|>original/system/kube-monitoring/charts/blackbox-exporter/templates/configmap.yaml
http_403:
prober: http
http:
fail_if_not_ssl: true
preferred_ip_protocol: "ip4"
valid_status_codes: [403]
http_post_4xx:
prober: http
http:
fa... | http_403:
prober: http
http:
fail_if_not_ssl: true
preferred_ip_protocol: "ip4"
valid_status_codes: [403]
http_post_4xx:
prober: http
http:
fail_if_not_ssl: true
preferred_ip_protocol: "ip4"
method: POST
icmp:
... | <|file_sep|>original/system/kube-monitoring/charts/blackbox-exporter/templates/configmap.yaml
http_403:
prober: http
http:
fail_if_not_ssl: true
preferred_ip_protocol: "ip4"
valid_status_codes: [403]
http_post_4xx:
prober: http
http:
fa... | 57f187f646d5adc2225e52afcb98e49cd7a2417d | system/kube-monitoring/charts/blackbox-exporter/templates/configmap.yaml | system/kube-monitoring/charts/blackbox-exporter/templates/configmap.yaml | YAML |
<|file_sep|>original/recipes/pyxdsm/LICENSE.txt
<|file_sep|>current/recipes/pyxdsm/LICENSE.txt
<|file_sep|>updated/recipes/pyxdsm/LICENSE.txt | OpenMDAO Open Source License:
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this software except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software... | <|file_sep|>original/recipes/pyxdsm/LICENSE.txt
<|file_sep|>current/recipes/pyxdsm/LICENSE.txt
<|file_sep|>updated/recipes/pyxdsm/LICENSE.txt
OpenMDAO Open Source License:
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this software except in compliance with the License.
You may obta... | 2012de9c3cb4406b5bfb04760e4c93a776417688 | recipes/pyxdsm/LICENSE.txt | recipes/pyxdsm/LICENSE.txt | Text |
<|file_sep|>original/gulpfile.coffee
mocha = require 'gulp-mocha'
src = './src/*.coffee'
test = './test/*.coffee'
gulp.task('compile', ->
gulp.src(src)
.pipe(coffee())
.pipe(gulp.dest('./src'))
)
gulp.task('test', ->
gulp.src(test)
.pipe(mocha({ reporter: 'list' }))
)
gulp.task('watch', ->
gulp.wa... | mocha = require 'gulp-mocha'
src = './src/*.coffee'
test = './test/*.coffee'
gulp.task('compile', ->
gulp.src(src)
.pipe(coffee())
.pipe(gulp.dest('./src'))
)
gulp.task('test', ->
gulp.src(test)
.pipe(mocha({ reporter: 'list' }))
)
gulp.task('watch', ->
gulp.watch([src, test], ['test'])
)
gulp.ta... | <|file_sep|>original/gulpfile.coffee
mocha = require 'gulp-mocha'
src = './src/*.coffee'
test = './test/*.coffee'
gulp.task('compile', ->
gulp.src(src)
.pipe(coffee())
.pipe(gulp.dest('./src'))
)
gulp.task('test', ->
gulp.src(test)
.pipe(mocha({ reporter: 'list' }))
)
gulp.task('watch', ->
gulp.wa... | 99dda35dae3f6b902115a9772393140d9635791d | gulpfile.coffee | gulpfile.coffee | CoffeeScript |
<|file_sep|>original/docs/initialization.md
# Example
```js
const {
UiWindow,
UiMenu,
startLoop,
stopLoop,
onShouldQuit
} = require('libui');
const menu = new UiMenu('File');
menu.appendQuitItem();
const window = UiWindow('Initialization Example', 400, 300, true);
onShouldQuit(() => {
window.close();
stopL... |
# Example
```js
const {
UiWindow,
UiMenu,
startLoop,
stopLoop,
onShouldQuit
} = require('libui-node');
const menu = new UiMenu('File');
menu.appendQuitItem();
const window = UiWindow('Initialization Example', 400, 300, true);
onShouldQuit(() => {
window.close();
stopLoop(); | <|file_sep|>original/docs/initialization.md
# Example
```js
const {
UiWindow,
UiMenu,
startLoop,
stopLoop,
onShouldQuit
} = require('libui');
const menu = new UiMenu('File');
menu.appendQuitItem();
const window = UiWindow('Initialization Example', 400, 300, true);
onShouldQuit(() => {
window.close();
stopL... | 298216de02ae7d90b589749002fef6a6c8b6b34d | docs/initialization.md | docs/initialization.md | Markdown |
<|file_sep|>original/packages/@sanity/cli/src/actions/project/createProject.js
export default function createProject(apiClient, options) {
return apiClient({
requireUser: true,
requireProject: false
}).request({
method: 'POST',
uri: '/projects',
json: options
}).then(response => ({
project... | export default function createProject(apiClient, options) {
return apiClient({
requireUser: true,
requireProject: false
}).request({
method: 'POST',
uri: '/projects',
body: options
}).then(response => ({
projectId: response.projectId,
displayName: options.displayName || ''
}))
} | <|file_sep|>original/packages/@sanity/cli/src/actions/project/createProject.js
export default function createProject(apiClient, options) {
return apiClient({
requireUser: true,
requireProject: false
}).request({
method: 'POST',
uri: '/projects',
json: options
}).then(response => ({
project... | fab22f636c8717dde34fae542b28172acaeeb46b | packages/@sanity/cli/src/actions/project/createProject.js | packages/@sanity/cli/src/actions/project/createProject.js | JavaScript |
<|file_sep|>src/catalog.coffee.diff
original:
Route _.extend({handler: App}, config),
config.pages.map((page) ->
updated:
Route _.extend({key: 'root', handler: App}, config),
config.pages.map (page) ->
<|file_sep|>original/src/catalog.coffee
# Load App
_ = require('lodash')
React = require('react')... |
# Load App
_ = require('lodash')
React = require('react')
{Routes, Route, Redirect} = require('react-router')
App = require('./components/App')
Page = require('./components/Page/Page')
window.Catalog = (config) ->
defaultPageOptions =
handler: Page
iframe: config.iframe or false
styles: config.styles or... | <|file_sep|>src/catalog.coffee.diff
original:
Route _.extend({handler: App}, config),
config.pages.map((page) ->
updated:
Route _.extend({key: 'root', handler: App}, config),
config.pages.map (page) ->
<|file_sep|>original/src/catalog.coffee
# Load App
_ = require('lodash')
React = require('react')... | 324b0e8ca57fe1e70b21253f839231490901a95e | src/catalog.coffee | src/catalog.coffee | CoffeeScript |
<|file_sep|>original/3RVX/MeterWnd/Meters/HorizontalTile.cpp
_rect.Width = _bitmap->GetWidth();
_rect.Height = _bitmap->GetHeight();
_texture = new Gdiplus::TextureBrush(_bitmap, Gdiplus::WrapModeTile,
0, 0, _rect.Width, _rect.Height);
_shiftMat = new Gdiplus::Matrix(1, 0, 0, 1,
(float)... | _rect.Width = _bitmap->GetWidth();
_rect.Height = _bitmap->GetHeight();
_texture = new Gdiplus::TextureBrush(_bitmap, Gdiplus::WrapModeTile,
0, 0, _rect.Width, _rect.Height);
_shiftMat = new Gdiplus::Matrix(1, 0, 0, 1,
(float) _rect.X, (float) _rect.Y);
_texture->SetTransform(_shift... | <|file_sep|>original/3RVX/MeterWnd/Meters/HorizontalTile.cpp
_rect.Width = _bitmap->GetWidth();
_rect.Height = _bitmap->GetHeight();
_texture = new Gdiplus::TextureBrush(_bitmap, Gdiplus::WrapModeTile,
0, 0, _rect.Width, _rect.Height);
_shiftMat = new Gdiplus::Matrix(1, 0, 0, 1,
(float)... | cc1c87b88a94317a13cde6578f1dd23c05a53468 | 3RVX/MeterWnd/Meters/HorizontalTile.cpp | 3RVX/MeterWnd/Meters/HorizontalTile.cpp | C++ |
<|file_sep|>original/README.md
# SnippetBag
Convenient for writing many Android code snippets or demos in one project.
<|file_sep|>current/README.md
# SnippetBag
Convenient for writing many Android code snippets or demos in one project.
<|file_sep|>updated/README.md | # SnippetBag
Convenient for writing many Android code snippets or demos in one project.
Modified 20150622 16:55
| <|file_sep|>original/README.md
# SnippetBag
Convenient for writing many Android code snippets or demos in one project.
<|file_sep|>current/README.md
# SnippetBag
Convenient for writing many Android code snippets or demos in one project.
<|file_sep|>updated/README.md
# SnippetBag
Convenient for writing many Android code... | 57d62814b380108a8fe03cd4b58c05eff19f1408 | README.md | README.md | Markdown |
<|file_sep|>original/setup.cfg
[metadata]
description-file = README.md
[isort]
line_length = 100
lines_between_types = 1
order_by_type = true
known_future_library = future,pies
known_standard_library = httpretty,faker,numpy,pandas,six,requests,websocket,jinja2,yaml,pytz
;known_third_party =
known_first_party = polyaxo... | [metadata]
description-file = README.md
[isort]
line_length = 100
lines_between_types = 1
order_by_type = true
known_future_library = future,pies
known_standard_library = httpretty,faker,numpy,pandas,six,requests,websocket,jinja2,yaml,pytz,mock
;known_third_party =
known_first_party = polyaxon_schemas,polyaxon_client,... | <|file_sep|>original/setup.cfg
[metadata]
description-file = README.md
[isort]
line_length = 100
lines_between_types = 1
order_by_type = true
known_future_library = future,pies
known_standard_library = httpretty,faker,numpy,pandas,six,requests,websocket,jinja2,yaml,pytz
;known_third_party =
known_first_party = polyaxo... | f6a734f12f34dfb61ae300acb0d08aca4d14c0fd | setup.cfg | setup.cfg | INI |
<|file_sep|>original/CONTRIBUTING.md
# Contributing to Home Assistant
Everybody is invited and welcome to contribute to Home Assistant. There is a lot to do...if you are not a developer perhaps you would like to help with the documentation on [home-assistant.io](https://home-assistant.io/)? If you are a developer and ... | # Contributing to Home Assistant
Everybody is invited and welcome to contribute to Home Assistant. There is a lot to do...if you are not a developer perhaps you would like to help with the documentation on [home-assistant.io](https://home-assistant.io/)? If you are a developer and have devices in your home which aren'... | <|file_sep|>original/CONTRIBUTING.md
# Contributing to Home Assistant
Everybody is invited and welcome to contribute to Home Assistant. There is a lot to do...if you are not a developer perhaps you would like to help with the documentation on [home-assistant.io](https://home-assistant.io/)? If you are a developer and ... | 328ff6027b4468d2e86894ab10bfef3d7cdd6b0d | CONTRIBUTING.md | CONTRIBUTING.md | Markdown |
<|file_sep|>original/backend/build.sbt
name := "accounts"
version := "0.0.0"
scalaVersion := "2.12.1"
libraryDependencies += "org.sangria-graphql" %% "sangria" % "1.0.0"
libraryDependencies += "org.sangria-graphql" %% "sangria-spray-json" % "1.0.0"
libraryDependencies += "com.typesafe.akka" %% "akka-http" % "10.0.1"
... | name := "accounts"
version := "0.0.0"
scalaVersion := "2.12.1"
scalacOptions ++= Seq("-unchecked", "-deprecation","-feature")
libraryDependencies += "org.sangria-graphql" %% "sangria" % "1.0.0"
libraryDependencies += "org.sangria-graphql" %% "sangria-spray-json" % "1.0.0"
libraryDependencies += "com.typesafe.akka" %... | <|file_sep|>original/backend/build.sbt
name := "accounts"
version := "0.0.0"
scalaVersion := "2.12.1"
libraryDependencies += "org.sangria-graphql" %% "sangria" % "1.0.0"
libraryDependencies += "org.sangria-graphql" %% "sangria-spray-json" % "1.0.0"
libraryDependencies += "com.typesafe.akka" %% "akka-http" % "10.0.1"
... | 69010e1c4650f33b873349b2b5eb87798e9fbb0a | backend/build.sbt | backend/build.sbt | Scala |
<|file_sep|>original/Cargo.toml
[package]
name = "rust-kr"
version = "0.1.1"
authors = ["Hyeon Kim <simnalamburt@gmail.com>"]
[dependencies]
iron = "0.6"
router = "0.6"
staticfile = "0.5"
handlebars-iron = "0.27"
pulldown-cmark = "0.1.0"
<|file_sep|>current/Cargo.toml
[package]
name = "rust-kr"
version = "0.1.1"
autho... | [package]
name = "rust-kr"
version = "0.1.1"
authors = ["Hyeon Kim <simnalamburt@gmail.com>"]
edition = "2018"
[dependencies]
iron = "0.6"
router = "0.6"
staticfile = "0.5"
handlebars-iron = "0.27"
pulldown-cmark = "0.1.0" | <|file_sep|>original/Cargo.toml
[package]
name = "rust-kr"
version = "0.1.1"
authors = ["Hyeon Kim <simnalamburt@gmail.com>"]
[dependencies]
iron = "0.6"
router = "0.6"
staticfile = "0.5"
handlebars-iron = "0.27"
pulldown-cmark = "0.1.0"
<|file_sep|>current/Cargo.toml
[package]
name = "rust-kr"
version = "0.1.1"
autho... | 374754a235a75d3f4a5e726ee2086fcbad5b4691 | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>original/db/migrate/20160602223101_create_museums.rb
class CreateMuseums < ActiveRecord::Migration
def change
create_table :museums do |t|
t.string :name, null: false
t.string :formatted_address
t.string :formatted_phone_number
t.decimal :lat
t.decimal :lng
t.string... | class CreateMuseums < ActiveRecord::Migration
def change
create_table :museums do |t|
t.string :name, null: false
t.string :formatted_address
t.string :formatted_phone_number
t.decimal :lat
t.decimal :lng
t.string :opening_hours
t.string :photo
t.string :place_id
... | <|file_sep|>original/db/migrate/20160602223101_create_museums.rb
class CreateMuseums < ActiveRecord::Migration
def change
create_table :museums do |t|
t.string :name, null: false
t.string :formatted_address
t.string :formatted_phone_number
t.decimal :lat
t.decimal :lng
t.string... | afeed4311607feef84e7d71c704422a474ba200b | db/migrate/20160602223101_create_museums.rb | db/migrate/20160602223101_create_museums.rb | Ruby |
<|file_sep|>original/algorithms/warmup/GameOfThronesI.scala
<|file_sep|>current/algorithms/warmup/GameOfThronesI.scala
<|file_sep|>updated/algorithms/warmup/GameOfThronesI.scala | object Solution {
def canBePalindrome(s: String): Boolean = {
val charCount = Array.fill(256)(0)
for (c <- s) charCount(c) += 1
charCount.filter(_ % 2 != 0).size <= 1
}
def main(args: Array[String]) {
val s = readLine
println(if (canBePalindrome(s)) "YES" else "NO")
}
} | <|file_sep|>original/algorithms/warmup/GameOfThronesI.scala
<|file_sep|>current/algorithms/warmup/GameOfThronesI.scala
<|file_sep|>updated/algorithms/warmup/GameOfThronesI.scala
object Solution {
def canBePalindrome(s: String): Boolean = {
val charCount = Array.fill(256)(0)
for (c <- s) charCount(c) += 1
... | d8bb620f00ee540508de02a3ae2d660470f78b2d | algorithms/warmup/GameOfThronesI.scala | algorithms/warmup/GameOfThronesI.scala | Scala |
<|file_sep|>original/sappho/__init__.py
if __name__ == "__main__":
__version__ = "0.3"
else:
from animatedsprite import AnimatedSprite
from tilemap import TileMap, Tilesheet, tmx_file_to_tilemaps
from layers import SurfaceLayers
<|file_sep|>current/sappho/__init__.py
if __name__ == "__main__":
__ver... | if __name__ == "__main__":
__version__ = "0.3.1"
else:
from animatedsprite import AnimatedSprite
from tilemap import TileMap, Tilesheet, tmx_file_to_tilemaps
from layers import SurfaceLayers | <|file_sep|>original/sappho/__init__.py
if __name__ == "__main__":
__version__ = "0.3"
else:
from animatedsprite import AnimatedSprite
from tilemap import TileMap, Tilesheet, tmx_file_to_tilemaps
from layers import SurfaceLayers
<|file_sep|>current/sappho/__init__.py
if __name__ == "__main__":
__ver... | 86f33f301cc6a7215b4e0da21ac5fbcdc67cedcf | sappho/__init__.py | sappho/__init__.py | Python |
<|file_sep|>original/concise_logging.gemspec
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'concise_logging/version'
Gem::Specification.new do |spec|
spec.name = "concise_logging"
spec.version = ConciseLogging::VERSION
spec.authors ... | lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'concise_logging/version'
Gem::Specification.new do |spec|
spec.name = "concise_logging"
spec.version = ConciseLogging::VERSION
spec.authors = ["Gerry Shaw"]
spec.email = ["ge... | <|file_sep|>original/concise_logging.gemspec
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'concise_logging/version'
Gem::Specification.new do |spec|
spec.name = "concise_logging"
spec.version = ConciseLogging::VERSION
spec.authors ... | 94c3b6da12c73fb8f5650b482122b92f05095e56 | concise_logging.gemspec | concise_logging.gemspec | Ruby |
<|file_sep|>README.md.diff
original:
SlipStreamConnector-Okeanos
===========================
updated:
# SlipStreamConnector-Okeanos
<|file_sep|>original/README.md
SlipStreamConnector-Okeanos
===========================
SlipStream Okeanos connector
<|file_sep|>current/README.md
# SlipStreamConnector-Okeanos
SlipStream... | # SlipStreamConnector-Okeanos
Source code for SlipStream ~Okeanos connector.
## Status
| Capability | Status |
|-----------------------| :----: |
| Run Image | ✓ |
| Run Deployment | ✓ |
| Build Image | ✗ |
| Extra disk volatile | ✗ |
| Extra disk persiste... | <|file_sep|>README.md.diff
original:
SlipStreamConnector-Okeanos
===========================
updated:
# SlipStreamConnector-Okeanos
<|file_sep|>original/README.md
SlipStreamConnector-Okeanos
===========================
SlipStream Okeanos connector
<|file_sep|>current/README.md
# SlipStreamConnector-Okeanos
SlipStream... | d627acd7480bf4819d1ba05a887fd9f3f1d94d2a | README.md | README.md | Markdown |
<|file_sep|>original/requirements_dev.txt
pip==8.1.2
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.0.4
tox==2.3.1
coverage==4.2
<<<<<<< HEAD
<<<<<<< HEAD
Sphinx==1.4.8
cryptography==1.5.2
=======
Sphinx==1.4.8
cryptography==1.5.2
>>>>>>> 9ac4f2aabdf503b7711f2d5ca9964eeaef6c63e3
=======
Sphinx==1.4.8
crypto... | pip==8.1.2
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.0.4
tox==2.4.0
coverage==4.2
<<<<<<< HEAD
<<<<<<< HEAD
Sphinx==1.4.8
cryptography==1.5.2
=======
Sphinx==1.4.8
cryptography==1.5.2
>>>>>>> 9ac4f2aabdf503b7711f2d5ca9964eeaef6c63e3
=======
Sphinx==1.4.8
cryptography==1.5.2
>>>>>>> cc07c02f70e241580ba6... | <|file_sep|>original/requirements_dev.txt
pip==8.1.2
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.0.4
tox==2.3.1
coverage==4.2
<<<<<<< HEAD
<<<<<<< HEAD
Sphinx==1.4.8
cryptography==1.5.2
=======
Sphinx==1.4.8
cryptography==1.5.2
>>>>>>> 9ac4f2aabdf503b7711f2d5ca9964eeaef6c63e3
=======
Sphinx==1.4.8
crypto... | 91352742ee152258d32056a4da57aa93be4155b4 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/src/test_partial_sort.ml
<|file_sep|>current/src/test_partial_sort.ml
<|file_sep|>updated/src/test_partial_sort.ml | open Util
let _ =
let lt a b =
if (a mod 3 = b mod 3) then
Some (a <= b)
else
None
in
let l = [87;24;1;6;3;7;2;4;8;1;23;5] in
let sorted = partial_sort lt l in
Printf.printf "%s\n" (String.concat ", " (List.map string_of_int sorted));
| <|file_sep|>original/src/test_partial_sort.ml
<|file_sep|>current/src/test_partial_sort.ml
<|file_sep|>updated/src/test_partial_sort.ml
open Util
let _ =
let lt a b =
if (a mod 3 = b mod 3) then
Some (a <= b)
else
None
in
let l = [87;24;1;6;3;7;2;4;8;1;23;5] in
let sorted = partial_sort lt l in
... | 83540ea5bfc9085415dec208713298a2137ed57f | src/test_partial_sort.ml | src/test_partial_sort.ml | OCaml |
<|file_sep|>original/dependency.gemspec
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'dependency'
s.version = '0.0.1.2'
s.summary = 'Declare dependencies that have null object or substitute default values'
s.description = ' '
s.authors = ['Obsidian Software, Inc']
s.email = 'opensource@... | # -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'dependency'
s.version = '0.0.1.3'
s.summary = 'Declare dependencies that have null object or substitute default values'
s.description = ' '
s.authors = ['Obsidian Software, Inc']
s.email = 'opensource@obsidianexchange.com'
s.homepage = 'ht... | <|file_sep|>original/dependency.gemspec
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'dependency'
s.version = '0.0.1.2'
s.summary = 'Declare dependencies that have null object or substitute default values'
s.description = ' '
s.authors = ['Obsidian Software, Inc']
s.email = 'opensource@... | 4ab18f00d459f66e0b08024a753769fd4a925a61 | dependency.gemspec | dependency.gemspec | Ruby |
<|file_sep|>original/src/layout/_helper_classes.scss
// Layout helper classes
.is-invisible {
@include is-hidden;
}
.is-hidden {
display: none;
}
.is-hidden-on-small-screens {
@include respond-below($break-small) {
display: none !important;
}
}
.is-hidden-on-large-screens {
@include respond-at-and-a... | /**
* @file Layout Helper Classes
* @module Helper Classes
* @overview Utility helper classes for common layout manipulations
* @todo remove .mx-auto, .-hoisted when we redo storefront pages
*/
.is-invisible {
@include is-hidden;
}
.is-hidden {
display: none;
}
.is-hidden-on-small-screens {
@include resp... | <|file_sep|>original/src/layout/_helper_classes.scss
// Layout helper classes
.is-invisible {
@include is-hidden;
}
.is-hidden {
display: none;
}
.is-hidden-on-small-screens {
@include respond-below($break-small) {
display: none !important;
}
}
.is-hidden-on-large-screens {
@include respond-at-and-a... | 0bf4ae21f3673321bd15aaf89798f0ff22c7d1a4 | src/layout/_helper_classes.scss | src/layout/_helper_classes.scss | SCSS |
<|file_sep|>original/scripts/hydrafw-version.py
from datetime import *
from git import *
if __name__=="__main__":
usage = """
%prog outfile.txt"""
parser = OptionParser(usage=usage)
(options, args) = parser.parse_args()
if len(args)==1:
sys.stdout = open(args[0], 'w')
git=Repo().git
print '#define HYDRAFW_GIT... | import sys
from optparse import OptionParser
from datetime import *
from git import *
if __name__=="__main__":
usage = """
%prog outfile.txt"""
parser = OptionParser(usage=usage)
(options, args) = parser.parse_args()
if len(args)==1:
sys.stdout = open(args[0], 'w')
git=Repo().git
print '#define HYDRAFW_GIT_TA... | <|file_sep|>original/scripts/hydrafw-version.py
from datetime import *
from git import *
if __name__=="__main__":
usage = """
%prog outfile.txt"""
parser = OptionParser(usage=usage)
(options, args) = parser.parse_args()
if len(args)==1:
sys.stdout = open(args[0], 'w')
git=Repo().git
print '#define HYDRAFW_GIT... | 7d6ecfe52f60ac07c57bbd6e966cded11ce40e4c | scripts/hydrafw-version.py | scripts/hydrafw-version.py | Python |
<|file_sep|>original/setup.py
return 'ERROR CONVERTING README!'
except ImportError:
print('No `requests` module. No readme conversion applied.')
return '!!NO CONVERSION!!\n\n' + open('README.md', 'r').read()
else:
return 'No readme for local builds.'
setupto... | return 'ERROR CONVERTING README!'
except ImportError:
print('No `requests` module. No readme conversion applied.')
return '!!NO CONVERSION!!\n\n' + open('README.md', 'r').read()
else:
return 'No readme for local builds.'
setuptools.setup(
name='bitnigma'... | <|file_sep|>original/setup.py
return 'ERROR CONVERTING README!'
except ImportError:
print('No `requests` module. No readme conversion applied.')
return '!!NO CONVERSION!!\n\n' + open('README.md', 'r').read()
else:
return 'No readme for local builds.'
setupto... | 1e76ed0df800d359d4a137e8a3dc8c79b2b2ef79 | setup.py | setup.py | Python |
<|file_sep|>original/requirements.txt
click==6.7
h5py==2.8.0
Keras>=2.0.0
notebook==5.6.0
matplotlib==2.2.2
numpy==1.15.1
pandas==0.23.4
Pillow==5.2.0
protobuf==3.6.1
requests==2.19.1
scipy==1.1.0
stevedore==1.29.0
<|file_sep|>current/requirements.txt
click==6.7
h5py==2.8.0
Keras>=2.0.0
notebook==5.6.0
matplotlib==2.2... | click==6.7
h5py==2.8.0
Keras>=2.0.0
notebook==5.6.0
matplotlib==2.2.3
numpy==1.15.1
pandas==0.23.4
Pillow==5.2.0
protobuf==3.6.1
requests==2.19.1
scipy==1.1.0
stevedore==1.29.0
| <|file_sep|>original/requirements.txt
click==6.7
h5py==2.8.0
Keras>=2.0.0
notebook==5.6.0
matplotlib==2.2.2
numpy==1.15.1
pandas==0.23.4
Pillow==5.2.0
protobuf==3.6.1
requests==2.19.1
scipy==1.1.0
stevedore==1.29.0
<|file_sep|>current/requirements.txt
click==6.7
h5py==2.8.0
Keras>=2.0.0
notebook==5.6.0
matplotlib==2.2... | b5d414e46c61704992baf04c57bbd1e576eaf2df | requirements.txt | requirements.txt | Text |
<|file_sep|>original/lib/check-engines.js
/*!
* thought <https://github.com/nknapp/thought>
*
* Copyright (c) 2015 Nils Knappmeier.
* Released under the MIT license.
*/
var exec = require('./utils/exeq')
var semver = require('semver')
module.exports = function () {
return exec('npm', ['--version'])
.then(fu... | /*!
* thought <https://github.com/nknapp/thought>
*
* Copyright (c) 2015 Nils Knappmeier.
* Released under the MIT license.
*/
var exec = require('./utils/exeq')
var semver = require('semver')
module.exports = function () {
return exec('npm', ['--version'])
.then(function (stdio) {
if (semver.lt(stdio... | <|file_sep|>original/lib/check-engines.js
/*!
* thought <https://github.com/nknapp/thought>
*
* Copyright (c) 2015 Nils Knappmeier.
* Released under the MIT license.
*/
var exec = require('./utils/exeq')
var semver = require('semver')
module.exports = function () {
return exec('npm', ['--version'])
.then(fu... | 3475e8f4af0b95638196f442ebae7172aa3891c5 | lib/check-engines.js | lib/check-engines.js | JavaScript |
<|file_sep|>original/bower.json
{
"name": "AdminLTE",
"version": "2.1.0-beta",
"homepage": "http://almsaeedstudio.com",
"authors": [
"Abdullah Almsaeed <almasaeed2010@gmail.com>"
],
"description": "Admin dashboard and control panel template",
"main": [
"index2.html",
"dist/css/AdminLTE.css",
... | {
"name": "AdminLTE",
"version": "2.0.5",
"homepage": "http://almsaeedstudio.com",
"authors": [
"Abdullah Almsaeed <almasaeed2010@gmail.com>"
],
"description": "Admin dashboard and control panel template",
"main": [
"index2.html",
"dist/css/AdminLTE.css",
"dist/js/app.js",
"build/less/... | <|file_sep|>original/bower.json
{
"name": "AdminLTE",
"version": "2.1.0-beta",
"homepage": "http://almsaeedstudio.com",
"authors": [
"Abdullah Almsaeed <almasaeed2010@gmail.com>"
],
"description": "Admin dashboard and control panel template",
"main": [
"index2.html",
"dist/css/AdminLTE.css",
... | 125734950bf8a98549f5d458688ebfa6e2a5129d | bower.json | bower.json | JSON |
<|file_sep|>original/Library/UnixFormula.mk
<|file_sep|>current/Library/UnixFormula.mk
<|file_sep|>updated/Library/UnixFormula.mk | # UnixFormula.mk - Standard build with make.
# Copyright (c) 2011 Ruda Moura
# Authors: Ruda Moura, Leonardo Santagada
define build_inner_hook
cd $(BuildDir) ; $(gnu_make) $(GnuMakeExtra) \
CFLAGS="$(CFlags)" CXXFLAGS="$(CxxFlags)" LDFALGS="$(LdFlags)"
endef
define install_inner_hook
$(install_base_documentation)
en... | <|file_sep|>original/Library/UnixFormula.mk
<|file_sep|>current/Library/UnixFormula.mk
<|file_sep|>updated/Library/UnixFormula.mk
# UnixFormula.mk - Standard build with make.
# Copyright (c) 2011 Ruda Moura
# Authors: Ruda Moura, Leonardo Santagada
define build_inner_hook
cd $(BuildDir) ; $(gnu_make) $(GnuMakeExtra)... | 9ff6f22fee2e9e90d3e4b3958628086697de9a01 | Library/UnixFormula.mk | Library/UnixFormula.mk | Makefile |
<|file_sep|>original/plugins/global-bind/mousetrap-global-bind.js
}
return _originalStopCallback.call(self, e, element, combo);
};
Mousetrap.prototype.bindGlobal = function(keys, callback, action) {
var self = this;
self.bind(keys, callback, action);
if (keys instanceo... | }
return _originalStopCallback.call(self, e, element, combo);
};
Mousetrap.prototype.bindGlobal = function(keys, callback, action) {
var self = this;
self.bind(keys, callback, action);
if (keys instanceof Array) {
for (var i = 0; i < keys.length; i++) {
... | <|file_sep|>original/plugins/global-bind/mousetrap-global-bind.js
}
return _originalStopCallback.call(self, e, element, combo);
};
Mousetrap.prototype.bindGlobal = function(keys, callback, action) {
var self = this;
self.bind(keys, callback, action);
if (keys instanceo... | 32777839ad0fd41863e6624bde443d3a8a45cc9e | plugins/global-bind/mousetrap-global-bind.js | plugins/global-bind/mousetrap-global-bind.js | JavaScript |
<|file_sep|>.scrutinizer.yml.diff
original:
- tests/*
- Command/StatusesHomeTimelineTestCommand.php
updated:
- tests/
<|file_sep|>original/.scrutinizer.yml
php:
code_rating: true
duplication: true
filter:
excluded_paths:
- tests/*
- Command/StatusesHomeTimelineTestCommand.php
paths:
... | php:
code_rating: true
duplication: true
filter:
excluded_paths:
- tests/
paths:
- src/
build:
environment:
php:
version: 7.1
dependencies:
override:
-
command: 'composer require --dev "symfony/symfony:3.4.*" --no-update'
-
command: 'composer install... | <|file_sep|>.scrutinizer.yml.diff
original:
- tests/*
- Command/StatusesHomeTimelineTestCommand.php
updated:
- tests/
<|file_sep|>original/.scrutinizer.yml
php:
code_rating: true
duplication: true
filter:
excluded_paths:
- tests/*
- Command/StatusesHomeTimelineTestCommand.php
paths:
... | 19a46c70fd2dac9347b531bf40077f7327f17495 | .scrutinizer.yml | .scrutinizer.yml | YAML |
<|file_sep|>src/main/resources/populate_subset_2_refset.sql.diff
original:
values (100032, 'GB English Language reference set', 900000000000508004, 'Great Britain English language reference set (foundation metadata concept)', 'Refset/Content/');
updated:
values (100032, 'GB English Dialect Subset', 900000000000508004, ... | -- Original SubsetIds are not known in RF2, so we need to populate those
INSERT INTO RF2_subset2refset (originalSubsetId, SubsetName, RefsetId, fsn, location)
values (100032, 'GB English Dialect Subset', 900000000000508004, 'Great Britain English language reference set (foundation metadata concept)', 'Refset/Content/'... | <|file_sep|>src/main/resources/populate_subset_2_refset.sql.diff
original:
values (100032, 'GB English Language reference set', 900000000000508004, 'Great Britain English language reference set (foundation metadata concept)', 'Refset/Content/');
updated:
values (100032, 'GB English Dialect Subset', 900000000000508004, ... | 04673432828ef45f98331cfa6428fa71bb66c8f1 | src/main/resources/populate_subset_2_refset.sql | src/main/resources/populate_subset_2_refset.sql | SQL |
<|file_sep|>original/conda_smithy/feedstock_content/.github/ISSUE_TEMPLATE.md
<|file_sep|>current/conda_smithy/feedstock_content/.github/ISSUE_TEMPLATE.md
<|file_sep|>updated/conda_smithy/feedstock_content/.github/ISSUE_TEMPLATE.md | Thanks for reporting your issue.
Please fill out the sections below.
Example (code snippet, shell command, or screenshot):
<details>
</details>
<br>
Environment (`conda env export`):
<br>
<br>
<details>
| <|file_sep|>original/conda_smithy/feedstock_content/.github/ISSUE_TEMPLATE.md
<|file_sep|>current/conda_smithy/feedstock_content/.github/ISSUE_TEMPLATE.md
<|file_sep|>updated/conda_smithy/feedstock_content/.github/ISSUE_TEMPLATE.md
Thanks for reporting your issue.
Please fill out the sections below.
Example (code... | cd1e0c645fd22a1e2dc50f49d1606315222291bb | conda_smithy/feedstock_content/.github/ISSUE_TEMPLATE.md | conda_smithy/feedstock_content/.github/ISSUE_TEMPLATE.md | Markdown |
<|file_sep|>facturatie-api/src/main/java/nl/avansc1/facturatie/api/controller/ImportController.java.diff
original:
updated:
import nl.avansc1.facturatie.api.service.Import;
<|file_sep|>facturatie-api/src/main/java/nl/avansc1/facturatie/api/controller/ImportController.java.diff
original:
updated:
import org.xml.sax.SA... | import org.springframework.web.bind.annotation.RequestMapping;
import org.xml.sax.SAXException;
import javax.xml.parsers.ParserConfigurationException;
import java.io.IOException;
/**
* This controller is responsible for importing declarations
*
* @author Bob van der Valk
*/
@RequestMapping("/import")
@Controller
... | <|file_sep|>facturatie-api/src/main/java/nl/avansc1/facturatie/api/controller/ImportController.java.diff
original:
updated:
import nl.avansc1.facturatie.api.service.Import;
<|file_sep|>facturatie-api/src/main/java/nl/avansc1/facturatie/api/controller/ImportController.java.diff
original:
updated:
import org.xml.sax.SA... | 3e14a47492c97e6cd0717aa8945de3280abee30f | facturatie-api/src/main/java/nl/avansc1/facturatie/api/controller/ImportController.java | facturatie-api/src/main/java/nl/avansc1/facturatie/api/controller/ImportController.java | Java |
<|file_sep|>apps/public/src/containers/Rules/List.jsx.diff
original:
import { Typography } from '@material-ui/core';
updated:
import { CardContent } from '@material-ui/core';
<|file_sep|>apps/public/src/containers/Rules/List.jsx.diff
original:
import { Article, ArticleContent, ArticleMedia, Markdown } from 'components'... | import { connect } from 'react-redux';
import PropTypes from 'prop-types';
import { CardContent } from '@material-ui/core';
import { Article, ArticleCardHeader, Markdown } from 'components';
const List = ({ event }) => (
<Article>
<ArticleCardHeader title={ `${event.name} - Pravidla` } image={ event.rules_imag... | <|file_sep|>apps/public/src/containers/Rules/List.jsx.diff
original:
import { Typography } from '@material-ui/core';
updated:
import { CardContent } from '@material-ui/core';
<|file_sep|>apps/public/src/containers/Rules/List.jsx.diff
original:
import { Article, ArticleContent, ArticleMedia, Markdown } from 'components'... | 2f8b01c584d799644789bded9b0dc11245be8e78 | apps/public/src/containers/Rules/List.jsx | apps/public/src/containers/Rules/List.jsx | JSX |
<|file_sep|>.travis.yml.diff
original:
updated:
sudo: false
addons:
apt:
packages:
- libhdf5-serial-dev
<|file_sep|>.travis.yml.diff
original:
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y libhdf5-serial-dev
updated:
<|file_sep|>.travis.yml.diff
original:
- python... | sudo: false
addons:
apt:
packages:
- libhdf5-serial-dev
python:
- "2.7"
- "3.3"
- "3.4"
install:
- pip install cython numpy numexpr
- pip install -r requirements.txt
- pip install coveralls==0.5
- pip install -e .
script: py.test -v --cov psyrun
after_success: coveralls | <|file_sep|>.travis.yml.diff
original:
updated:
sudo: false
addons:
apt:
packages:
- libhdf5-serial-dev
<|file_sep|>.travis.yml.diff
original:
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y libhdf5-serial-dev
updated:
<|file_sep|>.travis.yml.diff
original:
- python... | 035a7c3261ac6af89f17802a24c849bc6d904d8e | .travis.yml | .travis.yml | YAML |
<|file_sep|>lib/main/error_controller.dart.diff
original:
updated:
// lib/templates/error.chalk.html
static const errorTemplate = 'error';
<|file_sep|>original/lib/main/error_controller.dart
Future<Response> _errorTemplate(
Object exception,
StackTrace stack,
[int code = 500,
Map<String,... | });
}
Future<Response> _errorTemplate(
Object exception,
StackTrace stack,
[int code = 500,
Map<String, dynamic> variables = const {}]) async {
// Create a template with the specified parameters
final errorTemplate = await (template(errorTemplate, withData: variables)
..e... | <|file_sep|>lib/main/error_controller.dart.diff
original:
updated:
// lib/templates/error.chalk.html
static const errorTemplate = 'error';
<|file_sep|>original/lib/main/error_controller.dart
Future<Response> _errorTemplate(
Object exception,
StackTrace stack,
[int code = 500,
Map<String,... | 363b556e8cba7df0f4e1992e03dfbb1a7d312198 | lib/main/error_controller.dart | lib/main/error_controller.dart | Dart |
<|file_sep|>.travis.yml.diff
original:
- tip
updated:
<|file_sep|>original/.travis.yml
language: go
go:
- tip
- 1.6
- 1.7
matrix:
allow_failures:
- go: tip
script: travis_retry go test ./... -v -parallel 4
<|file_sep|>current/.travis.yml
language: go
go:
- 1.6
- 1.7
matrix:
allow_failures:
... | language: go
go:
- 1.6
- 1.7
script: travis_retry go test ./... -v -parallel 4 | <|file_sep|>.travis.yml.diff
original:
- tip
updated:
<|file_sep|>original/.travis.yml
language: go
go:
- tip
- 1.6
- 1.7
matrix:
allow_failures:
- go: tip
script: travis_retry go test ./... -v -parallel 4
<|file_sep|>current/.travis.yml
language: go
go:
- 1.6
- 1.7
matrix:
allow_failures:
... | 9fddb7b1c3a6289ee813c5035657ba217de640ac | .travis.yml | .travis.yml | YAML |
<|file_sep|>circle.yml.diff
original:
all:
branch: master
updated:
master:
<|file_sep|>original/circle.yml
- cd $HOME && git clone -v git@github.com:clever/ci-scripts.git && cd ci-scripts && git show --oneline -s
node:
version: 6.2.2
services:
- docker
compile:
override:
- make build
test:
ove... | - make build
test:
override:
- make test
post:
- npm prune --production
- $HOME/ci-scripts/circleci/report-card $RC_DOCKER_USER $RC_DOCKER_PASS "$RC_DOCKER_EMAIL" $RC_GITHUB_TOKEN
deployment:
master:
owner: Clever
commands:
- $HOME/ci-scripts/circleci/docker-publish $DOCKER_USER $DOCKER_PASS "... | <|file_sep|>circle.yml.diff
original:
all:
branch: master
updated:
master:
<|file_sep|>original/circle.yml
- cd $HOME && git clone -v git@github.com:clever/ci-scripts.git && cd ci-scripts && git show --oneline -s
node:
version: 6.2.2
services:
- docker
compile:
override:
- make build
test:
ove... | fb29c0f05a83a6896d43d7098de69714f2699fad | circle.yml | circle.yml | YAML |
<|file_sep|>original/src/main/java/com/continuuity/passport/core/utils/PasswordUtils.java
<|file_sep|>current/src/main/java/com/continuuity/passport/core/utils/PasswordUtils.java
<|file_sep|>updated/src/main/java/com/continuuity/passport/core/utils/PasswordUtils.java | package com.continuuity.passport.core.utils;
import com.google.common.hash.HashCode;
import com.google.common.hash.HashFunction;
import com.google.common.hash.Hashing;
/**
*
*/
public class PasswordUtils {
private final static HashFunction hashFunction = Hashing.sha1();
public static String generateHashedPassw... | <|file_sep|>original/src/main/java/com/continuuity/passport/core/utils/PasswordUtils.java
<|file_sep|>current/src/main/java/com/continuuity/passport/core/utils/PasswordUtils.java
<|file_sep|>updated/src/main/java/com/continuuity/passport/core/utils/PasswordUtils.java
package com.continuuity.passport.core.utils;
impo... | 02580a10ba58df9e02e7c30ef1fb6389ea6af612 | src/main/java/com/continuuity/passport/core/utils/PasswordUtils.java | src/main/java/com/continuuity/passport/core/utils/PasswordUtils.java | Java |
<|file_sep|>spec/lazily/concatenating_spec.rb.diff
original:
let(:array1) { [1,5,3] }
let(:array2) { [2,9,4] }
updated:
<|file_sep|>original/spec/lazily/concatenating_spec.rb
result = Lazily.concat([1,5,3], [2,9,4])
result.to_a.should == [1,5,3,2,9,4]
end
it "is lazy" do
result = La... |
it "is lazy" do
result = Lazily.concat([3,4], [1,2].with_time_bomb)
result.take(3).to_a.should == [3,4,1]
end
end
describe "#concat" do
it "concatenates multiple Enumerables" do
result = [1,5,3].lazily.concat([2,9,4])
result.to_a.should == [1,5,3,2,9,4]
end
it "is la... | <|file_sep|>spec/lazily/concatenating_spec.rb.diff
original:
let(:array1) { [1,5,3] }
let(:array2) { [2,9,4] }
updated:
<|file_sep|>original/spec/lazily/concatenating_spec.rb
result = Lazily.concat([1,5,3], [2,9,4])
result.to_a.should == [1,5,3,2,9,4]
end
it "is lazy" do
result = La... | 6d70da33db449a0469c6e545742067579f8cc150 | spec/lazily/concatenating_spec.rb | spec/lazily/concatenating_spec.rb | Ruby |
<|file_sep|>original/Include/Protocol/DarwinKernel.h
<|file_sep|>current/Include/Protocol/DarwinKernel.h
<|file_sep|>updated/Include/Protocol/DarwinKernel.h | /** @file
Copyright (C) 2016 CupertinoNet. All rights reserved.<BR>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by a... | <|file_sep|>original/Include/Protocol/DarwinKernel.h
<|file_sep|>current/Include/Protocol/DarwinKernel.h
<|file_sep|>updated/Include/Protocol/DarwinKernel.h
/** @file
Copyright (C) 2016 CupertinoNet. All rights reserved.<BR>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this ... | 6868d0ea1dceb593d56d2302a46849791d3f2164 | Include/Protocol/DarwinKernel.h | Include/Protocol/DarwinKernel.h | C |
<|file_sep|>original/tests/regression/27-inv_invariants/03-out-of-range-not-bot.c
<|file_sep|>current/tests/regression/27-inv_invariants/03-out-of-range-not-bot.c
<|file_sep|>updated/tests/regression/27-inv_invariants/03-out-of-range-not-bot.c | // PARAM: --enable ana.int.def_exc --disable ana.int.interval
#include<assert.h>
// Some unsigned long constant that is larger than 2^63-1
#define SIZE_MAX 18446744073709551615UL
int foo(){
int top;
int a = 3;
if (top < SIZE_MAX / (8 * sizeof(int))){ // parts of the expression errorneously evaluate to bott... | <|file_sep|>original/tests/regression/27-inv_invariants/03-out-of-range-not-bot.c
<|file_sep|>current/tests/regression/27-inv_invariants/03-out-of-range-not-bot.c
<|file_sep|>updated/tests/regression/27-inv_invariants/03-out-of-range-not-bot.c
// PARAM: --enable ana.int.def_exc --disable ana.int.interval
#include<ass... | 1e07dd84bb28426117039625a6c30b8ab638d455 | tests/regression/27-inv_invariants/03-out-of-range-not-bot.c | tests/regression/27-inv_invariants/03-out-of-range-not-bot.c | C |
<|file_sep|>src/compiler/reia_ssa.erl.diff
original:
updated:
transform_node(#bindings{node=#identifier{line=Line, name=Name}, entries=Bindings}) ->
case dict:find(Name, Bindings) of
{ok, Version} ->
#identifier{line=Line, name=ssa_name(Name, Version)};
error ->
throw({error, {Line, lists:flatten... | % Lists of expressions
transform(Exprs, Options) ->
{ok, BAExprs} = reia_bindings:transform(Exprs, Options#compile_options.scope),
reia_syntax:map_subtrees(fun transform_node/1, BAExprs).
transform_node(#bindings{node=#identifier{line=Line, name=Name}, entries=Bindings}) ->
case dict:find(Name, Bindings) of
... | <|file_sep|>src/compiler/reia_ssa.erl.diff
original:
updated:
transform_node(#bindings{node=#identifier{line=Line, name=Name}, entries=Bindings}) ->
case dict:find(Name, Bindings) of
{ok, Version} ->
#identifier{line=Line, name=ssa_name(Name, Version)};
error ->
throw({error, {Line, lists:flatten... | 0673f90f67bc7ad35471d1d7b19a1535c7d611d4 | src/compiler/reia_ssa.erl | src/compiler/reia_ssa.erl | Erlang |
<|file_sep|>original/files/lb-log4j.xml
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
<appender name="file" class="org.apache.log4j.RollingFileAppender">
<param name="file" value="logs/load-balancer.... | <?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
<appender name="file" class="org.apache.log4j.RollingFileAppender">
<param name="file" value="/opt/loadbalancer/logs/load-balancer.log"/>
<param name... | <|file_sep|>original/files/lb-log4j.xml
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
<appender name="file" class="org.apache.log4j.RollingFileAppender">
<param name="file" value="logs/load-balancer.... | badabac8a03952774303865b20a7f1e09680eb13 | files/lb-log4j.xml | files/lb-log4j.xml | XML |
<|file_sep|>original/FUNCTIONS/register_bank.sql
<|file_sep|>current/FUNCTIONS/register_bank.sql
<|file_sep|>updated/FUNCTIONS/register_bank.sql | CREATE OR REPLACE FUNCTION Register_Bank(_BankID text, _Protocol text, _Host text, _Port integer, _Path text) RETURNS BOOLEAN AS $BODY$
INSERT INTO Banks (BankID, Protocol, Host, Port, Path) VALUES ($1, $2, $3, $4, $5) RETURNING TRUE
$BODY$ LANGUAGE sql VOLATILE; | <|file_sep|>original/FUNCTIONS/register_bank.sql
<|file_sep|>current/FUNCTIONS/register_bank.sql
<|file_sep|>updated/FUNCTIONS/register_bank.sql
CREATE OR REPLACE FUNCTION Register_Bank(_BankID text, _Protocol text, _Host text, _Port integer, _Path text) RETURNS BOOLEAN AS $BODY$
INSERT INTO Banks (BankID, Protocol, ... | 3e691569f29f6c1ab8d5e1c5336856aaadedc595 | FUNCTIONS/register_bank.sql | FUNCTIONS/register_bank.sql | SQL |
<|file_sep|>tests/LinearAlgebra/DiagonalMatrixTest.php.diff
original:
updated:
<|file_sep|>tests/LinearAlgebra/DiagonalMatrixTest.php.diff
original:
public function setUp()
updated:
/**
* @dataProvider dataProviderMulti
*/
public function testConstructor(array $A, array $R)
<|file_sep|>tests/Lin... |
public function dataProviderMulti()
{
return [
[
[1, 2, 3],
[
[1, 0, 0],
[0, 2, 0],
[0, 0, 3],
],
],
[
[1],
[
... | <|file_sep|>tests/LinearAlgebra/DiagonalMatrixTest.php.diff
original:
updated:
<|file_sep|>tests/LinearAlgebra/DiagonalMatrixTest.php.diff
original:
public function setUp()
updated:
/**
* @dataProvider dataProviderMulti
*/
public function testConstructor(array $A, array $R)
<|file_sep|>tests/Lin... | 784d91e847cebf1ee6f3b098592d0932112deeab | tests/LinearAlgebra/DiagonalMatrixTest.php | tests/LinearAlgebra/DiagonalMatrixTest.php | PHP |
<|file_sep|>original/buildPy2app.py
import syncplay
APP = ['syncplayClient.py']
DATA_FILES = [
('resources', glob('resources/*.png') + glob('resources/*.rtf') + glob('resources/*.lua')),
]
OPTIONS = {
'iconfile':'resources/icon.icns',
'includes': {'PySide2.QtCore', 'PySide2.QtUiTools', 'PySide2.QtGui','PySide2.Q... | import syncplay
APP = ['syncplayClient.py']
DATA_FILES = [
('resources', glob('resources/*.png') + glob('resources/*.rtf') + glob('resources/*.lua')),
]
OPTIONS = {
'iconfile':'resources/icon.icns',
'includes': {'PySide2.QtCore', 'PySide2.QtUiTools', 'PySide2.QtGui','PySide2.QtWidgets', 'certifi'},
'excludes... | <|file_sep|>original/buildPy2app.py
import syncplay
APP = ['syncplayClient.py']
DATA_FILES = [
('resources', glob('resources/*.png') + glob('resources/*.rtf') + glob('resources/*.lua')),
]
OPTIONS = {
'iconfile':'resources/icon.icns',
'includes': {'PySide2.QtCore', 'PySide2.QtUiTools', 'PySide2.QtGui','PySide2.Q... | 0e60863d43a5b230839191743f72818763eeee71 | buildPy2app.py | buildPy2app.py | Python |
<|file_sep|>original/requirements/prod.txt
# Everything needed in production
# Flask
Flask==0.12
MarkupSafe==0.23
Werkzeug==0.11.11
Jinja2==2.8
itsdangerous==0.24
click>=5.0
# Database
Flask-SQLAlchemy==2.1
psycopg2==2.6.2
SQLAlchemy==1.1.4
# Migrations
Flask-Migrate==2.0.2
# Forms
Flask-WTF==0.13.1
WTForms==2.1
<|... | # Everything needed in production
# Flask
Flask==0.12
MarkupSafe==0.23
Werkzeug==0.11.13
Jinja2==2.8
itsdangerous==0.24
click>=5.0
# Database
Flask-SQLAlchemy==2.1
psycopg2==2.6.2
SQLAlchemy==1.1.4
# Migrations
Flask-Migrate==2.0.2
# Forms
Flask-WTF==0.13.1
WTForms==2.1 | <|file_sep|>original/requirements/prod.txt
# Everything needed in production
# Flask
Flask==0.12
MarkupSafe==0.23
Werkzeug==0.11.11
Jinja2==2.8
itsdangerous==0.24
click>=5.0
# Database
Flask-SQLAlchemy==2.1
psycopg2==2.6.2
SQLAlchemy==1.1.4
# Migrations
Flask-Migrate==2.0.2
# Forms
Flask-WTF==0.13.1
WTForms==2.1
<|... | 9ee1aafdc0f42f3929e971f68081dc585790f1e7 | requirements/prod.txt | requirements/prod.txt | Text |
<|file_sep|>original/package.json
"bugs": "https://github.com/mde/ejs/issues",
"homepage": "https://github.com/mde/ejs",
"dependencies": {},
"devDependencies": {
"browserify": "^13.1.1",
"eslint": "^4.14.0",
"git-directory-deploy": "^1.5.1",
"jake": "^10.3.1",
"jsdoc": "^3.4.0",
"lru-cac... | "bugs": "https://github.com/mde/ejs/issues",
"homepage": "https://github.com/mde/ejs",
"dependencies": {},
"devDependencies": {
"browserify": "^13.1.1",
"eslint": "^4.14.0",
"git-directory-deploy": "^1.5.1",
"jake": "^10.3.1",
"jsdoc": "^3.4.0",
"lru-cache": "^4.0.1",
"mocha": "^5.0.... | <|file_sep|>original/package.json
"bugs": "https://github.com/mde/ejs/issues",
"homepage": "https://github.com/mde/ejs",
"dependencies": {},
"devDependencies": {
"browserify": "^13.1.1",
"eslint": "^4.14.0",
"git-directory-deploy": "^1.5.1",
"jake": "^10.3.1",
"jsdoc": "^3.4.0",
"lru-cac... | 3035e3ab9989790ce0b9ddf5a84adfd3ae73f9da | package.json | package.json | JSON |
<|file_sep|>original/requirements.txt
dj-config-url==0.1.1
dj-database-url==0.4.2
dj-static==0.0.6
Django==1.10.6
django-crispy-forms==1.6.1
django-registration-redux==1.5
-e git://github.com/AASHE/django-tagulous@4f7dd6c04be0c70ccb5e23ca5652815bf3bb0258#egg=django_tagulous
djangorestframework==3.6.2
gunicorn==19.7.1
p... | dj-config-url==0.1.1
dj-database-url==0.4.2
dj-static==0.0.6
Django==1.10.6
django-crispy-forms==1.6.1
django-registration-redux==1.6
-e git://github.com/AASHE/django-tagulous@4f7dd6c04be0c70ccb5e23ca5652815bf3bb0258#egg=django_tagulous
djangorestframework==3.6.2
gunicorn==19.7.1
psycopg2==2.7.1
python-decouple==3.0
so... | <|file_sep|>original/requirements.txt
dj-config-url==0.1.1
dj-database-url==0.4.2
dj-static==0.0.6
Django==1.10.6
django-crispy-forms==1.6.1
django-registration-redux==1.5
-e git://github.com/AASHE/django-tagulous@4f7dd6c04be0c70ccb5e23ca5652815bf3bb0258#egg=django_tagulous
djangorestframework==3.6.2
gunicorn==19.7.1
p... | 5aec7acc63107412b15dedcefde7df1396a01c54 | requirements.txt | requirements.txt | Text |
<|file_sep|>public/app/types/store.ts.diff
original:
updated:
import { PluginsState } from './plugins';
<|file_sep|>original/public/app/types/store.ts
import { DataSourcesState } from './datasources';
import { ExploreState } from './explore';
import { UsersState, UserState } from './user';
import { OrganizationState }... | import { UsersState, UserState } from './user';
import { OrganizationState } from './organization';
import { AppNotificationsState } from './appNotifications';
import { PluginsState } from './plugins';
export interface StoreState {
navIndex: NavIndex;
location: LocationState;
alertRules: AlertRulesState;
teams... | <|file_sep|>public/app/types/store.ts.diff
original:
updated:
import { PluginsState } from './plugins';
<|file_sep|>original/public/app/types/store.ts
import { DataSourcesState } from './datasources';
import { ExploreState } from './explore';
import { UsersState, UserState } from './user';
import { OrganizationState }... | acbcca11021f1c79254ff8744b36206830efacc9 | public/app/types/store.ts | public/app/types/store.ts | TypeScript |
<|file_sep|>original/ASSESSMENTS.md
---
unitstandard: 115362-SO1-AC2, 115362-SO2-AC2
---
# Assessments
## Formative assessment 1 (115362-SO1-AC2)
The candidate's repository contains a `package.json` file in the root directory.
## Formative assessment 2 (115362-SO2-AC2)
The candidate's repository contains a `README... |
# Assessments
## Formative assessment 1 (115362-SO1-AC2)
The candidate's repository contains a `package.json` file in the root directory.
## Formative assessment 2 (115362-SO2-AC2)
The candidate's repository contains a `README.md` that explains how to make a copy of the git repository from GitHub: either by clonin... | <|file_sep|>original/ASSESSMENTS.md
---
unitstandard: 115362-SO1-AC2, 115362-SO2-AC2
---
# Assessments
## Formative assessment 1 (115362-SO1-AC2)
The candidate's repository contains a `package.json` file in the root directory.
## Formative assessment 2 (115362-SO2-AC2)
The candidate's repository contains a `README... | 4c4c95ec06c59494b3917ae08fe999a1149baef5 | ASSESSMENTS.md | ASSESSMENTS.md | Markdown |
<|file_sep|>jstests/test_nbdiff.js.diff
original:
equal(true, true);
updated:
equal(true, true, 'Placeholder assertion');
<|file_sep|>original/jstests/test_nbdiff.js
test("test_nbdiff_construct", function () {
var nbdiff = new NBDiff.NBDiff(IPython.notebook, false);
nbdiff.log('hi');
equal(true, tru... | test("test_nbdiff_construct", function () {
var nbdiff = new NBDiff.NBDiff(IPython.notebook, false);
nbdiff.log('hi');
equal(true, true, 'Placeholder assertion');
});
test("test_nbcell", function () {
var cell = {
metadata: {
side: 'local',
state: 'added',
'l... | <|file_sep|>jstests/test_nbdiff.js.diff
original:
equal(true, true);
updated:
equal(true, true, 'Placeholder assertion');
<|file_sep|>original/jstests/test_nbdiff.js
test("test_nbdiff_construct", function () {
var nbdiff = new NBDiff.NBDiff(IPython.notebook, false);
nbdiff.log('hi');
equal(true, tru... | fbbc8cc9f889853b8d5eb23910c7c959ba0a3f7f | jstests/test_nbdiff.js | jstests/test_nbdiff.js | JavaScript |
<|file_sep|>original/requirements/tests.txt
fxapom==1.10.1
PyPOM==1.3.0
pytest==3.4.2
pytest-selenium==1.11.4
pytest-xdist==1.22.2
selenium==3.11.0
<|file_sep|>current/requirements/tests.txt
fxapom==1.10.1
PyPOM==1.3.0
pytest==3.4.2
pytest-selenium==1.11.4
pytest-xdist==1.22.2
selenium==3.11.0
<|file_sep|>updated/requi... | fxapom==1.10.1
PyPOM==1.3.0
pytest==3.5.0
pytest-selenium==1.11.4
pytest-xdist==1.22.2
selenium==3.11.0 | <|file_sep|>original/requirements/tests.txt
fxapom==1.10.1
PyPOM==1.3.0
pytest==3.4.2
pytest-selenium==1.11.4
pytest-xdist==1.22.2
selenium==3.11.0
<|file_sep|>current/requirements/tests.txt
fxapom==1.10.1
PyPOM==1.3.0
pytest==3.4.2
pytest-selenium==1.11.4
pytest-xdist==1.22.2
selenium==3.11.0
<|file_sep|>updated/requi... | d28f81e34350581d399ec55fb29d7743120dc584 | requirements/tests.txt | requirements/tests.txt | Text |
<|file_sep|>original/3rd/users/subs/Admin/Manage/autocomplete.php
<?php
$result = array();
$where = sql::make_search_blob("user_id || user_name || user_mail", $_POST['search']);
$cols = array("user_id", "user_name", "user_mail");
$tables = array(
'ks_users_profile',
'user_id' => 'ks_users_tree'
);
sql::select($ta... | <?php
$result = array();
$where = sql::make_search_blob("user_id || user_name || user_mail", $_POST['search']);
$cols = array("user_id", "user_name", "user_mail");
$tables = array(
'ks_users_profile',
'user_id' => 'ks_users_tree'
);
sql::select($tables, $where, join(',', $cols), "GROUP BY ".join(',', $cols)." ORD... | <|file_sep|>original/3rd/users/subs/Admin/Manage/autocomplete.php
<?php
$result = array();
$where = sql::make_search_blob("user_id || user_name || user_mail", $_POST['search']);
$cols = array("user_id", "user_name", "user_mail");
$tables = array(
'ks_users_profile',
'user_id' => 'ks_users_tree'
);
sql::select($ta... | 7e8afb3b8f2b94ea007249cd7f223697dd6db9b8 | 3rd/users/subs/Admin/Manage/autocomplete.php | 3rd/users/subs/Admin/Manage/autocomplete.php | PHP |
<|file_sep|>original/db/migrations/1502241613__allow_locations_with_same_geoname.sql
<|file_sep|>current/db/migrations/1502241613__allow_locations_with_same_geoname.sql
<|file_sep|>updated/db/migrations/1502241613__allow_locations_with_same_geoname.sql | -- Removes the unique constraint on geoname_id in the location table, to allow multiple locations to be tied to the same geoname (i.e. if geonames/hm fixes lat/long).
--
-- Copyright (c) 2014 University of Oxford
ALTER TABLE location DROP CONSTRAINT uq_location_geoname_id;
CREATE INDEX ix_location_geoname_id ON locati... | <|file_sep|>original/db/migrations/1502241613__allow_locations_with_same_geoname.sql
<|file_sep|>current/db/migrations/1502241613__allow_locations_with_same_geoname.sql
<|file_sep|>updated/db/migrations/1502241613__allow_locations_with_same_geoname.sql
-- Removes the unique constraint on geoname_id in the location ta... | 70e2154d6cbdbe74cd570fe45e7ed3e1a6d5ad04 | db/migrations/1502241613__allow_locations_with_same_geoname.sql | db/migrations/1502241613__allow_locations_with_same_geoname.sql | SQL |
<|file_sep|>doc/developing-without-vm.md.diff
original:
PLEK_SERVICE_STATIC_URI=https://assets-origin.preview.alphagov.co.uk \
updated:
PLEK_SERVICE_STATIC_URI=assets-origin.integration.publishing.service.gov.uk \
<|file_sep|>original/doc/developing-without-vm.md
# Developing without using the VM
The simplest way to g... | # Developing without using the VM
The simplest way to get Smart Answers running locally is to run:
```bash
$ PLEK_SERVICE_CONTENTAPI_URI=https://www.gov.uk/api \
PLEK_SERVICE_STATIC_URI=assets-origin.integration.publishing.service.gov.uk \
rails s
```
This tells Smart Answers to use the production Content API and th... | <|file_sep|>doc/developing-without-vm.md.diff
original:
PLEK_SERVICE_STATIC_URI=https://assets-origin.preview.alphagov.co.uk \
updated:
PLEK_SERVICE_STATIC_URI=assets-origin.integration.publishing.service.gov.uk \
<|file_sep|>original/doc/developing-without-vm.md
# Developing without using the VM
The simplest way to g... | 94cc33b2b5ad19dcfd5198f5b26a2206c23a696f | doc/developing-without-vm.md | doc/developing-without-vm.md | Markdown |
<|file_sep|>original/.travis.yml
rvm:
- 1.9.3
- 2.0.0
- ruby-head
- jruby-19mode
- rbx-2.2.1
matrix:
allow_failures:
- rvm: ruby-head
<|file_sep|>current/.travis.yml
rvm:
- 1.9.3
- 2.0.0
- ruby-head
- jruby-19mode
- rbx-2.2.1
matrix:
allow_failures:
- rvm: ruby-head
<|file_sep|>updated/.tr... | rvm:
- 1.9.3
- 2.0.0
- ruby-head
- jruby-19mode
- rbx-2.2.1
matrix:
allow_failures:
rvm:
- ruby-head
- rbx-2.2.1 | <|file_sep|>original/.travis.yml
rvm:
- 1.9.3
- 2.0.0
- ruby-head
- jruby-19mode
- rbx-2.2.1
matrix:
allow_failures:
- rvm: ruby-head
<|file_sep|>current/.travis.yml
rvm:
- 1.9.3
- 2.0.0
- ruby-head
- jruby-19mode
- rbx-2.2.1
matrix:
allow_failures:
- rvm: ruby-head
<|file_sep|>updated/.tr... | 7bf72c8d6dcd087ee4a55494efe8caab8f4a229d | .travis.yml | .travis.yml | YAML |
<|file_sep|>Components/Common/EventSystem/CMakeLists.txt.diff
original:
updated:
<|file_sep|>original/Components/Common/EventSystem/CMakeLists.txt
${CMAKE_CURRENT_SOURCE_DIR}/include/SEGSTimer.h
)
SET(target_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/include)
SEGS_ADD_COMPONENT(Globals SOURCE)
SET (target_SOURCES
${... | )
SET(target_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/include)
SEGS_ADD_COMPONENT(Globals SOURCE)
SET (target_SOURCES
${target_CPP}
${target_INCLUDE}
)
INCLUDE_DIRECTORIES(${target_INCLUDE_DIR})
INCLUDE_DIRECTORIES(${ACE_path})
ADD_LIBRARY(EventSystem STATIC ${target_SOURCES})
add_dependencies(EventSystem ACE_BUIL... | <|file_sep|>Components/Common/EventSystem/CMakeLists.txt.diff
original:
updated:
<|file_sep|>original/Components/Common/EventSystem/CMakeLists.txt
${CMAKE_CURRENT_SOURCE_DIR}/include/SEGSTimer.h
)
SET(target_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/include)
SEGS_ADD_COMPONENT(Globals SOURCE)
SET (target_SOURCES
${... | a5d2691d144efea8042ffae6f965d5f4c57debf2 | Components/Common/EventSystem/CMakeLists.txt | Components/Common/EventSystem/CMakeLists.txt | Text |
<|file_sep|>original/src/index.js
// Render the tabs manager
manager.render();
// Toggle panels display
commands.register({
id: "view.panels.toggle",
title: "View: Toggle Side Bar",
run: function() {
settings.data.set("visible", !settings.data.get("visible"));
codebox.settings.save();
}... | codebox.settings.save();
}
});
// Update visibility
settings.data.on("change:visible", function() {
manager._gridOptions.enabled = settings.data.get("visible");
codebox.app.grid.update();
});
// Add to View menu
if (codebox.menubar) {
codebox.menubar.createMenu("view", {
caption: "Togg... | <|file_sep|>original/src/index.js
// Render the tabs manager
manager.render();
// Toggle panels display
commands.register({
id: "view.panels.toggle",
title: "View: Toggle Side Bar",
run: function() {
settings.data.set("visible", !settings.data.get("visible"));
codebox.settings.save();
}... | 3e2e1baeb0208be9c40d6d208c31792a4cc8e842 | src/index.js | src/index.js | JavaScript |
<|file_sep|>original/nodejs/views/accounts/show.jade
.title
h2 #{w.account.name}
table.vertical
tr
th Current Connections
td #{w.namespace.clients.count}
tr
th Peak Connections (today)
td #{w.namespace.clientStats.max}
tr
th Secret
td
span.code #{w.account.secret}
tr
th Base Url
td.code http://w... | .title
h2 #{w.account.name}
table.vertical
tr
th Current Connections
td #{w.namespace.clients.count}
tr
th Secret
td
span.code #{w.account.secret}
tr
th Base Url
td.code http://wompt.com/#{w.account.name}/
tr
th Owners
td
- each owner in w.account_owners
a(href='/users/' + owner.id)= owne... | <|file_sep|>original/nodejs/views/accounts/show.jade
.title
h2 #{w.account.name}
table.vertical
tr
th Current Connections
td #{w.namespace.clients.count}
tr
th Peak Connections (today)
td #{w.namespace.clientStats.max}
tr
th Secret
td
span.code #{w.account.secret}
tr
th Base Url
td.code http://w... | b490cd6ad428fb4d2974bad007bfa47b1158b912 | nodejs/views/accounts/show.jade | nodejs/views/accounts/show.jade | Jade |
<|file_sep|>README.md.diff
original:
- PyPI packages Pillow, tqdm
updated:
- [PyPI](https://pypi.python.org/pypi) packages [Pillow](http://pillow.readthedocs.io/en/stable/), [tqdm](https://pypi.python.org/pypi/tqdm)
<|file_sep|>original/README.md
deep_dream
==========
An implementation of the Deep Dream image processi... | deep_dream
==========
An implementation of the Deep Dream image processing algorithm which is able to process arbitrarily large images.
Requirements:
- Python 3
- [Caffe](http://caffe.berkeleyvision.org), compiled to use Python 3
- [PyPI](https://pypi.python.org/pypi) packages [Pillow](http://pillow.readthedocs.io/en... | <|file_sep|>README.md.diff
original:
- PyPI packages Pillow, tqdm
updated:
- [PyPI](https://pypi.python.org/pypi) packages [Pillow](http://pillow.readthedocs.io/en/stable/), [tqdm](https://pypi.python.org/pypi/tqdm)
<|file_sep|>original/README.md
deep_dream
==========
An implementation of the Deep Dream image processi... | 5581c93bfa11ed0c5e8e78a2fb522766dc75b005 | README.md | README.md | Markdown |
<|file_sep|>original/roles/ceph-osd/tasks/raw_multi_journal.yml
- include: zap_devices.yml
- include: check_devices.yml
# NOTE (leseb): the prepare process must be parallelized somehow...
# if you have 64 disks with 4TB each, this will take a while
# since Ansible will sequential process the loop
# NOTE (alahouze): i... | - include: check_devices.yml
# NOTE (leseb): the prepare process must be parallelized somehow...
# if you have 64 disks with 4TB each, this will take a while
# since Ansible will sequential process the loop
# NOTE (alahouze): if the device is a partition, the parted command below has
# failed, this is why we check if... | <|file_sep|>original/roles/ceph-osd/tasks/raw_multi_journal.yml
- include: zap_devices.yml
- include: check_devices.yml
# NOTE (leseb): the prepare process must be parallelized somehow...
# if you have 64 disks with 4TB each, this will take a while
# since Ansible will sequential process the loop
# NOTE (alahouze): i... | e634315b5c7618711746e0ff6e9293252c8cf309 | roles/ceph-osd/tasks/raw_multi_journal.yml | roles/ceph-osd/tasks/raw_multi_journal.yml | YAML |
<|file_sep|>original/requirements/base.txt
# Contains all dependencies which are required for production and for development
Django==2.0.11 # pyup: <2.1
django-bootstrap4==0.0.7
django-icons==0.2.1
django-formtools==2.1
odswriter==0.4.0
Pillow==5.4.1
git+https://github.com/d120/pyTUID.git#egg=pyTUID-1.2.2
pytz==2018.9... | # Contains all dependencies which are required for production and for development
Django==2.0.12 # pyup: <2.1
django-bootstrap4==0.0.7
django-icons==0.2.1
django-formtools==2.1
odswriter==0.4.0
Pillow==5.4.1
git+https://github.com/d120/pyTUID.git#egg=pyTUID-1.2.2
pytz==2018.9 | <|file_sep|>original/requirements/base.txt
# Contains all dependencies which are required for production and for development
Django==2.0.11 # pyup: <2.1
django-bootstrap4==0.0.7
django-icons==0.2.1
django-formtools==2.1
odswriter==0.4.0
Pillow==5.4.1
git+https://github.com/d120/pyTUID.git#egg=pyTUID-1.2.2
pytz==2018.9... | 1bed19951b0a975a7330418fd436559c3ffad10e | requirements/base.txt | requirements/base.txt | Text |
<|file_sep|>original/docs/requirements.txt
sphinx>=1.3
sphinx-rtd-theme==0.2.4
Django==1.11.6
-e .
<|file_sep|>current/docs/requirements.txt
sphinx>=1.3
sphinx-rtd-theme==0.2.4
Django==1.11.6
-e .
<|file_sep|>updated/docs/requirements.txt | sphinx>=1.3
sphinx-rtd-theme==0.2.4
Django==1.11.7
-e . | <|file_sep|>original/docs/requirements.txt
sphinx>=1.3
sphinx-rtd-theme==0.2.4
Django==1.11.6
-e .
<|file_sep|>current/docs/requirements.txt
sphinx>=1.3
sphinx-rtd-theme==0.2.4
Django==1.11.6
-e .
<|file_sep|>updated/docs/requirements.txt
sphinx>=1.3
sphinx-rtd-theme==0.2.4
Django==1.11.7
-e . | 1c59786f4866794970b1221a3e2438e386ca5f0b | docs/requirements.txt | docs/requirements.txt | Text |
<|file_sep|>public/js/7.js.diff
original:
updated:
//this view will be available on all pages.. consider this the layout view
// see nav and footer below which will available on all pages
//any pattern matches will load that page
<|file_sep|>public/js/7.js.diff
original:
updated:
// <nav></nav>
<|file_sep|... | import '../style.css'
//this view will be available on all pages.. consider this the layout view
// see nav and footer below which will available on all pages
//any pattern matches will load that page
const App = React.createClass({
render () {
return (
<HashRouter>
<div className='app'>
... | <|file_sep|>public/js/7.js.diff
original:
updated:
//this view will be available on all pages.. consider this the layout view
// see nav and footer below which will available on all pages
//any pattern matches will load that page
<|file_sep|>public/js/7.js.diff
original:
updated:
// <nav></nav>
<|file_sep|... | 23800d43d67123bc9a7898069510d8d598ed5503 | public/js/7.js | public/js/7.js | JavaScript |
<|file_sep|>original/scripts/crashlytics-notifications.coffee
module.exports = (robot) ->
robot.router.post "/hubot/crashlytics-notify", (req, res) ->
@failing ||= []
query = querystring.parse(url.parse(req.url).query)
try
data = req.body
if data.event == 'verification'
console.log... | module.exports = (robot) ->
robot.router.post "/hubot/crashlytics-notify", (req, res) ->
@failing ||= []
query = querystring.parse(url.parse(req.url).query)
try
data = req.body
console.log 'Entering Crashlytics crash hook with event: ' + data.event
if data.event == 'verification'
... | <|file_sep|>original/scripts/crashlytics-notifications.coffee
module.exports = (robot) ->
robot.router.post "/hubot/crashlytics-notify", (req, res) ->
@failing ||= []
query = querystring.parse(url.parse(req.url).query)
try
data = req.body
if data.event == 'verification'
console.log... | 5c6371289796de641f12d964733b4766cdd29f8c | scripts/crashlytics-notifications.coffee | scripts/crashlytics-notifications.coffee | CoffeeScript |
<|file_sep|>original/app/controllers/api/poi_log_controller.rb
class Api::PoiLogController < Api::ApiController
defaults :resource_class => ::PoiLog, :collection_name => 'poi_logs'
actions :index
api :GET, "/nodes/changes", "Get node changes stream"
param :since, Date, :required => true, :desc => "Specifies s... | class Api::PoiLogController < Api::ApiController
defaults :resource_class => ::PoiLog, :collection_name => 'poi_logs'
actions :index
resource_description do
short 'Changes stream. Log of changed and deleted Pois'
error :code => 401, :desc => "Authorization Required", meta: { message: "Authentication fai... | <|file_sep|>original/app/controllers/api/poi_log_controller.rb
class Api::PoiLogController < Api::ApiController
defaults :resource_class => ::PoiLog, :collection_name => 'poi_logs'
actions :index
api :GET, "/nodes/changes", "Get node changes stream"
param :since, Date, :required => true, :desc => "Specifies s... | f23e74b51e0f9cf489915e8bad428fc0164d687b | app/controllers/api/poi_log_controller.rb | app/controllers/api/poi_log_controller.rb | Ruby |
<|file_sep|>original/about.md
---
layout: page
title: About
permalink: /about/
tags: about
---
Dear reader,
Welcome to our blog!
The Agony Antibodies are a collaborative of friends with a passion for all things immunology. We are a collective of people engaged with science communication and immunology/vaccinology. M... | ---
layout: page
title: About
permalink: /about/
tags: about
---
Dear reader,
Welcome to our blog!
The Agony Antibodies are a collaborative of friends with a passion for all things immunology. We are a collective of people engaged with science communication and immunology/vaccinology. Most of us have graduated from ... | <|file_sep|>original/about.md
---
layout: page
title: About
permalink: /about/
tags: about
---
Dear reader,
Welcome to our blog!
The Agony Antibodies are a collaborative of friends with a passion for all things immunology. We are a collective of people engaged with science communication and immunology/vaccinology. M... | ea9e0fe53d67e4dbb131e7ad21d893fe153b9193 | about.md | about.md | Markdown |
<|file_sep|>locales/sl/webextension.properties.diff
original:
updated:
saveScreenshotVisibleArea = Shrani vidno
<|file_sep|>locales/sl/webextension.properties.diff
original:
updated:
requestErrorTitle = Ne dela.
<|file_sep|>original/locales/sl/webextension.properties
toolbarButtonLabel = Zajemi posnetek
contextMenuLa... | saveScreenshotVisibleArea = Shrani vidno
saveScreenshotFullPage = Shrani celotno stran
cancelScreenshot = Prekliči
downloadScreenshot = Prenesi
notificationLinkCopiedTitle = Povezava kopirana
# The string "{meta_key}-V" should be translated to the region-specific
# shorthand for the Paste keyboard shortcut. {meta_key} ... | <|file_sep|>locales/sl/webextension.properties.diff
original:
updated:
saveScreenshotVisibleArea = Shrani vidno
<|file_sep|>locales/sl/webextension.properties.diff
original:
updated:
requestErrorTitle = Ne dela.
<|file_sep|>original/locales/sl/webextension.properties
toolbarButtonLabel = Zajemi posnetek
contextMenuLa... | e62801cfd066c8d36a93f368142c1dbb9418d14e | locales/sl/webextension.properties | locales/sl/webextension.properties | INI |
<|file_sep|>server.js.diff
original:
updated:
var port = process.env.PORT || 3000;
<|file_sep|>original/server.js
var express = require('express');
var app = express();
var items = require('./data/items');
app.get('/items', function (req, res) {
res.json(items);
});
app.use(express.static('.'));
app.get('/', func... | var express = require('express');
var app = express();
var items = require('./data/items');
var port = process.env.PORT || 3000;
app.get('/items', function (req, res) {
res.json(items);
});
app.use(express.static('.'));
app.get('/', function (req, res) {
res.sendFile(__dirname + '/index.html');
});
app.listen(p... | <|file_sep|>server.js.diff
original:
updated:
var port = process.env.PORT || 3000;
<|file_sep|>original/server.js
var express = require('express');
var app = express();
var items = require('./data/items');
app.get('/items', function (req, res) {
res.json(items);
});
app.use(express.static('.'));
app.get('/', func... | 232d39b2099deeca11c1459b4f18179f18cd7700 | server.js | server.js | JavaScript |
<|file_sep|>original/vagrant-bindfs.gemspec
# -*- encoding: utf-8 -*-
require File.expand_path("../lib/vagrant-bindfs/version", __FILE__)
Gem::Specification.new do |s|
s.name = "vagrant-bindfs"
s.version = VagrantBindfs::VERSION
s.authors = ["Folken Laëneck"]
s.email = ["folken.laeneck@gma... | # -*- encoding: utf-8 -*-
require File.expand_path("../lib/vagrant-bindfs/version", __FILE__)
Gem::Specification.new do |s|
s.name = "vagrant-bindfs"
s.version = VagrantBindfs::VERSION
s.authors = ["Folken Laëneck"]
s.email = ["folken.laeneck@gmail.com"]
s.homepage = "https://github.c... | <|file_sep|>original/vagrant-bindfs.gemspec
# -*- encoding: utf-8 -*-
require File.expand_path("../lib/vagrant-bindfs/version", __FILE__)
Gem::Specification.new do |s|
s.name = "vagrant-bindfs"
s.version = VagrantBindfs::VERSION
s.authors = ["Folken Laëneck"]
s.email = ["folken.laeneck@gma... | 7ec3cb287662be158c51a569560a23e4aa69c647 | vagrant-bindfs.gemspec | vagrant-bindfs.gemspec | Ruby |
<|file_sep|>packages/ti/timeconsole.yaml.diff
original:
homepage: ''
updated:
homepage: https://github.com/xpika/Time-Console
<|file_sep|>packages/ti/timeconsole.yaml.diff
original:
hash: e824988d0aec21e5ea2aea7160b6b3c6eb4300b1bd3200b634ee18641f057540
updated:
hash: 413c030613c5025514a885a63676875662a915e28643b664c5bf... | homepage: https://github.com/xpika/Time-Console
changelog-type: ''
hash: 413c030613c5025514a885a63676875662a915e28643b664c5bfd7ee9d3aea4f
test-bench-deps: {}
maintainer: hawk.alan@gmail.com
synopsis: time each line of terminal output
changelog: ''
basic-deps:
base: ! '>=4.7 && <4.8'
time: -any
process: -any
all-v... | <|file_sep|>packages/ti/timeconsole.yaml.diff
original:
homepage: ''
updated:
homepage: https://github.com/xpika/Time-Console
<|file_sep|>packages/ti/timeconsole.yaml.diff
original:
hash: e824988d0aec21e5ea2aea7160b6b3c6eb4300b1bd3200b634ee18641f057540
updated:
hash: 413c030613c5025514a885a63676875662a915e28643b664c5bf... | d93b75514e90b78901195eba3e1906ce52a5f147 | packages/ti/timeconsole.yaml | packages/ti/timeconsole.yaml | YAML |
<|file_sep|>original/.travis/test-all.sh
#!/bin/sh
set -e
./.travis/test.sh js/biotool.js
./.travis/test.sh ~/.local/bin/biotool-hs-exe
./.travis/test.sh ruby/biotool.rb
<|file_sep|>current/.travis/test-all.sh
#!/bin/sh
set -e
./.travis/test.sh js/biotool.js
./.travis/test.sh ~/.local/bin/biotool-hs-exe
./.travis/t... | #!/bin/sh
set -e
./.travis/test.sh js/biotool.js
./.travis/test.sh ~/.local/bin/biotool-hs
./.travis/test.sh ruby/biotool.rb | <|file_sep|>original/.travis/test-all.sh
#!/bin/sh
set -e
./.travis/test.sh js/biotool.js
./.travis/test.sh ~/.local/bin/biotool-hs-exe
./.travis/test.sh ruby/biotool.rb
<|file_sep|>current/.travis/test-all.sh
#!/bin/sh
set -e
./.travis/test.sh js/biotool.js
./.travis/test.sh ~/.local/bin/biotool-hs-exe
./.travis/t... | 3752989d03668a16af06d2ccca1cc2f73ec7a98d | .travis/test-all.sh | .travis/test-all.sh | Shell |
<|file_sep|>original/project.clj
(defproject stencil "0.3.0-SNAPSHOT"
:description "Mustache in Clojure"
:dependencies [[org.clojure/clojure "1.3.0"]
[scout "0.1.0"]
[quoin "0.1.0-SNAPSHOT"]
[slingshot "0.8.0"]
[org.clojure/core.cache "0.6.1"]]
:... | (defproject stencil "0.3.0-SNAPSHOT"
:description "Mustache in Clojure"
:dependencies [[org.clojure/clojure "1.3.0"]
[scout "0.1.0"]
[quoin "0.1.0"]
[slingshot "0.8.0"]
[org.clojure/core.cache "0.6.1"]]
:profiles {:dev {:dependencies [[org.clojur... | <|file_sep|>original/project.clj
(defproject stencil "0.3.0-SNAPSHOT"
:description "Mustache in Clojure"
:dependencies [[org.clojure/clojure "1.3.0"]
[scout "0.1.0"]
[quoin "0.1.0-SNAPSHOT"]
[slingshot "0.8.0"]
[org.clojure/core.cache "0.6.1"]]
:... | c9b95b5911c342c7322b4beffcab81a73dd07587 | project.clj | project.clj | Clojure |
<|file_sep|>original/appveyor.yml
image: Visual Studio 2015
environment:
nodejs_version: "7.4.0"
platform:
- x86
- x64
install:
- ps: Install-Product node $env:nodejs_version
- npm install
test_script:
- npm run ci:appveyor
shallow_clone: true
clone_depth: 5
skip_branch_with_pr: true
<|file_sep|>current... | image: Visual Studio 2015
environment:
nodejs_version: "7.4.0"
platform:
- x86
- x64
install:
- ps: Install-Product node $env:nodejs_version
- npm config set msvs_version 2015
- npm install
test_script:
- npm run ci:appveyor
shallow_clone: true
clone_depth: 5
skip_branch_with_pr: true | <|file_sep|>original/appveyor.yml
image: Visual Studio 2015
environment:
nodejs_version: "7.4.0"
platform:
- x86
- x64
install:
- ps: Install-Product node $env:nodejs_version
- npm install
test_script:
- npm run ci:appveyor
shallow_clone: true
clone_depth: 5
skip_branch_with_pr: true
<|file_sep|>current... | 24c3fbc5350beacc072cd6aafab8777bd0fe80c7 | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/ktor-jetty/src/org/jetbrains/ktor/jetty/CommandLine.kt
val data = arg.split('=')
if (data.size() == 2) {
map[data[0]] = data[1]
}
}
val jar = map["-jar"]?.let { File(it).toURI().toURL() }
val classPath = if (jar == null) arrayOf<URL>() else arrayOf<U... | import java.net.*
import java.util.*
import javax.naming.*
fun main(args: Array<String>) {
val map = HashMap<String, String>()
for (arg in args) {
val data = arg.split('=')
if (data.size() == 2) {
map[data[0]] = data[1]
}
}
val jar = map["-jar"]?.let { File(it).toUR... | <|file_sep|>original/ktor-jetty/src/org/jetbrains/ktor/jetty/CommandLine.kt
val data = arg.split('=')
if (data.size() == 2) {
map[data[0]] = data[1]
}
}
val jar = map["-jar"]?.let { File(it).toURI().toURL() }
val classPath = if (jar == null) arrayOf<URL>() else arrayOf<U... | a8d59e6c3743baa7b8aa3d03e148d3cfeb4d17a2 | ktor-jetty/src/org/jetbrains/ktor/jetty/CommandLine.kt | ktor-jetty/src/org/jetbrains/ktor/jetty/CommandLine.kt | Kotlin |
<|file_sep|>original/blueprints/op-firebase-auth/index.js
module.exports = {
normalizeEntityName: function() {
},
afterInstall: function() {
return this.addBowerPackageToProject('ember-simple-auth', '0.7.3');
}
};
<|file_sep|>current/blueprints/op-firebase-auth/index.js
module.exports = {
normalizeEntity... | module.exports = {
normalizeEntityName: function() {
},
afterInstall: function() {
this.addBowerPackageToProject('emberfire', '~0.0.0');
return this.addBowerPackageToProject('ember-simple-auth', '0.7.3');
}
}; | <|file_sep|>original/blueprints/op-firebase-auth/index.js
module.exports = {
normalizeEntityName: function() {
},
afterInstall: function() {
return this.addBowerPackageToProject('ember-simple-auth', '0.7.3');
}
};
<|file_sep|>current/blueprints/op-firebase-auth/index.js
module.exports = {
normalizeEntity... | d023d8c52e9e88d224ac640b64b4b24002b85564 | blueprints/op-firebase-auth/index.js | blueprints/op-firebase-auth/index.js | JavaScript |
<|file_sep|>original/doc/nova-fake-driver.rst
Use nova-fake driver
====================
Nova fake driver can not work with all-in-one deployment. This is because the
fake neutron-openvswitch-agent for the fake nova-compute container conflicts
with neutron-openvswitch-agent on the compute nodes. Therefore, in the
inve... |
Use nova-fake driver
====================
Nova fake driver can not work with all-in-one deployment. This is because the
fake neutron-openvswitch-agent for the fake nova-compute container conflicts
with neutron-openvswitch-agent on the compute nodes. Therefore, in the
inventory the network node must be different than ... | <|file_sep|>original/doc/nova-fake-driver.rst
Use nova-fake driver
====================
Nova fake driver can not work with all-in-one deployment. This is because the
fake neutron-openvswitch-agent for the fake nova-compute container conflicts
with neutron-openvswitch-agent on the compute nodes. Therefore, in the
inve... | 7fb2d38ab54aab9be267437c8d1d3da636101357 | doc/nova-fake-driver.rst | doc/nova-fake-driver.rst | reStructuredText |
<|file_sep|>MainConsole.java.diff
original:
updated:
frame.setLocationRelativeTo(null);
<|file_sep|>original/MainConsole.java
frame = new JFrame("Tetris");
frame.setSize((Canvas.WIDTH + 7) * Canvas.SIDE_OF_SQUARE,
(Canvas.HEIGHT + 1) * Canvas.SIDE_OF_SQUARE);
frame.setDefaultCloseO... |
canvas = new Canvas();
frame.addKeyListener(canvas.getKeyListener());
frame.add(canvas,BorderLayout.CENTER);
}
public static void main(String [] args){
SwingUtilities.invokeLater(new Runnable(){
@Override
public void run(){
JOptionPane.showMessageDialo... | <|file_sep|>MainConsole.java.diff
original:
updated:
frame.setLocationRelativeTo(null);
<|file_sep|>original/MainConsole.java
frame = new JFrame("Tetris");
frame.setSize((Canvas.WIDTH + 7) * Canvas.SIDE_OF_SQUARE,
(Canvas.HEIGHT + 1) * Canvas.SIDE_OF_SQUARE);
frame.setDefaultCloseO... | 41ff89d2fc2c479973f48aaa3ff164cfab0830be | MainConsole.java | MainConsole.java | Java |
<|file_sep|>original/pic2map/server/static/main.js
// Map centered in NowSecure HQ by default
var map = L.map('map').setView([40.2001925,-89.0876265], 3);
L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {
attribution: '© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
}).addTo(map);
... | // Map centered in NowSecure HQ by default
var map = L.map('map').setView([40.2001925,-89.0876265], 3);
L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {
attribution: '© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
}).addTo(map);
console.log('Adding markers for ' + rows.length + ... | <|file_sep|>original/pic2map/server/static/main.js
// Map centered in NowSecure HQ by default
var map = L.map('map').setView([40.2001925,-89.0876265], 3);
L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {
attribution: '© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
}).addTo(map);
... | ca504dd8b335fbee77f6a24671a8246d828780e3 | pic2map/server/static/main.js | pic2map/server/static/main.js | JavaScript |
<|file_sep|>original/.travis.yml
- travis_retry pip install -r requirements.txt -r requirements-dev.txt
- travis_retry pip install coveralls
script:
- coverage run --branch --source=mygpoauth ./manage.py test
after_script:
- coveralls
sudo: false
env:
- DATABASE_URL="postgres://postgres@localhost/mygpo_tes... | language: python
python:
- "3.4"
- "3.5"
install:
- travis_retry pip install -r requirements.txt -r requirements-dev.txt
- travis_retry pip install coveralls
script:
- coverage run --branch --source=mygpoauth ./manage.py test
after_script:
- coveralls
sudo: false
env:
- DATABASE_URL="postgres://postg... | <|file_sep|>original/.travis.yml
- travis_retry pip install -r requirements.txt -r requirements-dev.txt
- travis_retry pip install coveralls
script:
- coverage run --branch --source=mygpoauth ./manage.py test
after_script:
- coveralls
sudo: false
env:
- DATABASE_URL="postgres://postgres@localhost/mygpo_tes... | d8f6fd1cdbc8b8adfc88e63889950e386dba575c | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements.txt
pyramid==1.5.7
#skosprovider==0.6.0
-e git+https://github.com/koenedaele/skosprovider.git#egg=skosprovider
<|file_sep|>current/requirements.txt
pyramid==1.5.7
#skosprovider==0.6.0
-e git+https://github.com/koenedaele/skosprovider.git#egg=skosprovider
<|file_sep|>updated/requirement... | pyramid==1.5.8
#skosprovider==0.6.0
-e git+https://github.com/koenedaele/skosprovider.git#egg=skosprovider | <|file_sep|>original/requirements.txt
pyramid==1.5.7
#skosprovider==0.6.0
-e git+https://github.com/koenedaele/skosprovider.git#egg=skosprovider
<|file_sep|>current/requirements.txt
pyramid==1.5.7
#skosprovider==0.6.0
-e git+https://github.com/koenedaele/skosprovider.git#egg=skosprovider
<|file_sep|>updated/requirement... | 9d53cf0aaf610d0e700c10a72ef2cc125557257f | requirements.txt | requirements.txt | Text |
<|file_sep|>original/.travis.yml
language: php
php:
- 5.5
- 5.6
- 7
- 7.1
- 7.2
matrix:
fast_finish: true
include:
- php: 5.5
env: dependencies=highest
- php: 5.6
env: dependencies=highest
- php: 7
env: dependencies=highest
- php: 7.1
env: dependencies=highest
... | language: php
php:
- 5.5
- 5.6
- 7
- 7.1
- 7.2
- 7.3
matrix:
fast_finish: true
include:
- php: 5.5
env: dependencies=highest
- php: 5.6
env: dependencies=highest
- php: 7
env: dependencies=highest
- php: 7.1
env: dependencies=highest
- php: 7.2 | <|file_sep|>original/.travis.yml
language: php
php:
- 5.5
- 5.6
- 7
- 7.1
- 7.2
matrix:
fast_finish: true
include:
- php: 5.5
env: dependencies=highest
- php: 5.6
env: dependencies=highest
- php: 7
env: dependencies=highest
- php: 7.1
env: dependencies=highest
... | 73f04355c78fed329950c362b59260f4bfa32ed0 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements.txt
beautifulsoup4==4.9.3
bcrypt==3.2.0
croniter==1.0.13
Cython==0.29.23
feedparser==6.0.2
furl==2.1.2
google-api-python-client==2.3.0
isodate==0.6.0
jq==1.1.3
jsonpath-ng==1.5.2
lxml==4.6.3
Pillow==8.2.0
parsedatetime==2.6
psutil==5.8.0
pyhedrals==0.2.0
pymediawiki==0.7.0
pyre2==0.3.3... | beautifulsoup4==4.9.3
bcrypt==3.2.0
croniter==1.0.13
Cython==0.29.23
feedparser==6.0.2
furl==2.1.2
google-api-python-client==2.4.0
isodate==0.6.0
jq==1.1.3
jsonpath-ng==1.5.2
lxml==4.6.3
Pillow==8.2.0
parsedatetime==2.6
psutil==5.8.0
pyhedrals==0.2.0
pymediawiki==0.7.0
pyre2==0.3.3
python-dateutil==2.8.1
pytimeparse==1... | <|file_sep|>original/requirements.txt
beautifulsoup4==4.9.3
bcrypt==3.2.0
croniter==1.0.13
Cython==0.29.23
feedparser==6.0.2
furl==2.1.2
google-api-python-client==2.3.0
isodate==0.6.0
jq==1.1.3
jsonpath-ng==1.5.2
lxml==4.6.3
Pillow==8.2.0
parsedatetime==2.6
psutil==5.8.0
pyhedrals==0.2.0
pymediawiki==0.7.0
pyre2==0.3.3... | 1779aac41906c08325389e8be26546b05d796477 | requirements.txt | requirements.txt | Text |
<|file_sep|>app/views/styleguide/components.html.erb.diff
original:
<%= styleguide_section sections['icons'] do %>
<span class="icon $modifier_class"></span>
<span class="visually-hidden">hidden text</span>
<% end %>
<%= styleguide_section sections['buttons'] do %>
<a href="#url" class="button $modifier_class">... | <%= styleguide_section sections['Opt out bar'] do %>
<%= render 'shared/opt_out_bar' %>
<% end %>
<%= styleguide_section sections['Primary Navigation'] do %>
<%= render 'shared/primary_nav' %>
<% end %>
<%= styleguide_section sections['Footer Site Links'] do %>
<%= render 'shared/footer_site_links', locals: %w(... | <|file_sep|>app/views/styleguide/components.html.erb.diff
original:
<%= styleguide_section sections['icons'] do %>
<span class="icon $modifier_class"></span>
<span class="visually-hidden">hidden text</span>
<% end %>
<%= styleguide_section sections['buttons'] do %>
<a href="#url" class="button $modifier_class">... | fe3d3c80bedeefa31ec8089b6fba514e09cccd26 | app/views/styleguide/components.html.erb | app/views/styleguide/components.html.erb | HTML+ERB |
<|file_sep|>original/src/Sandbox/MainBundle/Resources/views/skeleton.html.twig
{% extends "SymfonyCmfCoreBundle::skeleton.html.twig" %}
{% block includes %}
{{ parent() }}
{% stylesheets '@SandboxMainBundle/Resources/public/css/style.css'
'@LiipVieBundle/Resources/public/hallo/Aristo/jquer... | {% extends "SymfonyCmfCoreBundle::skeleton.html.twig" %}
{% block includes %}
{{ parent() }}
{% stylesheets '@SandboxMainBundle/Resources/public/css/style.css'
'@LiipVieBundle/Resources/public/hallo/Aristo/jquery-ui-1.8.7.custom.css'
'@LiipVieBundle/Resources/public/css... | <|file_sep|>original/src/Sandbox/MainBundle/Resources/views/skeleton.html.twig
{% extends "SymfonyCmfCoreBundle::skeleton.html.twig" %}
{% block includes %}
{{ parent() }}
{% stylesheets '@SandboxMainBundle/Resources/public/css/style.css'
'@LiipVieBundle/Resources/public/hallo/Aristo/jquer... | 9fc4bbb935b75c24748f1bb6a940c6fac9f62ec2 | src/Sandbox/MainBundle/Resources/views/skeleton.html.twig | src/Sandbox/MainBundle/Resources/views/skeleton.html.twig | Twig |
<|file_sep|>.vscode/settings.json.diff
original:
"editor.tabSize": 2,
"editor.detectIndentation": false,
updated:
"editor.tabSize": 2,
"editor.detectIndentation": false,
<|file_sep|>.vscode/settings.json.diff
original:
"codemetrics.basics.ComplexityLevelExtremeDescription": "(Extreme)",
"codemetrics... | {
"editor.tabSize": 2,
"editor.detectIndentation": false,
"codemetrics.basics.ComplexityLevelExtremeDescription": "(Extreme)",
"codemetrics.basics.ComplexityLevelHighDescription": "(High)",
"codemetrics.basics.ComplexityLevelNormalDescription": "(Medium)",
"codemetrics.basics.ComplexityLevelLowDescription"... | <|file_sep|>.vscode/settings.json.diff
original:
"editor.tabSize": 2,
"editor.detectIndentation": false,
updated:
"editor.tabSize": 2,
"editor.detectIndentation": false,
<|file_sep|>.vscode/settings.json.diff
original:
"codemetrics.basics.ComplexityLevelExtremeDescription": "(Extreme)",
"codemetrics... | 974ce6dcc202cd9f56955fe256849c5076f897e5 | .vscode/settings.json | .vscode/settings.json | JSON |
<|file_sep|>original/tools/security/check_message_owners.py
<|file_sep|>current/tools/security/check_message_owners.py
<|file_sep|>updated/tools/security/check_message_owners.py | #!/usr/bin/env python
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Make sure all of the per-file *_messages.h OWNERS are consistent"""
import os
import re
import sys
def main():
file_path = os.pa... | <|file_sep|>original/tools/security/check_message_owners.py
<|file_sep|>current/tools/security/check_message_owners.py
<|file_sep|>updated/tools/security/check_message_owners.py
#!/usr/bin/env python
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style licen... | 86ba77f9aa26ccc70d45596745b6532b5eeeff52 | tools/security/check_message_owners.py | tools/security/check_message_owners.py | Python |
<|file_sep|>original/loads/src/main/resources/bootstrap.properties
defaultUrl=http://localhost:8888
spring.application.name=release
spring.profiles.active=${profile:local}
spring.cloud.config.uri=${spring.cloud.config.uri:${defaultUrl}}
<|file_sep|>current/loads/src/main/resources/bootstrap.properties
defaultUrl=http:... | defaultUrl=http://localhost:8888
spring.application.name=release
spring.profiles.active=${profile:local}
spring.cloud.config.uri=${uri:${defaultUrl}} | <|file_sep|>original/loads/src/main/resources/bootstrap.properties
defaultUrl=http://localhost:8888
spring.application.name=release
spring.profiles.active=${profile:local}
spring.cloud.config.uri=${spring.cloud.config.uri:${defaultUrl}}
<|file_sep|>current/loads/src/main/resources/bootstrap.properties
defaultUrl=http:... | 45767c3e3d53d7dd3f035f340a92fe0dc52751b8 | loads/src/main/resources/bootstrap.properties | loads/src/main/resources/bootstrap.properties | INI |
<|file_sep|>original/packaging/build_3rdparty_static_debian.sh
#!/bin/sh
BASEDIR=$(dirname $0)
cd $BASEDIR/debian_3rdparty
./build_fftw3.sh
./build_ffmpeg.sh --no-muxers
./build_libsamplerate.sh
./build_taglib.sh
./build_yaml.sh
if [ "$1" = --with-gaia ];
then
./build_qt.sh
./build_gaia.sh
fi
<|fil... | #!/bin/sh
BASEDIR=$(dirname $0)
cd $BASEDIR/debian_3rdparty
./build_fftw3.sh
./build_ffmpeg.sh
./build_libsamplerate.sh
./build_taglib.sh
./build_yaml.sh
if [ "$1" = --with-gaia ];
then
./build_qt.sh
./build_gaia.sh
fi | <|file_sep|>original/packaging/build_3rdparty_static_debian.sh
#!/bin/sh
BASEDIR=$(dirname $0)
cd $BASEDIR/debian_3rdparty
./build_fftw3.sh
./build_ffmpeg.sh --no-muxers
./build_libsamplerate.sh
./build_taglib.sh
./build_yaml.sh
if [ "$1" = --with-gaia ];
then
./build_qt.sh
./build_gaia.sh
fi
<|fil... | e6a1b828549d1f1511237c854fd2f2e103b85d9a | packaging/build_3rdparty_static_debian.sh | packaging/build_3rdparty_static_debian.sh | Shell |
<|file_sep|>original/_posts/2017-07-03-hanover.md
<|file_sep|>current/_posts/2017-07-03-hanover.md
<|file_sep|>updated/_posts/2017-07-03-hanover.md | ### Day 31 - June 30
---

Today I did a pretty chill nine miles, partly so that **The Settlers** could catch up to me and partly because today I went over Mount Moosilauke, the steepest climb probably since Sugarloaf. The trail went up right next to a bunch of cascading waterfalls... | <|file_sep|>original/_posts/2017-07-03-hanover.md
<|file_sep|>current/_posts/2017-07-03-hanover.md
<|file_sep|>updated/_posts/2017-07-03-hanover.md
### Day 31 - June 30
---

Today I did a pretty chill nine miles, partly so that **The Settlers** could catch up to me and partly be... | 27bcb5ff22ea208a1b7e30ae29150ac18a8a58c7 | _posts/2017-07-03-hanover.md | _posts/2017-07-03-hanover.md | Markdown |
<|file_sep|>test/tap/false_name.js.diff
original:
updated:
, rimraf = require("rimraf")
<|file_sep|>original/test/tap/false_name.js
t.plan(1)
setup(function () {
npm.install(".", function (err) {
if (err) return t.fail(err)
t.ok(existsSync(__dirname +
"/false_name/node_modules/tap/node_m... |
test("not every pkg.name can be required", function (t) {
t.plan(1)
setup(function () {
npm.install(".", function (err) {
if (err) return t.fail(err)
t.ok(existsSync(__dirname +
"/false_name/node_modules/tap/node_modules/buffer-equal"))
})
})
})
function setup (cb) {
process.chdir... | <|file_sep|>test/tap/false_name.js.diff
original:
updated:
, rimraf = require("rimraf")
<|file_sep|>original/test/tap/false_name.js
t.plan(1)
setup(function () {
npm.install(".", function (err) {
if (err) return t.fail(err)
t.ok(existsSync(__dirname +
"/false_name/node_modules/tap/node_m... | b1bf7a9ddc1d181ce5ac36a37f2815cb90241775 | test/tap/false_name.js | test/tap/false_name.js | JavaScript |
<|file_sep|>original/db/migrations/1603141352__update_for_model_mode_name_change.sql
<|file_sep|>current/db/migrations/1603141352__update_for_model_mode_name_change.sql
<|file_sep|>updated/db/migrations/1603141352__update_for_model_mode_name_change.sql | -- Update model modes to reflect updated seegSDM modes.
-- Copyright (c) 2016 University of Oxford
UPDATE disease_group SET model_mode='Bhatt2013' WHERE model_mode='bhatt';
UPDATE disease_group SET model_mode='Shearer2016' WHERE model_mode='all_bias'; | <|file_sep|>original/db/migrations/1603141352__update_for_model_mode_name_change.sql
<|file_sep|>current/db/migrations/1603141352__update_for_model_mode_name_change.sql
<|file_sep|>updated/db/migrations/1603141352__update_for_model_mode_name_change.sql
-- Update model modes to reflect updated seegSDM modes.
-- Copyri... | 4b4529b2f51169eeadb73612863bc6a3b09ef8dd | db/migrations/1603141352__update_for_model_mode_name_change.sql | db/migrations/1603141352__update_for_model_mode_name_change.sql | SQL |
<|file_sep|>original/help/_account_Create_an_Account.md
### Creating an account
1. You can create an account from the website (<https://photosynq.org>), the desktop app, or the mobile app.
+ **Website:** click on the ‘sign up’ button in the upper right corner of the website.
+ **Desktop app:** Download the photos... | ### Creating an account
1. You can create an account from the website (<https://photosynq.org>), the desktop app, or the mobile app.
+ **Website:** click on the ‘sign up’ button in the upper right corner of the website.
+ **Desktop app:** Download the photosynq app from the [chrome webstore](https://chrome.google... | <|file_sep|>original/help/_account_Create_an_Account.md
### Creating an account
1. You can create an account from the website (<https://photosynq.org>), the desktop app, or the mobile app.
+ **Website:** click on the ‘sign up’ button in the upper right corner of the website.
+ **Desktop app:** Download the photos... | 453eb2eb0dc5227f0752f99f5e62c0b1f86cfd95 | help/_account_Create_an_Account.md | help/_account_Create_an_Account.md | Markdown |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.