prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>original/CMakeLists.txt
set(CUDA_NVCC_FLAGS ${CUDA_NVCC_FLAGS} ${CUDA_NVCC_DEBUG_FLAGS} --gpu-architecture=sm_35 -use_fast_math)
find_package(OpenMP)
if (OPENMP_FOUND)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
endif()
# se... | set(CUDA_NVCC_FLAGS ${CUDA_NVCC_FLAGS} ${CUDA_NVCC_DEBUG_FLAGS} --gpu-architecture=sm_35 -use_fast_math)
find_package(OpenMP)
if (OPENMP_FOUND)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
endif()
# set cuda debug flags
if (CMAKE_BUILD_T... | <|file_sep|>original/CMakeLists.txt
set(CUDA_NVCC_FLAGS ${CUDA_NVCC_FLAGS} ${CUDA_NVCC_DEBUG_FLAGS} --gpu-architecture=sm_35 -use_fast_math)
find_package(OpenMP)
if (OPENMP_FOUND)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
endif()
# se... | 5d55f268a3c551976a60d4939ebddc6d636622b6 | CMakeLists.txt | CMakeLists.txt | Text |
<|file_sep|>original/README.md
spotify-logging
===============
[](https://maven-badges.herokuapp.com/maven-central/com.spotify/logging) [](https://trav... | spotify-logging
===============
[](https://maven-badges.herokuapp.com/maven-central/com.spotify/logging) [](https://travis-ci.org/spotify/logging-... | <|file_sep|>original/README.md
spotify-logging
===============
[](https://maven-badges.herokuapp.com/maven-central/com.spotify/logging) [](https://trav... | a225fa730c4113ac7798dab06748c25c156a1b2a | README.md | README.md | Markdown |
<|file_sep|>ehriportal/static/js/portal.js.diff
original:
event.preventDefault();
updated:
<|file_sep|>ehriportal/static/js/portal.js.diff
original:
if (this.href) {
var klass = $(".modal-body").data("fclass");
$("#modal-popup").load(this.href.replace(/search\?/, "search/" + kla... | });
// add Ajax behaviour on pagination links
$(".ajax, .modal-body > .pagination ul li a").live("click", function(event) {
// MASSIVE HACK - extract the facet class from the fclass data attribute
// that is written into the modal-body div and alter the various
// links to point the... | <|file_sep|>ehriportal/static/js/portal.js.diff
original:
event.preventDefault();
updated:
<|file_sep|>ehriportal/static/js/portal.js.diff
original:
if (this.href) {
var klass = $(".modal-body").data("fclass");
$("#modal-popup").load(this.href.replace(/search\?/, "search/" + kla... | 5313432ba6529782bc91d527962c9d6265ebd64e | ehriportal/static/js/portal.js | ehriportal/static/js/portal.js | JavaScript |
<|file_sep|>tools/releaseBuild/findPsesBuild.ps1.diff
original:
updated:
$buildsURL = $buildsURL -replace "branchName", "tagName"
$taggedBuilds = Invoke-RestMethod -ContentType application/json -Uri $buildsUrl -Headers $headers
Write-Host "Requested URL: $buildsUrl"
Write-Host "Got response:`n$(ConvertTo-Json $taggedB... | Write-Host "Got response:`n$(ConvertTo-Json $succeededBuilds)"
$buildsURL = $buildsURL -replace "branchName", "tagName"
$taggedBuilds = Invoke-RestMethod -ContentType application/json -Uri $buildsUrl -Headers $headers
Write-Host "Requested URL: $buildsUrl"
Write-Host "Got response:`n$(ConvertTo-Json $taggedBuilds)"
$... | <|file_sep|>tools/releaseBuild/findPsesBuild.ps1.diff
original:
updated:
$buildsURL = $buildsURL -replace "branchName", "tagName"
$taggedBuilds = Invoke-RestMethod -ContentType application/json -Uri $buildsUrl -Headers $headers
Write-Host "Requested URL: $buildsUrl"
Write-Host "Got response:`n$(ConvertTo-Json $taggedB... | 19bfc37d52430b49d569a13078c6d06494cdb023 | tools/releaseBuild/findPsesBuild.ps1 | tools/releaseBuild/findPsesBuild.ps1 | PowerShell |
<|file_sep|>recipes/condorpy/meta.yaml.diff
original:
- python
updated:
- python >=3.6
<|file_sep|>original/recipes/condorpy/meta.yaml
build:
noarch: python
number: 0
script: "{{ PYTHON }} -m pip install . -vv"
requirements:
host:
- python
- pip
run:
- python
- scp
- paramiko
tes... | build:
noarch: python
number: 0
script: "{{ PYTHON }} -m pip install . -vv"
requirements:
host:
- python >=3.6
- pip
run:
- python >=3.6
- scp
- paramiko
test:
imports:
- condorpy
requires:
- pip
commands:
- pip check | <|file_sep|>recipes/condorpy/meta.yaml.diff
original:
- python
updated:
- python >=3.6
<|file_sep|>original/recipes/condorpy/meta.yaml
build:
noarch: python
number: 0
script: "{{ PYTHON }} -m pip install . -vv"
requirements:
host:
- python
- pip
run:
- python
- scp
- paramiko
tes... | 019b570fda2b5ec3390ff4652dc59cdcd87f31b3 | recipes/condorpy/meta.yaml | recipes/condorpy/meta.yaml | YAML |
<|file_sep|>original/clappr/src/main/kotlin/io/clappr/player/base/Options.kt
var source: String? = null,
var mimeType: String? = null,
@Deprecated(message = "Autoplay functionality will be removed from Player on June/15/2017",
level = DeprecationLevel.WARNING)
var autoPla... | var autoPlay: Boolean = true,
val options: HashMap<String, Any> = hashMapOf<String, Any>()) : MutableMap<String, Any> by options
enum class ClapprOption(val value: String) {
/**
* Media start position
*/
START_AT("startAt"),
/**
* Poster URL
*/
POSTER("poster"),
... | <|file_sep|>original/clappr/src/main/kotlin/io/clappr/player/base/Options.kt
var source: String? = null,
var mimeType: String? = null,
@Deprecated(message = "Autoplay functionality will be removed from Player on June/15/2017",
level = DeprecationLevel.WARNING)
var autoPla... | ddf2ea4ad28dc08a50cc0eab976b04d84b9c872a | clappr/src/main/kotlin/io/clappr/player/base/Options.kt | clappr/src/main/kotlin/io/clappr/player/base/Options.kt | Kotlin |
<|file_sep|>original/package.json
{
"name": "fh-service-sap-netweaver-cloud",
"version": "0.2.0",
"dependencies": {
"express": "4.0.0",
"fh-mbaas-api": "5.7.9",
"request": "2.34.0",
"body-parser": "~1.0.2",
"cors": "~2.2.0",
"sapnwrfc": "0.1.5"
},
"devDependencies": {
"grunt-concur... | {
"name": "fh-service-sap-netweaver-cloud",
"version": "0.2.0",
"dependencies": {
"express": "4.0.0",
"fh-mbaas-api": "5.7.11",
"request": "2.34.0",
"body-parser": "~1.0.2",
"cors": "~2.2.0",
"sapnwrfc": "0.1.5"
},
"devDependencies": {
"grunt-concurrent": "latest",
"grunt-contr... | <|file_sep|>original/package.json
{
"name": "fh-service-sap-netweaver-cloud",
"version": "0.2.0",
"dependencies": {
"express": "4.0.0",
"fh-mbaas-api": "5.7.9",
"request": "2.34.0",
"body-parser": "~1.0.2",
"cors": "~2.2.0",
"sapnwrfc": "0.1.5"
},
"devDependencies": {
"grunt-concur... | e62b968ddb55c1b4abbe9667c6a2ecb658cc8e46 | package.json | package.json | JSON |
<|file_sep|>original/chrome/common/extensions/docs/examples/api/eventPage/basic/manifest.json
{
"name": "Event Page Example",
"description": "Demonstrates usage and features of the event page",
"version": "1.0",
"manifest_version": 2,
"permissions": ["alarms", "tabs", "bookmarks", "declarativeWebRequest", "*:... | {
"name": "Event Page Example",
"description": "Demonstrates usage and features of the event page",
"version": "1.0",
"manifest_version": 2,
"permissions": ["alarms", "tabs", "bookmarks", "declarativeWebRequest", "*://*/*"],
"background": {
"scripts": ["background.js"],
"persistent": false
},
"b... | <|file_sep|>original/chrome/common/extensions/docs/examples/api/eventPage/basic/manifest.json
{
"name": "Event Page Example",
"description": "Demonstrates usage and features of the event page",
"version": "1.0",
"manifest_version": 2,
"permissions": ["alarms", "tabs", "bookmarks", "declarativeWebRequest", "*:... | 67b1d4dfaecab996f6643bdd210ac86349c430d5 | chrome/common/extensions/docs/examples/api/eventPage/basic/manifest.json | chrome/common/extensions/docs/examples/api/eventPage/basic/manifest.json | JSON |
<|file_sep|>original/package.json
},
"homepage": "https://github.com/zrrrzzt/difi#readme",
"engines": {
"node": ">=8.16.0"
},
"scripts": {
"test": "standard && npm audit && tap --reporter=spec test/**/*.js",
"coverage": "tap test/**/*.js --coverage",
"coveralls": "tap --cov --coverage-report=l... | },
"homepage": "https://github.com/zrrrzzt/difi#readme",
"engines": {
"node": ">=8.16.0"
},
"scripts": {
"test": "standard && npm audit && tap --reporter=spec test/**/*.js",
"coverage": "tap test/**/*.js --coverage",
"coveralls": "tap --cov --coverage-report=lcov test/**/*.js && cat coverage/l... | <|file_sep|>original/package.json
},
"homepage": "https://github.com/zrrrzzt/difi#readme",
"engines": {
"node": ">=8.16.0"
},
"scripts": {
"test": "standard && npm audit && tap --reporter=spec test/**/*.js",
"coverage": "tap test/**/*.js --coverage",
"coveralls": "tap --cov --coverage-report=l... | 578adbe20586b3c844a18a03e7863e4ae3cf02ca | package.json | package.json | JSON |
<|file_sep|>original/lib/purpur/helpers.rb
module Purpur
module Helpers
def icon_tag(name, options = {})
size = Purpur::ICON_SIZES[options.delete(:size)]
styleclass = ['icon', options.delete(:class)].join(' ')
content_tag(:span, {class: styleclass, data: { icon: Purpur.icon_name(name), 'icon-s... | module Purpur
module Helpers
def icon_tag(name, options = {})
size = Purpur::ICON_SIZES[options.delete(:size)]
styleclass = ['icon', options.delete(:class)].join(' ')
content_tag(:span, {class: styleclass, data: { icon: Purpur.icon_name(name), 'icon-size' => size }}.deep_merge(options)) do
... | <|file_sep|>original/lib/purpur/helpers.rb
module Purpur
module Helpers
def icon_tag(name, options = {})
size = Purpur::ICON_SIZES[options.delete(:size)]
styleclass = ['icon', options.delete(:class)].join(' ')
content_tag(:span, {class: styleclass, data: { icon: Purpur.icon_name(name), 'icon-s... | b9f38cd770be078b2c68f56641ec2f0f3094b8f7 | lib/purpur/helpers.rb | lib/purpur/helpers.rb | Ruby |
<|file_sep|>original/build.sbt
version := "1.0-SNAPSHOT"
libraryDependencies ++= Seq(
jdbc,
anorm,
cache,
"com.typesafe.scala-logging" %% "scala-logging-slf4j" % "2.1.2",
"org.apache.curator" % "curator-recipes" % "2.4.2",
"org.apache.zookeeper" % "zookeeper" % "3.4.6",
"org.mozilla" % "rhino" % "1.7R4"... | anorm,
cache,
"com.typesafe.scala-logging" %% "scala-logging-slf4j" % "2.1.2",
"org.apache.curator" % "curator-recipes" % "2.4.2",
"org.apache.zookeeper" % "zookeeper" % "3.4.6",
"org.mozilla" % "rhino" % "1.7R4",
"org.reactivemongo" %% "play2-reactivemongo" % "0.10.2",
"org.reactivemongo" %% "reactivem... | <|file_sep|>original/build.sbt
version := "1.0-SNAPSHOT"
libraryDependencies ++= Seq(
jdbc,
anorm,
cache,
"com.typesafe.scala-logging" %% "scala-logging-slf4j" % "2.1.2",
"org.apache.curator" % "curator-recipes" % "2.4.2",
"org.apache.zookeeper" % "zookeeper" % "3.4.6",
"org.mozilla" % "rhino" % "1.7R4"... | 19ba54ea9fd355cf1c446344aafbf765ae3378c8 | build.sbt | build.sbt | Scala |
<|file_sep|>run.py.diff
original:
updated:
# Workaround for passing ssh options to underlying library. Since we want
# to avoid any question upon ssh initialization, therefore we have tp add
# this StrictHostKeyChecking=no to ~/.ssh/config, otherwise we will get
# an error when connecting to new host, since there is n... | """
import os
from gevent import monkey
monkey.patch_all()
from sqmpy.factory import create_app
# This line added to support heroku deployment
port = int(os.environ.get("PORT", 3000))
# Workaround for passing ssh options to underlying library. Since we want
# to avoid any question upon ssh initialization, therefore w... | <|file_sep|>run.py.diff
original:
updated:
# Workaround for passing ssh options to underlying library. Since we want
# to avoid any question upon ssh initialization, therefore we have tp add
# this StrictHostKeyChecking=no to ~/.ssh/config, otherwise we will get
# an error when connecting to new host, since there is n... | d7cb9bdd63b381b81bf89c5e3c1cc3031c5928d9 | run.py | run.py | Python |
<|file_sep|>original/requirements_dev.txt
-r requirements.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
tox==2.9.1
coverage==4.4.2
Sphinx==1.6.5
cryptography==2.1.4
PyYAML==3.12
pytest==3.3.0
pytest-cov==2.5.1
pytest-docker==0.6.1
pytest-mock==1.6.3
docker-compose==1.17.1
packaging==16.8... | -r requirements.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
tox==2.9.1
coverage==4.4.2
Sphinx==1.6.5
cryptography==2.1.4
PyYAML==3.12
pytest==3.3.1
pytest-cov==2.5.1
pytest-docker==0.6.1
pytest-mock==1.6.3
docker-compose==1.17.1
packaging==16.8 | <|file_sep|>original/requirements_dev.txt
-r requirements.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
tox==2.9.1
coverage==4.4.2
Sphinx==1.6.5
cryptography==2.1.4
PyYAML==3.12
pytest==3.3.0
pytest-cov==2.5.1
pytest-docker==0.6.1
pytest-mock==1.6.3
docker-compose==1.17.1
packaging==16.8... | a4714bcaa3a73c0482234b3127125a9665984e03 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/android/app/src/main/java/com/reactnativenavigation/events/EventBus.java
if (isSubscribed(subscriber)) return;
subscribers.add(new WeakReference<>(subscriber));
}
public void unregister(Subscriber subscriber) {
ListIterator<WeakReference<Subscriber>> iterator = subs... | if (isSubscribed(subscriber)) return;
subscribers.add(new WeakReference<>(subscriber));
}
public void unregister(Subscriber subscriber) {
ListIterator<WeakReference<Subscriber>> iterator = subscribers.listIterator();
while (iterator.hasNext()) {
WeakReference<Subscri... | <|file_sep|>original/android/app/src/main/java/com/reactnativenavigation/events/EventBus.java
if (isSubscribed(subscriber)) return;
subscribers.add(new WeakReference<>(subscriber));
}
public void unregister(Subscriber subscriber) {
ListIterator<WeakReference<Subscriber>> iterator = subs... | 04ad06ca111358f4510d2849d2b3475d55ee5f02 | android/app/src/main/java/com/reactnativenavigation/events/EventBus.java | android/app/src/main/java/com/reactnativenavigation/events/EventBus.java | Java |
<|file_sep|>original/package.json
{
"name": "mers",
"version": "0.9.2",
"private": false,
"author": "Justin Spears <speajus@gmail.com>",
"dependencies": {
"body-parser": "~1.10.0",
"concat-stream": "~1.4.7",
"errorhandler": "^1.3.0",
"mongoose": ">= 2.5.7",
"nojector": "^0.1.1",
"under... | {
"name": "mers",
"version": "0.9.3",
"private": false,
"author": "Justin Spears <speajus@gmail.com>",
"dependencies": {
"body-parser": "~1.10.0",
"concat-stream": "~1.4.7",
"errorhandler": "^1.3.0",
"mongoose": ">= 2.5.7",
"nojector": "^0.1.1",
"underscore": ">=1.3.1"
},
"devDepen... | <|file_sep|>original/package.json
{
"name": "mers",
"version": "0.9.2",
"private": false,
"author": "Justin Spears <speajus@gmail.com>",
"dependencies": {
"body-parser": "~1.10.0",
"concat-stream": "~1.4.7",
"errorhandler": "^1.3.0",
"mongoose": ">= 2.5.7",
"nojector": "^0.1.1",
"under... | af54944e402399ecbb47542645161368ae69cd14 | package.json | package.json | JSON |
<|file_sep|>README.md.diff
original:
# Ubuntu CI Docker container
updated:
# Ubuntu Docker Tool Chain Image
[](http://microbadger.com/images/vcatechnology/ubuntu-toolchain "Image Layers") [](http://microbadger.com/images/vcatechnology/ubuntu-toolchain "Image Layers") [](http://microbadger.com/images/vcatechnology/u... | <|file_sep|>README.md.diff
original:
# Ubuntu CI Docker container
updated:
# Ubuntu Docker Tool Chain Image
[](http://microbadger.com/images/vcatechnology/ubuntu-toolchain "Image Layers") [ as dataset_file:
dataset = json.load(dataset_file)
for i in range(len(dataset)):
if 'Continual' == dataset[i]['frequency']:
print dataset[i]['name']
<|file_sep|>current/dataset/print.py
import json
with open('dataset_it... | import json
dataset = []
dataset_files = ['dataset_item.json']
for f in dataset_files:
with open(f) as file:
for line in file:
dataset.append(json.loads(file))
for i in range(len(dataset)):
if 'Continual' == dataset[i]['frequency']:
print dataset[i]['name']
| <|file_sep|>original/dataset/print.py
import json
with open('dataset_item.json') as dataset_file:
dataset = json.load(dataset_file)
for i in range(len(dataset)):
if 'Continual' == dataset[i]['frequency']:
print dataset[i]['name']
<|file_sep|>current/dataset/print.py
import json
with open('dataset_it... | 7733a84dc95d43070f476be42a3559b1a2a16ec0 | dataset/print.py | dataset/print.py | Python |
<|file_sep|>TabHibernation.safariextension/global-script.js.diff
original:
if(tab === win.activeTab) return;
if(!tab.url.match(/^https?:\/\//)) return;
updated:
if(typeof tab.url !== 'undefined') {
if(tab === win.activeTab) return;
if(!tab.url.match(/^https?:\/\//)) return;
<|file_sep|>T... | var pageInfo = {
url: tab.url,
title: tab.title
};
var pageHtml = html.replace(/\{\/\*pageInfoObject\*\/\}/, JSON.stringify(pageInfo));
var dataURL = 'data:text/html;charset=utf-8,' + encodeURIComponent(pageHtml);
tab.url = dataURL;
}, c * 100);
... | <|file_sep|>TabHibernation.safariextension/global-script.js.diff
original:
if(tab === win.activeTab) return;
if(!tab.url.match(/^https?:\/\//)) return;
updated:
if(typeof tab.url !== 'undefined') {
if(tab === win.activeTab) return;
if(!tab.url.match(/^https?:\/\//)) return;
<|file_sep|>T... | 1b602794a7dc6e45a49d01d18bc2c512e1c47254 | TabHibernation.safariextension/global-script.js | TabHibernation.safariextension/global-script.js | JavaScript |
<|file_sep|>original/projects-parent/projects/src/test/java/edu/pdx/cs410J/InvokeMainTest.java
<|file_sep|>current/projects-parent/projects/src/test/java/edu/pdx/cs410J/InvokeMainTest.java
<|file_sep|>updated/projects-parent/projects/src/test/java/edu/pdx/cs410J/InvokeMainTest.java | package edu.pdx.cs410J;
import org.junit.Test;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.containsString;
import static org.hamcrest.Matchers.equalTo;
public class InvokeMainTest extends InvokeMainTestCase {
@Test
public void commandLineArgsWrittenToStandardOutAreCa... | <|file_sep|>original/projects-parent/projects/src/test/java/edu/pdx/cs410J/InvokeMainTest.java
<|file_sep|>current/projects-parent/projects/src/test/java/edu/pdx/cs410J/InvokeMainTest.java
<|file_sep|>updated/projects-parent/projects/src/test/java/edu/pdx/cs410J/InvokeMainTest.java
package edu.pdx.cs410J;
import org... | c63184b1af4f6d1352ea5efcc8aaa3ea69b83607 | projects-parent/projects/src/test/java/edu/pdx/cs410J/InvokeMainTest.java | projects-parent/projects/src/test/java/edu/pdx/cs410J/InvokeMainTest.java | Java |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- '10'
- '8'
- '6'
- '4'
- '0.12'
- '0.10'
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- '10'
- '8'
- '6'
- '4'
- '0.12'
- '0.10'
<|file_sep|>updated/.travis.yml | language: node_js
node_js: node | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- '10'
- '8'
- '6'
- '4'
- '0.12'
- '0.10'
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- '10'
- '8'
- '6'
- '4'
- '0.12'
- '0.10'
<|file_sep|>updated/.travis.yml
language: node_js
node_js: node | 8e854c7004c391f150e10fad04568d34f248bc9e | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/app/views/layouts/application.html.erb
<div id="wrapper" class="wrapper">
<div class="content" role="main">
<% [:notice, :alert].select { |k| flash[k].present? }.each do |k| %>
<p class="flash-<%= k %>">
<%= flash[k] %>
</p>
<% end %>
... |
<div id="wrapper" class="wrapper">
<div class="content" role="main">
<% [:notice, :alert].select { |k| flash[k].present? }.each do |k| %>
<p class="flash-<%= k %>">
<%= flash[k] %>
</p>
<% end %>
<% unless current_page?(admin_root_path) %>
<p><%= link_... | <|file_sep|>original/app/views/layouts/application.html.erb
<div id="wrapper" class="wrapper">
<div class="content" role="main">
<% [:notice, :alert].select { |k| flash[k].present? }.each do |k| %>
<p class="flash-<%= k %>">
<%= flash[k] %>
</p>
<% end %>
... | 4b71af595a48f6694dc0079fc5f4994a8e112cec | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | HTML+ERB |
<|file_sep|>original/.travis.yml
# The different configurations we want to test. You could also do things like
# change flags or use --stack-yaml to point to a different file.
env:
- ARGS=""
before_install:
# Download and unpack the stack executable
- mkdir -p ~/.local/bin
- export PATH=$HOME/.local/bin:$PATH
- travi... | # change flags or use --stack-yaml to point to a different file.
env:
- ARGS=""
before_install:
# Download and unpack the stack executable
- mkdir -p ~/.local/bin
- export PATH=$HOME/.local/bin:$PATH
- travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.loca... | <|file_sep|>original/.travis.yml
# The different configurations we want to test. You could also do things like
# change flags or use --stack-yaml to point to a different file.
env:
- ARGS=""
before_install:
# Download and unpack the stack executable
- mkdir -p ~/.local/bin
- export PATH=$HOME/.local/bin:$PATH
- travi... | 96aadee4a0269ed5d51c473993f0af7e41f95b96 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/ci_environment/cassandra/attributes/default.rb
cassandra_version = "1.2.8"
default[:cassandra] = {
:version => cassandra_version,
:tarball => {
:url => "http://www.apache.org/dist/cassandra/#{cassandra_version}/apache-cassandra-#{cassandra_version}-bin.tar.gz",
:md5 => "b897254c99c6ba5... | cassandra_version = "1.2.8"
default[:cassandra] = {
:version => cassandra_version,
:tarball => {
:url => "http://www.apache.org/dist/cassandra/#{cassandra_version}/apache-cassandra-#{cassandra_version}-bin.tar.gz",
:md5 => "91460be9a35d8795b6b7e54208650054"
},
:user => "cassandra",
:jvm => {
:xm... | <|file_sep|>original/ci_environment/cassandra/attributes/default.rb
cassandra_version = "1.2.8"
default[:cassandra] = {
:version => cassandra_version,
:tarball => {
:url => "http://www.apache.org/dist/cassandra/#{cassandra_version}/apache-cassandra-#{cassandra_version}-bin.tar.gz",
:md5 => "b897254c99c6ba5... | e3fc7db5824e33423110bece09c8c60e31939cb4 | ci_environment/cassandra/attributes/default.rb | ci_environment/cassandra/attributes/default.rb | Ruby |
<|file_sep|>.travis.yml.diff
original:
gemfile: gemfiles/3_2.gemfile
updated:
gemfile:
- gemfiles/3_2.gemfile
<|file_sep|>.travis.yml.diff
original:
gemfile: Gemfile
updated:
gemfile:
- Gemfile
- gemfiles/3_2.gemfile
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.2
... | language: ruby
rvm:
- 1.9.2
gemfile:
- gemfiles/3_2.gemfile
- 1.9.3
gemfile:
- Gemfile
- gemfiles/3_2.gemfile
- 2.0.0
gemfile:
- Gemfile
- gemfiles/3_2.gemfile | <|file_sep|>.travis.yml.diff
original:
gemfile: gemfiles/3_2.gemfile
updated:
gemfile:
- gemfiles/3_2.gemfile
<|file_sep|>.travis.yml.diff
original:
gemfile: Gemfile
updated:
gemfile:
- Gemfile
- gemfiles/3_2.gemfile
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.2
... | 5afa4e0cd4623cb36c6f2fab64b9782ff30d1e61 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/packages/nu/numeric-kinds.yaml
<|file_sep|>current/packages/nu/numeric-kinds.yaml
<|file_sep|>updated/packages/nu/numeric-kinds.yaml | homepage: https://github.com/google/hs-dependent-literals#readme
changelog-type: markdown
hash: f375f10b74a1ee1b466b0fcf6a00065eea6c98cd276c81d6f972528c587b373d
test-bench-deps: {}
maintainer: Andrew Pritchard <awpr@google.com>
synopsis: Type-level numeric types, classes, and instances.
changelog: |
# 0.1.0.0
Init... | <|file_sep|>original/packages/nu/numeric-kinds.yaml
<|file_sep|>current/packages/nu/numeric-kinds.yaml
<|file_sep|>updated/packages/nu/numeric-kinds.yaml
homepage: https://github.com/google/hs-dependent-literals#readme
changelog-type: markdown
hash: f375f10b74a1ee1b466b0fcf6a00065eea6c98cd276c81d6f972528c587b373d
tes... | f747ff25191c29194fa4cdfb5e559550a6344543 | packages/nu/numeric-kinds.yaml | packages/nu/numeric-kinds.yaml | YAML |
<|file_sep|>auth/auth-dist.yaml.diff
original:
updated:
AUTH_TYPE : __AUTH_TYPE__
<|file_sep|>original/auth/auth-dist.yaml
TOKEN_TYPE : Bearer
DEVELOPER_TOKEN : __DEVELOPER_TOKEN__
ACCESS_TOKEN : __ACCESS_TOKEN__
EXPIRE_AT : __EXPIRE_AT__
<|file_sep|>current/auth/auth-dist.yaml
AUTH_TYPE ... | AUTH_TYPE : __AUTH_TYPE__
TOKEN_TYPE : Bearer
DEVELOPER_TOKEN : __DEVELOPER_TOKEN__
# Google account
CLIENT_ID : __CLIENT_ID__
CLIENT_SECRET : __CLIENT_SECRET__
REFRESH_TOKEN : __REFRESH_TOKEN__
# Custom web service
PROTOCOL : __PROTOCOL__
HOSTNAME : __HOSTNAME__
PAT... | <|file_sep|>auth/auth-dist.yaml.diff
original:
updated:
AUTH_TYPE : __AUTH_TYPE__
<|file_sep|>original/auth/auth-dist.yaml
TOKEN_TYPE : Bearer
DEVELOPER_TOKEN : __DEVELOPER_TOKEN__
ACCESS_TOKEN : __ACCESS_TOKEN__
EXPIRE_AT : __EXPIRE_AT__
<|file_sep|>current/auth/auth-dist.yaml
AUTH_TYPE ... | 2a019822c2e96821742730e6361e0c20c4c59803 | auth/auth-dist.yaml | auth/auth-dist.yaml | YAML |
<|file_sep|>src/Graphics/UI/Threepenny/Canvas.hs.diff
original:
updated:
<|file_sep|>src/Graphics/UI/Threepenny/Canvas.hs.diff
original:
Vector, drawImage, clearCanvas,
updated:
Vector, drawImage, clearCanvas
, fillRect, setFillStyle
<|file_sep|>original/src/Graphics/UI/Threepenny/Canvas.hs
) wher... | type Vector = (Int,Int)
-- | Draw the image of an image element onto the canvas at a specified position.
drawImage :: Element -> Vector -> Canvas -> UI ()
drawImage image (x,y) canvas =
runFunction $ ffi "%1.getContext('2d').drawImage(%2,%3,%4)" canvas image x y
-- | Clear the canvas
clearCanvas :: Canvas -> UI (... | <|file_sep|>src/Graphics/UI/Threepenny/Canvas.hs.diff
original:
updated:
<|file_sep|>src/Graphics/UI/Threepenny/Canvas.hs.diff
original:
Vector, drawImage, clearCanvas,
updated:
Vector, drawImage, clearCanvas
, fillRect, setFillStyle
<|file_sep|>original/src/Graphics/UI/Threepenny/Canvas.hs
) wher... | de72d95a02fa99594b52f8f3cdf572c15cc4f979 | src/Graphics/UI/Threepenny/Canvas.hs | src/Graphics/UI/Threepenny/Canvas.hs | Haskell |
<|file_sep|>original/kokki/cookbooks/nginx/recipes/default.py
group = "root")
File("nginx.conf",
path = "%s/nginx.conf" % env.config.nginx.dir,
content = Template("nginx/nginx.conf.j2"),
owner = "root",
group = "root",
mode = 0644)
File("%s/sites-available/default" % env.config.nginx.dir,
... | owner = "root",
group = "root",
mode = 0644)
Service("nginx",
supports_status = True,
supports_restart = True,
supports_reload = True,
action = "start",
subscribes = [("reload", env.resources["File"]["nginx.conf"])])
if "librato.silverline" in env.included_recipes:
File("/etc/defau... | <|file_sep|>original/kokki/cookbooks/nginx/recipes/default.py
group = "root")
File("nginx.conf",
path = "%s/nginx.conf" % env.config.nginx.dir,
content = Template("nginx/nginx.conf.j2"),
owner = "root",
group = "root",
mode = 0644)
File("%s/sites-available/default" % env.config.nginx.dir,
... | 4f9569037ad835b852e6389b082155d45a88774c | kokki/cookbooks/nginx/recipes/default.py | kokki/cookbooks/nginx/recipes/default.py | Python |
<|file_sep|>original/CODE_OF_CONDUCT.md
<|file_sep|>current/CODE_OF_CONDUCT.md
<|file_sep|>updated/CODE_OF_CONDUCT.md | # Community Participation Guidelines
This repository is governed by Mozilla's code of conduct and etiquette guidelines.
For more details, please read the
[Mozilla Community Participation Guidelines](https://www.mozilla.org/about/governance/policies/participation/).
## How to Report
For more information on how to re... | <|file_sep|>original/CODE_OF_CONDUCT.md
<|file_sep|>current/CODE_OF_CONDUCT.md
<|file_sep|>updated/CODE_OF_CONDUCT.md
# Community Participation Guidelines
This repository is governed by Mozilla's code of conduct and etiquette guidelines.
For more details, please read the
[Mozilla Community Participation Guidelines]... | 16d1e4b2727d4b184379ffe9f0d07949cbc14114 | CODE_OF_CONDUCT.md | CODE_OF_CONDUCT.md | Markdown |
<|file_sep|>original/platform-tooling-support-tests/src/test/resources/log4j2-test.xml
<|file_sep|>current/platform-tooling-support-tests/src/test/resources/log4j2-test.xml
<|file_sep|>updated/platform-tooling-support-tests/src/test/resources/log4j2-test.xml | <?xml version="1.0" encoding="UTF-8"?>
<Configuration status="WARN">
<Appenders>
<Console name="Console" target="SYSTEM_OUT">
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n" />
</Console>
</Appenders>
<Loggers>
<Logger name="org.junit" level="warn" />
<Root level="error">
<... | <|file_sep|>original/platform-tooling-support-tests/src/test/resources/log4j2-test.xml
<|file_sep|>current/platform-tooling-support-tests/src/test/resources/log4j2-test.xml
<|file_sep|>updated/platform-tooling-support-tests/src/test/resources/log4j2-test.xml
<?xml version="1.0" encoding="UTF-8"?>
<Configuration statu... | bed05199ff2925cca416142b134dd13880fdb258 | platform-tooling-support-tests/src/test/resources/log4j2-test.xml | platform-tooling-support-tests/src/test/resources/log4j2-test.xml | XML |
<|file_sep|>original/.github/workflows/node.js.yml
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
... | build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: sudo apt-get ... | <|file_sep|>original/.github/workflows/node.js.yml
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
... | f249a36624b5adc2cd1d35a6916a52ce147bbb50 | .github/workflows/node.js.yml | .github/workflows/node.js.yml | YAML |
<|file_sep|>original/releasenotes/notes/yoga-known-issues-f1248af0e328d63e.yaml
<|file_sep|>current/releasenotes/notes/yoga-known-issues-f1248af0e328d63e.yaml
<|file_sep|>updated/releasenotes/notes/yoga-known-issues-f1248af0e328d63e.yaml | ---
prelude: >
Welcome to the Yoga release of the os-brick library.
issues:
- |
At release time, we became aware that recent changes to the
nvmeof connector were tested only in configurations where the
NVMe storage backend supports namespace AER. One issue arising
from this is being tracked by `B... | <|file_sep|>original/releasenotes/notes/yoga-known-issues-f1248af0e328d63e.yaml
<|file_sep|>current/releasenotes/notes/yoga-known-issues-f1248af0e328d63e.yaml
<|file_sep|>updated/releasenotes/notes/yoga-known-issues-f1248af0e328d63e.yaml
---
prelude: >
Welcome to the Yoga release of the os-brick library.
issues:
... | 6fc125b036fd3f201c1ba592956e77ec93b17514 | releasenotes/notes/yoga-known-issues-f1248af0e328d63e.yaml | releasenotes/notes/yoga-known-issues-f1248af0e328d63e.yaml | YAML |
<|file_sep|>original/requirements.txt
Django
djangorestframework==3.6.4
django-money==0.13.5
<|file_sep|>current/requirements.txt
Django
djangorestframework==3.6.4
django-money==0.13.5
<|file_sep|>updated/requirements.txt | Django
djangorestframework==3.8.2
django-money==0.13.5 | <|file_sep|>original/requirements.txt
Django
djangorestframework==3.6.4
django-money==0.13.5
<|file_sep|>current/requirements.txt
Django
djangorestframework==3.6.4
django-money==0.13.5
<|file_sep|>updated/requirements.txt
Django
djangorestframework==3.8.2
django-money==0.13.5 | cc55b315ee99c508ce405bb6ccf1020fd8c325e4 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/src/main/resources/log4j2.xml
<Configuration status="info">
<Properties>
<Property name="log-path">./log</Property>
</Properties>
<Appenders>
<Console name="STDOUT" target="SYSTEM_OUT">
<PatternLayout pattern="[%d{MM-dd-yyyy HH:mm:ss.SSS}] [%t] %-5level %l... | <Configuration status="info">
<Properties>
<Property name="log-path">./log</Property>
</Properties>
<Appenders>
<Console name="STDOUT" target="SYSTEM_OUT">
<PatternLayout pattern="[%d{MM-dd-yyyy HH:mm:ss.SSS}] [%t] %-5level %logger{36}.%M(%L) - %msg%n"/>
</Console>
... | <|file_sep|>original/src/main/resources/log4j2.xml
<Configuration status="info">
<Properties>
<Property name="log-path">./log</Property>
</Properties>
<Appenders>
<Console name="STDOUT" target="SYSTEM_OUT">
<PatternLayout pattern="[%d{MM-dd-yyyy HH:mm:ss.SSS}] [%t] %-5level %l... | 53418d500ca3a9adc660d94aa0bd67fa8a912748 | src/main/resources/log4j2.xml | src/main/resources/log4j2.xml | XML |
<|file_sep|>original/developer-tools/djinni_generate_bindings.sh
#!/bin/bash
GULDEN_DJINNI_REPO=https://github.com/mjmacleod/djinni.git
#if [ ! -d djinni ]; then
# git clone --single-branch --branch gulden ${GULDEN_DJINNI_REPO}
#else
# cd djinni
# git pull origin
# cd ..
#fi
rm -rf src/unity/djinni/*
djinni/src/run ... | #!/bin/bash
GULDEN_DJINNI_REPO=https://github.com/mjmacleod/djinni.git
if [ ! -d djinni ]; then
git clone --single-branch --branch gulden ${GULDEN_DJINNI_REPO}
else
cd djinni
git pull origin
cd ..
fi
rm -rf src/unity/djinni/*
djinni/src/run \
--java-out ./src/frontend/android/unity_wallet/app/src/main/java/com/... | <|file_sep|>original/developer-tools/djinni_generate_bindings.sh
#!/bin/bash
GULDEN_DJINNI_REPO=https://github.com/mjmacleod/djinni.git
#if [ ! -d djinni ]; then
# git clone --single-branch --branch gulden ${GULDEN_DJINNI_REPO}
#else
# cd djinni
# git pull origin
# cd ..
#fi
rm -rf src/unity/djinni/*
djinni/src/run ... | b29dd4d49ad60ba8f572fb5725585e02b1bf81f7 | developer-tools/djinni_generate_bindings.sh | developer-tools/djinni_generate_bindings.sh | Shell |
<|file_sep|>original/dragonflow/common/common_params.py
from oslo_config import cfg
from neutron.i18n import _
df_opts = [
cfg.StrOpt('remote_db_ip',
default='127.0.0.1',
help=_('The remote db server ip address')),
cfg.IntOpt('remote_db_port',
default=4001,
... |
from oslo_config import cfg
from neutron.i18n import _
df_opts = [
cfg.StrOpt('remote_db_ip',
default='127.0.0.1',
help=_('The remote db server ip address')),
cfg.PortOpt('remote_db_port',
default=4001,
help=_('The remote db server port')),
cf... | <|file_sep|>original/dragonflow/common/common_params.py
from oslo_config import cfg
from neutron.i18n import _
df_opts = [
cfg.StrOpt('remote_db_ip',
default='127.0.0.1',
help=_('The remote db server ip address')),
cfg.IntOpt('remote_db_port',
default=4001,
... | 0ee0d94e6a167ab8994a5e61f3db45799eba7a12 | dragonflow/common/common_params.py | dragonflow/common/common_params.py | Python |
<|file_sep|>original/lib/danica/function/division.rb
module Danica
class Function
class Division < Function
attr_accessor :numerator, :denominator
def to_f
numerator.to_f / denominator.to_f
end
def to_tex
"\\frac{#{numerator.to_tex}}{#{denominator.to_tex}}"
end
... | module Danica
class Function
class Division < Function
attr_reader :numerator, :denominator
def to_f
numerator.to_f / denominator.to_f
end
def to_tex
"\\frac{#{numerator.to_tex}}{#{denominator.to_tex}}"
end
def numerator=(value)
@numerator = wrap_valu... | <|file_sep|>original/lib/danica/function/division.rb
module Danica
class Function
class Division < Function
attr_accessor :numerator, :denominator
def to_f
numerator.to_f / denominator.to_f
end
def to_tex
"\\frac{#{numerator.to_tex}}{#{denominator.to_tex}}"
end
... | 384a7ad1d35670820ba60492e7fcf13027a76c4b | lib/danica/function/division.rb | lib/danica/function/division.rb | Ruby |
<|file_sep|>src/main/js/lib/rivets-cfg.js.diff
original:
'jquery',
updated:
'underscore',
<|file_sep|>src/main/js/lib/rivets-cfg.js.diff
original:
], function (rivets, $) {
updated:
], function (rivets, _) {
<|file_sep|>src/main/js/lib/rivets-cfg.js.diff
original:
updated:
/* Make sure Array.isArray i... | Array.isArray = function(arg) {
return Object.prototype.toString.call(arg) === '[object Array]';
};
}
rivets.formatters.join = function (array, separator) {
return isArray(array) ? array.join(separator) : array;
};
rivets.formatters.contains = function (array, needl... | <|file_sep|>src/main/js/lib/rivets-cfg.js.diff
original:
'jquery',
updated:
'underscore',
<|file_sep|>src/main/js/lib/rivets-cfg.js.diff
original:
], function (rivets, $) {
updated:
], function (rivets, _) {
<|file_sep|>src/main/js/lib/rivets-cfg.js.diff
original:
updated:
/* Make sure Array.isArray i... | e947a1094535d2b4ea7d1113194d0f4906cf0f0d | src/main/js/lib/rivets-cfg.js | src/main/js/lib/rivets-cfg.js | JavaScript |
<|file_sep|>original/README.md
# Developer News
[](https://travis-ci.org/markoch/dev-news-os)
[](https://david-dm.org/markoch/dev-news-os)
[](https://travis-ci.org/markoch/dev-news-os)
[](https://david-dm.org/markoch/dev-news-os)
[](https://travis-ci.org/markoch/dev-news-os)
[](https://david-dm.org/markoch/dev-news-os)
[![devDependency Sta... | b9bfec05bae65ed2e4750cad4b16fab17d401d12 | README.md | README.md | Markdown |
<|file_sep|>original/SamiTest.html
<|file_sep|>current/SamiTest.html
<|file_sep|>updated/SamiTest.html | <!<!DOCTYPE>
<html>
<head>
<title>Shami Test</title>
<script src="./SamiScript.js"></script>
<style>
body {
font-family: Verdana, Geneva, Tahoma, sans-serif;
font-size: medium;
}
form {
margin-top:100px;
margin-left: 35%;
... | <|file_sep|>original/SamiTest.html
<|file_sep|>current/SamiTest.html
<|file_sep|>updated/SamiTest.html
<!<!DOCTYPE>
<html>
<head>
<title>Shami Test</title>
<script src="./SamiScript.js"></script>
<style>
body {
font-family: Verdana, Geneva, Tahoma, sans-serif;
font-size: m... | 5d0364dd8eb30f173fba1925a463283fb8ce8f55 | SamiTest.html | SamiTest.html | HTML |
<|file_sep|>.travis.yml.diff
original:
- 1.9.3
updated:
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0
- 2.2
gemfile:
- gemfiles/clean.gemfile
- gemfiles/3.2.gemfile
- gemfiles/4.2.gemfile
- gemfiles/5.0.gemfile
script: 'bundle exec rspec'
notifications:
email: false
addons:
... | language: ruby
rvm:
- 2.0
- 2.2
- 2.3.1
gemfile:
- gemfiles/clean.gemfile
- gemfiles/3.2.gemfile
- gemfiles/4.2.gemfile
- gemfiles/5.0.gemfile
script: 'bundle exec rspec'
notifications:
email: false
addons:
code_climate:
repo_token: def01fea93ef7e5af7b536817182cb7951f9aac0e151bf544584901a689e... | <|file_sep|>.travis.yml.diff
original:
- 1.9.3
updated:
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0
- 2.2
gemfile:
- gemfiles/clean.gemfile
- gemfiles/3.2.gemfile
- gemfiles/4.2.gemfile
- gemfiles/5.0.gemfile
script: 'bundle exec rspec'
notifications:
email: false
addons:
... | 6b9a0347b0fc84b02888b6cfafdbeae423174bc5 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
ts-krinkle-mwSnapshots
======================
## Install:
* Copy `local.php-sample` and rename to `local.php`
* Fill in paths for the needed directories (and create them if needed). Keep in mind that the PHP script
needs to be able to write, read and remove files from these directories... | ts-krinkle-mwSnapshots
======================
## Install:
* Copy `local.php-sample` and rename to `local.php`
* Fill in paths for the needed directories (and create them if needed). Keep in mind that the PHP script
needs to be able to write, read and remove files from these directories.
In the case of `cacheDir`, ... | <|file_sep|>original/README.md
ts-krinkle-mwSnapshots
======================
## Install:
* Copy `local.php-sample` and rename to `local.php`
* Fill in paths for the needed directories (and create them if needed). Keep in mind that the PHP script
needs to be able to write, read and remove files from these directories... | 8d0cfab841345fe03c0d0ae5f9e232839706068b | README.md | README.md | Markdown |
<|file_sep|>original/bower.json
{
"name": "klondike",
"version": "1.7.0",
"dependencies": {
"bootstrap-sass-official": "~3.2.0",
"ember": "1.7.0",
"ember-resolver": "~0.1.7",
"ember-cli-shims": "stefanpenner/ember-cli-shims#0.0.3",
"ember-cli-test-loader": "rwjblue/ember-cli-test-loader#0.0.4"... | {
"name": "klondike",
"version": "1.7.0",
"dependencies": {
"bootstrap-sass-official": "~3.2.0",
"ember": "1.8.0",
"ember-resolver": "~0.1.7",
"ember-cli-shims": "stefanpenner/ember-cli-shims#0.0.3",
"ember-cli-test-loader": "rwjblue/ember-cli-test-loader#0.0.4",
"ember-load-initializers":... | <|file_sep|>original/bower.json
{
"name": "klondike",
"version": "1.7.0",
"dependencies": {
"bootstrap-sass-official": "~3.2.0",
"ember": "1.7.0",
"ember-resolver": "~0.1.7",
"ember-cli-shims": "stefanpenner/ember-cli-shims#0.0.3",
"ember-cli-test-loader": "rwjblue/ember-cli-test-loader#0.0.4"... | 182d13f077df66909fa564c33e2970fc874d0c64 | bower.json | bower.json | JSON |
<|file_sep|>original/code/js/controllers/7digitalController.js
;(function() {
"use strict";
require("BaseController").init({
siteName: "7digital",
playPause: ".player-play-pause",
playNext: ".player-next",
playState: ".player-play-pause:not(.paused)",
song: "#player-now-playing-title",
art... | ;(function() {
"use strict";
require("BaseController").init({
siteName: "7digital",
playPause: ".player-play-pause",
playNext: ".player-next",
playPrev: ".player-previous",
mute: "#player-mute-toggle-btn",
playState: ".player-play-pause:not(.paused)",
song: "#player-now-playing-title",... | <|file_sep|>original/code/js/controllers/7digitalController.js
;(function() {
"use strict";
require("BaseController").init({
siteName: "7digital",
playPause: ".player-play-pause",
playNext: ".player-next",
playState: ".player-play-pause:not(.paused)",
song: "#player-now-playing-title",
art... | e6350a73d2ecbd97db29ee6cbff56a292769090e | code/js/controllers/7digitalController.js | code/js/controllers/7digitalController.js | JavaScript |
<|file_sep|>original/app/styles/nypr-member-center/_current-status-detail.scss
margin-top: 0;
padding: 4px 16px;
text-decoration: none;
}
.wqxr-pledge-donate-button {
$wqxr-blue: #2064b4;
background-color: $wqxr-blue;
border-color: $wqxr-blue;
&:not([disabled]):hover {
background-color: darken($wqx... | .wqxr-pledge-donate-button {
$wqxr-blue: #2064b4;
background-color: $wqxr-blue;
border-color: $wqxr-blue;
&:not([disabled]):hover {
background-color: darken($wqxr-blue, 10%);
border-color: darken($wqxr-blue, 10%);
}
&:not([disabled]):focus {
background-color: darken($wqxr-blue, 10%);
bord... | <|file_sep|>original/app/styles/nypr-member-center/_current-status-detail.scss
margin-top: 0;
padding: 4px 16px;
text-decoration: none;
}
.wqxr-pledge-donate-button {
$wqxr-blue: #2064b4;
background-color: $wqxr-blue;
border-color: $wqxr-blue;
&:not([disabled]):hover {
background-color: darken($wqx... | ed69f954f2c5c533270e12f8d9b829e2097be620 | app/styles/nypr-member-center/_current-status-detail.scss | app/styles/nypr-member-center/_current-status-detail.scss | SCSS |
<|file_sep|>vendor/Twig/Array.php.diff
original:
function twig_shuffle_filter($array)
updated:
function twig_shuffle_filter($array, $associative = false)
<|file_sep|>original/vendor/Twig/Array.php
return 'array';
}
}
/**
* Shuffles an array.
*
* @param array|Traversable $array An array
*
* @return arr... | * @param array|Traversable $array An array
*
* @return array
*/
function twig_shuffle_filter($array, $associative = false)
{
if ($array instanceof Traversable) {
$array = iterator_to_array($array, false);
}
if($associative) {
$keys = array_keys($array);
shuffle($keys);
... | <|file_sep|>vendor/Twig/Array.php.diff
original:
function twig_shuffle_filter($array)
updated:
function twig_shuffle_filter($array, $associative = false)
<|file_sep|>original/vendor/Twig/Array.php
return 'array';
}
}
/**
* Shuffles an array.
*
* @param array|Traversable $array An array
*
* @return arr... | 5593c5c7d5625423bfceed18bb6f404702d9afe4 | vendor/Twig/Array.php | vendor/Twig/Array.php | PHP |
<|file_sep|>original/src/api/resource.spec.ts
<|file_sep|>current/src/api/resource.spec.ts
<|file_sep|>updated/src/api/resource.spec.ts | import {MockApi} from './mock';
import {describeComponent} from '../tests/component';
describeComponent('reactive queries', [], () => {
let mockApi: MockApi;
let unsubscribeRequestedSpy: jasmine.Spy;
beforeEach(() => {
mockApi = new MockApi();
unsubscribeRequestedSpy = jasmine.createSpy('u... | <|file_sep|>original/src/api/resource.spec.ts
<|file_sep|>current/src/api/resource.spec.ts
<|file_sep|>updated/src/api/resource.spec.ts
import {MockApi} from './mock';
import {describeComponent} from '../tests/component';
describeComponent('reactive queries', [], () => {
let mockApi: MockApi;
let unsubscribe... | 0dcada6135b4711c3f550763b0ab2dba12e65dfa | src/api/resource.spec.ts | src/api/resource.spec.ts | TypeScript |
<|file_sep|>original/files/site-defaults.cfg
config_opts['plugin_conf']['tmpfs_enable'] = True
config_opts['plugin_conf']['tmpfs_opts'] = {}
config_opts['plugin_conf']['tmpfs_opts']['required_ram_mb'] = 2048
config_opts['plugin_conf']['tmpfs_opts']['max_fs_size'] = '6g'
config_opts['plugin_conf']['tmpfs_opts']['mode'] ... | config_opts['plugin_conf']['tmpfs_enable'] = True
config_opts['plugin_conf']['tmpfs_opts'] = {}
config_opts['plugin_conf']['tmpfs_opts']['required_ram_mb'] = 2048
config_opts['plugin_conf']['tmpfs_opts']['max_fs_size'] = '4g'
config_opts['plugin_conf']['tmpfs_opts']['mode'] = '0755'
config_opts['plugin_conf']['tmpfs_op... | <|file_sep|>original/files/site-defaults.cfg
config_opts['plugin_conf']['tmpfs_enable'] = True
config_opts['plugin_conf']['tmpfs_opts'] = {}
config_opts['plugin_conf']['tmpfs_opts']['required_ram_mb'] = 2048
config_opts['plugin_conf']['tmpfs_opts']['max_fs_size'] = '6g'
config_opts['plugin_conf']['tmpfs_opts']['mode'] ... | 2b12e2feef916965212ad5516694f91f9ee5bd0a | files/site-defaults.cfg | files/site-defaults.cfg | INI |
<|file_sep|>original/_config.php
<?php
if(DB::get_alternative_database_name()) {
require_once BASE_PATH . '/vendor/autoload.php';
// Register mailer
if($mailer = Session::get('testsession.mailer')) {
Email::set_mailer(new $mailer());
Email::send_all_emails_to(null);
}
// Set mock date and time
$... | <?php
if(
Config::inst()->get('Security', 'token')
&& DB::get_alternative_database_name()
) {
require_once BASE_PATH . '/vendor/autoload.php';
// Register mailer
if($mailer = Session::get('testsession.mailer')) {
Email::set_mailer(new $mailer());
Email::send_all_emails_to(null);
}
// Set mock ... | <|file_sep|>original/_config.php
<?php
if(DB::get_alternative_database_name()) {
require_once BASE_PATH . '/vendor/autoload.php';
// Register mailer
if($mailer = Session::get('testsession.mailer')) {
Email::set_mailer(new $mailer());
Email::send_all_emails_to(null);
}
// Set mock date and time
$... | 9a8d24c116d6c6ea35c70ea9f63c1fff9d397981 | _config.php | _config.php | PHP |
<|file_sep|>locales/kab/app.ftl.diff
original:
updated:
pageTitleDefault = Firefox Test Pilot
pageTitleLandingPage = Firefox Test Pilot
<|file_sep|>original/locales/kab/app.ftl
siteName = Firefox Test Pilot
footerLinkCookies = Inagan n tuqqna
footerLinkPrivacy = Tabaḍnit
# TODO: these strings are not currently localiz... | siteName = Firefox Test Pilot
pageTitleDefault = Firefox Test Pilot
pageTitleLandingPage = Firefox Test Pilot
footerLinkCookies = Inagan n tuqqna
footerLinkPrivacy = Tabaḍnit
footerLinkTerms = Tiwtilin
footerLinkLegal = Usḍif
footerLinkAbout = Ɣef Test Pilot
landingIntroLead = Wali ugar…
landingIntroOne = Sekyed timahi... | <|file_sep|>locales/kab/app.ftl.diff
original:
updated:
pageTitleDefault = Firefox Test Pilot
pageTitleLandingPage = Firefox Test Pilot
<|file_sep|>original/locales/kab/app.ftl
siteName = Firefox Test Pilot
footerLinkCookies = Inagan n tuqqna
footerLinkPrivacy = Tabaḍnit
# TODO: these strings are not currently localiz... | a2d1c663f7f965fe9045a898da8e947a4bffe5ef | locales/kab/app.ftl | locales/kab/app.ftl | FreeMarker |
<|file_sep|>original/src/configuration.h
#include <QString>
/** @brief Polling interval in ms */
#define SERIAL_POLL_INTERVAL 9
/** @brief Heartbeat emission rate, in Hertz (times per second) */
#define MAVLINK_HEARTBEAT_DEFAULT_RATE 1
#define WITH_TEXT_TO_SPEECH 1
#define QGC_APPLICATION_NAME "APM Planner"
#define ... | #include <QString>
/** @brief Polling interval in ms */
#define SERIAL_POLL_INTERVAL 9
/** @brief Heartbeat emission rate, in Hertz (times per second) */
#define MAVLINK_HEARTBEAT_DEFAULT_RATE 1
#define WITH_TEXT_TO_SPEECH 1
#define QGC_APPLICATION_NAME "APM Planner"
#define QGC_APPLICATION_VERSION "v2.0.0 (alpha-RC... | <|file_sep|>original/src/configuration.h
#include <QString>
/** @brief Polling interval in ms */
#define SERIAL_POLL_INTERVAL 9
/** @brief Heartbeat emission rate, in Hertz (times per second) */
#define MAVLINK_HEARTBEAT_DEFAULT_RATE 1
#define WITH_TEXT_TO_SPEECH 1
#define QGC_APPLICATION_NAME "APM Planner"
#define ... | 4fa4c1d56adc1005ce856580848a11bc11598e09 | src/configuration.h | src/configuration.h | C |
<|file_sep|>common/common.scss.diff
original:
.extra-info-wrapper .topic-link,
updated:
<|file_sep|>original/common/common.scss
}
.badge-notification.new-posts,
.badge-notification.unread-posts {
background-color: #019245;
}
.badge-notification.new-topic {
color: #019245;
}
.theme-switcher {
color: #222;
}
.ex... |
.badge-notification.new-posts,
.badge-notification.unread-posts {
background-color: #019245;
}
.badge-notification.new-topic {
color: #019245;
}
.theme-switcher {
color: #222;
}
.extra-info-wrapper .topic-statuses i {
color: #fff !important;
}
.ember-view .topic-list-item:hover,
.has-description:hover,
.topic-... | <|file_sep|>common/common.scss.diff
original:
.extra-info-wrapper .topic-link,
updated:
<|file_sep|>original/common/common.scss
}
.badge-notification.new-posts,
.badge-notification.unread-posts {
background-color: #019245;
}
.badge-notification.new-topic {
color: #019245;
}
.theme-switcher {
color: #222;
}
.ex... | 3c8ffec4523eb9750d0fef7ab217764e6274df1b | common/common.scss | common/common.scss | SCSS |
<|file_sep|>original/.kitchen.yml
---
driver:
name: vagrant
provisioner:
name: ansible_playbook
roles_path: roles
ansible_verbose: true
ansible_verbosity: 2
ansible_version: latest
require_ruby_for_busser: false
require_chef_for_busser: true
hosts: all
roles_path: ../
platforms:
- name: centos/7... | ---
driver:
name: vagrant
provisioner:
name: ansible_playbook
roles_path: roles
ansible_verbose: false
ansible_verbosity: 1
ansible_version: latest
require_ruby_for_busser: false
require_chef_for_busser: true
hosts: all
roles_path: ../
platforms:
- name: centos/7
- name: ubuntu-14.04
suites:
... | <|file_sep|>original/.kitchen.yml
---
driver:
name: vagrant
provisioner:
name: ansible_playbook
roles_path: roles
ansible_verbose: true
ansible_verbosity: 2
ansible_version: latest
require_ruby_for_busser: false
require_chef_for_busser: true
hosts: all
roles_path: ../
platforms:
- name: centos/7... | 5860f1bebd640a7bfc82eb63faf1014bef1db5f2 | .kitchen.yml | .kitchen.yml | YAML |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.8"
- "0.10.0"
branches:
only:
- master
notifications:
recipients:
- michi@netzpiraten.ch
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.8"
- "0.10.0"
branches:
only:
- master
notifications:
recipients:
- mi... | language: node_js
node_js:
- "0.10.0"
branches:
only:
- master
notifications:
recipients:
- michi@netzpiraten.ch | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.8"
- "0.10.0"
branches:
only:
- master
notifications:
recipients:
- michi@netzpiraten.ch
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.8"
- "0.10.0"
branches:
only:
- master
notifications:
recipients:
- mi... | 1717bd023daeded579815690bffdd0eeea105235 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
## Requirements
* Debian (or any debian related) system
* PHP > 5.3
* Webserver like apache, nginx or others
* MySQL
## Install
* An automated installer is available. So you just need to run it with the following command
php app/console glit:install
## Contribute
I actuall... |
## Requirements
* Debian (or any debian related) system
* PHP > 5.3
* Webserver like apache, nginx or others
* MySQL
## Install
* First, copy the `app/config/parameters.ini.dist` into `app/config/parameters.ini` and edit the values according to your databse configuration
* With your terminal, go the glit directory... | <|file_sep|>original/README.md
## Requirements
* Debian (or any debian related) system
* PHP > 5.3
* Webserver like apache, nginx or others
* MySQL
## Install
* An automated installer is available. So you just need to run it with the following command
php app/console glit:install
## Contribute
I actuall... | a7efa002e253ea44fa3dc16fbdfe21f9d51da679 | README.md | README.md | Markdown |
<|file_sep|>original/src/Cache/composer.json
{
"name": "cakephp/cache",
"description": "Easy to use Caching library with support for multiple caching backends",
"license": "MIT",
"authors": [
{
"name": "CakePHP Community",
"homepage": "http://cakephp.org"
}
],
"autolo... | {
"name": "cakephp/cache",
"description": "Easy to use Caching library with support for multiple caching backends",
"license": "MIT",
"authors": [
{
"name": "CakePHP Community",
"homepage": "http://cakephp.org"
}
],
"autoload": {
"psr-4": {
"Cake\\... | <|file_sep|>original/src/Cache/composer.json
{
"name": "cakephp/cache",
"description": "Easy to use Caching library with support for multiple caching backends",
"license": "MIT",
"authors": [
{
"name": "CakePHP Community",
"homepage": "http://cakephp.org"
}
],
"autolo... | bdc25a0536f990f79931af47ab9f23d514d71eb5 | src/Cache/composer.json | src/Cache/composer.json | JSON |
<|file_sep|>.travis.yml.diff
original:
- 2.2
updated:
- 2.2
<|file_sep|>.travis.yml.diff
original:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
updated:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
<|file_sep|>.travis.yml.diff
original:
script: ./script/cibuild
updated:
script: "./script/cibuild"
<|file_sep|>original/.travis.y... | language: ruby
rvm:
- 2.2
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
cache: bundler
sudo: false
before_script: bundle update
script: "./script/cibuild"
notifications:
email: false
deploy:
provider: rubygems
api_key:
secure: qz0q6ur0kGo03jjLdoAak6WcEAwxX2r9LG3DVrhOrcfoFipkuW+uwR0et4tpK8uFrz0P9y7eTIK... | <|file_sep|>.travis.yml.diff
original:
- 2.2
updated:
- 2.2
<|file_sep|>.travis.yml.diff
original:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
updated:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
<|file_sep|>.travis.yml.diff
original:
script: ./script/cibuild
updated:
script: "./script/cibuild"
<|file_sep|>original/.travis.y... | c243801b2acbdbd17a45737b5d057b1d22849cbf | .travis.yml | .travis.yml | YAML |
<|file_sep|>releasenotes/notes/nic-config-with-ansible-default-cbcaedd0a5ad49b0.yaml.diff
original:
jinja templates for roles, the default. Too keep using old heat templates
updated:
jinja templates for roles, the default. To keep using old heat templates
<|file_sep|>releasenotes/notes/nic-config-with-ansible-d... | ---
features:
- |
This changes network config generation with ansible, using the provided
jinja templates for roles, the default. To keep using old heat templates
for network config with``OS::TripleO::{{role.name}}::Net::SoftwareConfig``
mappings, use ``NetworkConfigWithAnsible: false`` ``parameter_de... | <|file_sep|>releasenotes/notes/nic-config-with-ansible-default-cbcaedd0a5ad49b0.yaml.diff
original:
jinja templates for roles, the default. Too keep using old heat templates
updated:
jinja templates for roles, the default. To keep using old heat templates
<|file_sep|>releasenotes/notes/nic-config-with-ansible-d... | 58ca6aebbdbcacdbde2e1d4a08d8f6eba6b2131f | releasenotes/notes/nic-config-with-ansible-default-cbcaedd0a5ad49b0.yaml | releasenotes/notes/nic-config-with-ansible-default-cbcaedd0a5ad49b0.yaml | YAML |
<|file_sep|>original/src/dsp/DiscontinuityDetector.js
<|file_sep|>current/src/dsp/DiscontinuityDetector.js
<|file_sep|>updated/src/dsp/DiscontinuityDetector.js | /**
* @depends ../core/AudioletNode.js
*/
var DiscontinuityDetector = new Class({
Extends: PassThroughNode,
initialize: function(audiolet, threshold, callback) {
PassThroughNode.prototype.initialize.apply(this, [audiolet, 1, 1]);
this.linkNumberOfOutputChannels(0, 0);
this.threshold ... | <|file_sep|>original/src/dsp/DiscontinuityDetector.js
<|file_sep|>current/src/dsp/DiscontinuityDetector.js
<|file_sep|>updated/src/dsp/DiscontinuityDetector.js
/**
* @depends ../core/AudioletNode.js
*/
var DiscontinuityDetector = new Class({
Extends: PassThroughNode,
initialize: function(audiolet, threshol... | a3519ec3e332e9825645cf02e614c724c30c8a46 | src/dsp/DiscontinuityDetector.js | src/dsp/DiscontinuityDetector.js | JavaScript |
<|file_sep|>original/windows/install.ps1
$hostname = $(get-childitem -path env:computername).value
$ipaddress = $(ipconfig | where {$_ -match 'IPv4.+\s(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})' } | out-null; $Matches[1])
$puppet = 'C:\Program Files\Puppet Labs\Puppet\bin\puppet.bat'
Test-Path $puppet
if($?){
Write-Host... | $hostname = $(get-childitem -path env:computername).value
$ipaddress = $(ipconfig | where {$_ -match 'IPv4.+\s(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})' } | out-null; $Matches[1])
$puppet = 'C:\Program Files\Puppet Labs\Puppet\bin\puppet.bat'
Test-Path $puppet
if($?){
Write-Host "puppet-agent OK"
choco upgrade pupp... | <|file_sep|>original/windows/install.ps1
$hostname = $(get-childitem -path env:computername).value
$ipaddress = $(ipconfig | where {$_ -match 'IPv4.+\s(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})' } | out-null; $Matches[1])
$puppet = 'C:\Program Files\Puppet Labs\Puppet\bin\puppet.bat'
Test-Path $puppet
if($?){
Write-Host... | d5d1b630102fa328292712a4161767d44910300b | windows/install.ps1 | windows/install.ps1 | PowerShell |
<|file_sep|>original/.github/workflows/maze-runner-tests.yml
<|file_sep|>current/.github/workflows/maze-runner-tests.yml
<|file_sep|>updated/.github/workflows/maze-runner-tests.yml | name: Maze Runner tests
on:
push:
pull_request:
schedule:
- cron: '0 0 * * *'
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php-version: [7.4]
laravel-fixture: [laravel56, laravel58, laravel66]
steps:
- uses: actions/checkout@v2
- n... | <|file_sep|>original/.github/workflows/maze-runner-tests.yml
<|file_sep|>current/.github/workflows/maze-runner-tests.yml
<|file_sep|>updated/.github/workflows/maze-runner-tests.yml
name: Maze Runner tests
on:
push:
pull_request:
schedule:
- cron: '0 0 * * *'
jobs:
test:
runs-on: ubuntu-latest
st... | 67c7974434bedc534393bc4dbbbfcbc6036ae95c | .github/workflows/maze-runner-tests.yml | .github/workflows/maze-runner-tests.yml | YAML |
<|file_sep|>src/redis2ws.cr.diff
original:
SOCKETS = [] of HTTP::WebSocket
updated:
SOCKETS = [] of HTTP::WebSocket # which type are the objects in this empty list :O
<|file_sep|>src/redis2ws.cr.diff
original:
# For root and /app.js we just hardcode some paths. You should probably use a nicer way for this.
update... | end
end
# The Kemal app, pretty straightforward.
# While static files get served from the /public directory, this doesn't work for calls to `/`, so
# we have to hardcode that one.
get "/" do |ctx|
send_file ctx, "public/index.html"
end
ws "/eventstream/" do |socket|
# Add the client t... | <|file_sep|>src/redis2ws.cr.diff
original:
SOCKETS = [] of HTTP::WebSocket
updated:
SOCKETS = [] of HTTP::WebSocket # which type are the objects in this empty list :O
<|file_sep|>src/redis2ws.cr.diff
original:
# For root and /app.js we just hardcode some paths. You should probably use a nicer way for this.
update... | f715f31da5a4ac71ad25424234e7ed5302111bcb | src/redis2ws.cr | src/redis2ws.cr | Crystal |
<|file_sep|>original/grammpy/Rule.py
:Created 23.06.2017 16:39
:Licence GNUv3
Part of grammpy
"""
from .Constants import EPSILON
class Rule:
#TODO rules -> rule -> left/right -> rules
right = [EPSILON]
left = [EPSILON]
rule = ([EPSILON], [EPSILON])
rules = [([EPSILON], [EPSILON])]
__active ... | :Created 23.06.2017 16:39
:Licence GNUv3
Part of grammpy
"""
from .Constants import EPSILON
class Rule:
#TODO rules -> rule -> left/right -> fromSymbol/toSymbol -> rules
fromSymbol = EPSILON
toSymbol = EPSILON
right = [EPSILON]
left = [EPSILON]
rule = ([EPSILON], [EPSILON])
rules = [([EP... | <|file_sep|>original/grammpy/Rule.py
:Created 23.06.2017 16:39
:Licence GNUv3
Part of grammpy
"""
from .Constants import EPSILON
class Rule:
#TODO rules -> rule -> left/right -> rules
right = [EPSILON]
left = [EPSILON]
rule = ([EPSILON], [EPSILON])
rules = [([EPSILON], [EPSILON])]
__active ... | 9509389f871a20465740494dd32a8d581572dd63 | grammpy/Rule.py | grammpy/Rule.py | Python |
<|file_sep|>original/run_tests.sh
rm -f ".coverage"
if [ -z "$DJANGO_SETTINGS_MODULE" ]; then
export DJANGO_SETTINGS_MODULE="stagecraft.settings.development"
fi
if [ -d "venv" ]; then
source venv/bin/activate
fi
# clean up stray python bytecode
find $basedir -iname '*.pyc' -exec rm {} \;
find $basedir -iname... | rm -f ".coverage"
if [ -z "$DJANGO_SETTINGS_MODULE" ]; then
export DJANGO_SETTINGS_MODULE="stagecraft.settings.development"
fi
if [ -d "venv" ]; then
source venv/bin/activate
fi
# clean up stray python bytecode
find $basedir -iname '*.pyc' -exec rm {} \+
find $basedir -iname '__pycache__' -exec rmdir {} \+
... | <|file_sep|>original/run_tests.sh
rm -f ".coverage"
if [ -z "$DJANGO_SETTINGS_MODULE" ]; then
export DJANGO_SETTINGS_MODULE="stagecraft.settings.development"
fi
if [ -d "venv" ]; then
source venv/bin/activate
fi
# clean up stray python bytecode
find $basedir -iname '*.pyc' -exec rm {} \;
find $basedir -iname... | e0f27563790184bcf2057334d7410f437064eb33 | run_tests.sh | run_tests.sh | Shell |
<|file_sep|>.github/workflows/linux.yml.diff
original:
- name: Copy Docs to carp-docs Repository (MOVE TO BOTTOM WHEN IT WORKS)
uses: andstor/copycat-action@v3
with:
personal_token: ${{ secrets.PERSONAL_TOKEN }}
src_path: /docs/core
dst_path: /core
dst_owner: carp-lang
... | path: ~/.stack
key: ${{ runner.os }}-stack-${{ github.sha }}
restore-keys: ${{ runner.os }}-stack-
- name: Build
run: stack build
- name: Run Compiler Tests
run: stack test
- name: Run Carp Tests
run: ./scripts/run_carp_tests.sh
- name: Copy Docs to carp-doc... | <|file_sep|>.github/workflows/linux.yml.diff
original:
- name: Copy Docs to carp-docs Repository (MOVE TO BOTTOM WHEN IT WORKS)
uses: andstor/copycat-action@v3
with:
personal_token: ${{ secrets.PERSONAL_TOKEN }}
src_path: /docs/core
dst_path: /core
dst_owner: carp-lang
... | 42e9eb20a4b5128aa1eda144e73381b23e36ed5a | .github/workflows/linux.yml | .github/workflows/linux.yml | YAML |
<|file_sep|>tests/testFiles/libraryAdditions.php.diff
original:
$s2 = trait_exists('abc') . hash_equals('a', 'b');
updated:
$s2 = trait_exists('abc') . hash_equals('a', 'b') . substr('abc', 1);
<|file_sep|>original/tests/testFiles/libraryAdditions.php
function (JsonSerializable $serializable) {
});
}
c... | function (JsonSerializable $serializable) {
});
}
class Theta extends SessionHandler implements SessionHandlerInterface, JsonSerializable
{
public function jsonSerialize()
{
// TODO: Implement jsonSerialize() method.
}
}
(new Spoofchecker())->isSuspicious('');
interface MySessionH... | <|file_sep|>tests/testFiles/libraryAdditions.php.diff
original:
$s2 = trait_exists('abc') . hash_equals('a', 'b');
updated:
$s2 = trait_exists('abc') . hash_equals('a', 'b') . substr('abc', 1);
<|file_sep|>original/tests/testFiles/libraryAdditions.php
function (JsonSerializable $serializable) {
});
}
c... | 90fadabaec01ac67cce264405339a82630b96d8b | tests/testFiles/libraryAdditions.php | tests/testFiles/libraryAdditions.php | PHP |
<|file_sep|>original/test/SILOptimizer/optionset.swift
<|file_sep|>current/test/SILOptimizer/optionset.swift
<|file_sep|>updated/test/SILOptimizer/optionset.swift | // RUN: %target-swift-frontend -parse-as-library -primary-file %s -O -sil-verify-all -module-name=test -emit-sil | %FileCheck %s
// RUN: %target-swift-frontend -parse-as-library -primary-file %s -Osize -sil-verify-all -module-name=test -emit-sil | %FileCheck %s
// REQUIRES: swift_stdlib_no_asserts,optimized_stdlib
p... | <|file_sep|>original/test/SILOptimizer/optionset.swift
<|file_sep|>current/test/SILOptimizer/optionset.swift
<|file_sep|>updated/test/SILOptimizer/optionset.swift
// RUN: %target-swift-frontend -parse-as-library -primary-file %s -O -sil-verify-all -module-name=test -emit-sil | %FileCheck %s
// RUN: %target-swift-fro... | 14ae2c2d924a4f1debc654950844cbcd3cd24034 | test/SILOptimizer/optionset.swift | test/SILOptimizer/optionset.swift | Swift |
<|file_sep|>original/src/Calculators/Dominion/RangeCalculator.php
/**
* RangeCalculator constructor.
*
* @param LandCalculator $landCalculator
*/
public function __construct(LandCalculator $landCalculator)
{
$this->landCalculator = $landCalculator;
}
public function isIn... | /**
* RangeCalculator constructor.
*
* @param LandCalculator $landCalculator
*/
public function __construct(LandCalculator $landCalculator)
{
$this->landCalculator = $landCalculator;
}
/**
* Checks whether dominion $target is in range of dominion $self.
*
... | <|file_sep|>original/src/Calculators/Dominion/RangeCalculator.php
/**
* RangeCalculator constructor.
*
* @param LandCalculator $landCalculator
*/
public function __construct(LandCalculator $landCalculator)
{
$this->landCalculator = $landCalculator;
}
public function isIn... | 7dae3687b081a08eeac6e2d5346a505d153a1ff4 | src/Calculators/Dominion/RangeCalculator.php | src/Calculators/Dominion/RangeCalculator.php | PHP |
<|file_sep|>original/advanced/neo4j-manual.txt
The Neo4j Manual v{revnumber}
=============================
:neo4j-version: {revnumber}
include::introduction/introduction.txt[]
:leveloffset: 0
[[reference-documentation]]
Reference Documentation
=======================
////
[partintro]
////
:leveloffset: 1
include::... | The Neo4j Manual v{revnumber}
=============================
Revision: 1.2.M06
:neo4j-version: {revnumber}
include::introduction/introduction.txt[]
:leveloffset: 0
[[reference-documentation]]
Reference Documentation
=======================
////
[partintro]
////
:leveloffset: 1
include::installation-deployment/index... | <|file_sep|>original/advanced/neo4j-manual.txt
The Neo4j Manual v{revnumber}
=============================
:neo4j-version: {revnumber}
include::introduction/introduction.txt[]
:leveloffset: 0
[[reference-documentation]]
Reference Documentation
=======================
////
[partintro]
////
:leveloffset: 1
include::... | f7d0fd9c22e8e2eff927afbb76dd91fb85ea8d6d | advanced/neo4j-manual.txt | advanced/neo4j-manual.txt | Text |
<|file_sep|>original/generate-config-schema.js
"use strict";
const fs = require("fs");
const packageJsonPath = "./package.json";
const packageJson = require(packageJsonPath);
const configurationSchema = require("./node_modules/markdownlint/schema/markdownlint-config-schema.json");
const defaultConfig = require("./defa... | "use strict";
const fs = require("fs");
const packageJsonPath = "./package.json";
const packageJson = require(packageJsonPath);
const configurationSchema = require("./node_modules/markdownlint/schema/markdownlint-config-schema.json");
const defaultConfig = require("./default-config.json");
// Update package.json
cons... | <|file_sep|>original/generate-config-schema.js
"use strict";
const fs = require("fs");
const packageJsonPath = "./package.json";
const packageJson = require(packageJsonPath);
const configurationSchema = require("./node_modules/markdownlint/schema/markdownlint-config-schema.json");
const defaultConfig = require("./defa... | aa31895f622ad0beebda72284ff76d7971edaf3a | generate-config-schema.js | generate-config-schema.js | JavaScript |
<|file_sep|>yaml_bot.gemspec.diff
original:
spec.add_development_dependency 'activesupport', '~> 5.0'
updated:
<|file_sep|>original/yaml_bot.gemspec
Gem::Specification.new do |spec|
spec.name = 'yaml_bot'
spec.version = YamlBot::VERSION
spec.authors = ['Luis Ortiz']
spec.email = ... | spec.version = YamlBot::VERSION
spec.authors = ['Luis Ortiz']
spec.email = ['lortiz1145@gmail.com']
spec.summary = 'Validate YAML files according to a set of rules.'
spec.homepage = 'https://github.com/skippyPeanutButter/yaml_bot'
spec.license = 'MIT'
spec.files ... | <|file_sep|>yaml_bot.gemspec.diff
original:
spec.add_development_dependency 'activesupport', '~> 5.0'
updated:
<|file_sep|>original/yaml_bot.gemspec
Gem::Specification.new do |spec|
spec.name = 'yaml_bot'
spec.version = YamlBot::VERSION
spec.authors = ['Luis Ortiz']
spec.email = ... | e1b535fbbcb2c84bc2de12c4c273128382475aab | yaml_bot.gemspec | yaml_bot.gemspec | Ruby |
<|file_sep|>original/spec/rollbar/logger_proxy_spec.rb
require 'spec_helper'
describe Rollbar::LoggerProxy do
let(:logger) { double(:logger) }
let(:message) { 'the-message' }
subject { described_class.new(logger) }
shared_examples 'delegate to logger' do
it 'logs with correct level' do
expect(logge... | require 'spec_helper'
describe Rollbar::LoggerProxy do
let(:logger) { double(:logger) }
let(:message) { 'the-message' }
subject { described_class.new(logger) }
before do
allow(Rollbar.configuration).to receive(:enabled).and_return(true)
end
shared_examples 'delegate to logger' do
it 'logs with c... | <|file_sep|>original/spec/rollbar/logger_proxy_spec.rb
require 'spec_helper'
describe Rollbar::LoggerProxy do
let(:logger) { double(:logger) }
let(:message) { 'the-message' }
subject { described_class.new(logger) }
shared_examples 'delegate to logger' do
it 'logs with correct level' do
expect(logge... | 1a6f2620fc5f496de33d32ef01f1e32da6ab5b5a | spec/rollbar/logger_proxy_spec.rb | spec/rollbar/logger_proxy_spec.rb | Ruby |
<|file_sep|>original/requirements.txt
molecule==2.12.1
pytest==3.5.0
python-vagrant==0.5.15
testinfra==1.11.1
tox==3.0.0
<|file_sep|>current/requirements.txt
molecule==2.12.1
pytest==3.5.0
python-vagrant==0.5.15
testinfra==1.11.1
tox==3.0.0
<|file_sep|>updated/requirements.txt | molecule==2.12.1
pytest==3.5.1
python-vagrant==0.5.15
testinfra==1.11.1
tox==3.0.0 | <|file_sep|>original/requirements.txt
molecule==2.12.1
pytest==3.5.0
python-vagrant==0.5.15
testinfra==1.11.1
tox==3.0.0
<|file_sep|>current/requirements.txt
molecule==2.12.1
pytest==3.5.0
python-vagrant==0.5.15
testinfra==1.11.1
tox==3.0.0
<|file_sep|>updated/requirements.txt
molecule==2.12.1
pytest==3.5.1
python-vagr... | 6c26274951f3ea3aab27816fb03507afe5b6f0d1 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/pages/search_indexes.py
"""Django haystack `SearchIndex` module."""
from pages.models import Page, Content
from haystack.indexes import SearchIndex, CharField, DateTimeField
from haystack import site
import datetime
class PageIndex(SearchIndex):
"""Search index for pages content."""
text... | """Django haystack `SearchIndex` module."""
from pages.models import Page, Content
from haystack.indexes import SearchIndex, CharField, DateTimeField
from haystack import site
import datetime
class PageIndex(SearchIndex):
"""Search index for pages content."""
text = CharField(document=True, use_template=True... | <|file_sep|>original/pages/search_indexes.py
"""Django haystack `SearchIndex` module."""
from pages.models import Page, Content
from haystack.indexes import SearchIndex, CharField, DateTimeField
from haystack import site
import datetime
class PageIndex(SearchIndex):
"""Search index for pages content."""
text... | b6c98dd016aa440f96565ceaee2716cd530beae5 | pages/search_indexes.py | pages/search_indexes.py | Python |
<|file_sep|>original/Form/AbstractFormPageAdminType.php
*/
class AbstractFormPageAdminType extends AbstractType
{
/**
* @param FormBuilderInterface $builder The form builder
* @param array $options The options
*/
public function buildForm(FormBuilderInterface $builder, array $opti... | */
class AbstractFormPageAdminType extends AbstractType
{
/**
* @param FormBuilderInterface $builder The form builder
* @param array $options The options
*/
public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder->add('title');
$builder->ad... | <|file_sep|>original/Form/AbstractFormPageAdminType.php
*/
class AbstractFormPageAdminType extends AbstractType
{
/**
* @param FormBuilderInterface $builder The form builder
* @param array $options The options
*/
public function buildForm(FormBuilderInterface $builder, array $opti... | ec77a7a0fb4518013806d9212c66e62dd10a21bc | Form/AbstractFormPageAdminType.php | Form/AbstractFormPageAdminType.php | PHP |
<|file_sep|>app/helpers/image_helper.rb.diff
original:
updated:
# TODO ENV, not raw strings
<|file_sep|>app/helpers/image_helper.rb.diff
original:
image_tag("https://thumbs.picyo.me/"+source, options)
updated:
image_tag("https://thumbs.mskog.com/"+source, options)
<|file_sep|>app/helpers/image_helper.rb.diff... | module ImageHelper
# TODO ENV, not raw strings
def thumbor_image_tag(source, options={})
image_tag("https://thumbs.mskog.com/"+source, options)
end
# TODO ENV, not raw strings
def thumbor_image_url(source)
"https://thumbs.mskog.com/#{source}"
end
end | <|file_sep|>app/helpers/image_helper.rb.diff
original:
updated:
# TODO ENV, not raw strings
<|file_sep|>app/helpers/image_helper.rb.diff
original:
image_tag("https://thumbs.picyo.me/"+source, options)
updated:
image_tag("https://thumbs.mskog.com/"+source, options)
<|file_sep|>app/helpers/image_helper.rb.diff... | 0911a9190d394feaaf0d35a8a4e965ab77eb40a3 | app/helpers/image_helper.rb | app/helpers/image_helper.rb | Ruby |
<|file_sep|>original/src/index.ts
import {app, BrowserWindow} from "electron";
let win;
function createWindow() {
win = new BrowserWindow({ width: 800, height: 600 });
win.loadURL(`file://${__dirname}/app/view/index.html`);
// win.webContents.openDevTools();
win.on("closed", () => {
win = n... | import {app, BrowserWindow} from "electron";
let win;
function createWindow() {
win = new BrowserWindow({ width: 800, height: 600 });
win.loadURL(`file://${__dirname}/app/view/index.html`);
win.on("closed", () => {
win = null;
});
}
app.on("ready", createWindow);
app.on("window-all-closed"... | <|file_sep|>original/src/index.ts
import {app, BrowserWindow} from "electron";
let win;
function createWindow() {
win = new BrowserWindow({ width: 800, height: 600 });
win.loadURL(`file://${__dirname}/app/view/index.html`);
// win.webContents.openDevTools();
win.on("closed", () => {
win = n... | 3090cec6dca4d809bd1e7788976b5c048c3858d5 | src/index.ts | src/index.ts | TypeScript |
<|file_sep|>data/assets.js.diff
original:
sortOrder: 4
updated:
sortOrder: 5
<|file_sep|>data/assets.js.diff
original:
sortOrder: 3
updated:
sortOrder: 4
<|file_sep|>original/data/assets.js
id: 'Tie',
required: false,
sortOrder: 2
},
{
id: 'Eyes',
required: true,
sortOrder: 1... | id: 'Tie',
required: false,
sortOrder: 2
},
{
id: 'Eyes',
required: true,
sortOrder: 1,
subColors: true
},
{
id: 'Jackets',
required: false,
sortOrder: 3
},
{
id: 'Mouths',
required: true,
sortOrder: 1
}
]; | <|file_sep|>data/assets.js.diff
original:
sortOrder: 4
updated:
sortOrder: 5
<|file_sep|>data/assets.js.diff
original:
sortOrder: 3
updated:
sortOrder: 4
<|file_sep|>original/data/assets.js
id: 'Tie',
required: false,
sortOrder: 2
},
{
id: 'Eyes',
required: true,
sortOrder: 1... | 4c2f94d399f37f39bd9cb4d4fad8b0cce35f2231 | data/assets.js | data/assets.js | JavaScript |
<|file_sep|>original/Readme.md
spork-minitest
==
Key differences from spork-testunit:
* Supports only Ruby 1.9.
* Allows passing options to MiniTest::Unit e.g. `testdrb test/first_test.rb -- --seed 12345`.
* Exits with proper code (0 for success, 1 for failure).
* Does not support -I option, hardcoded to add `.` and ... | spork-minitest
==
Key differences from [spork-testunit](https://github.com/sporkrb/spork-testunit):
* Supports only Ruby 1.9.
* Allows passing options to MiniTest::Unit e.g. `testdrb test/first_test.rb -- --seed 12345`.
* Exits with proper code (0 for success, 1 for failure).
* Does not support -I option, hardcoded t... | <|file_sep|>original/Readme.md
spork-minitest
==
Key differences from spork-testunit:
* Supports only Ruby 1.9.
* Allows passing options to MiniTest::Unit e.g. `testdrb test/first_test.rb -- --seed 12345`.
* Exits with proper code (0 for success, 1 for failure).
* Does not support -I option, hardcoded to add `.` and ... | 52604b8fee675caafd0df8ff9befc4340af1ada8 | Readme.md | Readme.md | Markdown |
<|file_sep|>original/app/index.html
<title itemprop='name'>Take a note</title>
<link rel="shortcut icon" href="/favicon.ico?v=2" />
<link rel="stylesheet" href="/styles/index.css">
<script src="/bower_components/webcomponentsjs/webcomponents-lite.js"></script>
<script src="/bower_components/js-co... | <meta name="viewport" content="width=device-width, initial-scale=1">
<title itemprop='name'>Take a note</title>
<link rel="shortcut icon" href="/favicon.ico?v=2" />
<link rel="stylesheet" href="/styles/index.css">
<script src="/bower_components/webcomponentsjs/webcomponents-lite.js"></script>
... | <|file_sep|>original/app/index.html
<title itemprop='name'>Take a note</title>
<link rel="shortcut icon" href="/favicon.ico?v=2" />
<link rel="stylesheet" href="/styles/index.css">
<script src="/bower_components/webcomponentsjs/webcomponents-lite.js"></script>
<script src="/bower_components/js-co... | b0c5f7a884cca5025819f37c8ef5f2f294f3025b | app/index.html | app/index.html | HTML |
<|file_sep|>Resources/Assets.xcassets/gloweffect.imageset/Contents.json.diff
original:
"idiom" : "universal",
updated:
"idiom" : "tv",
"filename" : "gloweffect.png",
<|file_sep|>original/Resources/Assets.xcassets/gloweffect.imageset/Contents.json
{
"images" : [
{
"idiom" : "universal",
... | {
"images" : [
{
"idiom" : "tv",
"filename" : "gloweffect.png",
"scale" : "1x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
} | <|file_sep|>Resources/Assets.xcassets/gloweffect.imageset/Contents.json.diff
original:
"idiom" : "universal",
updated:
"idiom" : "tv",
"filename" : "gloweffect.png",
<|file_sep|>original/Resources/Assets.xcassets/gloweffect.imageset/Contents.json
{
"images" : [
{
"idiom" : "universal",
... | ab7203af58387e2e5c7a9f82d2fba2e092c2a868 | Resources/Assets.xcassets/gloweffect.imageset/Contents.json | Resources/Assets.xcassets/gloweffect.imageset/Contents.json | JSON |
<|file_sep|>original/p003_simple_list_and_move.rs
<|file_sep|>current/p003_simple_list_and_move.rs
<|file_sep|>updated/p003_simple_list_and_move.rs | enum SimpleList<T> {
Cons(T, Box<SimpleList<T>>),
Nil,
}
fn length<T>(xs: &SimpleList<T>) -> int {
match xs {
&Cons(_, ref ys) => 1 + length(*ys),
&Nil => 0,
}
}
fn main() {
let mut xs = box Nil;
xs = box Cons(3, xs);
xs = box Cons(2, xs);
xs = box Cons(1, xs);
let ... | <|file_sep|>original/p003_simple_list_and_move.rs
<|file_sep|>current/p003_simple_list_and_move.rs
<|file_sep|>updated/p003_simple_list_and_move.rs
enum SimpleList<T> {
Cons(T, Box<SimpleList<T>>),
Nil,
}
fn length<T>(xs: &SimpleList<T>) -> int {
match xs {
&Cons(_, ref ys) => 1 + length(*ys),
... | d7b71ec32541226908b5f878bfacfb798b2ba9a5 | p003_simple_list_and_move.rs | p003_simple_list_and_move.rs | Rust |
<|file_sep|>original/spec/features/search_form_spec.rb
require 'rails_helper'
describe "Search form" do
before do
visit '/'
end
it "checks if a specific word can be found in the posts title" do
@post = FactoryGirl.create(:internal_post, title: 'something about rails')
fill_in 'Search', with: 'rails'... | require 'rails_helper'
describe "Search form" do
before do
visit '/'
end
it "checks if a specific word can be found in the posts title" do
@post = FactoryGirl.create(:internal_post, title: 'something about rails')
fill_in 'Search', with: 'rails'
click_button 'Search'
expect(page).to have_con... | <|file_sep|>original/spec/features/search_form_spec.rb
require 'rails_helper'
describe "Search form" do
before do
visit '/'
end
it "checks if a specific word can be found in the posts title" do
@post = FactoryGirl.create(:internal_post, title: 'something about rails')
fill_in 'Search', with: 'rails'... | 8d51f9f2412065b067d8e436d14f0c5676c22195 | spec/features/search_form_spec.rb | spec/features/search_form_spec.rb | Ruby |
<|file_sep|>original/lib/scss_lint/linter/color_keyword.rb
COLOR_REGEX = /(#?[a-f0-9]{3,6}|[a-z]+)/i
def add_color_lint(node, original)
hex_form = Sass::Script::Value::Color.new(color_rgb(original)).tap do |color|
color.options = {} # `inspect` requires options to be set
end.inspect
... | COLOR_REGEX = /(#?[a-f0-9]{3,6}|[a-z]+)/i
def add_color_lint(node, original)
hex_form = Sass::Script::Value::Color.new(color_rgb(original)).tap do |color|
color.options = {} # `inspect` requires options to be set
end.inspect
add_lint(node,
"Color `#{original}` should b... | <|file_sep|>original/lib/scss_lint/linter/color_keyword.rb
COLOR_REGEX = /(#?[a-f0-9]{3,6}|[a-z]+)/i
def add_color_lint(node, original)
hex_form = Sass::Script::Value::Color.new(color_rgb(original)).tap do |color|
color.options = {} # `inspect` requires options to be set
end.inspect
... | 76343f5ecbca721488b461a33aa68ad2f575bb78 | lib/scss_lint/linter/color_keyword.rb | lib/scss_lint/linter/color_keyword.rb | Ruby |
<|file_sep|>original/.travis.yml
sudo: false
#addons:
# apt:
# packages:
# - oracle-java8-installer
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
dist: trusty
language: java
jdk:
- oraclejdk8
before_cache:
- rm -f $HOME/.gradle/cache... | sudo: false
addons:
apt:
packages:
- oracle-java8-installer
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
dist: trusty
language: java
jdk:
- oraclejdk8
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
d... | <|file_sep|>original/.travis.yml
sudo: false
#addons:
# apt:
# packages:
# - oracle-java8-installer
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
dist: trusty
language: java
jdk:
- oraclejdk8
before_cache:
- rm -f $HOME/.gradle/cache... | e0a8b69d3b2c8b5674d365e79ed50d77fdf40b34 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.eslintrc.json
{
"env": {
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"rules": {
"indent": [
"error",
"tab",
{
"SwitchCase" : 1
}
],
"linebreak-style": [
... | {
"env": {
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"rules": {
"indent": [
"error",
4,
{
"SwitchCase" : 1
}
],
"linebreak-style": [
"error",
"unix"
... | <|file_sep|>original/.eslintrc.json
{
"env": {
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"rules": {
"indent": [
"error",
"tab",
{
"SwitchCase" : 1
}
],
"linebreak-style": [
... | 5ddf04c8826608c3d64f2ecf17da9c9495698d3f | .eslintrc.json | .eslintrc.json | JSON |
<|file_sep|>lib/cartodb/models/dataview/list.js.diff
original:
const listSqlTpl = ctx => `select ${ctx._columns} from (${ctx._query}) as _cdb_list`;
updated:
const listSqlTpl = ctx => `select ${ctx.columns} from (${ctx.query}) as _cdb_list`;
<|file_sep|>original/lib/cartodb/models/dataview/list.js
throw new... | throw new Error('List expects `columns` array in dataview options');
}
}
sql (psql, override, callback) {
if (!callback) {
callback = override;
}
const listSql = listSqlTpl({
query: this.query,
columns: this.columns.join(', ')
... | <|file_sep|>lib/cartodb/models/dataview/list.js.diff
original:
const listSqlTpl = ctx => `select ${ctx._columns} from (${ctx._query}) as _cdb_list`;
updated:
const listSqlTpl = ctx => `select ${ctx.columns} from (${ctx.query}) as _cdb_list`;
<|file_sep|>original/lib/cartodb/models/dataview/list.js
throw new... | 2a0b15f085d9c29a954544e15a2fb39dc580d35b | lib/cartodb/models/dataview/list.js | lib/cartodb/models/dataview/list.js | JavaScript |
<|file_sep|>.travis.yml.diff
original:
- android-22
updated:
<|file_sep|>original/.travis.yml
language: android
sudo: false
android:
components:
- tools
- build-tools-23.0.3
- build-tools-22.0.1
- android-23
- android-22
- extra-android-support
- extra-android-m2repository
licenses:... | language: android
sudo: false
android:
components:
- tools
- build-tools-23.0.3
- build-tools-22.0.1
- android-23
- extra-android-support
- extra-android-m2repository
licenses:
- 'android-sdk-license-.+'
- '.*intel.+'
before_install:
- chmod +x gradlew
- git submodule update --in... | <|file_sep|>.travis.yml.diff
original:
- android-22
updated:
<|file_sep|>original/.travis.yml
language: android
sudo: false
android:
components:
- tools
- build-tools-23.0.3
- build-tools-22.0.1
- android-23
- android-22
- extra-android-support
- extra-android-m2repository
licenses:... | 32d32fec17e4b9e165463f5ff601cf2c1658e123 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/Resources/config/redis.yml
framework:
annotations:
cache: oro.cache.annotations
session:
handler_id: snc_redis.session.handler
doctrine:
orm:
entity_managers:
default:
metadata_cache_driver:
type: service
... | framework:
annotations:
cache: oro.cache.annotations
doctrine:
orm:
entity_managers:
default:
metadata_cache_driver:
type: service
id: oro.cache.doctrine.metadata
query_cache_driver:
type: s... | <|file_sep|>original/Resources/config/redis.yml
framework:
annotations:
cache: oro.cache.annotations
session:
handler_id: snc_redis.session.handler
doctrine:
orm:
entity_managers:
default:
metadata_cache_driver:
type: service
... | 39b74fc0dde618652aafaf2abe9c7599b8a76583 | Resources/config/redis.yml | Resources/config/redis.yml | YAML |
<|file_sep|>original/bin/check-api.sh
#!/bin/bash
API_URL="https://$TSI_API_HOST/api/v1/meta"
curl -1 -s -X GET -H "X-API-KEY: $TSI_API_KEY" "$API_URL" | jq .
<|file_sep|>current/bin/check-api.sh
#!/bin/bash
API_URL="https://$TSI_API_HOST/api/v1/meta"
curl -1 -s -X GET -H "X-API-KEY: $TSI_API_KEY" "$API_URL" | jq .... | #!/bin/bash
API_URL="https://$TSI_API_HOST/api/v1/meta"
curl -1 -k -s -X GET -H "X-API-KEY: $TSI_API_KEY" "$API_URL" | jq . | <|file_sep|>original/bin/check-api.sh
#!/bin/bash
API_URL="https://$TSI_API_HOST/api/v1/meta"
curl -1 -s -X GET -H "X-API-KEY: $TSI_API_KEY" "$API_URL" | jq .
<|file_sep|>current/bin/check-api.sh
#!/bin/bash
API_URL="https://$TSI_API_HOST/api/v1/meta"
curl -1 -s -X GET -H "X-API-KEY: $TSI_API_KEY" "$API_URL" | jq .... | 94eb3dfc062229008d0ae9dc586da0d156fcfc50 | bin/check-api.sh | bin/check-api.sh | Shell |
<|file_sep|>entry_types/scrolled/package/src/frontend/RootProviders.js.diff
original:
updated:
import {FocusOutlineProvider} from './focusOutline';
<|file_sep|>entry_types/scrolled/package/src/frontend/RootProviders.js.diff
original:
import {FocusOutlineProvider} from './focusOutline';
updated:
<|file_sep|>entry_type... |
export function RootProviders({seed, children}) {
return (
<FocusOutlineProvider>
<BrowserFeaturesProvider>
<PhonePlatformProvider>
<MediaMutedProvider>
<AudioFocusProvider>
<EntryStateProvider seed={seed}>
<LocaleProvider>
<Thir... | <|file_sep|>entry_types/scrolled/package/src/frontend/RootProviders.js.diff
original:
updated:
import {FocusOutlineProvider} from './focusOutline';
<|file_sep|>entry_types/scrolled/package/src/frontend/RootProviders.js.diff
original:
import {FocusOutlineProvider} from './focusOutline';
updated:
<|file_sep|>entry_type... | 47f4abfe88a04782e78a734af6723edf8109e028 | entry_types/scrolled/package/src/frontend/RootProviders.js | entry_types/scrolled/package/src/frontend/RootProviders.js | JavaScript |
<|file_sep|>original/lib/generators/templates/devise_security_extension.rb
Devise.setup do |config|
# ==> Security Extension
# Configure security extension for devise
# Should the password expire (e.g 3.months)
# config.expire_password_after = false
# Need 1 char of A-Z, a-z and 0-9
# config.password_rege... | Devise.setup do |config|
# ==> Security Extension
# Configure security extension for devise
# Should the password expire (e.g 3.months)
# config.expire_password_after = false
# Need 1 char of A-Z, a-z and 0-9
# config.password_regex = /(?=.*\d)(?=.*[a-z])(?=.*[A-Z])/
# How many passwords to keep in arc... | <|file_sep|>original/lib/generators/templates/devise_security_extension.rb
Devise.setup do |config|
# ==> Security Extension
# Configure security extension for devise
# Should the password expire (e.g 3.months)
# config.expire_password_after = false
# Need 1 char of A-Z, a-z and 0-9
# config.password_rege... | 6d49064660ccc5a32ae71b01c91f48fbb5941447 | lib/generators/templates/devise_security_extension.rb | lib/generators/templates/devise_security_extension.rb | Ruby |
<|file_sep|>lib/graphql/query/null_context.rb.diff
original:
updated:
class NullWarden < GraphQL::Schema::Warden
def visible?(t); true; end
def visible_field?(t); true; end
def visible_type?(t); true; end
end
<|file_sep|>original/lib/graphql/query/null_context.rb
def initial... | def visible?(t); true; end
def visible_field?(t); true; end
def visible_type?(t); true; end
end
attr_reader :schema, :query, :warden
def initialize
@query = nil
@schema = GraphQL::Schema.new
@warden = NullWarden.new(
GraphQL::Filter.new,
... | <|file_sep|>lib/graphql/query/null_context.rb.diff
original:
updated:
class NullWarden < GraphQL::Schema::Warden
def visible?(t); true; end
def visible_field?(t); true; end
def visible_type?(t); true; end
end
<|file_sep|>original/lib/graphql/query/null_context.rb
def initial... | 581ffdbac531c2d3812787128aa66054d47d0f66 | lib/graphql/query/null_context.rb | lib/graphql/query/null_context.rb | Ruby |
<|file_sep|>original/pages/thanks.html
---
title: Contact
nav: contact
permalink: /thanks/
layout: default
---
<h1>Thank You!</h1>
<|file_sep|>current/pages/thanks.html
---
title: Contact
nav: contact
permalink: /thanks/
layout: default
---
<h1>Thank You!</h1>
<|file_sep|>updated/pages/thanks.html | ---
title: Contact
nav: contact
permalink: /thanks/
layout: default
---
<h1>Thank you!</h1>
<p>Your message was received. I'll get back to you shortly.</p> | <|file_sep|>original/pages/thanks.html
---
title: Contact
nav: contact
permalink: /thanks/
layout: default
---
<h1>Thank You!</h1>
<|file_sep|>current/pages/thanks.html
---
title: Contact
nav: contact
permalink: /thanks/
layout: default
---
<h1>Thank You!</h1>
<|file_sep|>updated/pages/thanks.html
---
title: Contact
... | 4c31d79e581717e4104b0b62cc2127f0603cb078 | pages/thanks.html | pages/thanks.html | HTML |
<|file_sep|>_posts/2016-4-11-Hello_Mormon_Mission_Parody.md.diff
original:
updated:
embed_html: <iframe width="480" height="270" src="https://www.youtube.com/embed/ckLqfX62u_I?feature=oembed"
frameborder="0" allowfullscreen></iframe>
<|file_sep|>original/_posts/2016-4-11-Hello_Mormon_Mission_Parody.md
---
date: 2016... | ---
date: 2016-04-11 09:43:02-05:00
embed_html: <iframe width="480" height="270" src="https://www.youtube.com/embed/ckLqfX62u_I?feature=oembed"
frameborder="0" allowfullscreen></iframe>
embed_url: https://youtu.be/ckLqfX62u_I
funny: true
layout: post
tags: [music, parody, comedy, missionary work]
title: "\xABHello\xB... | <|file_sep|>_posts/2016-4-11-Hello_Mormon_Mission_Parody.md.diff
original:
updated:
embed_html: <iframe width="480" height="270" src="https://www.youtube.com/embed/ckLqfX62u_I?feature=oembed"
frameborder="0" allowfullscreen></iframe>
<|file_sep|>original/_posts/2016-4-11-Hello_Mormon_Mission_Parody.md
---
date: 2016... | 7defe1100e5ca5c4358df2fe4c458393716e2c55 | _posts/2016-4-11-Hello_Mormon_Mission_Parody.md | _posts/2016-4-11-Hello_Mormon_Mission_Parody.md | Markdown |
<|file_sep|>original/lords.md
---
layout: default
title: The House Of Lords
house: Lords
---
*Members of the House of Lords are appointed by the Queen on the advice of the Prime Minister. Some non-party-political members are recommended by an independent body, the House of Lords Appointments Commission.*
<iframe widt... | ---
layout: default
title: The House of Lords
house: Lords
---
*Members of the House of Lords are appointed by the Queen on the advice of the Prime Minister. Some non-party-political members are recommended by an independent body, the House of Lords Appointments Commission.*
<iframe width="560" height="315" src="//ww... | <|file_sep|>original/lords.md
---
layout: default
title: The House Of Lords
house: Lords
---
*Members of the House of Lords are appointed by the Queen on the advice of the Prime Minister. Some non-party-political members are recommended by an independent body, the House of Lords Appointments Commission.*
<iframe widt... | b0c2b862447b3c0b8e97039e620156e1263f68e0 | lords.md | lords.md | Markdown |
<|file_sep|>original/app/views/users/history.html.haml
%th
New Balance
- @user.transactions.reverse.each do |transaction|
%tr
%td
= transaction.date.strftime("%a, %B %d, %Y")
%td
= transaction_number transaction.id
%td
= transaction.account.capitalize
%td
= number_to_currency transa... | %th
New Balance
- @user.transactions.reverse.each do |transaction|
%tr
%td
= transaction.date.strftime("%a, %B %d, %Y")
%td
= transaction_number transaction.id
%td
= transaction.account.split('_').first.capitalize
%td
= number_to_currency transaction.amount
%td
= transaction.... | <|file_sep|>original/app/views/users/history.html.haml
%th
New Balance
- @user.transactions.reverse.each do |transaction|
%tr
%td
= transaction.date.strftime("%a, %B %d, %Y")
%td
= transaction_number transaction.id
%td
= transaction.account.capitalize
%td
= number_to_currency transa... | 9e248cea94417b078a58da99d73bb3c168c2e4a3 | app/views/users/history.html.haml | app/views/users/history.html.haml | Haml |
<|file_sep|>original/src/tests/languageTests/general/decoratorTests.ts
<|file_sep|>current/src/tests/languageTests/general/decoratorTests.ts
<|file_sep|>updated/src/tests/languageTests/general/decoratorTests.ts | import {getInfoFromString} from "./../../../main";
import {runFileDefinitionTests} from "./../../testHelpers";
describe("decorator arguments tests", () => {
const code = `
function MyClassDecorator(target: Function) {
}
@MyClassDecorator
class MyClass1 {
}
`;
const def = getInfoFromString(code);
runFile... | <|file_sep|>original/src/tests/languageTests/general/decoratorTests.ts
<|file_sep|>current/src/tests/languageTests/general/decoratorTests.ts
<|file_sep|>updated/src/tests/languageTests/general/decoratorTests.ts
import {getInfoFromString} from "./../../../main";
import {runFileDefinitionTests} from "./../../testHelper... | e56a5109697be3b357eebdd5971090e3e496dd96 | src/tests/languageTests/general/decoratorTests.ts | src/tests/languageTests/general/decoratorTests.ts | TypeScript |
<|file_sep|>original/.travis.yml
language: perl
perl:
- "5.22"
- "5.20"
- "5.10"
before_install:
- cpanm -n Devel::Cover::Report::Coveralls
script:
cover -test -ignore ^t/ -report coveralls
<|file_sep|>current/.travis.yml
language: perl
perl:
- "5.22"
- "5.20"
- "5.10"
before_install:
- cpanm -n Dev... | language: perl
perl:
- "5.32"
- "5.30"
- "5.16"
before_install:
- cpanm -n Devel::Cover::Report::Coveralls
script:
cover -test -ignore ^t/ -report coveralls | <|file_sep|>original/.travis.yml
language: perl
perl:
- "5.22"
- "5.20"
- "5.10"
before_install:
- cpanm -n Devel::Cover::Report::Coveralls
script:
cover -test -ignore ^t/ -report coveralls
<|file_sep|>current/.travis.yml
language: perl
perl:
- "5.22"
- "5.20"
- "5.10"
before_install:
- cpanm -n Dev... | fc4601da25865249b4e70703d8d910846644dead | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/package.json
"replace",
"string"
],
"repository": {
"type": "git",
"url": "https://github.com/jernung/replace-brunch.git"
},
"scripts": {
"test": "./node_modules/.bin/mocha"
},
"dependencies": {
"async": "~1.5.0",
"escape-string-regexp": "~1.0.0",
"lodash... | "replace",
"string"
],
"repository": {
"type": "git",
"url": "https://github.com/jernung/replace-brunch.git"
},
"scripts": {
"test": "./node_modules/.bin/mocha"
},
"dependencies": {
"async": "~1.5.0",
"escape-string-regexp": "~1.0.0",
"lodash": "~4.3.0",
"loggy": "~0.2.0"... | <|file_sep|>original/package.json
"replace",
"string"
],
"repository": {
"type": "git",
"url": "https://github.com/jernung/replace-brunch.git"
},
"scripts": {
"test": "./node_modules/.bin/mocha"
},
"dependencies": {
"async": "~1.5.0",
"escape-string-regexp": "~1.0.0",
"lodash... | 482f8f6182cc64f0be314e2c70dc3aa0dba1f746 | package.json | package.json | JSON |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.