prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>src/main/native/macros.h.diff
original:
// TODO(bazel-team): Use the proper annotation for clang.
updated:
// GXX_EXPERIMENTAL_CXX0X is defined by gcc and clang up to at least
// gcc-4.7 and clang-3.1 (2011-12-13). __cplusplus was defined to 1
// in gcc before 4.7 and clang before 3.1, but is defined accor... |
// GXX_EXPERIMENTAL_CXX0X is defined by gcc and clang up to at least
// gcc-4.7 and clang-3.1 (2011-12-13). __cplusplus was defined to 1
// in gcc before 4.7 and clang before 3.1, but is defined according
// to the language version in effect thereafter.
#if defined(__GXX_EXPERIMENTAL_CXX0X__) || __cplusplus >= 201103... | <|file_sep|>src/main/native/macros.h.diff
original:
// TODO(bazel-team): Use the proper annotation for clang.
updated:
// GXX_EXPERIMENTAL_CXX0X is defined by gcc and clang up to at least
// gcc-4.7 and clang-3.1 (2011-12-13). __cplusplus was defined to 1
// in gcc before 4.7 and clang before 3.1, but is defined accor... | 0793e936d6a57c1bb8ca723b06b3e0c762e52f80 | src/main/native/macros.h | src/main/native/macros.h | C |
<|file_sep|>original/graf3d/glew/CMakeLists.txt
############################################################################
# CMakeLists.txt file for building ROOT graf3d/glew package
############################################################################
# set variables to emulate find_package(GLEW)
set(GLEW_FO... | ############################################################################
# CMakeLists.txt file for building ROOT graf3d/glew package
############################################################################
# set variables to emulate find_package(GLEW)
set(GLEW_FOUND TRUE CACHE INTERNAL "" FORCE)
set(GLEW_INCLU... | <|file_sep|>original/graf3d/glew/CMakeLists.txt
############################################################################
# CMakeLists.txt file for building ROOT graf3d/glew package
############################################################################
# set variables to emulate find_package(GLEW)
set(GLEW_FO... | 898eb272f66e4e9408e9008770f2f116efad2cc0 | graf3d/glew/CMakeLists.txt | graf3d/glew/CMakeLists.txt | Text |
<|file_sep|>original/NetKAN/HullcamVDS.json
<|file_sep|>current/NetKAN/HullcamVDS.json
<|file_sep|>updated/NetKAN/HullcamVDS.json | {
"identifier": "HullcamVDS",
"x_netkan_license_ok": true,
"spec_version": 1,
"$kref": "#/ckan/kerbalstuff/450"
} | <|file_sep|>original/NetKAN/HullcamVDS.json
<|file_sep|>current/NetKAN/HullcamVDS.json
<|file_sep|>updated/NetKAN/HullcamVDS.json
{
"identifier": "HullcamVDS",
"x_netkan_license_ok": true,
"spec_version": 1,
"$kref": "#/ckan/kerbalstuff/450"
} | fb404df3b1c41accbd2c81bda39919475e83704c | NetKAN/HullcamVDS.json | NetKAN/HullcamVDS.json | JSON |
<|file_sep|>test/unit/CMakeLists.txt.diff
original:
qt5_use_modules(providertest Test)
updated:
qt5_use_modules(providertest Network Test)
<|file_sep|>original/test/unit/CMakeLists.txt
add_test(NAME providertest COMMAND providertest)
### oembedmanager unit test ###
set(oembedmanagertest_SRCS
oembedmanagertest.cpp... | add_test(NAME providertest COMMAND providertest)
### oembedmanager unit test ###
set(oembedmanagertest_SRCS
oembedmanagertest.cpp
)
add_executable(oembedmanagertest ${oembedmanagertest_SRCS})
target_link_libraries(oembedmanagertest qoembed)
qt5_use_modules(oembedmanagertest Network Test)
add_test(NAME oembedman... | <|file_sep|>test/unit/CMakeLists.txt.diff
original:
qt5_use_modules(providertest Test)
updated:
qt5_use_modules(providertest Network Test)
<|file_sep|>original/test/unit/CMakeLists.txt
add_test(NAME providertest COMMAND providertest)
### oembedmanager unit test ###
set(oembedmanagertest_SRCS
oembedmanagertest.cpp... | 00bd0ad1b580a3ab93bcd9fc576faceeaddb749b | test/unit/CMakeLists.txt | test/unit/CMakeLists.txt | Text |
<|file_sep|>.travis.yml.diff
original:
updated:
- composer require --dev phpunit/phpunit ^7
<|file_sep|>original/.travis.yml
language: php
php:
- '5.6'
- '7.0'
- '7.1'
- '7.2'
install:
- composer self-update
- composer global require "fxp/composer-asset-plugin:^1.1"
- composer install
before_script:... | language: php
php:
- '5.6'
- '7.0'
- '7.1'
- '7.2'
install:
- composer self-update
- composer global require "fxp/composer-asset-plugin:^1.1"
- composer require --dev phpunit/phpunit ^7
- composer install
before_script:
- travis_retry composer self-update
- travis_retry composer install --no-inte... | <|file_sep|>.travis.yml.diff
original:
updated:
- composer require --dev phpunit/phpunit ^7
<|file_sep|>original/.travis.yml
language: php
php:
- '5.6'
- '7.0'
- '7.1'
- '7.2'
install:
- composer self-update
- composer global require "fxp/composer-asset-plugin:^1.1"
- composer install
before_script:... | 6d79133cab18235fd112628c58dc2b45aff28399 | .travis.yml | .travis.yml | YAML |
<|file_sep|>packages/sh/shakers.yaml.diff
original:
hash: c6f8c7e37f0f7eb53c6b32ad7d836ae7abd27b72dd8f30ba3f0ec6c21585af15
updated:
hash: 934b5e4bedf3437fda7f9593d70c78829d6297cafd814784f9a24a27ce08d0d1
<|file_sep|>packages/sh/shakers.yaml.diff
original:
updated:
- '0.0.9'
<|file_sep|>original/packages/sh/shakers.yaml... | basic-deps:
shake: -any
base: ==4.8.*
shakers: -any
basic-prelude: -any
directory: -any
all-versions:
- '0.0.0'
- '0.0.2'
- '0.0.3'
- '0.0.4'
- '0.0.5'
- '0.0.6'
- '0.0.7'
- '0.0.8'
- '0.0.9'
author: Swift Navigation Inc.
latest: '0.0.9'
description-type: haddock
description: Primitive helpers for Shake files... | <|file_sep|>packages/sh/shakers.yaml.diff
original:
hash: c6f8c7e37f0f7eb53c6b32ad7d836ae7abd27b72dd8f30ba3f0ec6c21585af15
updated:
hash: 934b5e4bedf3437fda7f9593d70c78829d6297cafd814784f9a24a27ce08d0d1
<|file_sep|>packages/sh/shakers.yaml.diff
original:
updated:
- '0.0.9'
<|file_sep|>original/packages/sh/shakers.yaml... | e3e1cffb51675e335a614c413114b979447e93fb | packages/sh/shakers.yaml | packages/sh/shakers.yaml | YAML |
<|file_sep|>original/rnacentral/portal/static/js/components/sequence/rfam/rfam.component.js
upi: '<',
rna: '<',
rfamHits: '<',
toggleGoModal: '&'
},
controller: ['$http', '$interpolate', 'routes', function($http, $interpolate, routes) {
var ctrl = this;
ctrl.$on... | upi: '<',
rna: '<',
rfamHits: '<',
toggleGoModal: '&'
},
controller: ['$http', '$interpolate', 'routes', function($http, $interpolate, routes) {
var ctrl = this;
ctrl.$onInit = function() {
ctrl.help = "/help/rfam-annotations";
// group ... | <|file_sep|>original/rnacentral/portal/static/js/components/sequence/rfam/rfam.component.js
upi: '<',
rna: '<',
rfamHits: '<',
toggleGoModal: '&'
},
controller: ['$http', '$interpolate', 'routes', function($http, $interpolate, routes) {
var ctrl = this;
ctrl.$on... | 1a068d547a3177bf0acd33e148c8594f44564335 | rnacentral/portal/static/js/components/sequence/rfam/rfam.component.js | rnacentral/portal/static/js/components/sequence/rfam/rfam.component.js | JavaScript |
<|file_sep|>original/bower.json
"description": "Element wrapper for the gyronorm.js library",
"main": "dist/gyronorm-element.html",
"ignore": [
"README.md",
"LICENSE",
"demo/*",
"demo",
"Gruntfile.js",
"package.json",
"bower_components/*",
"node_modules/*"
],
"keywords": [
... | "main": "dist/gyronorm-element.html",
"ignore": [
"README.md",
"LICENSE",
"demo/*",
"demo",
"Gruntfile.js",
"package.json",
"bower_components/*",
"node_modules/*"
],
"keywords": [
"devicemotion",
"deviceorientation"
],
"license": "MIT",
"devDependencies": {
"gyr... | <|file_sep|>original/bower.json
"description": "Element wrapper for the gyronorm.js library",
"main": "dist/gyronorm-element.html",
"ignore": [
"README.md",
"LICENSE",
"demo/*",
"demo",
"Gruntfile.js",
"package.json",
"bower_components/*",
"node_modules/*"
],
"keywords": [
... | 9a0a8432e494854baba5d4a12f6db8f4ae4daea4 | bower.json | bower.json | JSON |
<|file_sep|>original/cookbooks/zookeeper/templates/default/zkRollSnapshot.sh
#!/usr/bin/env bash
COMMAND="java"
if [ "$(whoami)" != "zookeeper" ]
then
COMMAND="sudo -u zookeeper java"
fi
source /home/zookeeper/.profile
/opt/zookeeper/zookeeper-<%= node[:zookeeper][:version] %>/bin/zkCleanup.sh <%= node[:zookeeper]... | #!/usr/bin/env bash
COMMAND="java"
if [ "$(whoami)" != "zookeeper" ]
then
COMMAND="sudo -u zookeeper java"
fi
source /home/zookeeper/.profile
<%= node[:zookeeper][:installDir] %>/zookeeper-<%= node[:zookeeper][:version] %>/bin/zkCleanup.sh <%= node[:zookeeper][:dataDir] %> <%= node[:zookeeper][:snapshotDir] %> <%=... | <|file_sep|>original/cookbooks/zookeeper/templates/default/zkRollSnapshot.sh
#!/usr/bin/env bash
COMMAND="java"
if [ "$(whoami)" != "zookeeper" ]
then
COMMAND="sudo -u zookeeper java"
fi
source /home/zookeeper/.profile
/opt/zookeeper/zookeeper-<%= node[:zookeeper][:version] %>/bin/zkCleanup.sh <%= node[:zookeeper]... | 5b1abe58f6e24dc2e518e6032a7138308bc6b9e9 | cookbooks/zookeeper/templates/default/zkRollSnapshot.sh | cookbooks/zookeeper/templates/default/zkRollSnapshot.sh | Shell |
<|file_sep|>original/.travis.yml
---
sudo: false
language: ruby
cache: bundler
bundler_args: --without development system_tests
before_install: rm Gemfile.lock || true
script: bundle exec rake test SPEC_OPTS='--format documentation'
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
env:
matrix:
- PUPPET_VERSION="~> 3.8.0"
-... | ---
sudo: false
language: ruby
cache: bundler
bundler_args: --without development system_tests
before_install: rm Gemfile.lock || true
script: bundle exec rake test SPEC_OPTS='--format documentation'
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
env:
matrix:
- PUPPET_VERSION="~> 3.8.0"
- PUPPET_VERSION="~> 4.4.0"
matrix... | <|file_sep|>original/.travis.yml
---
sudo: false
language: ruby
cache: bundler
bundler_args: --without development system_tests
before_install: rm Gemfile.lock || true
script: bundle exec rake test SPEC_OPTS='--format documentation'
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
env:
matrix:
- PUPPET_VERSION="~> 3.8.0"
-... | 401cb74186fb6ec75ac6dd863bc06bf26e7b4204 | .travis.yml | .travis.yml | YAML |
<|file_sep|>ClojureScript/src/bocko_ios/core.cljs.diff
original:
updated:
(defn run-app
[]
(comment "Code here will be run when app launches"))
<|file_sep|>original/ClojureScript/src/bocko_ios/core.cljs
(ns bocko-ios.core
(:require bocko.core))
(defn ^:export init
[canvas-view-controller]
(bocko.core/set-c... | (comment "Code here will be run when app launches"))
(defn ^:export init
[canvas-view-controller]
(bocko.core/set-create-canvas
(fn [color-map raster width height _ _]
(add-watch raster :monitor
(fn [_ _ old new]
(when-not (= old new)
(doseq [x (range width)]
... | <|file_sep|>ClojureScript/src/bocko_ios/core.cljs.diff
original:
updated:
(defn run-app
[]
(comment "Code here will be run when app launches"))
<|file_sep|>original/ClojureScript/src/bocko_ios/core.cljs
(ns bocko-ios.core
(:require bocko.core))
(defn ^:export init
[canvas-view-controller]
(bocko.core/set-c... | 15e65debcfa387171924c95c5ef3c665ae9bec1f | ClojureScript/src/bocko_ios/core.cljs | ClojureScript/src/bocko_ios/core.cljs | Clojure |
<|file_sep|>playbooks/gce/openshift-cluster/terminate.yml.diff
original:
gce_service_account_email: "1043659492591-r0tpbf8q4fbb9dakhjfhj89e4m1ld83t@developer.gserviceaccount.com"
gce_pem_file: "~/.gce/openshift-gce-devel_priv_key.pem"
gce_project_id: "openshift-gce-devel"
updated:
gce_service_account_em... | vars_files:
- vars.yml
tasks:
- debug: msg="Retrieve node names"
- debug: msg="Retrieve master names"
- debug: var=groups
- include: ../openshift-node/terminate.yml
vars:
oo_host_group_exp: 'groups["tag_env-host-type-{{ cluster_id }}-openshift-node"]'
gce_service_account_email: "{{ looku... | <|file_sep|>playbooks/gce/openshift-cluster/terminate.yml.diff
original:
gce_service_account_email: "1043659492591-r0tpbf8q4fbb9dakhjfhj89e4m1ld83t@developer.gserviceaccount.com"
gce_pem_file: "~/.gce/openshift-gce-devel_priv_key.pem"
gce_project_id: "openshift-gce-devel"
updated:
gce_service_account_em... | 12745f3eb1f4eb99a27f03d6b7a60cd376add580 | playbooks/gce/openshift-cluster/terminate.yml | playbooks/gce/openshift-cluster/terminate.yml | YAML |
<|file_sep|>original/tools/templates/article.md
---
layout: post
title: "{{title}}"
description: "{{metadesc}}"
date: {{created}}
---
{{{content}}}
<|file_sep|>current/tools/templates/article.md
---
layout: post
title: "{{title}}"
description: "{{metadesc}}"
date: {{created}}
---
{{{content}}}
<|file_sep|>updated... | ---
layout: post
title: {{title}}
description: {{metadesc}}
date: {{created}}
category: joomla
image:
thumb: vendor/joomla.png
---
{{{content}}} | <|file_sep|>original/tools/templates/article.md
---
layout: post
title: "{{title}}"
description: "{{metadesc}}"
date: {{created}}
---
{{{content}}}
<|file_sep|>current/tools/templates/article.md
---
layout: post
title: "{{title}}"
description: "{{metadesc}}"
date: {{created}}
---
{{{content}}}
<|file_sep|>updated... | c2115cc0f447168fdb20f21048bcd29df55a004c | tools/templates/article.md | tools/templates/article.md | Markdown |
<|file_sep|>content/browser/renderer_host/render_view_host_observer.cc.diff
original:
render_view_host_->RemoveObserver(this);
updated:
render_view_host_ = NULL;
<|file_sep|>original/content/browser/renderer_host/render_view_host_observer.cc
delete this;
}
bool RenderViewHostObserver::OnMessageReceived(const IPC... | void RenderViewHostObserver::RenderViewHostDestroyed() {
delete this;
}
bool RenderViewHostObserver::OnMessageReceived(const IPC::Message& message) {
return false;
}
bool RenderViewHostObserver::Send(IPC::Message* message) {
if (!render_view_host_) {
delete message;
return false;
}
return render_vi... | <|file_sep|>content/browser/renderer_host/render_view_host_observer.cc.diff
original:
render_view_host_->RemoveObserver(this);
updated:
render_view_host_ = NULL;
<|file_sep|>original/content/browser/renderer_host/render_view_host_observer.cc
delete this;
}
bool RenderViewHostObserver::OnMessageReceived(const IPC... | 14f59872a905c9786c25eddd18d25c90a2692474 | content/browser/renderer_host/render_view_host_observer.cc | content/browser/renderer_host/render_view_host_observer.cc | C++ |
<|file_sep|>README.md.diff
original:
updated:
Get the Docker from your terminal:
``` sh
docker pull yhpark/pintos-kaist
```
<|file_sep|>original/README.md
# dockerfile-pintos-kaist
Pintos dockerfile for CS330 at KAIST
### How to use
Attach volume `/pintos` with your pintos directory, and run commands.
ex) `docker... | ### How to use
Get the Docker from your terminal:
``` sh
docker pull yhpark/pintos-kaist
```
Attach volume `/pintos` with your pintos directory, and run commands.
``` sh
docker run -i -t -v <PATH_TO_PINTOS>:/pintos yhpark/pintos-kaist bash
```
Docker runs as root, so if you execute `make` or some commands which ge... | <|file_sep|>README.md.diff
original:
updated:
Get the Docker from your terminal:
``` sh
docker pull yhpark/pintos-kaist
```
<|file_sep|>original/README.md
# dockerfile-pintos-kaist
Pintos dockerfile for CS330 at KAIST
### How to use
Attach volume `/pintos` with your pintos directory, and run commands.
ex) `docker... | 0b937324976c435c702eea065f8eebae5bc69ab7 | README.md | README.md | Markdown |
<|file_sep|>README.md.diff
original:
component in your web projects via [Bower](http://bower.io). For more
information about installing this component, or to contribute issues or changes
to this component, please see the consolidated [Basic Web
updated:
component in your web projects via [Bower](http://bower.io).
For ... | This individual component repository is designed to let you include this
component in your web projects via [Bower](http://bower.io).
For more information about installing this component, or to contribute issues or
changes to this component, please see the consolidated [Basic Web
Components](https://github.com/basic-w... | <|file_sep|>README.md.diff
original:
component in your web projects via [Bower](http://bower.io). For more
information about installing this component, or to contribute issues or changes
to this component, please see the consolidated [Basic Web
updated:
component in your web projects via [Bower](http://bower.io).
For ... | eff24e5a276f7ec161b013d47fbed3d7ebffd444 | README.md | README.md | Markdown |
<|file_sep|>app/models/sensors-model.js.diff
original:
room: "",
updated:
room_id: "",
<|file_sep|>original/app/models/sensors-model.js
idAttribute: 'sensor_id',
defaults : {
name: 'MySensor',
sensor_id: "",
room: "",
},
schema: {
name: 'Text',
sen... | idAttribute: 'sensor_id',
defaults : {
name: 'MySensor',
sensor_id: "",
room_id: "",
},
schema: {
name: 'Text',
sensor_id: { editorAttrs: { disabled: true } },
model: { type: 'Select', options: ['temperature', 'door'], editorAttrs: { disabled: true }},
... | <|file_sep|>app/models/sensors-model.js.diff
original:
room: "",
updated:
room_id: "",
<|file_sep|>original/app/models/sensors-model.js
idAttribute: 'sensor_id',
defaults : {
name: 'MySensor',
sensor_id: "",
room: "",
},
schema: {
name: 'Text',
sen... | 8cb0c8e3cf6a0bd515781f8e3ec2f64824174194 | app/models/sensors-model.js | app/models/sensors-model.js | JavaScript |
<|file_sep|>original/package.json
"main": "index.js",
"scripts": {
"test": "mocha"
},
"keywords": [
"signalk",
"client"
],
"author": "teppo.kurki@iki.fi",
"license": "Apache-2.0",
"devDependencies": {
"mocha": "^2.2.5"
},
"dependencies": {
"JSONPath": "^0.11.2",
"cli-spinner"... | "main": "index.js",
"scripts": {
"test": "mocha"
},
"keywords": [
"signalk",
"client"
],
"author": "teppo.kurki@iki.fi",
"license": "Apache-2.0",
"devDependencies": {
"mocha": "^2.2.5"
},
"dependencies": {
"JSONPath": "^0.11.2",
"cli-spinner": "^0.2.1",
"debug": "^2.2.0",... | <|file_sep|>original/package.json
"main": "index.js",
"scripts": {
"test": "mocha"
},
"keywords": [
"signalk",
"client"
],
"author": "teppo.kurki@iki.fi",
"license": "Apache-2.0",
"devDependencies": {
"mocha": "^2.2.5"
},
"dependencies": {
"JSONPath": "^0.11.2",
"cli-spinner"... | e0a1a880d2edbb182c7609d26303f9304a1de4c2 | package.json | package.json | JSON |
<|file_sep|>original/chronos/src/main/AndroidManifest.xml
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.redmadrobot.chronos">
<application
android:allowBackup="true"
android:label="@string/app_name">
</application>
</manifest>
<|file_sep|>current/chrono... | <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.redmadrobot.chronos">
</manifest> | <|file_sep|>original/chronos/src/main/AndroidManifest.xml
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.redmadrobot.chronos">
<application
android:allowBackup="true"
android:label="@string/app_name">
</application>
</manifest>
<|file_sep|>current/chrono... | f667a34999f386afb81f6b3e15e3d7ce4170d07b | chronos/src/main/AndroidManifest.xml | chronos/src/main/AndroidManifest.xml | XML |
<|file_sep|>lib/billy/handlers/stub_handler.rb.diff
original:
find_stub(method, url).nil? ? false : true
updated:
!find_stub(method, url).nil?
<|file_sep|>original/lib/billy/handlers/stub_handler.rb
def handles_request?(method, url, headers, body)
find_stub(method, url).nil? ? false : true
end... | def handles_request?(method, url, headers, body)
!find_stub(method, url).nil?
end
def reset
self.stubs = []
end
def stub(url, options = {})
new_stub = ProxyRequestStub.new(url, options)
@stubs.unshift new_stub
new_stub
end
private
attr_writer :stubs
... | <|file_sep|>lib/billy/handlers/stub_handler.rb.diff
original:
find_stub(method, url).nil? ? false : true
updated:
!find_stub(method, url).nil?
<|file_sep|>original/lib/billy/handlers/stub_handler.rb
def handles_request?(method, url, headers, body)
find_stub(method, url).nil? ? false : true
end... | 9310f1ac27140b660a32513e351fb74e11d5c44f | lib/billy/handlers/stub_handler.rb | lib/billy/handlers/stub_handler.rb | Ruby |
<|file_sep|>src/Store.ts.diff
original:
updated:
/** dispatch actions into the store */
<|file_sep|>src/Store.ts.diff
original:
updated:
/** observable of actions after flows applied */
flow$: Observable<Action>
/** observable of state after flows and soaks applied */
<|file_sep|>src/Store.ts.diff
ori... | const subject$ = new Subject<Action>();
// flow
const flow$ = flow(subject$).share();
// soak
const fullSoak = completeSoak(soak);
const scan$ = flow$.scan<Action, State>(fullSoak, initialState);
// state
const state$ = (initialState
? Observable.concat(Observable.of(initialState... | <|file_sep|>src/Store.ts.diff
original:
updated:
/** dispatch actions into the store */
<|file_sep|>src/Store.ts.diff
original:
updated:
/** observable of actions after flows applied */
flow$: Observable<Action>
/** observable of state after flows and soaks applied */
<|file_sep|>src/Store.ts.diff
ori... | 2346c74bb6e5554dbb28daef304cfa79f59f025d | src/Store.ts | src/Store.ts | TypeScript |
<|file_sep|>original/ckanext/nrgi/templates/scheming/display_snippets/multiple_link_with_labels_nrgi.html
{% for choice in field.choices if choice.value in data[field.field_name] %}
<a href="/dataset?{{field.field_name}}={{choice.value}}">{{choice.label}}</a>{% if not loop.last %},<br>{% endif %}
{% endfor %}
<|file_se... | {% for choice in field.choices if choice.value in data[field.field_name] %}
<a href='/dataset?q={{field.field_name}}:"[\"{{choice.value}}\"]"'>{{choice.label}}</a>{% if not loop.last %},<br>{% endif %}
{% endfor %} | <|file_sep|>original/ckanext/nrgi/templates/scheming/display_snippets/multiple_link_with_labels_nrgi.html
{% for choice in field.choices if choice.value in data[field.field_name] %}
<a href="/dataset?{{field.field_name}}={{choice.value}}">{{choice.label}}</a>{% if not loop.last %},<br>{% endif %}
{% endfor %}
<|file_se... | 1e2781afe50f72a3dd804e25b63ad5a3718dd833 | ckanext/nrgi/templates/scheming/display_snippets/multiple_link_with_labels_nrgi.html | ckanext/nrgi/templates/scheming/display_snippets/multiple_link_with_labels_nrgi.html | HTML |
<|file_sep|>original/Tests/GABoardGameGeekTests/GABoardGameGeekTests.swift
import XCTest
@testable import GABoardGameGeek
final class GABoardGameGeekTests: XCTestCase {
func testExample() throws {
// This is an example of a functional test case.
// Use XCTAssert and related functions to verify your... | import XCTest
@testable import GABoardGameGeek
final class GABoardGameGeekTests: XCTestCase {
func testGetGame() throws {
let exp = expectation(description: "Check Getting a Game Succeeds")
var testGame: BoardGame?
GABoardGameGeek().getGameById(36218) { result in
switch(result)... | <|file_sep|>original/Tests/GABoardGameGeekTests/GABoardGameGeekTests.swift
import XCTest
@testable import GABoardGameGeek
final class GABoardGameGeekTests: XCTestCase {
func testExample() throws {
// This is an example of a functional test case.
// Use XCTAssert and related functions to verify your... | a52edca87872d82358bf3a9982264f2b302cefe0 | Tests/GABoardGameGeekTests/GABoardGameGeekTests.swift | Tests/GABoardGameGeekTests/GABoardGameGeekTests.swift | Swift |
<|file_sep|>original/src/mscorlib/shared/System/InvalidTimeZoneException.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Runtime.Serialization;
nam... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Runtime.Serialization;
namespace System
{
[Serializable]
[System.Runtime.CompilerServices.Type... | <|file_sep|>original/src/mscorlib/shared/System/InvalidTimeZoneException.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Runtime.Serialization;
nam... | de8fed9e8b0cf7377735e0c31376750942190220 | src/mscorlib/shared/System/InvalidTimeZoneException.cs | src/mscorlib/shared/System/InvalidTimeZoneException.cs | C# |
<|file_sep|>original/mysite/deployment_settings.py
from settings import *
OHLOH_API_KEY='SXvLaGPJFaKXQC0VOocAg'
DEBUG=False
ADMINS=[
('All OH devs', 'devel@openhatch.org'),
]
INVITE_MODE=True # Enabled on production site
INVITATIONS_PER_USER=20
TEMPLTE_DEBUG=False
<|file_sep|>current/mysite/deployment_settings.p... | from settings import *
OHLOH_API_KEY='SXvLaGPJFaKXQC0VOocAg'
DEBUG=False
ADMINS=[
('All OH devs', 'devel@lists.openhatch.org'),
]
INVITE_MODE=True # Enabled on production site
INVITATIONS_PER_USER=20
TEMPLTE_DEBUG=False | <|file_sep|>original/mysite/deployment_settings.py
from settings import *
OHLOH_API_KEY='SXvLaGPJFaKXQC0VOocAg'
DEBUG=False
ADMINS=[
('All OH devs', 'devel@openhatch.org'),
]
INVITE_MODE=True # Enabled on production site
INVITATIONS_PER_USER=20
TEMPLTE_DEBUG=False
<|file_sep|>current/mysite/deployment_settings.p... | dfc6e7d9b6c415dc230b5ea4948e59a486e7364c | mysite/deployment_settings.py | mysite/deployment_settings.py | Python |
<|file_sep|>CHANGELOG.md.diff
original:
updated:
### v2.0.3
<|file_sep|>original/CHANGELOG.md
### v2.0.0 (not yet released)
* KDBX v4.0 support
* Argon2 support
* ChaCha20 support
* Restructured code
* Fixed support for keyfile
* Moved type wrappers into separate package
### v1.0.0
* KDBX v3.1 support
<|file_sep|>... | ### v2.0.3
* Add KDBX4 HMAC verification on file decoding
### v2.0.2
* Fix KDBX4 HMAC building for encrypted content blocks on file encoding
### v2.0.1
* Drop counter for SalsaStream
### v2.0.0
* KDBX v4.0 support
* Argon2 support
* ChaCha20 support
* Restructured code
* Fixed support for keyfile
* Moved type wr... | <|file_sep|>CHANGELOG.md.diff
original:
updated:
### v2.0.3
<|file_sep|>original/CHANGELOG.md
### v2.0.0 (not yet released)
* KDBX v4.0 support
* Argon2 support
* ChaCha20 support
* Restructured code
* Fixed support for keyfile
* Moved type wrappers into separate package
### v1.0.0
* KDBX v3.1 support
<|file_sep|>... | 4f513b29eb0670d896c178fab3032707905116e3 | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>docker-build.sh.diff
original:
apt-get update
apt-get -y install zip
updated:
<|file_sep|>original/docker-build.sh
#! /bin/sh
set -e
apt-get update
apt-get -y install zip
dotnet restore
dotnet pack -c Release -o /src/packages
dotnet publish -c Release -o /src/publish/dotnet-toolbox
zip -r /src/publish/dotn... | #! /bin/sh
set -e
dotnet restore
dotnet pack -c Release -o /src/packages
dotnet publish -c Release -o /src/publish/dotnet-toolbox | <|file_sep|>docker-build.sh.diff
original:
apt-get update
apt-get -y install zip
updated:
<|file_sep|>original/docker-build.sh
#! /bin/sh
set -e
apt-get update
apt-get -y install zip
dotnet restore
dotnet pack -c Release -o /src/packages
dotnet publish -c Release -o /src/publish/dotnet-toolbox
zip -r /src/publish/dotn... | 454939928dbd41aa212c33d3bbcede828f8cd1fe | docker-build.sh | docker-build.sh | Shell |
<|file_sep|>app/controllers/application_controller.rb.diff
original:
updated:
# frozen_string_literal: true
<|file_sep|>app/controllers/application_controller.rb.diff
original:
protect_from_forgery with: :exception
updated:
protect_from_forgery :with => :exception
<|file_sep|>original/app/controllers/application_... | protect_from_forgery :with => :exception
# Check if authorization is performed for every controller action
check_authorization :unless => :devise_controller?
# CanCan bug, see https://github.com/ryanb/cancan/issues/835#issuecomment-18663815
before_action do
resource = controller_name.singularize.to_sym
... | <|file_sep|>app/controllers/application_controller.rb.diff
original:
updated:
# frozen_string_literal: true
<|file_sep|>app/controllers/application_controller.rb.diff
original:
protect_from_forgery with: :exception
updated:
protect_from_forgery :with => :exception
<|file_sep|>original/app/controllers/application_... | bb699e969ece3da478c06ce954f4219332195d99 | app/controllers/application_controller.rb | app/controllers/application_controller.rb | Ruby |
<|file_sep|>original/docs/deploy.sh
#!/bin/bash
set -ev
if [ "$TRAVIS_PYTHON_VERSION" == "3.5" ]; then
cd docs
conda install --file requirements.txt
sphinx-apidoc -M -f -o api ../pocean ../pocean/tests
make html
doctr deploy . --built-docs=_site/html
cd ..
fi
<|file_sep|>current/docs/deploy.sh
... | #!/bin/bash
set -ev
if [ "$TRAVIS_PYTHON_VERSION" == "3.5" ]; then
cd docs
conda install --file requirements.txt
sphinx-apidoc -M -f -o api ../pocean ../pocean/tests
make html
doctr deploy --built-docs=_site --gh-pages-docs .
cd ..
fi | <|file_sep|>original/docs/deploy.sh
#!/bin/bash
set -ev
if [ "$TRAVIS_PYTHON_VERSION" == "3.5" ]; then
cd docs
conda install --file requirements.txt
sphinx-apidoc -M -f -o api ../pocean ../pocean/tests
make html
doctr deploy . --built-docs=_site/html
cd ..
fi
<|file_sep|>current/docs/deploy.sh
... | 06a486cf4c11d0f2105d9a8c10c54d3c947a7d66 | docs/deploy.sh | docs/deploy.sh | Shell |
<|file_sep|>Package.swift.diff
original:
updated:
var platforms: [SupportedPlatform] {
#if compiler(<5.3)
return [
.macOS(.v10_10), .iOS(.v8), .tvOS(.v9), .watchOS(.v2)
]
#else
// Xcode 12 (which ships with Swift 5.3) drops support for iOS 8
return [
.mac... | // Xcode 12 (which ships with Swift 5.3) drops support for iOS 8
return [
.macOS(.v10_10), .iOS(.v9), .tvOS(.v9), .watchOS(.v2)
]
#endif
}
let package = Package(
name: "APIKit",
platforms: platforms,
products: [
.library(name: "APIKit", targets: ["APIKit"]),
... | <|file_sep|>Package.swift.diff
original:
updated:
var platforms: [SupportedPlatform] {
#if compiler(<5.3)
return [
.macOS(.v10_10), .iOS(.v8), .tvOS(.v9), .watchOS(.v2)
]
#else
// Xcode 12 (which ships with Swift 5.3) drops support for iOS 8
return [
.mac... | 3e4729d397d98520a87c681bfc85a0171b846e3e | Package.swift | Package.swift | Swift |
<|file_sep|>original/overcommit.gemspec
s.authors = ['Causes Engineering', 'Shane da Silva']
s.email = ['eng@causes.com', 'shane@causes.com']
s.homepage = Overcommit::REPO_URL
s.post_install_message =
'Install hooks by running `overcommit --install` in your Git re... | s.homepage = Overcommit::REPO_URL
s.post_install_message =
'Install hooks by running `overcommit --install` in your Git repository'
s.require_paths = %w[lib]
s.executables = ['overcommit']
s.files = Dir['bin/**/*'] +
Dir['confi... | <|file_sep|>original/overcommit.gemspec
s.authors = ['Causes Engineering', 'Shane da Silva']
s.email = ['eng@causes.com', 'shane@causes.com']
s.homepage = Overcommit::REPO_URL
s.post_install_message =
'Install hooks by running `overcommit --install` in your Git re... | cf08f8017c8ba549e96d86f47586ab0567156075 | overcommit.gemspec | overcommit.gemspec | Ruby |
<|file_sep|>tests/bootstrap.php.diff
original:
updated:
// @codingStandardsIgnoreFile
<|file_sep|>original/tests/bootstrap.php
<?php
include __DIR__ . '/../vendor/autoload.php'; // composer autoload
$kernel = \AspectMock\Kernel::getInstance();
$kernel->init([
'debug' => true,
'cacheDir' => sys_get_temp_dir()... | <?php
// @codingStandardsIgnoreFile
include __DIR__ . '/../vendor/autoload.php'; // composer autoload
if (!function_exists('uuid_create')) {
// Create stub of method so AspectMock can mock this function
// if it doesn't exist in PHP.
function uuid_create() {}
}
if (!function_exists('uuid_parse')) {
/... | <|file_sep|>tests/bootstrap.php.diff
original:
updated:
// @codingStandardsIgnoreFile
<|file_sep|>original/tests/bootstrap.php
<?php
include __DIR__ . '/../vendor/autoload.php'; // composer autoload
$kernel = \AspectMock\Kernel::getInstance();
$kernel->init([
'debug' => true,
'cacheDir' => sys_get_temp_dir()... | 3f43661fdc25962a8daa500d4bc65fbcabf4de81 | tests/bootstrap.php | tests/bootstrap.php | PHP |
<|file_sep|>original/tox.ini
[tox]
minversion = 1.6
envlist = py26,py27,py33,pep8
skipsdist = True
[testenv]
setenv = VIRTUAL_ENV={envdir}
install_command = pip install -U {opts} {packages}
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =
python setup.py testr --slowest ... | [tox]
minversion = 1.6
envlist = py26,py27,py33,py34,pep8
skipsdist = True
[testenv]
setenv = VIRTUAL_ENV={envdir}
install_command = pip install -U {opts} {packages}
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =
python setup.py testr --slowest --testr-args='{posargs}'... | <|file_sep|>original/tox.ini
[tox]
minversion = 1.6
envlist = py26,py27,py33,pep8
skipsdist = True
[testenv]
setenv = VIRTUAL_ENV={envdir}
install_command = pip install -U {opts} {packages}
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =
python setup.py testr --slowest ... | 6333b0941ae0efbb22c3ade3440655b2c3eddd20 | tox.ini | tox.ini | INI |
<|file_sep|>app/Console/Kernel.php.diff
original:
use App\Jobs\ParseBounces;
updated:
<|file_sep|>original/app/Console/Kernel.php
*/
protected function schedule(Schedule $schedule)
{
$schedule
->call(function () {
Draw::cleanup();
})
->daily()
... | protected function schedule(Schedule $schedule)
{
$schedule
->call(function () {
Draw::cleanup();
})
->daily()
->environments('prod');
$schedule
->command('bounces:parse')
->everyMinute()
->witho... | <|file_sep|>app/Console/Kernel.php.diff
original:
use App\Jobs\ParseBounces;
updated:
<|file_sep|>original/app/Console/Kernel.php
*/
protected function schedule(Schedule $schedule)
{
$schedule
->call(function () {
Draw::cleanup();
})
->daily()
... | 8168cb36a4a37b831bf9f6152ae2043a6e6be0ce | app/Console/Kernel.php | app/Console/Kernel.php | PHP |
<|file_sep|>README.md.diff
original:
feat/ Features
bugfix/ Bug fixes
exp/ Experimental
updated:
feat_ Features
bugfix_ Bug fixes
exp_ Experimental
<|file_sep|>README.md.diff
original:
updated:
#### Pull requests
When creating pull requests, use closes keyword to group with issue in w... | ```
## Coding conventions
#### Branch naming
```
feat_ Features
bugfix_ Bug fixes
exp_ Experimental
(If using / in branch name, waffle will interpret as cross repo reference and not move issue automatically)
```
#### Pull requests
When creating pull requests, use closes keyword to group with issue in ... | <|file_sep|>README.md.diff
original:
feat/ Features
bugfix/ Bug fixes
exp/ Experimental
updated:
feat_ Features
bugfix_ Bug fixes
exp_ Experimental
<|file_sep|>README.md.diff
original:
updated:
#### Pull requests
When creating pull requests, use closes keyword to group with issue in w... | c4ca11a3d84e709a44167486643cd7b0645a8635 | README.md | README.md | Markdown |
<|file_sep|>CHANGELOG.md.diff
original:
updated:
[Compare v0.2.0...v0.3.0](https://github.com/dry-rb/dry-result_matcher/compare/v0.2.0...v0.3.0)
<|file_sep|>original/CHANGELOG.md
## Changed
* Expect monads from [dry-monads](https://github.com/dry-rb/dry-monads) instead of [Kleisli](https://github.com/txus/kleisli) (... | [Compare v0.3.0...v0.4.0](https://github.com/dry-rb/dry-result_matcher/compare/v0.3.0...v0.4.0)
# 0.3.0 / 2016-03-23
## Changed
* Renamed to `dry-result_matcher`. Match results using `Dry::ResultMatcher.match` or extend your own classes with `Dry::ResultMatcher.for`.
[Compare v0.2.0...v0.3.0](https://github.com/dry... | <|file_sep|>CHANGELOG.md.diff
original:
updated:
[Compare v0.2.0...v0.3.0](https://github.com/dry-rb/dry-result_matcher/compare/v0.2.0...v0.3.0)
<|file_sep|>original/CHANGELOG.md
## Changed
* Expect monads from [dry-monads](https://github.com/dry-rb/dry-monads) instead of [Kleisli](https://github.com/txus/kleisli) (... | 37d5f8bed204f4a2c9d676ba5adb370c684caceb | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>.travis.yml.diff
original:
updated:
jdk: oraclejdk8
<|file_sep|>.travis.yml.diff
original:
updated:
jdk: oraclejdk8
<|file_sep|>original/.travis.yml
- os: linux
language: android
env: ANDROID_TARGET=android-15
- os: linux
language: android
... | - os: linux
language: android
jdk: oraclejdk8
env: ANDROID_TARGET=android-15
- os: linux
language: android
jdk: oraclejdk8
env: ANDROID_TARGET=android-16
- os: linux
language: android
jdk: oraclejdk8
env: A... | <|file_sep|>.travis.yml.diff
original:
updated:
jdk: oraclejdk8
<|file_sep|>.travis.yml.diff
original:
updated:
jdk: oraclejdk8
<|file_sep|>original/.travis.yml
- os: linux
language: android
env: ANDROID_TARGET=android-15
- os: linux
language: android
... | 9a107b0b0a39d52fdd40e521584e8157df1adf6e | .travis.yml | .travis.yml | YAML |
<|file_sep|>server/zanata-frontend/src/frontend/app/containers/ProjectVersion/index.js.diff
original:
import Helmet from 'react-helmet'
updated:
<|file_sep|>original/server/zanata-frontend/src/frontend/app/containers/ProjectVersion/index.js
openTMMergeModal: PropTypes.func.isRequired,
params: PropTypes.shape({... | params: PropTypes.shape({
project: PropTypes.string.isRequired,
version: PropTypes.string.isRequired
})
}
render () {
const { params } = this.props
return (
<div className='page wide-view-theme' id='version'>
<div className='center-block'>
<TMMergeModal projectSl... | <|file_sep|>server/zanata-frontend/src/frontend/app/containers/ProjectVersion/index.js.diff
original:
import Helmet from 'react-helmet'
updated:
<|file_sep|>original/server/zanata-frontend/src/frontend/app/containers/ProjectVersion/index.js
openTMMergeModal: PropTypes.func.isRequired,
params: PropTypes.shape({... | 991f3bdc32fd74e8cd2eca88b2b680ec26f58622 | server/zanata-frontend/src/frontend/app/containers/ProjectVersion/index.js | server/zanata-frontend/src/frontend/app/containers/ProjectVersion/index.js | JavaScript |
<|file_sep|>BoxJavaLibraryV2/src/com/box/boxjavalibv2/authorization/IAuthFlowUI.java.diff
original:
updated:
import com.box.boxjavalibv2.BoxClient;
<|file_sep|>original/BoxJavaLibraryV2/src/com/box/boxjavalibv2/authorization/IAuthFlowUI.java
public interface IAuthFlowUI {
/**
* Authenticate.
*
* ... | /**
* Authenticate.
*
* @param listener
* listener listening to events/messages fired during authentication process.
*/
void authenticate(IAuthFlowListener listener);
/**
* Initialize the UI for OAuth flow. This needs to be called everytime before starting an auth ... | <|file_sep|>BoxJavaLibraryV2/src/com/box/boxjavalibv2/authorization/IAuthFlowUI.java.diff
original:
updated:
import com.box.boxjavalibv2.BoxClient;
<|file_sep|>original/BoxJavaLibraryV2/src/com/box/boxjavalibv2/authorization/IAuthFlowUI.java
public interface IAuthFlowUI {
/**
* Authenticate.
*
* ... | 5a0fbefbbb452f035636eb68a31382b1d44e8f49 | BoxJavaLibraryV2/src/com/box/boxjavalibv2/authorization/IAuthFlowUI.java | BoxJavaLibraryV2/src/com/box/boxjavalibv2/authorization/IAuthFlowUI.java | Java |
<|file_sep|>db/schema.rb.diff
original:
t.string "title"
updated:
t.string "title", null: false
<|file_sep|>original/db/schema.rb
ActiveRecord::Schema.define(version: 20150618193748) do
# These are extensions that must be enabled in order to support this database
enable_extension ... |
ActiveRecord::Schema.define(version: 20150618193748) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
create_table "skills", force: :cascade do |t|
t.string "title", null: false
t.integer "current_streak", default: 1
... | <|file_sep|>db/schema.rb.diff
original:
t.string "title"
updated:
t.string "title", null: false
<|file_sep|>original/db/schema.rb
ActiveRecord::Schema.define(version: 20150618193748) do
# These are extensions that must be enabled in order to support this database
enable_extension ... | 6e145f1862dd15af104c44753a7bac49db28d530 | db/schema.rb | db/schema.rb | Ruby |
<|file_sep|>original/workflow-RNA-Seq_Salmon.py
config = configuration.configure_runtime(args.configuration)
sys.stdout.write("Parsing sample data\n")
samples = configuration.configure_samples(args.samples_file, config)
# Workflow Graph definition. The following workflow definition should create a val... | config = configuration.configure_runtime(args.configuration)
sys.stdout.write("Parsing sample data\n")
samples = configuration.configure_samples(args.samples_file, config)
# Workflow Graph definition. The following workflow definition should create a valid Directed Acyclic Graph (DAG)
root_job = J... | <|file_sep|>original/workflow-RNA-Seq_Salmon.py
config = configuration.configure_runtime(args.configuration)
sys.stdout.write("Parsing sample data\n")
samples = configuration.configure_samples(args.samples_file, config)
# Workflow Graph definition. The following workflow definition should create a val... | e96c1e6fc5cc64ccc9e8ba8c91285ce4feb90a7c | workflow-RNA-Seq_Salmon.py | workflow-RNA-Seq_Salmon.py | Python |
<|file_sep|>NoteWrangler/app/js/controllers/nw-category-select.controller.js.diff
original:
updated:
vm.getCategoryCount = _getCategoryCount;
<|file_sep|>original/NoteWrangler/app/js/controllers/nw-category-select.controller.js
function nwCategorySelectController(Category) {
let vm = this;
vm.query = _... | return Category.query();
}
function _getActiveCategory() {
return vm.activeCategory;
}
function _setActiveCategory(newCategory) {
vm.activeCategory = newCategory.name;
}
function _getCategoryCount(notes, category) {
let categoryNotes = notes.filter( (v) => {
r... | <|file_sep|>NoteWrangler/app/js/controllers/nw-category-select.controller.js.diff
original:
updated:
vm.getCategoryCount = _getCategoryCount;
<|file_sep|>original/NoteWrangler/app/js/controllers/nw-category-select.controller.js
function nwCategorySelectController(Category) {
let vm = this;
vm.query = _... | 24ead265909e2877661a334dee979a11f8283132 | NoteWrangler/app/js/controllers/nw-category-select.controller.js | NoteWrangler/app/js/controllers/nw-category-select.controller.js | JavaScript |
<|file_sep|>original/tests/ApiKeyTest.php
<|file_sep|>current/tests/ApiKeyTest.php
<|file_sep|>updated/tests/ApiKeyTest.php | <?php
use Northstar\Models\ApiKey;
class ApiKeyTest extends TestCase
{
protected $adminScope;
protected $userScope;
public function setUp()
{
parent::setUp();
// Migrate & seed database
$this->artisan('migrate');
$this->seed();
$this->adminScope = [
... | <|file_sep|>original/tests/ApiKeyTest.php
<|file_sep|>current/tests/ApiKeyTest.php
<|file_sep|>updated/tests/ApiKeyTest.php
<?php
use Northstar\Models\ApiKey;
class ApiKeyTest extends TestCase
{
protected $adminScope;
protected $userScope;
public function setUp()
{
parent::setUp();
... | 346b1a6fcdeffb7cf62b1d975a7ccb253bde6dca | tests/ApiKeyTest.php | tests/ApiKeyTest.php | PHP |
<|file_sep|>original/trucking-storm-topology/src/main/scala/com/orendainx/hortonworks/trucking/storm/schemes/BytesToStringScheme.scala
package com.orendainx.hortonworks.trucking.storm.schemes
import java.nio.ByteBuffer
import org.apache.storm.tuple.{Fields, Values}
/**
* Scheme for parsing speed events.
*
* @a... | package com.orendainx.hortonworks.trucking.storm.schemes
import java.nio.ByteBuffer
import org.apache.storm.tuple.{Fields, Values}
/**
* Scheme for parsing speed events.
*
* @author Edgar Orendain <edgar@orendainx.com>
*/
class BytesToStringScheme(dataType: String) extends DelimitedScheme("\\|") {
overrid... | <|file_sep|>original/trucking-storm-topology/src/main/scala/com/orendainx/hortonworks/trucking/storm/schemes/BytesToStringScheme.scala
package com.orendainx.hortonworks.trucking.storm.schemes
import java.nio.ByteBuffer
import org.apache.storm.tuple.{Fields, Values}
/**
* Scheme for parsing speed events.
*
* @a... | 75f349385fab149a28f81078df602377fb07cc60 | trucking-storm-topology/src/main/scala/com/orendainx/hortonworks/trucking/storm/schemes/BytesToStringScheme.scala | trucking-storm-topology/src/main/scala/com/orendainx/hortonworks/trucking/storm/schemes/BytesToStringScheme.scala | Scala |
<|file_sep|>original/.travis.yml
language: php
php:
- 5.5
- 5.6
- '7'
mysql:
database: activecollab_jobs_queue_test
username: root
encoding: utf8mb4
install: composer install --dev
before_script:
# create the database
- mysql -e 'create database if not exists activecollab_jobs_queue_test;'
script: phpun... | language: php
php:
- 5.6
- '7'
mysql:
database: activecollab_jobs_queue_test
username: root
encoding: utf8mb4
install: composer install --dev
before_script:
# create the database
- mysql -e 'create database if not exists activecollab_jobs_queue_test;'
script: phpunit -c test/phpunit.xml | <|file_sep|>original/.travis.yml
language: php
php:
- 5.5
- 5.6
- '7'
mysql:
database: activecollab_jobs_queue_test
username: root
encoding: utf8mb4
install: composer install --dev
before_script:
# create the database
- mysql -e 'create database if not exists activecollab_jobs_queue_test;'
script: phpun... | cfcebcf3a31ea2223b23093daa0cb7f5d23c133e | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/vim/rcfiles/indentation.vim
set shiftwidth=2
" Number of spaces in tab when editing
set softtabstop=2
" Number of visual spaces per TAB
set tabstop=2
" Fix code indentation
nnoremap <F7> mzgg=G`z
" Display extra whitespace.
set list
set listchars=tab:»·,trail:·,nbsp:·
" Ident like most editors... |
" Number of visual spaces per TAB
set tabstop=2
" Fix code indentation
nnoremap <F7> mzgg=G`z
" Display extra whitespace.
set list
set listchars=tab:»·,trail:·,nbsp:·
" Make every wrapped line visually indented.
set breakindent
let &showbreak = '››› '
" Ident like most editors do.
" Note: In insert mode, you can j... | <|file_sep|>original/vim/rcfiles/indentation.vim
set shiftwidth=2
" Number of spaces in tab when editing
set softtabstop=2
" Number of visual spaces per TAB
set tabstop=2
" Fix code indentation
nnoremap <F7> mzgg=G`z
" Display extra whitespace.
set list
set listchars=tab:»·,trail:·,nbsp:·
" Ident like most editors... | 67b7d18dbfd67ba38d27b85d7c727cf6edf3343a | vim/rcfiles/indentation.vim | vim/rcfiles/indentation.vim | VimL |
<|file_sep|>original/fontello.js
nodeca.runtime.version = require('./package.json').version;
//
// Catch unexpected exceptions
//
process.on('uncaughtException', function (err) {
nodeca.logger.warn('Uncaught exception');
nodeca.logger.error(err);
});
//
// Run application
//
app.run();
<|file_sep|>current/... |
nodeca.runtime.version = require('./package.json').version;
//
// Catch unexpected exceptions
//
process.on('uncaughtException', function (err) {
try {
nodeca.logger.warn('Uncaught exception');
nodeca.logger.error(err);
} catch (err) {
// THIS SHOULD NEVER-EVER-EVER HAPPEN -- THIS IS A WORST CASE S... | <|file_sep|>original/fontello.js
nodeca.runtime.version = require('./package.json').version;
//
// Catch unexpected exceptions
//
process.on('uncaughtException', function (err) {
nodeca.logger.warn('Uncaught exception');
nodeca.logger.error(err);
});
//
// Run application
//
app.run();
<|file_sep|>current/... | 0d40f465eaf0b5cdc92f042d8c7a1a7dbcf36074 | fontello.js | fontello.js | JavaScript |
<|file_sep|>original/index.js
module.exports = {
Builder: require("./lib/builder").Builder,
defaultConfig: require("./lib/defaults")
};
<|file_sep|>current/index.js
module.exports = {
Builder: require("./lib/builder").Builder,
defaultConfig: require("./lib/defaults")
};
<|file_sep|>updated/index.js | module.exports = {
Builder: require("./lib/builder").Builder,
defaultConfig: require("./lib/default")
}; | <|file_sep|>original/index.js
module.exports = {
Builder: require("./lib/builder").Builder,
defaultConfig: require("./lib/defaults")
};
<|file_sep|>current/index.js
module.exports = {
Builder: require("./lib/builder").Builder,
defaultConfig: require("./lib/defaults")
};
<|file_sep|>updated/index.js
modu... | acd16ec4341cbd416951712afe3e52a761027dde | index.js | index.js | JavaScript |
<|file_sep|>original/.github/workflows/build.yml
access_token: ${{ github.token }}
build:
name: 'Build and test'
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
matrix:
node-version: [12.x, 14.x]
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
... | access_token: ${{ github.token }}
build:
name: 'Build and test'
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
matrix:
node-version: [14.x,15.x]
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v2
- name: Us... | <|file_sep|>original/.github/workflows/build.yml
access_token: ${{ github.token }}
build:
name: 'Build and test'
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
matrix:
node-version: [12.x, 14.x]
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
... | 286c29c0ce2d622a8aa821fbb6c2ba67ee728324 | .github/workflows/build.yml | .github/workflows/build.yml | YAML |
<|file_sep|>available-roles.mk.diff
original:
ln -s roles/common/ansible.mk ansible-common.mk
updated:
<|file_sep|>available-roles.mk.diff
original:
updated:
ln -s roles/common/ansible.mk ansible-common.mk
<|file_sep|>available-roles.mk.diff
original:
ln -s roles/gpdb-ansible/ansible.mk ansible-gpdb-ansible.mk
upd... | @echo "gpdb-ansible: an Ansible role to install Greenplum Database"
@echo " https://github.com/andreasscherbaum/gpdb-ansible"
common:
ifneq (,$(wildcard roles/common))
cd roles/common && git pull
else
git clone https://github.com/andreasscherbaum/ansible-common.git roles/common
ln -s roles/common/ansible.mk an... | <|file_sep|>available-roles.mk.diff
original:
ln -s roles/common/ansible.mk ansible-common.mk
updated:
<|file_sep|>available-roles.mk.diff
original:
updated:
ln -s roles/common/ansible.mk ansible-common.mk
<|file_sep|>available-roles.mk.diff
original:
ln -s roles/gpdb-ansible/ansible.mk ansible-gpdb-ansible.mk
upd... | d0b732f14c7cdf441ff2689712ec7130f0add60b | available-roles.mk | available-roles.mk | Makefile |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "node"
before_install:
- sudo add-apt-repository ppa:rethinkdb/ppa -y
- sudo apt-get update -qq
- sudo apt-get install rethinkdb -y --force-yes
before_script:
- rethinkdb --daemon
- npm install
- node ./lib/node.js --port-offset 1
- sleep 10
... | language: node_js
node_js:
- "node"
before_install:
- sudo add-apt-repository ppa:rethinkdb/ppa -y
- sudo apt-get update -qq
- sudo apt-get install rethinkdb -y --force-yes
before_script:
- rethinkdb --daemon
- npm install
- node ./lib/node.js --port-offset 1 &
- sleep 10
after_script:
- killall rethi... | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "node"
before_install:
- sudo add-apt-repository ppa:rethinkdb/ppa -y
- sudo apt-get update -qq
- sudo apt-get install rethinkdb -y --force-yes
before_script:
- rethinkdb --daemon
- npm install
- node ./lib/node.js --port-offset 1
- sleep 10
... | b0cd176077d28a8039854a90775c5a9e9f3ea008 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
Open edX 2015 conference slides
===============================
This repo contains the slides from my talk, and [here is the video](https://www.youtube.com/watch?v=V1EBo1l8BgY).
Just download the source and open it in a browser:
git clone https://github.com/regisb/openedx-conferenc... | Open edX 2015 conference slides
===============================
This repo contains the slides from my talk, and [here is the video](https://www.youtube.com/watch?v=V1EBo1l8BgY).
The slides are visible here: [http://regisb.github.io/openedx-conference-2015](http://regisb.github.io/openedx-conference-2015). | <|file_sep|>original/README.md
Open edX 2015 conference slides
===============================
This repo contains the slides from my talk, and [here is the video](https://www.youtube.com/watch?v=V1EBo1l8BgY).
Just download the source and open it in a browser:
git clone https://github.com/regisb/openedx-conferenc... | ddbf60b54478b0d5c0062723115c93b567f9ab11 | README.md | README.md | Markdown |
<|file_sep|>original/osu.Framework/Extensions/PopoverExtensions.cs
public static class PopoverExtensions
{
/// <summary>
/// Shows the popover for <paramref name="hasPopover"/> on its nearest <see cref="PopoverContainer"/> ancestor.
/// </summary>
public static void ShowPopover(t... | {
/// <summary>
/// Shows the popover for <paramref name="hasPopover"/> on its nearest <see cref="PopoverContainer"/> ancestor.
/// </summary>
public static void ShowPopover(this IHasPopover hasPopover) => setTargetOnNearestPopover((Drawable)hasPopover, hasPopover);
/// <sum... | <|file_sep|>original/osu.Framework/Extensions/PopoverExtensions.cs
public static class PopoverExtensions
{
/// <summary>
/// Shows the popover for <paramref name="hasPopover"/> on its nearest <see cref="PopoverContainer"/> ancestor.
/// </summary>
public static void ShowPopover(t... | 27921b99be9131e1b8ee22af4f298cfc01a01536 | osu.Framework/Extensions/PopoverExtensions.cs | osu.Framework/Extensions/PopoverExtensions.cs | C# |
<|file_sep|>original/app/assets/stylesheets/comfortable_mexican_sofa/admin/helpers/_fixedsticky.scss
&.fixedsticky-on {
background: $color-fixedsticky-background;
}
}
.fixedsticky-background--page-title {
@extend %z-index--fixedsticky;
&.fixedsticky-on {
height: 70px;
left: 0;
top: 0;
}
}
... |
&.fixedsticky-on {
background: $color-fixedsticky-background;
}
}
.fixedsticky-background--page-title {
@extend %z-index--fixedsticky;
&.fixedsticky-on {
height: 75px;
left: 0;
top: 0;
}
}
.fixedsticky-background--toolbar {
@extend %z-index--fixedsticky;
&.fixedsticky-on {
height:... | <|file_sep|>original/app/assets/stylesheets/comfortable_mexican_sofa/admin/helpers/_fixedsticky.scss
&.fixedsticky-on {
background: $color-fixedsticky-background;
}
}
.fixedsticky-background--page-title {
@extend %z-index--fixedsticky;
&.fixedsticky-on {
height: 70px;
left: 0;
top: 0;
}
}
... | 51cb4a347f014482a486c935a2c15c0745628854 | app/assets/stylesheets/comfortable_mexican_sofa/admin/helpers/_fixedsticky.scss | app/assets/stylesheets/comfortable_mexican_sofa/admin/helpers/_fixedsticky.scss | SCSS |
<|file_sep|>original/requirements_dev.txt
pip==8.1.2
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.2.1
tox==2.3.1
coverage==4.2
Sphinx==1.4.8
cryptography==1.4
PyYAML==3.11
pytest==2.9.2
<|file_sep|>current/requirements_dev.txt
pip==8.1.2
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.2.1
tox==... | pip==8.1.2
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.2.1
tox==2.3.1
coverage==4.2
Sphinx==1.4.8
cryptography==1.4
PyYAML==3.11
pytest==3.0.4 | <|file_sep|>original/requirements_dev.txt
pip==8.1.2
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.2.1
tox==2.3.1
coverage==4.2
Sphinx==1.4.8
cryptography==1.4
PyYAML==3.11
pytest==2.9.2
<|file_sep|>current/requirements_dev.txt
pip==8.1.2
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.2.1
tox==... | 025ef1318369598f09dab2c83974a5c1a2e4ebce | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/ansible/roles/murano-agent/files/100-murano-agent.sh
#!/bin/bash
. $(dirname $0)/../assert.sh
### murano-agent service is installed and not running (return code 3)
assert_raises "service murano-agent status" 3
assert_end "murano-agent is installed and disabled"
<|file_sep|>current/ansible/roles/mu... | #!/bin/bash
. $(dirname $0)/../assert.sh
### murano-agent service is installed and not running (return code 3)
assert_raises "systemctl status murano-agent" 3
assert_end "murano-agent is installed and disabled" | <|file_sep|>original/ansible/roles/murano-agent/files/100-murano-agent.sh
#!/bin/bash
. $(dirname $0)/../assert.sh
### murano-agent service is installed and not running (return code 3)
assert_raises "service murano-agent status" 3
assert_end "murano-agent is installed and disabled"
<|file_sep|>current/ansible/roles/mu... | 69e60d59a58e5cfb7f131cbe2a498322b4fa1784 | ansible/roles/murano-agent/files/100-murano-agent.sh | ansible/roles/murano-agent/files/100-murano-agent.sh | Shell |
<|file_sep|>original/web/models/league.ex
defmodule Officetournament.League do
use Officetournament.Web, :model
schema "leagues" do
field :name, :string
timestamps
end
@required_fields ~w(name)
@optional_fields ~w()
@doc """
Creates a changeset based on the `model` and `params`.
If no param... | defmodule Officetournament.League do
use Officetournament.Web, :model
schema "leagues" do
field :name, :string
has_many :memberships, Officetournament.Membership
timestamps
end
@required_fields ~w(name)
@optional_fields ~w()
@doc """
Creates a changeset based on the `model` and `params`.
... | <|file_sep|>original/web/models/league.ex
defmodule Officetournament.League do
use Officetournament.Web, :model
schema "leagues" do
field :name, :string
timestamps
end
@required_fields ~w(name)
@optional_fields ~w()
@doc """
Creates a changeset based on the `model` and `params`.
If no param... | 66f09e47458754ed1b2fa3a4568f596964ceff12 | web/models/league.ex | web/models/league.ex | Elixir |
<|file_sep|>original/packages/fi/finite-typelits.yaml
hash: d243523297c0526d32e9b7de98e04b79a4227577ddb25d3fecd7981439de243c
test-bench-deps: {}
maintainer: mniip@mniip.com
synopsis: A type inhabited by finitely many values, indexed by type-level naturals.
changelog: ''
basic-deps:
base: ==4.*
deepseq: ! '>=1.4'
al... | changelog-type: ''
hash: d243523297c0526d32e9b7de98e04b79a4227577ddb25d3fecd7981439de243c
test-bench-deps: {}
maintainer: mniip@mniip.com
synopsis: A type inhabited by finitely many values, indexed by type-level naturals.
changelog: ''
basic-deps:
base: ==4.*
deepseq: ! '>=1.4'
all-versions:
- '0.1.0.0'
- '0.1.1.0'... | <|file_sep|>original/packages/fi/finite-typelits.yaml
hash: d243523297c0526d32e9b7de98e04b79a4227577ddb25d3fecd7981439de243c
test-bench-deps: {}
maintainer: mniip@mniip.com
synopsis: A type inhabited by finitely many values, indexed by type-level naturals.
changelog: ''
basic-deps:
base: ==4.*
deepseq: ! '>=1.4'
al... | c731921c5881354b9f8cdb40b29ff5e79e66eee5 | packages/fi/finite-typelits.yaml | packages/fi/finite-typelits.yaml | YAML |
<|file_sep|>original/git.js
exports.commit = function (path, author, message, callback) {
temp.open('bombastic', function(err, info) {
if (err) {
log.error("Can't create temporaty file " + info.path);
callback();
}
log.debug('Write commit message into temporary file ' + info.path);
fs.write(info.fd, mes... | exports.commit = function (path, author, message, callback) {
temp.open('bombastic', function(err, info) {
if (err) {
log.error("Can't create temporaty file " + info.path);
callback();
}
log.debug('Write commit message into temporary file ' + info.path);
fs.write(info.fd, message);
fs.close(info.fd, f... | <|file_sep|>original/git.js
exports.commit = function (path, author, message, callback) {
temp.open('bombastic', function(err, info) {
if (err) {
log.error("Can't create temporaty file " + info.path);
callback();
}
log.debug('Write commit message into temporary file ' + info.path);
fs.write(info.fd, mes... | 421230533c619e98a5dca0ce8374b176bdc10663 | git.js | git.js | JavaScript |
<|file_sep|>original/docs/spelling_wordlist.txt
ascii
bitwise
boolean
builtin
compressions
coroutine
coroutines
destructor
lumi
prepended
runtime
whitespace
<|file_sep|>current/docs/spelling_wordlist.txt
ascii
bitwise
boolean
builtin
compressions
coroutine
coroutines
destructor
lumi
prepended
runtime
whitespace
<|file_... | ascii
bitwise
boolean
builtin
compressions
coroutine
coroutines
destructor
lumi
parameterized
prepended
runtime
whitespace | <|file_sep|>original/docs/spelling_wordlist.txt
ascii
bitwise
boolean
builtin
compressions
coroutine
coroutines
destructor
lumi
prepended
runtime
whitespace
<|file_sep|>current/docs/spelling_wordlist.txt
ascii
bitwise
boolean
builtin
compressions
coroutine
coroutines
destructor
lumi
prepended
runtime
whitespace
<|file_... | 809406de60afab6878b3419274562a9f41e05a10 | docs/spelling_wordlist.txt | docs/spelling_wordlist.txt | Text |
<|file_sep|>original/A2BBAPI/Controllers/MeInOutController.cs
<|file_sep|>current/A2BBAPI/Controllers/MeInOutController.cs
<|file_sep|>updated/A2BBAPI/Controllers/MeInOutController.cs | using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Authorization;
using A2BBCommon.Models;
using A2BBCommon;
using A2BBAPI.Data;
using IdentityModel.Client;
using A2BBAPI.DTO;
using Microsoft.Extensions.Logging;
using A2BBAPI.Models;
using System.C... | <|file_sep|>original/A2BBAPI/Controllers/MeInOutController.cs
<|file_sep|>current/A2BBAPI/Controllers/MeInOutController.cs
<|file_sep|>updated/A2BBAPI/Controllers/MeInOutController.cs
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Authorizati... | bceec36644b6d50e7cb4708388ff4f91f03a8b3b | A2BBAPI/Controllers/MeInOutController.cs | A2BBAPI/Controllers/MeInOutController.cs | C# |
<|file_sep|>original/sli/acceptance-tests/test/features/bulk_extract/features/bulk_extract_scheduler.feature
@US5503
Feature: cron job scheduler for bulk-extracts
Scenario: Configure bulk extract scheduler
Given I configurate the bulk extract scheduler script
And I clean up the cron extraction zone
When I run th... | @US5503
Feature: cron job scheduler for bulk-extracts
# TODO: Do something with this piece of junk that will not run in CI
#Scenario: Configure bulk extract scheduler
# Given I configurate the bulk extract scheduler script
# And I clean up the cron extraction zone
# When I run the bulk extract scheduler script
# T... | <|file_sep|>original/sli/acceptance-tests/test/features/bulk_extract/features/bulk_extract_scheduler.feature
@US5503
Feature: cron job scheduler for bulk-extracts
Scenario: Configure bulk extract scheduler
Given I configurate the bulk extract scheduler script
And I clean up the cron extraction zone
When I run th... | 440db4488dc59e24d6a9ae054fcf6d467dd0db6f | sli/acceptance-tests/test/features/bulk_extract/features/bulk_extract_scheduler.feature | sli/acceptance-tests/test/features/bulk_extract/features/bulk_extract_scheduler.feature | Cucumber |
<|file_sep|>original/app/controllers/twilio_controller.rb
class TwilioController < ApplicationController
def new_message
end
end
<|file_sep|>current/app/controllers/twilio_controller.rb
class TwilioController < ApplicationController
def new_message
end
end
<|file_sep|>updated/app/controllers/twilio_co... | class TwilioController < ApplicationController
def new_message
body = JSON.decode(request.body)
@message = TwilioMessage.create({
:message_sid => body['MessageSid'],
:account_sid => body['AccountSid'],
... | <|file_sep|>original/app/controllers/twilio_controller.rb
class TwilioController < ApplicationController
def new_message
end
end
<|file_sep|>current/app/controllers/twilio_controller.rb
class TwilioController < ApplicationController
def new_message
end
end
<|file_sep|>updated/app/controllers/twilio_co... | 1debf605186e325219bee067cdc5bae62c4ef136 | app/controllers/twilio_controller.rb | app/controllers/twilio_controller.rb | Ruby |
<|file_sep|>original/webpack.config.js
errorDetails: true,
module: {
loaders: [
{ test: /\.ts$/, loader: "ts-loader" },
{ test: /\.json$/, loader: "json" },
{ test: /\.css$/, loader: ExtractTextPlugin.extract("style-loader", "css-loader") }
]
},
devtoo... | module: {
loaders: [
{ test: /\.ts$/, loader: "ts-loader" },
{ test: /\.json$/, loader: "json" },
{ test: /\.css$/, loader: ExtractTextPlugin.extract("style-loader", "css-loader") }
]
},
devtool: "source-map",
externals: [ "mxui/widget/_WidgetBase", "d... | <|file_sep|>original/webpack.config.js
errorDetails: true,
module: {
loaders: [
{ test: /\.ts$/, loader: "ts-loader" },
{ test: /\.json$/, loader: "json" },
{ test: /\.css$/, loader: ExtractTextPlugin.extract("style-loader", "css-loader") }
]
},
devtoo... | 27c3ac421ffd93062b137d5672b687cbba9b3a8a | webpack.config.js | webpack.config.js | JavaScript |
<|file_sep|>original/root/var/www/html/index.html
<!DOCTYPE html>
<html dir="ltr" lang="en-US">
<head>
<meta charset="UTF-8" />
<title>Caddy Default Page</title>
</head>
<body>
<h1>Caddy web server Docker container</h1>
<p>This is the default landing page for the
<a href="https://registry.hub.docker.com/u/joshix/cadd... | <!DOCTYPE html>
<html dir="ltr" lang="en-US">
<head>
<meta charset="UTF-8" />
<title>Caddy Default Page</title>
</head>
<body>
<h1>Caddy web server Docker container</h1>
<p>This is the default landing page for the
<a href="https://registry.hub.docker.com/u/joshix/caddy/"><code>joshix/caddy</code></a>
Docker image.</p... | <|file_sep|>original/root/var/www/html/index.html
<!DOCTYPE html>
<html dir="ltr" lang="en-US">
<head>
<meta charset="UTF-8" />
<title>Caddy Default Page</title>
</head>
<body>
<h1>Caddy web server Docker container</h1>
<p>This is the default landing page for the
<a href="https://registry.hub.docker.com/u/joshix/cadd... | 5c6b8b789bed52b68469cd216bc1e722be72c625 | root/var/www/html/index.html | root/var/www/html/index.html | HTML |
<|file_sep|>.travis.yml.diff
original:
- "3.8-dev" # 3.8 development branch
- "nightly" # nightly build
updated:
- "3.8-dev"
- "nightly"
<|file_sep|>original/.travis.yml
dist: xenial
language: python
python:
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- "3.8-dev" # 3.8 development branch
- "nightly" # nigh... | - "3.7"
- "3.8-dev"
- "nightly"
install:
- pip install -r requirements.txt
- pip install coveralls
script:
- coverage run tests.py
after_success:
- coveralls
deploy:
provider: pypi
user: "__token__"
password:
secure: f4kmppD5o/IwbbgO3B5h6UI2TeMxTDpNSu53eUuzJzXeD1ebiaVl9pX/uD46BVFqAdGbBhDkHOB... | <|file_sep|>.travis.yml.diff
original:
- "3.8-dev" # 3.8 development branch
- "nightly" # nightly build
updated:
- "3.8-dev"
- "nightly"
<|file_sep|>original/.travis.yml
dist: xenial
language: python
python:
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- "3.8-dev" # 3.8 development branch
- "nightly" # nigh... | 6bdac597836b5184af3ee3a3a25ed16af660c47e | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/bower.json
{
"name": "skrollr",
"version": "0.6.24",
"homepage": "http://prinzhorn.github.io/skrollr/",
"authors": [
"Alexander Prinzhorn"
],
"description": "Stand-alone parallax scrolling library for mobile (Android + iOS) and desktop",
"main": "src/skrollr.js",
"moduleType": [... | {
"name": "skrollr",
"homepage": "http://prinzhorn.github.io/skrollr/",
"authors": [
"Alexander Prinzhorn"
],
"description": "Stand-alone parallax scrolling library for mobile (Android + iOS) and desktop",
"main": "src/skrollr.js",
"moduleType": [
"globals"
],
"keywords": [
"parallax",
... | <|file_sep|>original/bower.json
{
"name": "skrollr",
"version": "0.6.24",
"homepage": "http://prinzhorn.github.io/skrollr/",
"authors": [
"Alexander Prinzhorn"
],
"description": "Stand-alone parallax scrolling library for mobile (Android + iOS) and desktop",
"main": "src/skrollr.js",
"moduleType": [... | 3fd0a25ca81962c3c733a6f8cb69e25bdf8e5378 | bower.json | bower.json | JSON |
<|file_sep|>original/requirements_dev.txt
tox==2.7.0
watchdog==0.8.3
wheel==0.29.0
bumpversion==0.5.3
pip==9.0.1
flake8==3.3.0
coverage==4.4.1
Sphinx==1.6.2
cryptography==1.9
PyYAML==3.12
numpy==1.12.1
Cython==0.25.2
pandas==0.20.1
<|file_sep|>current/requirements_dev.txt
tox==2.7.0
watchdog==0.8.3
wheel==0.29.0
bumpve... | tox==2.7.0
watchdog==0.8.3
wheel==0.29.0
bumpversion==0.5.3
pip==9.0.1
flake8==3.3.0
coverage==4.4.1
Sphinx==1.6.2
cryptography==1.9
PyYAML==3.12
numpy==1.13.0
Cython==0.25.2
pandas==0.20.1 | <|file_sep|>original/requirements_dev.txt
tox==2.7.0
watchdog==0.8.3
wheel==0.29.0
bumpversion==0.5.3
pip==9.0.1
flake8==3.3.0
coverage==4.4.1
Sphinx==1.6.2
cryptography==1.9
PyYAML==3.12
numpy==1.12.1
Cython==0.25.2
pandas==0.20.1
<|file_sep|>current/requirements_dev.txt
tox==2.7.0
watchdog==0.8.3
wheel==0.29.0
bumpve... | 46bf679f60166b941280827e7886631903bc998f | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>README.rdoc.diff
original:
Description goes here.
updated:
Slurper allows you to quickly compose your stories in a text file and import them into Pivotal Tracker.
<|file_sep|>README.rdoc.diff
original:
updated:
<|file_sep|>README.rdoc.diff
original:
== Copyright
updated:
== Setup
<|file_sep|>original/REA... | * Fork the project.
* Make your feature addition or bug fix.
* Add tests for it. This is important so I don't break it in a
future version unintentionally.
* Commit, do not mess with rakefile, version, or history.
(if you want to have your own version, that is fine but bump version in a commit by itself I can ignor... | <|file_sep|>README.rdoc.diff
original:
Description goes here.
updated:
Slurper allows you to quickly compose your stories in a text file and import them into Pivotal Tracker.
<|file_sep|>README.rdoc.diff
original:
updated:
<|file_sep|>README.rdoc.diff
original:
== Copyright
updated:
== Setup
<|file_sep|>original/REA... | 9ae8b85a6521bdddaf14dbf10e205989fb936ee4 | README.rdoc | README.rdoc | RDoc |
<|file_sep|>original/spec/acceptance/freeradius_spec.rb
context 'when running puppet code' do
pp = "class { 'freeradius': }"
it 'should apply with no errors' do
apply_manifest(pp, :catch_failures => true)
end
it 'should converge on the first run' do
apply_manifest(pp, :catch_changes => t... | context 'when running puppet code' do
pp = "class { 'freeradius': }"
it 'should apply with no errors' do
apply_manifest(pp, :catch_failures => true)
end
it 'should converge on the first run' do
apply_manifest(pp, :catch_changes => true)
end
describe service('radiusd') do
i... | <|file_sep|>original/spec/acceptance/freeradius_spec.rb
context 'when running puppet code' do
pp = "class { 'freeradius': }"
it 'should apply with no errors' do
apply_manifest(pp, :catch_failures => true)
end
it 'should converge on the first run' do
apply_manifest(pp, :catch_changes => t... | 12ea58bad25fe9e2ffd0f15865449c579bacc415 | spec/acceptance/freeradius_spec.rb | spec/acceptance/freeradius_spec.rb | Ruby |
<|file_sep|>SlackMood/AppDelegate.swift.diff
original:
let api_url = "https://slack.com/api/chat.postMessage"
let api_channel = "#music" // channel to post
let api_token = "xoxp-your-api-token" // your slack token
updated:
<|file_sep|>original/SlackMood/AppDelegate.swift
private func stopServices(... |
@NSApplicationMain
class AppDelegate: NSObject, NSApplicationDelegate {
func applicationDidFinishLaunching(aNotification: NSNotification) {
startServices()
}
func applicationWillTerminate(aNotification: NSNotification) {
stopServices()
}
private func startServices() {
... | <|file_sep|>SlackMood/AppDelegate.swift.diff
original:
let api_url = "https://slack.com/api/chat.postMessage"
let api_channel = "#music" // channel to post
let api_token = "xoxp-your-api-token" // your slack token
updated:
<|file_sep|>original/SlackMood/AppDelegate.swift
private func stopServices(... | b82ba0eecf194b8799ed0ce4c8d3591883131ee0 | SlackMood/AppDelegate.swift | SlackMood/AppDelegate.swift | Swift |
<|file_sep|>original/commits_all_projs.sh
day="2015-04-$day_num"
day_start="$day 00:00"
day_end="$day 23:59"
total_commits=0
for dir in $dirs
do
cd $dir
commits=$(git log --pretty=oneline --abbrev-commit --since="$day_start" --until="$day_end" --branches --author="Paul Cochrane" | wc -l)
tota... | day_start="$day 00:00"
day_end="$day 23:59"
total_commits=0
for dir in $dirs
do
cd $dir
commits=$(git log --pretty=oneline --abbrev-commit --since="$day_start" --until="$day_end" --branches --author="Paul Cochrane" | wc -l)
total_commits=$(expr $total_commits + $commits)
if [ "$commits" -gt "0" ... | <|file_sep|>original/commits_all_projs.sh
day="2015-04-$day_num"
day_start="$day 00:00"
day_end="$day 23:59"
total_commits=0
for dir in $dirs
do
cd $dir
commits=$(git log --pretty=oneline --abbrev-commit --since="$day_start" --until="$day_end" --branches --author="Paul Cochrane" | wc -l)
tota... | 8ef04edf1b76778ee875582893d6114288dfc31f | commits_all_projs.sh | commits_all_projs.sh | Shell |
<|file_sep|>original/.github/ISSUE_TEMPLATE.md
<|file_sep|>current/.github/ISSUE_TEMPLATE.md
<|file_sep|>updated/.github/ISSUE_TEMPLATE.md | # Problems summary
## Expected
## Environment Information
* OS:
* Neovim version:
## Provide a minimal init.vim with less than 50 lines (Required!)
```vim
" Your minimal init.vim
set runtimepath+=~/path/to/deoplete.nvim/
set runtimepath+=~/path/to/deoplete-jedi/
let g:deoplete#enable_at_startup = 1
```
| <|file_sep|>original/.github/ISSUE_TEMPLATE.md
<|file_sep|>current/.github/ISSUE_TEMPLATE.md
<|file_sep|>updated/.github/ISSUE_TEMPLATE.md
# Problems summary
## Expected
## Environment Information
* OS:
* Neovim version:
## Provide a minimal init.vim with less than 50 lines (Required!)
```vim
" Your minimal... | fe7167dd62ca4f780d91e1d9cdd955b1ef6e498d | .github/ISSUE_TEMPLATE.md | .github/ISSUE_TEMPLATE.md | Markdown |
<|file_sep|>original/charts/aptomi-demo-ldap/templates/demo-ldap/deployment.yaml
labels:
heritage: "{{ .Release.Service }}"
release: "{{ .Release.Name }}"
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
app: {{ template "fullname" . }}
spec:
replicas: 1
strategy:
rollingUpdate:
maxUnavai... | spec:
replicas: 1
strategy:
rollingUpdate:
maxUnavailable: 0
template:
metadata:
labels:
app: {{ template "fullname" . }}
spec:
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}{{ .Values.image.name }}:{{ .Values.image.tag }}"
... | <|file_sep|>original/charts/aptomi-demo-ldap/templates/demo-ldap/deployment.yaml
labels:
heritage: "{{ .Release.Service }}"
release: "{{ .Release.Name }}"
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
app: {{ template "fullname" . }}
spec:
replicas: 1
strategy:
rollingUpdate:
maxUnavai... | 6da52afd5a47eb371e65ca761325e49ba08de32e | charts/aptomi-demo-ldap/templates/demo-ldap/deployment.yaml | charts/aptomi-demo-ldap/templates/demo-ldap/deployment.yaml | YAML |
<|file_sep|>metadata/com.fabienli.dokuwiki.yml.diff
original:
updated:
- versionName: v0.10
versionCode: 54
commit: v0.10
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/com.fabienli.dokuwiki.yml
SourceCode: https://github.com/fabienli/DokuwikiAndroid
IssueTracker: https://github.com/f... | Repo: https://github.com/fabienli/DokuwikiAndroid
Builds:
- versionName: v0.8
versionCode: 52
commit: v0.8
subdir: app
gradle:
- yes
- versionName: v0.10
versionCode: 54
commit: v0.10
subdir: app
gradle:
- yes
AutoUpdateMode: Version %v
UpdateCheckMode: Tags v\d+\.\d+
... | <|file_sep|>metadata/com.fabienli.dokuwiki.yml.diff
original:
updated:
- versionName: v0.10
versionCode: 54
commit: v0.10
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/com.fabienli.dokuwiki.yml
SourceCode: https://github.com/fabienli/DokuwikiAndroid
IssueTracker: https://github.com/f... | fd49846ed031aa06411ad0b2c86e6ea6b6b29c1e | metadata/com.fabienli.dokuwiki.yml | metadata/com.fabienli.dokuwiki.yml | YAML |
<|file_sep|>original/docs/assets/css/style.scss
// Style declarations
.page-header {
background-image: url(https://github.com/google/ground-platform/raw/master/docs/assets/images/aerial-forest-lake.jpg);
background-repeat: no-repeat;
background-position: center;
background-size: cover;
}
h1, h2, h3, h4, h5, h... |
.page-header {
background-image: url(https://github.com/google/ground-platform/raw/master/docs/assets/images/aerial-forest-lake.jpg);
background-repeat: no-repeat;
background-position: center;
background-size: cover;
}
h1, h2, h3, h4, h5, h6 {
font-family: $font-heading;
text-transform: uppercase;
}
:no... | <|file_sep|>original/docs/assets/css/style.scss
// Style declarations
.page-header {
background-image: url(https://github.com/google/ground-platform/raw/master/docs/assets/images/aerial-forest-lake.jpg);
background-repeat: no-repeat;
background-position: center;
background-size: cover;
}
h1, h2, h3, h4, h5, h... | 0754ffd4fe58c306c110b3e9a3d547ea663bd654 | docs/assets/css/style.scss | docs/assets/css/style.scss | SCSS |
<|file_sep|>md5.h.diff
original:
/* #if SIZEOF_UINT8 == 0 Can't get this from configure */
updated:
/* Also defined in include/c.h */
#if SIZEOF_UINT8 == 0
<|file_sep|>original/md5.h
#ifndef true
#define true ((bool) 1)
#endif
#ifndef false
#define false ((bool) 0)
#endif
#endif /* not C++ */
#endif /* __BEOS__ *... | #define true ((bool) 1)
#endif
#ifndef false
#define false ((bool) 0)
#endif
#endif /* not C++ */
#endif /* __BEOS__ */
/* Also defined in include/c.h */
#if SIZEOF_UINT8 == 0
typedef unsigned char uint8; /* == 8 bits */
typedef unsigned short uint16; /* == 16 bits */
typedef unsigned int uint32; /* == 32 bits */... | <|file_sep|>md5.h.diff
original:
/* #if SIZEOF_UINT8 == 0 Can't get this from configure */
updated:
/* Also defined in include/c.h */
#if SIZEOF_UINT8 == 0
<|file_sep|>original/md5.h
#ifndef true
#define true ((bool) 1)
#endif
#ifndef false
#define false ((bool) 0)
#endif
#endif /* not C++ */
#endif /* __BEOS__ *... | a6cdef764509c20d7b17f5bab2db0bf1f1f90f2d | md5.h | md5.h | C |
<|file_sep|>original/tests/test_utils.py
<|file_sep|>current/tests/test_utils.py
<|file_sep|>updated/tests/test_utils.py | import datetime
import unittest
import hiro
from hiro.errors import InvalidTypeError
from hiro.utils import timedelta_to_seconds, time_in_seconds, chained
class TestTimeDeltaToSeconds(unittest.TestCase):
def test_fractional(self):
delta = datetime.timedelta(seconds=1, microseconds=1000)
self.asse... | <|file_sep|>original/tests/test_utils.py
<|file_sep|>current/tests/test_utils.py
<|file_sep|>updated/tests/test_utils.py
import datetime
import unittest
import hiro
from hiro.errors import InvalidTypeError
from hiro.utils import timedelta_to_seconds, time_in_seconds, chained
class TestTimeDeltaToSeconds(unittest.T... | 1ed276fceba0a4d8a105bc2b60986d815326dcca | tests/test_utils.py | tests/test_utils.py | Python |
<|file_sep|>main/resources/extraterm.desktop.diff
original:
#!/usr/bin/env xdg-open
updated:
<|file_sep|>main/resources/extraterm.desktop.diff
original:
Categories=System;TerminalEmulator;
Comment[en_US]=Command line access
Comment=Command line access
Exec=bash -c '"$(dirname "%k")/extratermqt"'
GenericName[en_US]=Ter... | [Desktop Entry]
Name=ExtratermQt
Exec=/opt/extratermqt/extratermqt
Terminal=false
Type=Application
Comment=The swiss army chainsaw of terminal emulators
Categories=System;TerminalEmulator;X-GNOME-Utilities;
Icon=extratermqt | <|file_sep|>main/resources/extraterm.desktop.diff
original:
#!/usr/bin/env xdg-open
updated:
<|file_sep|>main/resources/extraterm.desktop.diff
original:
Categories=System;TerminalEmulator;
Comment[en_US]=Command line access
Comment=Command line access
Exec=bash -c '"$(dirname "%k")/extratermqt"'
GenericName[en_US]=Ter... | 70b5e67b9e02092318fbc06d20424cc64bbfc82f | main/resources/extraterm.desktop | main/resources/extraterm.desktop | desktop |
<|file_sep|>requirements.txt.diff
original:
https://static.dpaw.wa.gov.au/static/py/dpaw-utils/dist/dpaw-utils-0.3a7.tar.gz
updated:
https://static.dpaw.wa.gov.au/static/py/dpaw-utils/dist/dpaw-utils-0.3a8.tar.gz
<|file_sep|>original/requirements.txt
Django==1.9
django-extensions==1.6.1
https://static.dpaw.wa.gov.au/st... | Django==1.9
django-extensions==1.6.1
https://static.dpaw.wa.gov.au/static/py/dpaw-utils/dist/dpaw-utils-0.3a8.tar.gz
wagtail==1.3.1
wagtailplus==0.3.7
django-queryset-csv==0.3.3
django-mptt==0.8.0
django-leaflet==0.18.0
django-reversion==1.10.0
python-dateutil==2.4.2
django-model-utils==2.4
restless==2.0.1
python-ldap=... | <|file_sep|>requirements.txt.diff
original:
https://static.dpaw.wa.gov.au/static/py/dpaw-utils/dist/dpaw-utils-0.3a7.tar.gz
updated:
https://static.dpaw.wa.gov.au/static/py/dpaw-utils/dist/dpaw-utils-0.3a8.tar.gz
<|file_sep|>original/requirements.txt
Django==1.9
django-extensions==1.6.1
https://static.dpaw.wa.gov.au/st... | 1f3707fcd464705599d884bb47bef86dffe274a8 | requirements.txt | requirements.txt | Text |
<|file_sep|>lib/diffsplit.js.diff
original:
var match = line.match(/@@ -(\d+),(\d+) \+(\d+),(\d+) @@(.*)/);
updated:
var match = line.match(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@(.*)/);
<|file_sep|>lib/diffsplit.js.diff
original:
length: +match[2]
updated:
length: typeof match[2] !== 'u... | chunks.push(chunk);
}
chunk = {
original: {
start: +match[1],
length: typeof match[2] !== 'undefined' ? +match[2] : 1
},
new: {
start: +match[3],
length: typeof match[4] !== 'undefined' ? +match[4] : 1
},
heading: match... | <|file_sep|>lib/diffsplit.js.diff
original:
var match = line.match(/@@ -(\d+),(\d+) \+(\d+),(\d+) @@(.*)/);
updated:
var match = line.match(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@(.*)/);
<|file_sep|>lib/diffsplit.js.diff
original:
length: +match[2]
updated:
length: typeof match[2] !== 'u... | 638df2791220a811255284f0d492516d16c1c982 | lib/diffsplit.js | lib/diffsplit.js | JavaScript |
<|file_sep|>original/setup.py
setup(
name='panoptes_client',
url='https://github.com/zooniverse/panoptes-python-client',
author='Adam McMaster',
author_email='adam@zooniverse.org',
version='1.3.0',
packages=find_packages(),
include_package_data=True,
install_requires=[
'requests... |
setup(
name='panoptes_client',
url='https://github.com/zooniverse/panoptes-python-client',
author='Adam McMaster',
author_email='adam@zooniverse.org',
version='1.3.0',
packages=find_packages(),
include_package_data=True,
install_requires=[
'requests>=2.4.2,<2.26',
'futur... | <|file_sep|>original/setup.py
setup(
name='panoptes_client',
url='https://github.com/zooniverse/panoptes-python-client',
author='Adam McMaster',
author_email='adam@zooniverse.org',
version='1.3.0',
packages=find_packages(),
include_package_data=True,
install_requires=[
'requests... | 822f62de129e08df7ff6802b18d531b15b33fec7 | setup.py | setup.py | Python |
<|file_sep|>tools/wait-fleet-unit.sh.diff
original:
fleetctl list-units | grep $1 > /dev/null
updated:
fleetctl list-units --no-legend | grep $1 > /dev/null
<|file_sep|>tools/wait-fleet-unit.sh.diff
original:
while ! [ `fleetctl list-units | grep $1 | awk '{print $3}'` = "active" ]
updated:
while ! [ `fleetctl list-uni... | #!/bin/bash -
if [ $# -lt 1 ]; then
echo "Usage: $0 SERVICE"
exit 1
fi
fleetctl list-units --no-legend | grep $1 > /dev/null
if [ ! $? -eq 0 ]; then
echo "Unknown service"
exit 2
fi
# wait until container is running
while ! [ `fleetctl list-units --no-legend -fields "unit,active" | grep $1 | awk '{print $2}'... | <|file_sep|>tools/wait-fleet-unit.sh.diff
original:
fleetctl list-units | grep $1 > /dev/null
updated:
fleetctl list-units --no-legend | grep $1 > /dev/null
<|file_sep|>tools/wait-fleet-unit.sh.diff
original:
while ! [ `fleetctl list-units | grep $1 | awk '{print $3}'` = "active" ]
updated:
while ! [ `fleetctl list-uni... | cad3fcb63559948d9c7bdae6532f1c7dda8ee6d6 | tools/wait-fleet-unit.sh | tools/wait-fleet-unit.sh | Shell |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "4"
cache:
directories:
- bower_components
before_script:
- make build
script:
- hack/test-headless.sh test
- hack/verify-dist.sh
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "4"
cache:
directories:
- bower_components
before... | language: node_js
node_js:
- "4"
cache:
directories:
- bower_components
before_script:
- make build
script:
- hack/test-headless.sh test
- hack/verify-dist.sh
addons:
firefox: "49.0" | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "4"
cache:
directories:
- bower_components
before_script:
- make build
script:
- hack/test-headless.sh test
- hack/verify-dist.sh
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "4"
cache:
directories:
- bower_components
before... | d6da521bcaaa2f700e263a1df99bd4389ad91709 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/website/templates/profile/modal_change_avatar.mako
<div class="modal-content">
<div class="modal-header">
<h3>Change Avatar</h3>
</div>
<div class="modal-body">
<p>Avatars on the OSF use
<a href="http://... | <div class="modal-content">
<div class="modal-header">
<h3>Change Avatar</h3>
</div>
<div class="modal-body">
<p>Avatars on the OSF use
<a href="http://gravatar.org/">gravatar.org</a>, a free
service that... | <|file_sep|>original/website/templates/profile/modal_change_avatar.mako
<div class="modal-content">
<div class="modal-header">
<h3>Change Avatar</h3>
</div>
<div class="modal-body">
<p>Avatars on the OSF use
<a href="http://... | d24242f963e45941f0ef0c52e4e41f4bafa75b27 | website/templates/profile/modal_change_avatar.mako | website/templates/profile/modal_change_avatar.mako | Mako |
<|file_sep|>original/.travis.yml
language: php
sudo: false
cache:
directories:
- $HOME/.composer/cache
matrix:
include:
- php: 7.1
- php: nightly
fast_finish: true
install: composer install
script: make test
after_success:
- bash <(curl -s https://codecov.io/bash)
<|file_se... |
sudo: false
cache:
directories:
- $HOME/.composer/cache
matrix:
include:
- php: 7.1
- php: 7.2
- php: nightly
allow_failures:
- php: nightly
fast_finish: true
install: composer install
script: make test
after_success: | <|file_sep|>original/.travis.yml
language: php
sudo: false
cache:
directories:
- $HOME/.composer/cache
matrix:
include:
- php: 7.1
- php: nightly
fast_finish: true
install: composer install
script: make test
after_success:
- bash <(curl -s https://codecov.io/bash)
<|file_se... | 30358e5ebae468925da13c366500ced43fce53e6 | .travis.yml | .travis.yml | YAML |
<|file_sep|>osu.Game/Screens/Play/ScreenSuspensionHandler.cs.diff
original:
updated:
using System;
using JetBrains.Annotations;
<|file_sep|>osu.Game/Screens/Play/ScreenSuspensionHandler.cs.diff
original:
internal class ScreenSuspensionHandler : Component
updated:
/// <summary>
/// Ensures screen is not sus... | public class ScreenSuspensionHandler : Component
{
private readonly GameplayClockContainer gameplayClockContainer;
private Bindable<bool> isPaused;
[Resolved]
private GameHost host { get; set; }
public ScreenSuspensionHandler([NotNull] GameplayClockContainer gameplayClo... | <|file_sep|>osu.Game/Screens/Play/ScreenSuspensionHandler.cs.diff
original:
updated:
using System;
using JetBrains.Annotations;
<|file_sep|>osu.Game/Screens/Play/ScreenSuspensionHandler.cs.diff
original:
internal class ScreenSuspensionHandler : Component
updated:
/// <summary>
/// Ensures screen is not sus... | 7da56ec7fd27ebddc7253b6151b50f93ad289dd4 | osu.Game/Screens/Play/ScreenSuspensionHandler.cs | osu.Game/Screens/Play/ScreenSuspensionHandler.cs | C# |
<|file_sep|>original/admin/init.php
define('AUTHOR_URL', 'http://vinkla.com');
define('LOGIN_IMAGE_PATH', TEMPLATE_DIR.'/images/admin-login-logo.png');
define('LOGIN_HEADER_URL', get_site_url());
define('TINYMCE_BLOCKFORMATS', implode(',', [
'p', 'h2', 'h3'
]));
define('TINYMCE_DISABLED', implode(',', [
'strikethro... | define('AUTHOR_URL', 'http://vinkla.com');
define('LOGIN_IMAGE_PATH', TEMPLATE_DIR.'/images/admin-login-logo.png');
define('LOGIN_HEADER_URL', get_site_url());
define('TINYMCE_BLOCKFORMATS', implode(',', [
'p', 'h2', 'h3'
]));
define('TINYMCE_DISABLED', implode(',', [
'strikethrough',
'underline',
'forecolor',
'... | <|file_sep|>original/admin/init.php
define('AUTHOR_URL', 'http://vinkla.com');
define('LOGIN_IMAGE_PATH', TEMPLATE_DIR.'/images/admin-login-logo.png');
define('LOGIN_HEADER_URL', get_site_url());
define('TINYMCE_BLOCKFORMATS', implode(',', [
'p', 'h2', 'h3'
]));
define('TINYMCE_DISABLED', implode(',', [
'strikethro... | 25ad5f21043ce719cf39ac6a75b16836061b2725 | admin/init.php | admin/init.php | PHP |
<|file_sep|>original/chrome/test/data/speech/basic_recognition.html
}
}
function run() {
// Calculate a point inside the speech button and pass that to the
// c++ test code through the URL fragment. This calculation must
// get updated if the speech button rendering changes.
... | }
}
function run() {
// Calculate a point inside the speech button and pass that to the
// c++ test code through the URL fragment. This calculation must
// get updated if the speech button rendering changes.
var inputField = document.getElementById('inputField');
... | <|file_sep|>original/chrome/test/data/speech/basic_recognition.html
}
}
function run() {
// Calculate a point inside the speech button and pass that to the
// c++ test code through the URL fragment. This calculation must
// get updated if the speech button rendering changes.
... | 095b837a606db0e7b439f807046c76300623173c | chrome/test/data/speech/basic_recognition.html | chrome/test/data/speech/basic_recognition.html | HTML |
<|file_sep|>original/content/shows/nan.md
Type: show
Title: Not a Number
Description: Chris, Karl and Ryan join forces to create a verbal periodical, discussing Design, Development and Denim.
Hosts: [chris-stonestreet, karl-bowden, ryan-stuart]
Author: Chris Stonestreet, Karl Bowden and Ryan Stuart
Keywords: [design... |
Description: Chris, Karl and Ryan join forces to create a verbal periodical, discussing Design, Development and Denim.
Hosts: [chris-stonestreet, karl-bowden, ryan-stuart]
Author: Chris Stonestreet, Karl Bowden and Ryan Stuart
Keywords: [design, development, denim, fashion, interview]
TintColor: "#BB0C0C"
Url: nan
S... | <|file_sep|>original/content/shows/nan.md
Type: show
Title: Not a Number
Description: Chris, Karl and Ryan join forces to create a verbal periodical, discussing Design, Development and Denim.
Hosts: [chris-stonestreet, karl-bowden, ryan-stuart]
Author: Chris Stonestreet, Karl Bowden and Ryan Stuart
Keywords: [design... | de249b4aa12c35da21510f32b0e0d9fe95ba012a | content/shows/nan.md | content/shows/nan.md | Markdown |
<|file_sep|>original/package.json
"author" : "Sven Pfleiderer <sven@roothausen.de>, Dominik Hübner <conact@dhuebner.com>",
"directories" : { "lib" : "lib" },
"repository" : {
"type" : "git",
"url" : "http://github.com/pfleidi/ballz.js.git"
},
"bugs" : {
"web" : "http://github.com/pfleidi/ballz.j... | "directories" : { "lib" : "lib" },
"repository" : {
"type" : "git",
"url" : "http://github.com/pfleidi/ballz.js.git"
},
"bugs" : {
"web" : "http://github.com/pfleidi/ballz.js/issues"
},
"licenses" : [{
"type" : "MIT",
"url" : "http://github.com/pfleidi/ballz.js/raw/master/LICENS... | <|file_sep|>original/package.json
"author" : "Sven Pfleiderer <sven@roothausen.de>, Dominik Hübner <conact@dhuebner.com>",
"directories" : { "lib" : "lib" },
"repository" : {
"type" : "git",
"url" : "http://github.com/pfleidi/ballz.js.git"
},
"bugs" : {
"web" : "http://github.com/pfleidi/ballz.j... | 65dcc5e1b92bd59d2a79f80e28c4982ac84ae1af | package.json | package.json | JSON |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- 6
- 8
- 10
notifications:
email: false
before_script: git fetch --tags
after_success: npm run coverage
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- 6
- 8
- 10
notifications:
email: false
before_script: git fetch --tags
... | language: node_js
node_js:
- 6
- 8
- 10
notifications:
email: false
before_script: git fetch --tags
after_success: npm run coverage
notifications:
email: false | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- 6
- 8
- 10
notifications:
email: false
before_script: git fetch --tags
after_success: npm run coverage
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- 6
- 8
- 10
notifications:
email: false
before_script: git fetch --tags
... | 42db295afa8793b80c3dca209bfe1134ae9f5f5f | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/main/kotlin/org/wfanet/measurement/common/testing/CloseableResource.kt.diff
original:
open class CloseableResource<T : AutoCloseable>(lazyResource: () -> T) : TestRule {
protected val resource by lazy { lazyResource() }
updated:
open class CloseableResource<T : AutoCloseable>(private val createResourc... | /**
* [TestRule] that ensures that the given [AutoCloseable] resource is closed after statement
* evaluation.
*
* This can replace [ExternalResource][org.junit.rules.ExternalResource], which does not guarantee
* that [after][org.junit.rules.ExternalResource.after] is invoked if
* [before][org.junit.rules.External... | <|file_sep|>src/main/kotlin/org/wfanet/measurement/common/testing/CloseableResource.kt.diff
original:
open class CloseableResource<T : AutoCloseable>(lazyResource: () -> T) : TestRule {
protected val resource by lazy { lazyResource() }
updated:
open class CloseableResource<T : AutoCloseable>(private val createResourc... | b0637ab61d37372b4691d5eeef258b5b1b8a4510 | src/main/kotlin/org/wfanet/measurement/common/testing/CloseableResource.kt | src/main/kotlin/org/wfanet/measurement/common/testing/CloseableResource.kt | Kotlin |
<|file_sep|>README.md.diff
original:
updated:
### Running in a container
docker run jfindley/newrelic-exporter
### From source
git clone https://github.com/jfindley/newrelic_exporter.git --branch release
cd newrelic_exporter
<|file_sep|>README.md.diff
original:
./newrelic_exporter <flags>
updated:
./newr... |
### Running in a container
docker run jfindley/newrelic-exporter
### From source
git clone https://github.com/jfindley/newrelic_exporter.git --branch release
cd newrelic_exporter
make
./newrelic_exporter
## Flags
Name | Description
-------------------|------------
api.key | API... | <|file_sep|>README.md.diff
original:
updated:
### Running in a container
docker run jfindley/newrelic-exporter
### From source
git clone https://github.com/jfindley/newrelic_exporter.git --branch release
cd newrelic_exporter
<|file_sep|>README.md.diff
original:
./newrelic_exporter <flags>
updated:
./newr... | 1cd29ea4faf21fd1f8dd9ffc6c518a713a16b33a | README.md | README.md | Markdown |
<|file_sep|>original/clic/web/config.py
SQLALCHEMY_DATABASE_URI = "postgresql://jdejoode:isabelle@localhost/annotation_dev"
DEBUG = False
# when testing = True, the login_required decorator is disabled.
TESTING = False
# FIXME not very secret here
SECRET_KEY = "qdfmkqjfmqksjfdmk"
MAIL_SERVER = 'smtp.qsdfqsdfqskjdfmlqsj... | SQLALCHEMY_DATABASE_URI = "postgresql://jdejoode:isabelle@localhost/annotation_dev"
DEBUG = False
DEBUG_TB_INTERCEPT_REDIRECTS = False
# when testing = True, the login_required decorator is disabled.
TESTING = False
# FIXME not very secret here
SECRET_KEY = "qdfmkqjfmqksjfdmk"
MAIL_SERVER = 'smtp.qsdfqsdfqskjdfmlqsjdfm... | <|file_sep|>original/clic/web/config.py
SQLALCHEMY_DATABASE_URI = "postgresql://jdejoode:isabelle@localhost/annotation_dev"
DEBUG = False
# when testing = True, the login_required decorator is disabled.
TESTING = False
# FIXME not very secret here
SECRET_KEY = "qdfmkqjfmqksjfdmk"
MAIL_SERVER = 'smtp.qsdfqsdfqskjdfmlqsj... | 1f9bf33ba5c1594477cf47dd323ec62ac92cf8c1 | clic/web/config.py | clic/web/config.py | Python |
<|file_sep|>original/views/index.html
<!-- index.html -->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Notify</title>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Arimo:400,400i,700,700i|Oxyg... | <!-- index.html -->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>​ IVLE Notify</title>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Arimo:400,400i,700,700i|Oxygen:700" rel="stylesheet">... | <|file_sep|>original/views/index.html
<!-- index.html -->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Notify</title>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Arimo:400,400i,700,700i|Oxyg... | 3bcc52a045d7ffce777b72ed6dbb96857e360985 | views/index.html | views/index.html | HTML |
<|file_sep|>original/bower.json
{
"name": "digitalmarketplace-admin-frontend",
"version": "0.0.1",
"dependencies": {
"jquery": "1.11.2",
"digitalmarketplace-frontend-toolkit": "git://github.com/alphagov/digitalmarketplace-frontend-toolkit#v8.4.2",
"govuk_template": "https://github.com/alphagov/govuk_t... | {
"name": "digitalmarketplace-admin-frontend",
"version": "0.0.1",
"dependencies": {
"jquery": "1.11.2",
"digitalmarketplace-frontend-toolkit": "git://github.com/alphagov/digitalmarketplace-frontend-toolkit#v10.0.0",
"govuk_template": "https://github.com/alphagov/govuk_template/releases/download/v0.14... | <|file_sep|>original/bower.json
{
"name": "digitalmarketplace-admin-frontend",
"version": "0.0.1",
"dependencies": {
"jquery": "1.11.2",
"digitalmarketplace-frontend-toolkit": "git://github.com/alphagov/digitalmarketplace-frontend-toolkit#v8.4.2",
"govuk_template": "https://github.com/alphagov/govuk_t... | a65a7310c484ab369a822f743f33134fe9248ad7 | bower.json | bower.json | JSON |
<|file_sep|>original/requirements.txt
humanfriendly==4.18
jinja2==2.10.1
jwcrypto==0.6.0
keyring==18.0.1 # pyup: <19
lxml==4.4.0
MarkupSafe==1.1.1
plaintable==0.1.1
pycparser==2.19
python-dateutil==2.8.0
pytz==2019.2
PyYAML==5.1.1
raven==6.10.0
requests[security]==2.22.0
robotframework==3.1.2
robotframework-seleniumli... | humanfriendly==4.18
jinja2==2.10.1
jwcrypto==0.6.0
keyring==18.0.1 # pyup: <19
lxml==4.4.0
MarkupSafe==1.1.1
plaintable==0.1.1
pycparser==2.19
python-dateutil==2.8.0
pytz==2019.2
PyYAML==5.1.2
raven==6.10.0
requests[security]==2.22.0
robotframework==3.1.2
robotframework-seleniumlibrary==3.3.1
rst2ansi==0.1.5
salesforc... | <|file_sep|>original/requirements.txt
humanfriendly==4.18
jinja2==2.10.1
jwcrypto==0.6.0
keyring==18.0.1 # pyup: <19
lxml==4.4.0
MarkupSafe==1.1.1
plaintable==0.1.1
pycparser==2.19
python-dateutil==2.8.0
pytz==2019.2
PyYAML==5.1.1
raven==6.10.0
requests[security]==2.22.0
robotframework==3.1.2
robotframework-seleniumli... | 6e98fa0c7e407f9114b6e771c55990844a0cd948 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/project.clj
(defproject me.arrdem/oxcart "0.1.0-SNAPSHOT"
:description "An experimental optimizing compiler for Clojure code"
:url "http://github.com/arrdem/oxcart"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [
... | (defproject me.arrdem/oxcart "0.1.0-SNAPSHOT"
:description "An experimental optimizing compiler for Clojure code"
:url "http://github.com/arrdem/oxcart"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [
[org.clojure/clojure ... | <|file_sep|>original/project.clj
(defproject me.arrdem/oxcart "0.1.0-SNAPSHOT"
:description "An experimental optimizing compiler for Clojure code"
:url "http://github.com/arrdem/oxcart"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [
... | 4f87d780d82b1db9990fee33000bc2df6b1996b6 | project.clj | project.clj | Clojure |
<|file_sep|>original/testing/test_change_directory.py
<|file_sep|>current/testing/test_change_directory.py
<|file_sep|>updated/testing/test_change_directory.py | import sys
import os
sys.path.insert(0, os.path.realpath('.'))
import pytest
from create_movie import change_directory
def test_change_directory_existing_directory(tmpdir):
newdir = tmpdir.mkdir('subdir')
with change_directory(str(newdir)):
assert os.getcwd() == os.path.realpath(str(newdir))
asse... | <|file_sep|>original/testing/test_change_directory.py
<|file_sep|>current/testing/test_change_directory.py
<|file_sep|>updated/testing/test_change_directory.py
import sys
import os
sys.path.insert(0, os.path.realpath('.'))
import pytest
from create_movie import change_directory
def test_change_directory_existing_d... | c4cad482f38fb4dca00d00d8374833268dbc4545 | testing/test_change_directory.py | testing/test_change_directory.py | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.