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/composer.json
"role": "Developer"
}
],
"require": {
"php": ">=5.5.9",
"illuminate/support": "~5.0",
"ext-ldap": "*"
},
"require-dev": {
"phpunit/phpunit": "~4.8|~5.6",
"mockery/mockery": "~1.0"
},
"archive": {
... | "role": "Developer"
}
],
"require": {
"php": ">=5.5.9",
"illuminate/support": "~5.0",
"ext-ldap": "*"
},
"require-dev": {
"phpunit/phpunit": "~4.8|~5.6",
"mockery/mockery": "~0.9|~1.0"
},
"archive": {
"exclude": ["/examples", "/... | <|file_sep|>original/composer.json
"role": "Developer"
}
],
"require": {
"php": ">=5.5.9",
"illuminate/support": "~5.0",
"ext-ldap": "*"
},
"require-dev": {
"phpunit/phpunit": "~4.8|~5.6",
"mockery/mockery": "~1.0"
},
"archive": {
... | f6ab90461e828d4aa627ce086cfc20cec6a58f9b | composer.json | composer.json | JSON |
<|file_sep|>README.md.diff
original:
TODO: Write a gem description
updated:
A Ruby based Simple HTTP Server that's not so simple after all.
<|file_sep|>original/README.md
gem 'SimpleHTTPServer'
And then execute:
$ bundle
Or install it yourself as:
$ gem install SimpleHTTPServer
## Usage
TODO: Write us... | gem 'SimpleHTTPServer'
And then execute:
$ bundle
Or install it yourself as:
$ gem install SimpleHTTPServer
## Usage
Underdevelopment
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to th... | <|file_sep|>README.md.diff
original:
TODO: Write a gem description
updated:
A Ruby based Simple HTTP Server that's not so simple after all.
<|file_sep|>original/README.md
gem 'SimpleHTTPServer'
And then execute:
$ bundle
Or install it yourself as:
$ gem install SimpleHTTPServer
## Usage
TODO: Write us... | f9f67b8c4d410a4d909df5091f580737e88078b4 | README.md | README.md | Markdown |
<|file_sep|>original/package.json
"license": "ISC",
"bugs": {
"url": "https://github.com/larvit/larvitamintercom/issues"
},
"homepage": "https://github.com/larvit/larvitamintercom#readme",
"dependencies": {
"async": "^2.0.1",
"bramqp": "^0.6.0",
"larvitutils": "^2.0.0",
"lodash": "^4.17.4"... | "license": "ISC",
"bugs": {
"url": "https://github.com/larvit/larvitamintercom/issues"
},
"homepage": "https://github.com/larvit/larvitamintercom#readme",
"dependencies": {
"async": "^2.0.1",
"bramqp": "^0.6.0",
"larvitutils": "^2.0.0",
"lodash": "^4.17.4",
"uuid": "^3.0.0"
},
"dev... | <|file_sep|>original/package.json
"license": "ISC",
"bugs": {
"url": "https://github.com/larvit/larvitamintercom/issues"
},
"homepage": "https://github.com/larvit/larvitamintercom#readme",
"dependencies": {
"async": "^2.0.1",
"bramqp": "^0.6.0",
"larvitutils": "^2.0.0",
"lodash": "^4.17.4"... | 550bbe3299ed2b941761dd898cbd2550a35b0014 | package.json | package.json | JSON |
<|file_sep|>original/src/reducers/index.js
import data from './dataReducer'
import ui from './uiReducer'
import search from './searchReducer'
import semester from './semesterReducer'
import client from './clientReducer'
import user from './userReducer'
const initialSettings = {
locale: 'cs',
layout: 'horizontal',... |
import data from './dataReducer'
import ui from './uiReducer'
import search from './searchReducer'
import semester from './semesterReducer'
import client from './clientReducer'
import user from './userReducer'
const initialSettings = {
locale: 'cs',
layout: 'vertical',
eventsColors: false,
fullWeek: false,
... | <|file_sep|>original/src/reducers/index.js
import data from './dataReducer'
import ui from './uiReducer'
import search from './searchReducer'
import semester from './semesterReducer'
import client from './clientReducer'
import user from './userReducer'
const initialSettings = {
locale: 'cs',
layout: 'horizontal',... | 80e9afad8a8cd621d42d4eb6399a015c0c7a4c9b | src/reducers/index.js | src/reducers/index.js | JavaScript |
<|file_sep|>src/lore/Lore.scala.diff
original:
updated:
import lore.exceptions.FunctionNotFoundException
import lore.execution.Context
<|file_sep|>original/src/lore/Lore.scala
object Lore {
def testCalculation(): Unit = {
val source = Source.fromFile("examples/calculation.lore").getLines.mkString
val parser ... | def main(args: Array[String]): Unit = {
// A new line is added at the end so the last statement has a closing newline.
val source = Source.fromFile("examples/concat.lore").getLines.filter(_.trim.nonEmpty).mkString("\n") + "\n"
println(source)
val parser = new FileParser()
val elements = parser.par... | <|file_sep|>src/lore/Lore.scala.diff
original:
updated:
import lore.exceptions.FunctionNotFoundException
import lore.execution.Context
<|file_sep|>original/src/lore/Lore.scala
object Lore {
def testCalculation(): Unit = {
val source = Source.fromFile("examples/calculation.lore").getLines.mkString
val parser ... | fc27bf61cac05a76f49270a8672c820f4c591c9e | src/lore/Lore.scala | src/lore/Lore.scala | Scala |
<|file_sep|>original/RELEASE-NOTES.md
## 2.0
* #20 Upgrade "bootique-tapestry55" to the final 5.5.0 version
* #22 Allow configuration-free start
## 1.1
* #16 JDK9-11 Compatibility
* #18 Upgrade to Tapestry 5.4.5
* #19 "bootique-tapestry55" - Tapestry 5.5 integration
## 1.0
## 1.0.RC1
* #15 Cleaning up APIs d... | ## 2.0.M1
* #20 Upgrade "bootique-tapestry55" to the final 5.5.0 version
* #22 Allow configuration-free start
## 1.1
* #16 JDK9-11 Compatibility
* #18 Upgrade to Tapestry 5.4.5
* #19 "bootique-tapestry55" - Tapestry 5.5 integration
## 1.0
## 1.0.RC1
* #15 Cleaning up APIs deprecated since <= 0.25
## 0.25
*... | <|file_sep|>original/RELEASE-NOTES.md
## 2.0
* #20 Upgrade "bootique-tapestry55" to the final 5.5.0 version
* #22 Allow configuration-free start
## 1.1
* #16 JDK9-11 Compatibility
* #18 Upgrade to Tapestry 5.4.5
* #19 "bootique-tapestry55" - Tapestry 5.5 integration
## 1.0
## 1.0.RC1
* #15 Cleaning up APIs d... | 94df8e1540f54bb3263d68b4b80c77779033c8a1 | RELEASE-NOTES.md | RELEASE-NOTES.md | Markdown |
<|file_sep|>packages/lo/localization.yaml.diff
original:
hash: 27adc4310ed453d0099dcdf044ffefad36a03d3fd1835e0b348b7e2e1cc0e405
updated:
hash: 6a67f5d6685a54808f2d3f08b1613f7cd62e95280f009c1b9954ea4bfbd4cd6d
<|file_sep|>packages/lo/localization.yaml.diff
original:
updated:
- '1.0.1.20180226'
<|file_sep|>packages/lo/lo... | containers: ! '>=0.5'
transformers: ! '>=0.5'
all-versions:
- '1.0.0.20180213'
- '1.0.1.20180226'
author: Julien Moutinho <julm+localization@autogeree.net>
latest: '1.0.1.20180226'
description-type: haddock
description: ! 'This is a library to manage localization (l10n) of messages
according to some (builtin or ... | <|file_sep|>packages/lo/localization.yaml.diff
original:
hash: 27adc4310ed453d0099dcdf044ffefad36a03d3fd1835e0b348b7e2e1cc0e405
updated:
hash: 6a67f5d6685a54808f2d3f08b1613f7cd62e95280f009c1b9954ea4bfbd4cd6d
<|file_sep|>packages/lo/localization.yaml.diff
original:
updated:
- '1.0.1.20180226'
<|file_sep|>packages/lo/lo... | d917e84a9c18d1566444e5d3afeb1e331c353033 | packages/lo/localization.yaml | packages/lo/localization.yaml | YAML |
<|file_sep|>metadata/io.rebble.charon.yml.diff
original:
updated:
- versionName: '1.4'
versionCode: 5
commit: v1.4
subdir: app
gradle:
- yes
antifeatures:
- NonFreeDep
<|file_sep|>original/metadata/io.rebble.charon.yml
Translation: https://crowdin.com/project/charon
AutoName: Sidelo... | versionCode: 4
commit: v1.3
subdir: app
gradle:
- yes
antifeatures:
- NonFreeDep
- versionName: '1.4'
versionCode: 5
commit: v1.4
subdir: app
gradle:
- yes
antifeatures:
- NonFreeDep
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: '1.... | <|file_sep|>metadata/io.rebble.charon.yml.diff
original:
updated:
- versionName: '1.4'
versionCode: 5
commit: v1.4
subdir: app
gradle:
- yes
antifeatures:
- NonFreeDep
<|file_sep|>original/metadata/io.rebble.charon.yml
Translation: https://crowdin.com/project/charon
AutoName: Sidelo... | f71237048f19c5cc884317f1086fb31723f82a24 | metadata/io.rebble.charon.yml | metadata/io.rebble.charon.yml | YAML |
<|file_sep|>original/app/views/qae_form/_by_years_question.html.slim
.js-financial-conditional
- for c in question.by_year_conditions
.js-conditional-question data-question=question.step.form[c.question_key].parameterized_title data-value=c.question_value
.row
- (1..c.years).each do |y|
di... | .js-financial-conditional
- for c in question.by_year_conditions
.js-conditional-question data-question=question.step.form[c.question_key].parameterized_title data-value=c.question_value
.row
- (1..c.years).each do |y|
- year_span = (c.years > 2 ? "span-2-4" : "span-4")
- if c.ye... | <|file_sep|>original/app/views/qae_form/_by_years_question.html.slim
.js-financial-conditional
- for c in question.by_year_conditions
.js-conditional-question data-question=question.step.form[c.question_key].parameterized_title data-value=c.question_value
.row
- (1..c.years).each do |y|
di... | b2cdd20e182db53810f4e4e3a06c7cc56d14e8fa | app/views/qae_form/_by_years_question.html.slim | app/views/qae_form/_by_years_question.html.slim | Slim |
<|file_sep|>original/src/Page/contact.html
<main role="content">
<header>
<h1>Contact</h1>
</header>
<section role="contact-us">
<input id="quick-apply" type="checkbox">
<label for="quick-apply"><h1>Quick register</h1></label>
<form method="post" class="cv-upload">
<label for="name">Full name</label>
<... | <main role="content">
<header>
<h1>Contact</h1>
</header>
<section role="contact-us">
<h1>Quick register</h1>
<form method="post">
<label for="name">Full name</label>
<input type="text" placeholder="Name..." id="name">
<label for="email">Email address</label>
<input type="text" placeholder="you@ema... | <|file_sep|>original/src/Page/contact.html
<main role="content">
<header>
<h1>Contact</h1>
</header>
<section role="contact-us">
<input id="quick-apply" type="checkbox">
<label for="quick-apply"><h1>Quick register</h1></label>
<form method="post" class="cv-upload">
<label for="name">Full name</label>
<... | b26747d689dad079b6713fd233b718adf90bca7e | src/Page/contact.html | src/Page/contact.html | HTML |
<|file_sep|>original/composer.json
"keywords": ["yii", "yii2", "extension", "helper", "bootstrap", "utilities"],
"homepage": "https://github.com/kartik-v/yii2-helpers",
"type": "yii2-extension",
"license": "BSD 3-Clause",
"authors": [
{
"name": "Kartik Visweswaran",
"... | "keywords": ["yii", "yii2", "extension", "helper", "bootstrap", "utilities"],
"homepage": "https://github.com/kartik-v/yii2-helpers",
"type": "yii2-extension",
"license": "BSD 3-Clause",
"authors": [
{
"name": "Kartik Visweswaran",
"email": "kartikv2@gmail.com",
... | <|file_sep|>original/composer.json
"keywords": ["yii", "yii2", "extension", "helper", "bootstrap", "utilities"],
"homepage": "https://github.com/kartik-v/yii2-helpers",
"type": "yii2-extension",
"license": "BSD 3-Clause",
"authors": [
{
"name": "Kartik Visweswaran",
"... | 7496b01fccc3ae98c43683cba0c4227720fd177f | composer.json | composer.json | JSON |
<|file_sep|>original/examples/fosdem_2015/power.py
<|file_sep|>current/examples/fosdem_2015/power.py
<|file_sep|>updated/examples/fosdem_2015/power.py | from zeroservices import ZeroMQMedium, ResourceService
from zeroservices.backend.mongodb import MongoDBCollection
class PowerCollection(MongoDBCollection):
def __init__(self, *args, **kwargs):
super(PowerCollection, self).__init__(*args, **kwargs)
self.collection.ensure_index([('description', 'te... | <|file_sep|>original/examples/fosdem_2015/power.py
<|file_sep|>current/examples/fosdem_2015/power.py
<|file_sep|>updated/examples/fosdem_2015/power.py
from zeroservices import ZeroMQMedium, ResourceService
from zeroservices.backend.mongodb import MongoDBCollection
class PowerCollection(MongoDBCollection):
def ... | 6810fdd7156b9839acee7a27aae57041850603e0 | examples/fosdem_2015/power.py | examples/fosdem_2015/power.py | Python |
<|file_sep|>original/package.json
},
"bugs": {
"url": "https://github.com/busterjs/grunt-buster/issues"
},
"license": "MIT",
"main": "./tasks/buster.js",
"engines": {
"node": ">= 0.8.0"
},
"scripts": {
"start": "grunt watch",
"test": "grunt"
},
"devDependencies": {
"buster": ">=0... | },
"bugs": {
"url": "https://github.com/busterjs/grunt-buster/issues"
},
"license": "MIT",
"main": "./tasks/buster.js",
"engines": {
"node": ">= 0.8.0"
},
"scripts": {
"start": "grunt --force default watch",
"test": "grunt"
},
"devDependencies": {
"buster": ">=0.7.6",
"grunt"... | <|file_sep|>original/package.json
},
"bugs": {
"url": "https://github.com/busterjs/grunt-buster/issues"
},
"license": "MIT",
"main": "./tasks/buster.js",
"engines": {
"node": ">= 0.8.0"
},
"scripts": {
"start": "grunt watch",
"test": "grunt"
},
"devDependencies": {
"buster": ">=0... | 3d240560acb796896592d9d1739273a4d0384bab | package.json | package.json | JSON |
<|file_sep|>.github/workflows/Main.yml.diff
original:
updated:
- uses: actions/cache@v2
with:
path: |
~/.cargo/bin
~/.cargo/.crates.toml
~/.cargo/.crates2.json
key: cargo-bin-cache
<|file_sep|>.github/workflows/Main.yml.diff
original:
updated:
<|file_sep|>orig... |
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/cache@v2
with:
path: |
~/.cargo/bin
~/.cargo/.crates.toml
~/.cargo/.crates2.json
key: cargo-bin-cache
- run: rustup target add wasm32-unknown-unknown
- run: cargo inst... | <|file_sep|>.github/workflows/Main.yml.diff
original:
updated:
- uses: actions/cache@v2
with:
path: |
~/.cargo/bin
~/.cargo/.crates.toml
~/.cargo/.crates2.json
key: cargo-bin-cache
<|file_sep|>.github/workflows/Main.yml.diff
original:
updated:
<|file_sep|>orig... | bcfd409a8af325132bfb150717ee19268b733480 | .github/workflows/Main.yml | .github/workflows/Main.yml | YAML |
<|file_sep|>original/app/soc/templates/v2/modules/gsoc/dashboard/base.html
{% block page_content %}
{% if alert_msg %}
<div id="user-message" class="error">
{{ alert_msg|safe }}
</div>
{% endif %}
<h1 id="main-page-title">{{ user.name }}'s Dashboard</h1>
{% for component in components %}
{{ c... |
{% block page_content %}
{% if alert_msg %}
<div id="user-message" class="error">
{{ alert_msg|safe }}
</div>
{% endif %}
<h1 id="main-page-title">{{ user.name }}'s Dashboard</h1>
{% for component in components %}
{{ component.render|safe }}
{% empty %}
There are no dashboard items avai... | <|file_sep|>original/app/soc/templates/v2/modules/gsoc/dashboard/base.html
{% block page_content %}
{% if alert_msg %}
<div id="user-message" class="error">
{{ alert_msg|safe }}
</div>
{% endif %}
<h1 id="main-page-title">{{ user.name }}'s Dashboard</h1>
{% for component in components %}
{{ c... | 7d811f23c8c1fd80a59102d621c3eb254fdc2859 | app/soc/templates/v2/modules/gsoc/dashboard/base.html | app/soc/templates/v2/modules/gsoc/dashboard/base.html | HTML |
<|file_sep|>original/navigation/views/navigation.php
<div id="navigation" class="module classPath-mop_modules_navigation_Navigation addObjectPosition-bottom">
<div class="container">
<div class="panes clearFix">
<div class="pane"></div>
</div>
</div>
<div style="display: none" class="breadCrumb clearFix">
<... | <div id="navigation" class="module classPath-mop_modules_navigation_Navigation addObjectPosition-bottom">
<div class="container">
<div class="panes clearFix">
<div class="pane"></div>
</div>
</div>
<div class="breadCrumb clearFix">
<ul></ul>
</div>
</div> | <|file_sep|>original/navigation/views/navigation.php
<div id="navigation" class="module classPath-mop_modules_navigation_Navigation addObjectPosition-bottom">
<div class="container">
<div class="panes clearFix">
<div class="pane"></div>
</div>
</div>
<div style="display: none" class="breadCrumb clearFix">
<... | 0dc4f961760e9888f521cca943ae53a65e67a7cf | navigation/views/navigation.php | navigation/views/navigation.php | PHP |
<|file_sep|>pokedex/db/__init__.py.diff
original:
def connect(uri=None, **kwargs):
updated:
def connect(uri=None, session_args={}, engine_args={}):
<|file_sep|>pokedex/db/__init__.py.diff
original:
engine = create_engine(uri)
updated:
engine = create_engine(uri, **engine_args)
<|file_sep|>original/pokedex/db/__... | # otherwise oozing with utf8; charset fixes this
if 'charset' not in uri:
uri += '?charset=utf8'
# Tables should be InnoDB, in the event that we're creating them, and
# use UTF-8 goddammit!
for table in metadata.tables.values():
table.kwargs['mysql_engine... | <|file_sep|>pokedex/db/__init__.py.diff
original:
def connect(uri=None, **kwargs):
updated:
def connect(uri=None, session_args={}, engine_args={}):
<|file_sep|>pokedex/db/__init__.py.diff
original:
engine = create_engine(uri)
updated:
engine = create_engine(uri, **engine_args)
<|file_sep|>original/pokedex/db/__... | a89a61620306d3cc38062cf69c56db64aadf0a8d | pokedex/db/__init__.py | pokedex/db/__init__.py | Python |
<|file_sep|>original/code-sample-scala/scala-coursera/src/main/scala/codesample/scala/coursera/course1/week4/ObjectOrientedNaturalNumber.scala
<|file_sep|>current/code-sample-scala/scala-coursera/src/main/scala/codesample/scala/coursera/course1/week4/ObjectOrientedNaturalNumber.scala
<|file_sep|>updated/code-sample-s... | package codesample.scala.coursera.course1.week4
object ObjectOrientedNaturalNumber {
abstract class Nat {
def isZero: Boolean
def predecessor: Nat
def successor: Nat = new Succ(this)
def +(that: Nat): Nat
def -(that: Nat): Nat
}
object Zero extends Nat {
override def isZero: Boolean = ... | <|file_sep|>original/code-sample-scala/scala-coursera/src/main/scala/codesample/scala/coursera/course1/week4/ObjectOrientedNaturalNumber.scala
<|file_sep|>current/code-sample-scala/scala-coursera/src/main/scala/codesample/scala/coursera/course1/week4/ObjectOrientedNaturalNumber.scala
<|file_sep|>updated/code-sample-s... | 73946952cd387a5a058e8a90ebd4fcb1ca853e01 | code-sample-scala/scala-coursera/src/main/scala/codesample/scala/coursera/course1/week4/ObjectOrientedNaturalNumber.scala | code-sample-scala/scala-coursera/src/main/scala/codesample/scala/coursera/course1/week4/ObjectOrientedNaturalNumber.scala | Scala |
<|file_sep|>original/src/writer/templates/base/page/ajax-page.twig
{% if header %}
<h1 class=header>{{ header }}</h1>
{% endif %}
{% if subHeader %}
<h2 class=subheader>{{ subHeader }}</h2>
{% endif %}
<br class="page-content-head">
{% block content %}
{{ content|raw }}
{% block content %}
<|file_sep|>curren... | {% if header %}
<h1 class=header>{{ header }}</h1>
{% endif %}
{% if subHeader %}
<h2 class=subheader>{{ subHeader }}</h2>
{% endif %}
<br class="page-content-head">
{% block content %}
{{ content|raw }}
{% endblock content %} | <|file_sep|>original/src/writer/templates/base/page/ajax-page.twig
{% if header %}
<h1 class=header>{{ header }}</h1>
{% endif %}
{% if subHeader %}
<h2 class=subheader>{{ subHeader }}</h2>
{% endif %}
<br class="page-content-head">
{% block content %}
{{ content|raw }}
{% block content %}
<|file_sep|>curren... | d0f7a3772e4dd60edb0791eabc29be4ac6838bd5 | src/writer/templates/base/page/ajax-page.twig | src/writer/templates/base/page/ajax-page.twig | Twig |
<|file_sep|>original/src/main/js/src/utils/createWebSocketConnection.js
import SockJS from 'sockjs-client'
import Stomp from 'webstomp-client'
const wsURL = 'http://localhost:8080/seven-wonders-websocket'
const createConnection = (headers = {}) => new Promise((resolve, reject) => {
let socket = Stomp.over(new Sock... | import SockJS from 'sockjs-client'
import Stomp from 'webstomp-client'
const wsURL = 'http://localhost:8080/seven-wonders-websocket'
const createConnection = (headers = {}) => new Promise((resolve, reject) => {
let socket = Stomp.over(new SockJS(wsURL), {
debug: process.env.NODE_ENV !== "production"
})
... | <|file_sep|>original/src/main/js/src/utils/createWebSocketConnection.js
import SockJS from 'sockjs-client'
import Stomp from 'webstomp-client'
const wsURL = 'http://localhost:8080/seven-wonders-websocket'
const createConnection = (headers = {}) => new Promise((resolve, reject) => {
let socket = Stomp.over(new Sock... | 552acb769250685764a673670d7828c38efa01d0 | src/main/js/src/utils/createWebSocketConnection.js | src/main/js/src/utils/createWebSocketConnection.js | JavaScript |
<|file_sep|>src/main/java/com/ning/billing/recurly/model/RevenueScheduleType.java.diff
original:
NEVER("never"),
updated:
NEVER,
<|file_sep|>src/main/java/com/ning/billing/recurly/model/RevenueScheduleType.java.diff
original:
EVENLY("evenly"),
updated:
EVENLY,
<|file_sep|>src/main/java/com/ning/billing/... | * License for the specific language governing permissions and limitations
* under the License.
*/
package com.ning.billing.recurly.model;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
@XmlEnum(String.class)
public enum RevenueScheduleType {
@XmlEnumValue("never")
... | <|file_sep|>src/main/java/com/ning/billing/recurly/model/RevenueScheduleType.java.diff
original:
NEVER("never"),
updated:
NEVER,
<|file_sep|>src/main/java/com/ning/billing/recurly/model/RevenueScheduleType.java.diff
original:
EVENLY("evenly"),
updated:
EVENLY,
<|file_sep|>src/main/java/com/ning/billing/... | 2bf362ffa03b47399e5e5d916728c6118054dd43 | src/main/java/com/ning/billing/recurly/model/RevenueScheduleType.java | src/main/java/com/ning/billing/recurly/model/RevenueScheduleType.java | Java |
<|file_sep|>original/Casks/snes9x.rb
cask :v1 => 'snes9x' do
version '1.53'
sha256 '48b0cbec848e7c2a24de1b30819dc150b62e354600cbcc0a6a5e2cf8e1de48ff'
# ipherswipsite.com is the official download host per the vendor homepage
url "http://files.ipherswipsite.com/snes9x/snes9x-#{version}-macosx-113.dmg.gz"
name ... | cask :v1 => 'snes9x' do
version '1.53'
sha256 '48b0cbec848e7c2a24de1b30819dc150b62e354600cbcc0a6a5e2cf8e1de48ff'
# s9x-w32.de is the official download host per the vendor homepage
url "http://www.s9x-w32.de/dl/snes9x-#{version}-macosx-113.dmg.gz"
name 'Snes9x'
homepage 'http://www.snes9x.com/'
license :o... | <|file_sep|>original/Casks/snes9x.rb
cask :v1 => 'snes9x' do
version '1.53'
sha256 '48b0cbec848e7c2a24de1b30819dc150b62e354600cbcc0a6a5e2cf8e1de48ff'
# ipherswipsite.com is the official download host per the vendor homepage
url "http://files.ipherswipsite.com/snes9x/snes9x-#{version}-macosx-113.dmg.gz"
name ... | 37bf9f7e770b4409aad6161346c4fef7ecce05e7 | Casks/snes9x.rb | Casks/snes9x.rb | Ruby |
<|file_sep|>original/css/_tooltips.scss
.jt-wrapper{
padding: 4px;
position: absolute;
z-index: 105;
}
.jt-arrow{
left: 50%;
top: 1px;
margin-left: -3px;
border-bottom: 3px solid black;
border-bottom-color: rgb(35, 35, 35);
border-left: 3px solid transparent;
border-right: 3px so... | .jt-wrapper{
padding: 4px;
position: absolute;
z-index: 10005;
}
.jt-arrow{
left: 50%;
top: 1px;
margin-left: -3px;
border-bottom: 3px solid black;
border-bottom-color: rgb(35, 35, 35);
border-left: 3px solid transparent;
border-right: 3px solid transparent;
position: absolut... | <|file_sep|>original/css/_tooltips.scss
.jt-wrapper{
padding: 4px;
position: absolute;
z-index: 105;
}
.jt-arrow{
left: 50%;
top: 1px;
margin-left: -3px;
border-bottom: 3px solid black;
border-bottom-color: rgb(35, 35, 35);
border-left: 3px solid transparent;
border-right: 3px so... | eb487b8eba91f6d173eeb46a6ac0749a5a8c3fff | css/_tooltips.scss | css/_tooltips.scss | SCSS |
<|file_sep|>index.js.diff
original:
for (var i in initState[1]) {
updated:
for (var i in initState[0]) {
<|file_sep|>original/index.js
var chromecastHomeURL = 'https://clients3.google.com/cast/chromecast/home/v/c9541b08';
var initJSONStateRegex = /(JSON\.parse\(.+'\))/;
var parseChromecastHome = function(html... |
var chromecastHomeURL = 'https://clients3.google.com/cast/chromecast/home/v/c9541b08';
var initJSONStateRegex = /(JSON\.parse\(.+'\))/;
var parseChromecastHome = function(htmlString) {
var JSONParse = htmlString.match(initJSONStateRegex)[1];
var initState = eval(JSONParse); // I don't know why this is ok but ... | <|file_sep|>index.js.diff
original:
for (var i in initState[1]) {
updated:
for (var i in initState[0]) {
<|file_sep|>original/index.js
var chromecastHomeURL = 'https://clients3.google.com/cast/chromecast/home/v/c9541b08';
var initJSONStateRegex = /(JSON\.parse\(.+'\))/;
var parseChromecastHome = function(html... | b99f91a8f9259cf867cd522f4164aed4a83c2e72 | index.js | index.js | JavaScript |
<|file_sep|>original/config/docker_phpsv_entrypoint.sh
#!/bin/sh
set -e
# Make sure /tmp/subs exists and is writable by everyone
mkdir -p /tmp/subs/doctrine
mkdir -p /tmp/subs/twig
chmod 777 -R /tmp/subs
php composer.phar install --no-dev # Install dependencies, if needed. Only prod ones
./app/console app:twig:clear... | #!/bin/sh
set -e
# Make sure /tmp/subs exists and is writable by everyone
mkdir -p /tmp/subs/doctrine
mkdir -p /tmp/subs/twig
chmod 777 -R /tmp/subs
php composer.phar config -g discard-changes 1 # Discard changes in vendor files
php composer.phar install --no-dev # Install dependencies, if needed. Only prod ones
./... | <|file_sep|>original/config/docker_phpsv_entrypoint.sh
#!/bin/sh
set -e
# Make sure /tmp/subs exists and is writable by everyone
mkdir -p /tmp/subs/doctrine
mkdir -p /tmp/subs/twig
chmod 777 -R /tmp/subs
php composer.phar install --no-dev # Install dependencies, if needed. Only prod ones
./app/console app:twig:clear... | 11abc91e9419f30f8e9707eeeb30ff4add316cc9 | config/docker_phpsv_entrypoint.sh | config/docker_phpsv_entrypoint.sh | Shell |
<|file_sep|>original/webpack.config.js
var webpack = require("webpack");
module.exports = {
resolve: {
modules: ["build/dist/lib", "node_modules"],
},
entry: {
salve: "salve/validate.js",
"salve.min": "salve/validate.js",
},
devtool: "source-map",
output: {
path: __dirname + "/build/dist", ... | var webpack = require("webpack");
module.exports = {
resolve: {
modules: ["build/dist/lib", "node_modules"],
},
entry: {
salve: "salve/validate.js",
"salve.min": "salve/validate.js",
},
devtool: "eval-source-map",
output: {
path: __dirname + "/build/dist", // eslint-disable-line no-path-con... | <|file_sep|>original/webpack.config.js
var webpack = require("webpack");
module.exports = {
resolve: {
modules: ["build/dist/lib", "node_modules"],
},
entry: {
salve: "salve/validate.js",
"salve.min": "salve/validate.js",
},
devtool: "source-map",
output: {
path: __dirname + "/build/dist", ... | ee9dc2b34afad9710646c04ab54553213a0c65e5 | webpack.config.js | webpack.config.js | JavaScript |
<|file_sep|>packages/si/signature.yaml.diff
original:
hash: d09102691797bf34adb205cc6f23fb2fe56b97af326dd4f6f88b04c096203fda
updated:
hash: d5f3502cb645410f404b480a9d8de966debda5a64ef9af20e22e8340d9b26791
<|file_sep|>packages/si/signature.yaml.diff
original:
updated:
- 0.1.1.0
<|file_sep|>original/packages/si/signatur... | changelog: ''
basic-deps:
bytestring: -any
case-insensitive: -any
base: '>=4.7 && <5'
unordered-containers: -any
text: -any
hexstring: -any
byteable: -any
scientific: -any
aeson: -any
vector: -any
cryptohash: -any
all-versions:
- 0.1.0.0
- 0.1.1.0
author: Li Meng Jun
latest: 0.1.1.0
description-ty... | <|file_sep|>packages/si/signature.yaml.diff
original:
hash: d09102691797bf34adb205cc6f23fb2fe56b97af326dd4f6f88b04c096203fda
updated:
hash: d5f3502cb645410f404b480a9d8de966debda5a64ef9af20e22e8340d9b26791
<|file_sep|>packages/si/signature.yaml.diff
original:
updated:
- 0.1.1.0
<|file_sep|>original/packages/si/signatur... | 94246fdc7468572487186d2807be087a29ebfc32 | packages/si/signature.yaml | packages/si/signature.yaml | YAML |
<|file_sep|>original/src/thinkspace/api/thinkspace-common/app/views/thinkspace/common/notification_mailer/invited_to_space.slim
== content_for :content do
h1 style="font-size:18px; font-weight:700; color:#464646; margin-bottom:16px;"
| You've been invited to a space in OpenTBL!
p Hi #{@to.first_name},
p
... | == content_for :content do
h1 style="font-size:18px; font-weight:700; color:#464646; margin-bottom:16px;"
| You've been invited to a space in OpenTBL!
p Hi #{@to.first_name},
p
| Your instructor <strong>#{@sender.full_name}</strong> has invited you to join the space <strong>#{@space.title}</strong>. Acc... | <|file_sep|>original/src/thinkspace/api/thinkspace-common/app/views/thinkspace/common/notification_mailer/invited_to_space.slim
== content_for :content do
h1 style="font-size:18px; font-weight:700; color:#464646; margin-bottom:16px;"
| You've been invited to a space in OpenTBL!
p Hi #{@to.first_name},
p
... | a89b4b2acdd5aaa4952d9766300ffb25d52d0a12 | src/thinkspace/api/thinkspace-common/app/views/thinkspace/common/notification_mailer/invited_to_space.slim | src/thinkspace/api/thinkspace-common/app/views/thinkspace/common/notification_mailer/invited_to_space.slim | Slim |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "6.9"
- "6.10"
- "7.6"
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "6.9"
- "6.10"
- "7.6"
before_install:
- "export DISPLAY=:99.0"
... | language: node_js
node_js:
- "6.9"
- "6.10"
- "7.6"
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- "npm run webdriverUpdate" | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "6.9"
- "6.10"
- "7.6"
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "6.9"
- "6.10"
- "7.6"
before_install:
- "export DISPLAY=:99.0"
... | 128a4b57becd56b959a5acaa828369be624e81e0 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements-dev.txt
aiohttp-jinja2==0.8.0
aiohttp-security==0.1.0
aiohttp-session==0.7.1
aiohttp==1.1.4
aiomysql==0.0.9
aiopg==0.12.0
coverage==4.2
docker-compose==1.8.1
docker-py==1.10.6
flake8==3.2.0
ipdb==0.10.1
motor==1.0
pytest-cov==2.4.0
pytest-sugar==0.7.1
pytest==3.0.4
python-dateutil==2.6... | aiohttp-jinja2==0.8.0
aiohttp-security==0.1.0
aiohttp-session==0.7.1
aiohttp==1.1.4
aiomysql==0.0.9
aiopg==0.12.0
coverage==4.2
docker-compose==1.9.0
docker-py==1.10.6
flake8==3.2.0
ipdb==0.10.1
motor==1.0
pytest-cov==2.4.0
pytest-sugar==0.7.1
pytest==3.0.4
python-dateutil==2.6.0
sqlalchemy==1.1.4
trafaret==0.7.5
yarl=... | <|file_sep|>original/requirements-dev.txt
aiohttp-jinja2==0.8.0
aiohttp-security==0.1.0
aiohttp-session==0.7.1
aiohttp==1.1.4
aiomysql==0.0.9
aiopg==0.12.0
coverage==4.2
docker-compose==1.8.1
docker-py==1.10.6
flake8==3.2.0
ipdb==0.10.1
motor==1.0
pytest-cov==2.4.0
pytest-sugar==0.7.1
pytest==3.0.4
python-dateutil==2.6... | 7cd890b1afc12b94d4a7ac8d1e46adc24c5b8bdc | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/clock.gemspec
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'clock'
s.summary = 'Clock interface with support for dependency configuration for real and null object implementations'
s.version = '0.0.1.4'
s.description = ' '
s.authors = ['Obsidian Software, Inc']
s.ema... | # -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'clock'
s.summary = 'Clock interface with support for dependency configuration for real and null object implementations'
s.version = '0.0.2.0'
s.description = ' '
s.authors = ['Obsidian Software, Inc']
s.email = 'opensource@obsidianexchange.c... | <|file_sep|>original/clock.gemspec
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'clock'
s.summary = 'Clock interface with support for dependency configuration for real and null object implementations'
s.version = '0.0.1.4'
s.description = ' '
s.authors = ['Obsidian Software, Inc']
s.ema... | f974d6184e1a94444db25b3955a2b255910f0b38 | clock.gemspec | clock.gemspec | Ruby |
<|file_sep|>lib/install/config/shared.js.diff
original:
entry: _.keyBy(glob.sync('../app/javascript/packs/*.js'), function(entry) { return path.basename(entry, '.js') }),
updated:
entry: _.keyBy(glob.sync(path.join('..', 'app', 'javascript', 'packs', '*.js')),
function(entry) { return path.basename(entry, '.js'... | // Note: You must restart bin/webpack-watcher for changes to take effect
var path = require('path')
var glob = require('glob')
var _ = require('lodash')
module.exports = {
entry: _.keyBy(glob.sync(path.join('..', 'app', 'javascript', 'packs', '*.js')),
function(entry) { return path.basename(entry, '.js') }),... | <|file_sep|>lib/install/config/shared.js.diff
original:
entry: _.keyBy(glob.sync('../app/javascript/packs/*.js'), function(entry) { return path.basename(entry, '.js') }),
updated:
entry: _.keyBy(glob.sync(path.join('..', 'app', 'javascript', 'packs', '*.js')),
function(entry) { return path.basename(entry, '.js'... | 80b881eaffd190478b034fb978ff3ccf819837b4 | lib/install/config/shared.js | lib/install/config/shared.js | JavaScript |
<|file_sep|>original/indico/web/templates/forms/radio_buttons_widget.html
{% extends 'forms/base_widget.html' %}
{% block html %}
{% for subfield in field %}
<div class="i-radio">
{{ subfield(required=field.flags.required) }}
{{ subfield.label }}
</div>
{% endfor %}
{% ... | {% extends 'forms/base_widget.html' %}
{% block html %}
{% for subfield in field %}
<div class="i-radio">
{{ subfield(required=field.flags.required, disabled=disabled|default(false)) }}
{{ subfield.label }}
</div>
{% endfor %}
{% endblock %} | <|file_sep|>original/indico/web/templates/forms/radio_buttons_widget.html
{% extends 'forms/base_widget.html' %}
{% block html %}
{% for subfield in field %}
<div class="i-radio">
{{ subfield(required=field.flags.required) }}
{{ subfield.label }}
</div>
{% endfor %}
{% ... | 768206a171c84b279addef7e298e68aae0bd72cc | indico/web/templates/forms/radio_buttons_widget.html | indico/web/templates/forms/radio_buttons_widget.html | HTML |
<|file_sep|>original/composer.json
{
"name": "visol/idx-reader",
"description": "Read IDX reader - Internet Data Exchange is a standard to describe properties such as houses, appartment, etc... commonly used in the real estate industry.",
"keywords": ["idx-reader", "real estate"],
"license": "MIT",
... | {
"name": "visol/idx-reader",
"type": "library",
"description": "Read IDX reader - Internet Data Exchange is a standard to describe properties such as houses, appartment, etc... commonly used in the real estate industry.",
"keywords": ["idx-reader", "real estate"],
"license": "MIT",
"authors": [... | <|file_sep|>original/composer.json
{
"name": "visol/idx-reader",
"description": "Read IDX reader - Internet Data Exchange is a standard to describe properties such as houses, appartment, etc... commonly used in the real estate industry.",
"keywords": ["idx-reader", "real estate"],
"license": "MIT",
... | ec9056b53422a689ec412c20eb265b4bb9a4f6a4 | composer.json | composer.json | JSON |
<|file_sep|>original/src/app/client/components/emailView/emailView.component.html
</div>
<div fxLayout="row" fxLayoutAlign="start center">
<div class="evc-from-circle" fxLayout="column" fxLayoutAlign="center center" fxHide="false" fxHide.sm>
{{email.from[0].address | slice: 0:1 | uppercase}}
</div>
... | </div>
<div fxLayout="row" fxLayoutAlign="start center">
<div class="evc-from-circle" fxLayout="column" fxLayoutAlign="center center" fxHide="false" fxHide.sm>
{{email.from[0].address | slice: 0:1 | uppercase}}
</div>
<div fxLayout="column">
<div class="evc-text-title"> {{email.from[0].addre... | <|file_sep|>original/src/app/client/components/emailView/emailView.component.html
</div>
<div fxLayout="row" fxLayoutAlign="start center">
<div class="evc-from-circle" fxLayout="column" fxLayoutAlign="center center" fxHide="false" fxHide.sm>
{{email.from[0].address | slice: 0:1 | uppercase}}
</div>
... | cce35f294e7c1a7a2831c2f649c315cc4220f2c7 | src/app/client/components/emailView/emailView.component.html | src/app/client/components/emailView/emailView.component.html | HTML |
<|file_sep|>original/package.json
{
"name": "edx",
"version": "0.1.0",
"dependencies": {
"coffee-script": "1.6.1",
"uglify-js": "2.4.24"
},
"devDependencies": {
"jshint": "^2.7.0",
"edx-custom-a11y-rules": "edx/edx-custom-a11y-rules"
}
}
<|file_sep|>current/package.json
{
"name": "edx",
... | {
"name": "edx",
"version": "0.1.0",
"dependencies": {
"coffee-script": "1.6.1",
"uglify-js": "2.4.24"
},
"devDependencies": {
"jshint": "^2.7.0",
"edx-custom-a11y-rules": "edx/edx-custom-a11y-rules",
"plato": "1.2.2"
}
} | <|file_sep|>original/package.json
{
"name": "edx",
"version": "0.1.0",
"dependencies": {
"coffee-script": "1.6.1",
"uglify-js": "2.4.24"
},
"devDependencies": {
"jshint": "^2.7.0",
"edx-custom-a11y-rules": "edx/edx-custom-a11y-rules"
}
}
<|file_sep|>current/package.json
{
"name": "edx",
... | b1f4cfeeaddfb97bd02fbbed9faca9a345a4d4cf | package.json | package.json | JSON |
<|file_sep|>original/.github/workflows/website_converge.yml
name: Converge website
on:
push:
branches: [main]
env:
WERF_SET_ACTIVE_RELEASE: "global.active_release=1.2"
WERF_REPO: "ghcr.io/${{ github.repository_owner }}/werfio"
jobs:
converge:
name: Converge site to Production
runs-on: tfprod-werf... | name: Converge website
on:
push:
branches: [main]
paths:
- 'docs/site/**'
- 'docs/_config.yml'
- 'docs/_config_ru.yml'
- '.github/workflows/website_converge.yml'
env:
WERF_SET_ACTIVE_RELEASE: "global.active_release=1.2"
WERF_REPO: "ghcr.io/${{ github.repository_owner }}/werfio"
j... | <|file_sep|>original/.github/workflows/website_converge.yml
name: Converge website
on:
push:
branches: [main]
env:
WERF_SET_ACTIVE_RELEASE: "global.active_release=1.2"
WERF_REPO: "ghcr.io/${{ github.repository_owner }}/werfio"
jobs:
converge:
name: Converge site to Production
runs-on: tfprod-werf... | adfcb3d504cc90557af9cb8c02435c3118dc17f0 | .github/workflows/website_converge.yml | .github/workflows/website_converge.yml | YAML |
<|file_sep|>original/README.md
A code of conduct for your open source project.
Pledge your respect and appreciation for contributions to your open source project. Add `CODE_OF_CONDUCT.md` to the root of the project folder to let people know that your project is open and welcoming to all contributors.
Please feel free... | A code of conduct for your open source project.
Pledge your respect and appreciation for contributions to your open source project. Add `CODE_OF_CONDUCT.md` to the root of the project folder to let people know that your project is open and welcoming to all contributors.
Please feel free to submit pull requests or ope... | <|file_sep|>original/README.md
A code of conduct for your open source project.
Pledge your respect and appreciation for contributions to your open source project. Add `CODE_OF_CONDUCT.md` to the root of the project folder to let people know that your project is open and welcoming to all contributors.
Please feel free... | 6d48fe8a0daf69b32e9f91537559e25e0f8c0f3a | README.md | README.md | Markdown |
<|file_sep|>original/.travis.yml
before_script:
- sudo pip install -r requirements.txt
script: trial tests.py plugins
<|file_sep|>current/.travis.yml
before_script:
- sudo pip install -r requirements.txt
script: trial tests.py plugins
<|file_sep|>updated/.travis.yml | python:
- 2.6
- 2.7
before_script:
- sudo pip install -r requirements.txt
script: trial tests.py plugins | <|file_sep|>original/.travis.yml
before_script:
- sudo pip install -r requirements.txt
script: trial tests.py plugins
<|file_sep|>current/.travis.yml
before_script:
- sudo pip install -r requirements.txt
script: trial tests.py plugins
<|file_sep|>updated/.travis.yml
python:
- 2.6
- 2.7
before_script:
... | b27a16b847cd223cb1b157d603e63fee92cb241a | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/style.css
/* defining style for a single key */
.key {
border: 3px solid black;
border-radius: 5px;
width: 60px;
height: 60px;
background-color: rgba(0, 0, 0, 0.4);
text-align: center;
padding: 6px 12px;
margin: 15px;
box-shadow: 0 0 1px rosybrown;
transition... | /* defining style for a single key */
.key {
border: 3px solid black;
border-radius: 5px;
width: 60px;
height: 60px;
background-color: rgba(0, 0, 0, 0.4);
text-align: center;
padding: 6px 12px;
margin: 15px;
transition: all 0.6s ease-in-out;
}
/* defining style for a single alphabet... | <|file_sep|>original/style.css
/* defining style for a single key */
.key {
border: 3px solid black;
border-radius: 5px;
width: 60px;
height: 60px;
background-color: rgba(0, 0, 0, 0.4);
text-align: center;
padding: 6px 12px;
margin: 15px;
box-shadow: 0 0 1px rosybrown;
transition... | fc06f05bd2d75cfaba0fc7913da61f9845b73195 | style.css | style.css | CSS |
<|file_sep|>original/.travis.yml
language: go
go:
- master
before_install:
- . $HOME/.nvm/nvm.sh
- nvm install stable
- nvm use stable
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH
install:
- npm rebuild node-sass --force
script:
- make
<|file_sep|>current/.t... | language: go
go:
- master
before_install:
- . $HOME/.nvm/nvm.sh
- nvm install stable
- nvm use stable
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH
install:
- cd static && npm rebuild node-sass --force
script:
- make | <|file_sep|>original/.travis.yml
language: go
go:
- master
before_install:
- . $HOME/.nvm/nvm.sh
- nvm install stable
- nvm use stable
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH
install:
- npm rebuild node-sass --force
script:
- make
<|file_sep|>current/.t... | 0965be5f0917e3c227d4ac67fc2ba1b5e5e6523e | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/metadata/cz.yetanotherview.webcamviewer.app.txt
Build:2.0,25
commit=fac88fdc9619330497f8554a548b22c63ad707a4
subdir=app
gradle=yes
Build:2.0 beta2,26
commit=6e17acb5a72ea3ac8fb533896a902ebfcc9938ed
subdir=app
gradle=yes
Build:2.0 beta2,28
commit=441842c48d3631393cdf3b... |
Build:2.0 beta2,26
commit=6e17acb5a72ea3ac8fb533896a902ebfcc9938ed
subdir=app
gradle=yes
Build:2.0 beta2,28
commit=441842c48d3631393cdf3b96fdb31337dda129a9
subdir=app
gradle=yes
Build:2.0 beta3,29
commit=d463f62340d8085b967c671960d50a0067284eda
subdir=app
gradle=yes
Auto Update M... | <|file_sep|>original/metadata/cz.yetanotherview.webcamviewer.app.txt
Build:2.0,25
commit=fac88fdc9619330497f8554a548b22c63ad707a4
subdir=app
gradle=yes
Build:2.0 beta2,26
commit=6e17acb5a72ea3ac8fb533896a902ebfcc9938ed
subdir=app
gradle=yes
Build:2.0 beta2,28
commit=441842c48d3631393cdf3b... | 1a813c0c95346710e0d46c1f2dcfc7a5c2daccf4 | metadata/cz.yetanotherview.webcamviewer.app.txt | metadata/cz.yetanotherview.webcamviewer.app.txt | Text |
<|file_sep|>original/Leap/LeapTest.elm
module LeapTest where
-- TODO - remove example inclusion once Problem sets are ready to go live or CI is set up.
import LeapExample exposing (isLeap)
import ElmTest.Test exposing (test, Test, suite)
import ElmTest.Assertion exposing (assert, assertEqual)
import ElmTest.Runner.E... | module LeapTest where
-- TODO - remove example inclusion once Problem sets are ready to go live or CI is set up.
import LeapExample exposing (isLeap)
import ElmTest.Test exposing (test, Test, suite)
import ElmTest.Assertion exposing (assert, assertEqual)
import ElmTest.Runner.Element exposing (runDisplay)
tests : T... | <|file_sep|>original/Leap/LeapTest.elm
module LeapTest where
-- TODO - remove example inclusion once Problem sets are ready to go live or CI is set up.
import LeapExample exposing (isLeap)
import ElmTest.Test exposing (test, Test, suite)
import ElmTest.Assertion exposing (assert, assertEqual)
import ElmTest.Runner.E... | 04a6f87499325d999c072961860660cf21c1bcfd | Leap/LeapTest.elm | Leap/LeapTest.elm | Elm |
<|file_sep|>original/src/com/interview/string/RemoveConsecutiveDuplicate.java
<|file_sep|>current/src/com/interview/string/RemoveConsecutiveDuplicate.java
<|file_sep|>updated/src/com/interview/string/RemoveConsecutiveDuplicate.java | package com.interview.string;
/**
* Remove consecutive duplicate characters
* e.g
* AABBCDDAAB -> ABCDAB
* ABBBCCD -> ABCD
* Test cases
* Empty string
* all unique
* all duplicates
* duplicates at certain different places
*/
public class RemoveConsecutiveDuplicate {
public int removeDuplicates(char inpu... | <|file_sep|>original/src/com/interview/string/RemoveConsecutiveDuplicate.java
<|file_sep|>current/src/com/interview/string/RemoveConsecutiveDuplicate.java
<|file_sep|>updated/src/com/interview/string/RemoveConsecutiveDuplicate.java
package com.interview.string;
/**
* Remove consecutive duplicate characters
* e.g
... | c880e6fade77c20e22abf88015bcfa3d01977255 | src/com/interview/string/RemoveConsecutiveDuplicate.java | src/com/interview/string/RemoveConsecutiveDuplicate.java | Java |
<|file_sep|>cmake/modules/FindGNOKII.cmake.diff
original:
if (GNOKII_INCLUDE_DIR)
updated:
if (GNOKII_INCLUDE_DIR AND GNOKII_LIBRARIES)
<|file_sep|>cmake/modules/FindGNOKII.cmake.diff
original:
endif (GNOKII_INCLUDE_DIR)
updated:
endif (GNOKII_INCLUDE_DIR AND GNOKII_LIBRARIES)
<|file_sep|>cmake/modules/FindGNOKII.cmake... | # - Try to find the gnokii directory library
# Once done this will define
#
# GNOKII_FOUND - system has GNOKII
# GNOKII_INCLUDE_DIR - the GNOKII include directory
# GNOKII_LIBRARIES - The libraries needed to use GNOKII
if (GNOKII_INCLUDE_DIR AND GNOKII_LIBRARIES)
# Already in cache, be silent
set(GNOKII_FIND_QU... | <|file_sep|>cmake/modules/FindGNOKII.cmake.diff
original:
if (GNOKII_INCLUDE_DIR)
updated:
if (GNOKII_INCLUDE_DIR AND GNOKII_LIBRARIES)
<|file_sep|>cmake/modules/FindGNOKII.cmake.diff
original:
endif (GNOKII_INCLUDE_DIR)
updated:
endif (GNOKII_INCLUDE_DIR AND GNOKII_LIBRARIES)
<|file_sep|>cmake/modules/FindGNOKII.cmake... | fa996b560385ade1872a33a3f256217c76ac316e | cmake/modules/FindGNOKII.cmake | cmake/modules/FindGNOKII.cmake | CMake |
<|file_sep|>original/api/models/Campaign.js
module.exports = {
attributes: {
name: {
type: 'string',
required: true
},
dateSend: {
type: 'date'
},
groups: {
collection: 'group',
via: 'campaigns'
}
}
};
<|file_sep|>current/api/models/Campaign.js
module.expo... |
name: {
type: 'string',
required: true
},
dateSend: {
type: 'date'
},
message: {
type: 'string',
size: 140,
required: true
},
groups: {
collection: 'group',
via: 'campaigns'
}
| <|file_sep|>original/api/models/Campaign.js
module.exports = {
attributes: {
name: {
type: 'string',
required: true
},
dateSend: {
type: 'date'
},
groups: {
collection: 'group',
via: 'campaigns'
}
}
};
<|file_sep|>current/api/models/Campaign.js
module.expo... | ed4bd8a26f542b6f5727e22232f9dbb43ddb1f33 | api/models/Campaign.js | api/models/Campaign.js | JavaScript |
<|file_sep|>pymemcache/test/test_serde.py.diff
original:
python_memcache_deserializer)
updated:
python_memcache_deserializer, FLAG_PICKLE,
FLAG_INTEGER, FLAG_LONG, FLAG_TEXT)
<|file_sep|>pymemcache/test/test_serde.py.diff
original... |
def test_bytes(self):
self.check(b'value')
def test_unicode(self):
self.check(u'value', FLAG_TEXT)
def test_int(self):
self.check(1, FLAG_INTEGER)
def test_long(self):
# long only exists with Python 2, so we're just testing for another
# integer with Python 3
... | <|file_sep|>pymemcache/test/test_serde.py.diff
original:
python_memcache_deserializer)
updated:
python_memcache_deserializer, FLAG_PICKLE,
FLAG_INTEGER, FLAG_LONG, FLAG_TEXT)
<|file_sep|>pymemcache/test/test_serde.py.diff
original... | 7f611e99d36089bc6836042ba8aec2df02a56f3a | pymemcache/test/test_serde.py | pymemcache/test/test_serde.py | Python |
<|file_sep|>original/layouts/partials/metadata/opengraph.html
<!-- OpenGraph -->
<meta property="og:title" content="{{ if .Params.ogTitle }}{{ .Params.ogTitle }}{{ else }}{{ .Title }}{{ end }}" />
<meta property="og:type" content="website" />
{{ if .Params.ogImage }}
<meta property="og:image" content="{{ .Params.ogImag... | <!-- OpenGraph -->
<meta property="og:title" content="{{ .Title }}" />
<meta property="og:type" content="website" />
{{ if .Params.ogImage }}
<meta property="og:image" content="{{ .Params.ogImage }}" />
{{ end }}
<meta property="og:url" content="{{ .Permalink }}" />
{{ if or .Params.ogDescription .Description }}
<meta ... | <|file_sep|>original/layouts/partials/metadata/opengraph.html
<!-- OpenGraph -->
<meta property="og:title" content="{{ if .Params.ogTitle }}{{ .Params.ogTitle }}{{ else }}{{ .Title }}{{ end }}" />
<meta property="og:type" content="website" />
{{ if .Params.ogImage }}
<meta property="og:image" content="{{ .Params.ogImag... | 9fd4313d7484458403cc9996820077dc0cf07a7e | layouts/partials/metadata/opengraph.html | layouts/partials/metadata/opengraph.html | HTML |
<|file_sep|>src/jage.cpp.diff
original:
#include <cstdio>
updated:
<|file_sep|>src/jage.cpp.diff
original:
updated:
static std::unique_ptr<Engine> theGame;
int success(const std::string& msg);
int fail(const std::string& msg);
<|file_sep|>src/jage.cpp.diff
original:
std::cout << "Start" << std::endl;;
Engi... | theGame = std::make_unique<Engine>(argc, argv);
if (not theGame->ready()) {
return fail("Could not initialize Engine, quitting.");
}
if (not theGame->run()) {
return fail("Error running Engine, quitting.");
}
return success("Done");
}
int success(const std::string& msg) {
th... | <|file_sep|>src/jage.cpp.diff
original:
#include <cstdio>
updated:
<|file_sep|>src/jage.cpp.diff
original:
updated:
static std::unique_ptr<Engine> theGame;
int success(const std::string& msg);
int fail(const std::string& msg);
<|file_sep|>src/jage.cpp.diff
original:
std::cout << "Start" << std::endl;;
Engi... | 8149ec50d06af29008f7a002ae5ae45bda46e9e7 | src/jage.cpp | src/jage.cpp | C++ |
<|file_sep|>original/webpack/base.config.js
new webpack.optimize.DedupePlugin(),
new webpack.optimize.UglifyJsPlugin({
comments: false,
compressor: {
warnings: false
}
})
])
],
resolve: {
alias: {app: path.join(__dirname, '../src/app')},
... | new webpack.optimize.DedupePlugin(),
new webpack.optimize.UglifyJsPlugin({
comments: false,
compressor: {
warnings: false
}
})
])
],
resolve: {
alias: {
app: path.join(__dirname, '../src/app'),
extension: path.join(__dirname, '.... | <|file_sep|>original/webpack/base.config.js
new webpack.optimize.DedupePlugin(),
new webpack.optimize.UglifyJsPlugin({
comments: false,
compressor: {
warnings: false
}
})
])
],
resolve: {
alias: {app: path.join(__dirname, '../src/app')},
... | 5a8dd877638da2fc32afda98695003e9048b4677 | webpack/base.config.js | webpack/base.config.js | JavaScript |
<|file_sep|>README.md.diff
original:
You must be in the right python enviornment (2.7, certain packages installed, clear of mind, pure of soul, etc.)
updated:
You must be in the right python enviornment (2.7, certain packages
installed, clear of mind, pure of soul, etc.)
<|file_sep|>README.md.diff
original:
To accompli... | It might take a few minutes. Go have a coffee.
When it is done, you must activate the new python envionrment each
time, before running cats. Basically, it tells the anaconda terminal
which version of python you want to run.
To do this, type the following command:
```
activate cats_python
```
Then, you should be a... | <|file_sep|>README.md.diff
original:
You must be in the right python enviornment (2.7, certain packages installed, clear of mind, pure of soul, etc.)
updated:
You must be in the right python enviornment (2.7, certain packages
installed, clear of mind, pure of soul, etc.)
<|file_sep|>README.md.diff
original:
To accompli... | ee7dbb1bb0adf210e6f5d9e7a866de06c78fa48e | README.md | README.md | Markdown |
<|file_sep|>lib/smart_answer_flows/marriage-abroad/outcomes/outcome_opposite_sex_marriage_in_british_indian_ocean_territory.govspeak.erb.diff
original:
<% if calculator.ceremony_country == 'british-indian-ocean-territory' %>
Access to the British Indian Ocean Territory is restricted, and it’s unlikely that marria... | <% content_for :title do %>
Marriage in <%= calculator.country_name_lowercase_prefix %>
<% end %>
<% content_for :body do %>
Access to the British Indian Ocean Territory is restricted, and it’s unlikely that marriage would be allowed there.
Contact the British Indian Ocean Territory Administration for further d... | <|file_sep|>lib/smart_answer_flows/marriage-abroad/outcomes/outcome_opposite_sex_marriage_in_british_indian_ocean_territory.govspeak.erb.diff
original:
<% if calculator.ceremony_country == 'british-indian-ocean-territory' %>
Access to the British Indian Ocean Territory is restricted, and it’s unlikely that marria... | dfc4f6275dd3aad12d9b597a102f6783bfbe17d6 | lib/smart_answer_flows/marriage-abroad/outcomes/outcome_opposite_sex_marriage_in_british_indian_ocean_territory.govspeak.erb | lib/smart_answer_flows/marriage-abroad/outcomes/outcome_opposite_sex_marriage_in_british_indian_ocean_territory.govspeak.erb | HTML+ERB |
<|file_sep|>lib/tankulator.rb.diff
original:
require 'tankulator/entry'
require 'tankulator/gastank'
updated:
<|file_sep|>lib/tankulator.rb.diff
original:
updated:
# Starts running everything
# Returns nothing
<|file_sep|>lib/tankulator.rb.diff
original:
inputFileName = ''
updated:
require 'tankulator/entry'
... | newTank.total_distance_confirmation = inputFile.readline # total distance
newTank.driver_aliases = inputFile.readline # make printing drivers a bit better
# read in the rest of the lines until we hit the end of the file
begin
while
newTank.add_entry(Entry.new(inputFile.readline))
end
... | <|file_sep|>lib/tankulator.rb.diff
original:
require 'tankulator/entry'
require 'tankulator/gastank'
updated:
<|file_sep|>lib/tankulator.rb.diff
original:
updated:
# Starts running everything
# Returns nothing
<|file_sep|>lib/tankulator.rb.diff
original:
inputFileName = ''
updated:
require 'tankulator/entry'
... | f04458075ed2b7a437343f1e259f0c6b7e171317 | lib/tankulator.rb | lib/tankulator.rb | Ruby |
<|file_sep|>original/Cargo.toml
[package]
name = "email"
version = "0.0.4"
authors = ["Nicholas Hollett <niax@niax.co.uk>"]
description = "Implementation of RFC 5322 email messages"
repository = "https://github.com/niax/rust-email"
documentation = "https://niax.github.io/rust-email/email/"
license = "MIT"
[dependenci... | [package]
name = "email"
version = "0.0.4"
authors = ["Nicholas Hollett <niax@niax.co.uk>"]
description = "Implementation of RFC 5322 email messages"
repository = "https://github.com/niax/rust-email"
documentation = "https://niax.github.io/rust-email/email/"
license = "MIT"
[dependencies]
encoding = "~0.2.6"
time = "... | <|file_sep|>original/Cargo.toml
[package]
name = "email"
version = "0.0.4"
authors = ["Nicholas Hollett <niax@niax.co.uk>"]
description = "Implementation of RFC 5322 email messages"
repository = "https://github.com/niax/rust-email"
documentation = "https://niax.github.io/rust-email/email/"
license = "MIT"
[dependenci... | 995d67d4aa6d3724e1149debc1618a5407be44d2 | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>original/pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.opendaylight.neutron<... | <modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.opendaylight.neutron</groupId>
<artifactId>project-neutron-parent</artifactId>
<version>0.5.0-SNAPSHOT</version>
<relativePath>parent</relativePath>
</parent>
<groupId>org.opendaylight.neutron</groupId>
<artifactId>project-neutron</artif... | <|file_sep|>original/pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.opendaylight.neutron<... | a2768d48213df488db1c6fe48fe8a1ae5bd31a24 | pom.xml | pom.xml | XML |
<|file_sep|>README.md.diff
original:
# LocboxCodingChallenge2
updated:
# LocBox coding challenge
<|file_sep|>README.md.diff
original:
TODO: Write a gem description
updated:
<|file_sep|>README.md.diff
original:
## Installation
updated:
## Problem 2: A AirBnB JSON interface
<|file_sep|>README.md.diff
original:
Add this ... | # LocBox coding challenge
## Problem 2: A AirBnB JSON interface
### Part 1: Designing a Ruby interface to the JSON API
*Approach:* The AirBnB API is an abstraction. We'd like to build a very
simple query interface around this API.
*Input:* A name of a given city as a string.
*Output:* A relation/cursor of availab... | <|file_sep|>README.md.diff
original:
# LocboxCodingChallenge2
updated:
# LocBox coding challenge
<|file_sep|>README.md.diff
original:
TODO: Write a gem description
updated:
<|file_sep|>README.md.diff
original:
## Installation
updated:
## Problem 2: A AirBnB JSON interface
<|file_sep|>README.md.diff
original:
Add this ... | 588a693fa54d425caa34a787eb3567efb4e43e1f | README.md | README.md | Markdown |
<|file_sep|>original/examples/pm.rb
<|file_sep|>current/examples/pm.rb
<|file_sep|>updated/examples/pm.rb | # This bot shows off PM functionality by sending a PM every time the bot is mentioned.
require 'discordrb'
bot = Discordrb::Bot.new "email@example.com", "hunter2"
bot.mention do |event|
event.user.pm("You have mentioned me!")
end
bot.run | <|file_sep|>original/examples/pm.rb
<|file_sep|>current/examples/pm.rb
<|file_sep|>updated/examples/pm.rb
# This bot shows off PM functionality by sending a PM every time the bot is mentioned.
require 'discordrb'
bot = Discordrb::Bot.new "email@example.com", "hunter2"
bot.mention do |event|
event.user.pm("You ha... | 1625a1dba10ee30fcf5cb4fa3437973f770be96f | examples/pm.rb | examples/pm.rb | Ruby |
<|file_sep|>docs/flows/graphicsdevice.rst.diff
original:
Data is added to the table manually using the Crash Stats Django admin. See the
admin page for details.
updated:
Data is added to the table manually using the Crash Stats Django admin.
1. Log into Crash Stats.
2. Go to the admin.
3. Click on Management Pages -> ... | 1. Log into Crash Stats.
2. Go to the admin.
3. Click on Management Pages -> Graphics Devices
4. Upload a new file from `PCI ID repository <https://pci-ids.ucw.cz/>`_.
The function for parsing that file is `pci_ids__parse_graphics_device_iterable`
at:
https://github.com/mozilla-services/socorro/blob/master/webapp-dja... | <|file_sep|>docs/flows/graphicsdevice.rst.diff
original:
Data is added to the table manually using the Crash Stats Django admin. See the
admin page for details.
updated:
Data is added to the table manually using the Crash Stats Django admin.
1. Log into Crash Stats.
2. Go to the admin.
3. Click on Management Pages -> ... | 8248d38f3959b161e0755a219468dc84822c001e | docs/flows/graphicsdevice.rst | docs/flows/graphicsdevice.rst | reStructuredText |
<|file_sep|>original/db/data_migration/20170607130246_remove_the_from_the_scottish_government_logo.rb
<|file_sep|>current/db/data_migration/20170607130246_remove_the_from_the_scottish_government_logo.rb
<|file_sep|>updated/db/data_migration/20170607130246_remove_the_from_the_scottish_government_logo.rb | the_scottish_government = Organisation.find_by(slug: "the-scottish-government")
new_logo_formatted_name = "Scottish \r\nGovernment"
the_scottish_government.update_attributes(
logo_formatted_name: new_logo_formatted_name
) | <|file_sep|>original/db/data_migration/20170607130246_remove_the_from_the_scottish_government_logo.rb
<|file_sep|>current/db/data_migration/20170607130246_remove_the_from_the_scottish_government_logo.rb
<|file_sep|>updated/db/data_migration/20170607130246_remove_the_from_the_scottish_government_logo.rb
the_scottish_g... | c2e18cd487e0acd6afed0dbe76066cb498eab7dd | db/data_migration/20170607130246_remove_the_from_the_scottish_government_logo.rb | db/data_migration/20170607130246_remove_the_from_the_scottish_government_logo.rb | Ruby |
<|file_sep|>CMakeLists.txt.diff
original:
updated:
set(JAMOMACORE_INSTALL_FOLDER "JamomaCore")
if(NOT IOS AND NOT ANDROID AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/Implementations/Max/CMakeLists.txt")
set(BUILD_JAMOMAMAX True)
set(JAMOMAMAX_INSTALL_FOLDER "JamomaMax")
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/Im... |
set(JAMOMACORE_INSTALL_FOLDER "JamomaCore")
if(NOT IOS AND NOT ANDROID AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/Implementations/Max/CMakeLists.txt")
set(BUILD_JAMOMAMAX True)
set(JAMOMAMAX_INSTALL_FOLDER "JamomaMax")
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/Implementations/Max/Jamoma"
DESTINATION ${JAMOMAM... | <|file_sep|>CMakeLists.txt.diff
original:
updated:
set(JAMOMACORE_INSTALL_FOLDER "JamomaCore")
if(NOT IOS AND NOT ANDROID AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/Implementations/Max/CMakeLists.txt")
set(BUILD_JAMOMAMAX True)
set(JAMOMAMAX_INSTALL_FOLDER "JamomaMax")
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/Im... | 826f27ed466e58815fad133948af1885f856d17b | CMakeLists.txt | CMakeLists.txt | Text |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- 0.6
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- 0.6
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- 0.6
before_script:
- cd node_modules/buster/node_modules/buster-test-cli/ && npm install && cd ../../../../ | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- 0.6
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- 0.6
<|file_sep|>updated/.travis.yml
language: node_js
node_js:
- 0.6
before_script:
- cd node_modules/buster/node_modules/buster-test-cli/ && npm install && cd ../../../../ | 04e479e21d9ec157fef385bd394507cbe6ae5714 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/MEReactiveFoundation.podspec
Pod::Spec.new do |spec|
spec.name = "MEReactiveFoundation"
spec.version = "1.1.0"
spec.authors = {"William Towe" => "willbur1984@gmail.com"}
spec.license = {:type => "MIT", :file => "LICENSE.txt"}
spec.homepage = "https://github.com/TeamMaestro/MEReactiveFound... | Pod::Spec.new do |spec|
spec.name = "MEReactiveFoundation"
spec.version = "1.1.0"
spec.authors = {"William Towe" => "willbur1984@gmail.com"}
spec.license = {:type => "MIT", :file => "LICENSE.txt"}
spec.homepage = "https://github.com/TeamMaestro/MEReactiveFoundation"
spec.source = {:git => "https://github.co... | <|file_sep|>original/MEReactiveFoundation.podspec
Pod::Spec.new do |spec|
spec.name = "MEReactiveFoundation"
spec.version = "1.1.0"
spec.authors = {"William Towe" => "willbur1984@gmail.com"}
spec.license = {:type => "MIT", :file => "LICENSE.txt"}
spec.homepage = "https://github.com/TeamMaestro/MEReactiveFound... | d6f4d1030b83a0a67b51f8380e5a38e451d76d13 | MEReactiveFoundation.podspec | MEReactiveFoundation.podspec | Ruby |
<|file_sep|>original/deployment/puppet/modules/cosmos/templates/logback.conf.erb
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
</encoder>
</appender>
<appender name="FILE" class="ch.... | </appender>
<appender name="FILE" class="ch.qos.logback.core.FileAppender">
<file><%= scope.lookupvar('cosmos::params::cosmos_basedir') %>/var/log/cosmos-api.log</file>
<encoder>
<pattern>%date %level [%thread] %logger{10} [%file:%line] %msg%n</pattern>
</encoder>
</appe... | <|file_sep|>original/deployment/puppet/modules/cosmos/templates/logback.conf.erb
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
</encoder>
</appender>
<appender name="FILE" class="ch.... | cbf5784930b35b12a1a5c10e05a4f7e4406f793f | deployment/puppet/modules/cosmos/templates/logback.conf.erb | deployment/puppet/modules/cosmos/templates/logback.conf.erb | HTML+ERB |
<|file_sep|>original/test/integration/org/tsaap/directory/UserIntegrationSpec.groovy
<|file_sep|>current/test/integration/org/tsaap/directory/UserIntegrationSpec.groovy
<|file_sep|>updated/test/integration/org/tsaap/directory/UserIntegrationSpec.groovy | package org.tsaap.directory
import spock.lang.*
/**
*
*/
class UserIntegrationSpec extends Specification {
UserAccountService userAccountService
def setup() {
}
def cleanup() {
}
def "test about user role"() {
when: "create new user with a student role"
User studentUser ... | <|file_sep|>original/test/integration/org/tsaap/directory/UserIntegrationSpec.groovy
<|file_sep|>current/test/integration/org/tsaap/directory/UserIntegrationSpec.groovy
<|file_sep|>updated/test/integration/org/tsaap/directory/UserIntegrationSpec.groovy
package org.tsaap.directory
import spock.lang.*
/**
*
*/
cl... | 81ba61191b6365609edc805a53ef182defa6fcd8 | test/integration/org/tsaap/directory/UserIntegrationSpec.groovy | test/integration/org/tsaap/directory/UserIntegrationSpec.groovy | Groovy |
<|file_sep|>src/main/java/net/tropicraft/core/common/block/TropicsFlowerBlock.java.diff
original:
updated:
import net.minecraft.util.math.Vec3d;
<|file_sep|>original/src/main/java/net/tropicraft/core/common/block/TropicsFlowerBlock.java
import net.minecraft.potion.Effect;
import net.minecraft.util.math.BlockPos;
impor... | import net.minecraft.util.math.Vec3d;
import net.minecraft.util.math.shapes.ISelectionContext;
import net.minecraft.util.math.shapes.VoxelShape;
import net.minecraft.world.IBlockReader;
public class TropicsFlowerBlock extends FlowerBlock {
private final VoxelShape shape;
public TropicsFlowerBlock(Effect eff... | <|file_sep|>src/main/java/net/tropicraft/core/common/block/TropicsFlowerBlock.java.diff
original:
updated:
import net.minecraft.util.math.Vec3d;
<|file_sep|>original/src/main/java/net/tropicraft/core/common/block/TropicsFlowerBlock.java
import net.minecraft.potion.Effect;
import net.minecraft.util.math.BlockPos;
impor... | 2cb1a2c317cb9343f45731e1b5c7f599cc419851 | src/main/java/net/tropicraft/core/common/block/TropicsFlowerBlock.java | src/main/java/net/tropicraft/core/common/block/TropicsFlowerBlock.java | Java |
<|file_sep|>build.boot.diff
original:
:source-paths #{"test"}
:dependencies '[[org.clojure/clojure "RELEASE"]
[adzerk/boot-test "RELEASE" :scope "test"]])
updated:
:source-paths #{"test"}
:dependencies '[[org.clojure/clojure "RELEASE"]
... | :source-paths #{"test"}
:dependencies '[[org.clojure/clojure "RELEASE"]
[adzerk/boot-test "RELEASE" :scope "test"]
[adzerk/bootlaces "0.1.13"]])
(task-options!
pom {:project project
:version version
:description "For splitting... | <|file_sep|>build.boot.diff
original:
:source-paths #{"test"}
:dependencies '[[org.clojure/clojure "RELEASE"]
[adzerk/boot-test "RELEASE" :scope "test"]])
updated:
:source-paths #{"test"}
:dependencies '[[org.clojure/clojure "RELEASE"]
... | df1e82612a61cdfe689cc325284682dfaf8106e6 | build.boot | build.boot | Clojure |
<|file_sep|>original/dev_requirements.txt
ipykernel==4.6.1
lxml==3.8.0
mock==2.0.0
nbsphinx==0.2.14
pandoc==1.0.0b2
pytest==3.2.0
pytest-flake8==0.8.1
sphinx==1.6.3
sphinx-rtd-theme==0.2.4
sphinxcontrib-napoleon==0.6.1
SQLAlchemy==1.1.12
tox==2.7.0
twine==1.9.1
xlrd==1.0.0
numpy==1.13.1
statsmodels==0.8.0
notebook==5.0... | ipykernel==4.6.1
lxml==3.8.0
mock==2.0.0
nbsphinx==0.2.14
pandoc==1.0.0b3
pytest==3.2.0
pytest-flake8==0.8.1
sphinx==1.6.3
sphinx-rtd-theme==0.2.4
sphinxcontrib-napoleon==0.6.1
SQLAlchemy==1.1.12
tox==2.7.0
twine==1.9.1
xlrd==1.0.0
numpy==1.13.1
statsmodels==0.8.0
notebook==5.0.0 | <|file_sep|>original/dev_requirements.txt
ipykernel==4.6.1
lxml==3.8.0
mock==2.0.0
nbsphinx==0.2.14
pandoc==1.0.0b2
pytest==3.2.0
pytest-flake8==0.8.1
sphinx==1.6.3
sphinx-rtd-theme==0.2.4
sphinxcontrib-napoleon==0.6.1
SQLAlchemy==1.1.12
tox==2.7.0
twine==1.9.1
xlrd==1.0.0
numpy==1.13.1
statsmodels==0.8.0
notebook==5.0... | 8b0a5d98b81f6240124be4654ec95baeb2f7e1cf | dev_requirements.txt | dev_requirements.txt | Text |
<|file_sep|>original/network_tap/ncontrol/requirements.txt
bjoern==3.1.0
docker==5.0.1
falcon==3.0.1
falcon-cors==1.1.7
<|file_sep|>current/network_tap/ncontrol/requirements.txt
bjoern==3.1.0
docker==5.0.1
falcon==3.0.1
falcon-cors==1.1.7
<|file_sep|>updated/network_tap/ncontrol/requirements.txt | bjoern==3.1.0
docker==5.0.2
falcon==3.0.1
falcon-cors==1.1.7 | <|file_sep|>original/network_tap/ncontrol/requirements.txt
bjoern==3.1.0
docker==5.0.1
falcon==3.0.1
falcon-cors==1.1.7
<|file_sep|>current/network_tap/ncontrol/requirements.txt
bjoern==3.1.0
docker==5.0.1
falcon==3.0.1
falcon-cors==1.1.7
<|file_sep|>updated/network_tap/ncontrol/requirements.txt
bjoern==3.1.0
docker==5... | 494bbfda1319a49146eb1c93bbfd9ab55a0590d1 | network_tap/ncontrol/requirements.txt | network_tap/ncontrol/requirements.txt | Text |
<|file_sep|>original/TESTING.md
<|file_sep|>current/TESTING.md
<|file_sep|>updated/TESTING.md | # PHPUnit Tests
## Requirements
To run the Test suite, you will need PHP 5.6+.
## Execute tests
cd /root/of/project
phpunit
## Generate code coverage
phpunit --coverage-text="docs/coverage.txt"
## Generate agile documentation
phpunit --testdox-text="docs/tests-results.txt" | <|file_sep|>original/TESTING.md
<|file_sep|>current/TESTING.md
<|file_sep|>updated/TESTING.md
# PHPUnit Tests
## Requirements
To run the Test suite, you will need PHP 5.6+.
## Execute tests
cd /root/of/project
phpunit
## Generate code coverage
phpunit --coverage-text="docs/coverage.txt"
## Gener... | 52b8cfc31a414eaa7d12c17121f7fb63beb2d3c5 | TESTING.md | TESTING.md | Markdown |
<|file_sep|>original/fabtastic/db/__init__.py
from django.conf import settings
from fabtastic.db import util
db_engine = util.get_db_setting('ENGINE')
if 'postgresql_psycopg2' in db_engine:
from fabtastic.db.postgres import *
else:
raise NotImplementedError("Fabtastic: DB engine '%s' is not supported" % db_en... | from django.conf import settings
from fabtastic.db import util
db_engine = util.get_db_setting('ENGINE')
if 'postgresql_psycopg2' in db_engine:
from fabtastic.db.postgres import *
else:
print("Fabtastic WARNING: DB engine '%s' is not supported" % db_engine) | <|file_sep|>original/fabtastic/db/__init__.py
from django.conf import settings
from fabtastic.db import util
db_engine = util.get_db_setting('ENGINE')
if 'postgresql_psycopg2' in db_engine:
from fabtastic.db.postgres import *
else:
raise NotImplementedError("Fabtastic: DB engine '%s' is not supported" % db_en... | 83dabc9fc1142e1575843d3a68c6241185543936 | fabtastic/db/__init__.py | fabtastic/db/__init__.py | Python |
<|file_sep|>tests/api_resources/checkout/test_session.py.diff
original:
TEST_RESOURCE_ID = "loc_123"
updated:
TEST_RESOURCE_ID = "cs_123"
<|file_sep|>original/tests/api_resources/checkout/test_session.py
class TestSession(object):
def test_is_creatable(self, request_mock):
resource = stripe.checkout.Session... | "amount": 123,
"currency": "usd",
"description": "item 1",
"images": ["https://stripe.com/img1"],
"name": "name",
"quantity": 2,
}
],
payment_intent_data={"rece... | <|file_sep|>tests/api_resources/checkout/test_session.py.diff
original:
TEST_RESOURCE_ID = "loc_123"
updated:
TEST_RESOURCE_ID = "cs_123"
<|file_sep|>original/tests/api_resources/checkout/test_session.py
class TestSession(object):
def test_is_creatable(self, request_mock):
resource = stripe.checkout.Session... | 36663add9f53da925f1d29c8c567ab30a1f33139 | tests/api_resources/checkout/test_session.py | tests/api_resources/checkout/test_session.py | Python |
<|file_sep|>apps/publisher/themes/default/js/view-asset.js.diff
original:
$(document).ready(function(){
$('.image-display').click(function(){
messages.modal_pop({content:'<img src="'+$(this).attr('src')+'" />'});
updated:
$(document).ready(function () {
var image = $('.image-display');
image.click(f... | $(document).ready(function () {
var image = $('.image-display');
image.click(function () {
messages.modal_pop({content: '<img src="' + $(this).attr('src') + '" />'});
});
image.error(
function () {
$(this).unbind("click").css("cursor", "default")
});
}); | <|file_sep|>apps/publisher/themes/default/js/view-asset.js.diff
original:
$(document).ready(function(){
$('.image-display').click(function(){
messages.modal_pop({content:'<img src="'+$(this).attr('src')+'" />'});
updated:
$(document).ready(function () {
var image = $('.image-display');
image.click(f... | b2a99e91d887b9b3849116ce07dc1e2f1c7c37bb | apps/publisher/themes/default/js/view-asset.js | apps/publisher/themes/default/js/view-asset.js | JavaScript |
<|file_sep|>.travis.yml.diff
original:
before_script: cp config/database.yml.example config/database.yml
language: ruby
rvm:
- 1.9.2
#- 1.9.3
script: bundle exec rake db:create db:migrate db:test:prepare default
updated:
<|file_sep|>original/.travis.yml
before_script: cp config/database.yml.example config/database... | branches:
only:
- master
before_script: cp config/database.yml.example config/database.yml
language: ruby
matrix:
allow_failures:
- rvm: 1.9.3
- rvm: ruby-head
rvm:
- 1.9.2
- 1.9.3
- ruby-head
script: bundle exec rake db:create db:migrate db:test:prepare default | <|file_sep|>.travis.yml.diff
original:
before_script: cp config/database.yml.example config/database.yml
language: ruby
rvm:
- 1.9.2
#- 1.9.3
script: bundle exec rake db:create db:migrate db:test:prepare default
updated:
<|file_sep|>original/.travis.yml
before_script: cp config/database.yml.example config/database... | 49f94e87bb6e4838bd38219098eaef5d03d23471 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.github/workflows/ci.yml
- jruby-head
- truffleruby-head
include:
- ruby: 2.1
os: ubuntu-latest
bundler: 1
- ruby: 2.2
os: ubuntu-latest
bundler: 1
continue-on-error: ${{ endsWith(matrix.ruby, 'head'... | - truffleruby-head
include:
- ruby: 2.1
os: ubuntu-latest
bundler: 1
- ruby: 2.2
os: ubuntu-latest
bundler: 1
continue-on-error: ${{ endsWith(matrix.ruby, 'head') }}
steps:
- uses: actions/checkout@v2
- name: Set u... | <|file_sep|>original/.github/workflows/ci.yml
- jruby-head
- truffleruby-head
include:
- ruby: 2.1
os: ubuntu-latest
bundler: 1
- ruby: 2.2
os: ubuntu-latest
bundler: 1
continue-on-error: ${{ endsWith(matrix.ruby, 'head'... | a3e8eda450ebb98ac2f51d8b853199e5e8c12825 | .github/workflows/ci.yml | .github/workflows/ci.yml | YAML |
<|file_sep|>original/vent/extras/rmq_es_connector/requirements.txt
elasticsearch==7.0.1
pika==1.0.1
urllib3==1.25.3
<|file_sep|>current/vent/extras/rmq_es_connector/requirements.txt
elasticsearch==7.0.1
pika==1.0.1
urllib3==1.25.3
<|file_sep|>updated/vent/extras/rmq_es_connector/requirements.txt | elasticsearch==7.0.2
pika==1.0.1
urllib3==1.25.3 | <|file_sep|>original/vent/extras/rmq_es_connector/requirements.txt
elasticsearch==7.0.1
pika==1.0.1
urllib3==1.25.3
<|file_sep|>current/vent/extras/rmq_es_connector/requirements.txt
elasticsearch==7.0.1
pika==1.0.1
urllib3==1.25.3
<|file_sep|>updated/vent/extras/rmq_es_connector/requirements.txt
elasticsearch==7.0.2
pi... | 9c96e21c5e9bce9cd1978f67a5f69afd174ded16 | vent/extras/rmq_es_connector/requirements.txt | vent/extras/rmq_es_connector/requirements.txt | Text |
<|file_sep|>original/README.md
# Molfraw
Molfraw is a clone of Wolfram Alpha's mathematical features in JavaScript.
<|file_sep|>current/README.md
# Molfraw
Molfraw is a clone of Wolfram Alpha's mathematical features in JavaScript.
<|file_sep|>updated/README.md | # Molfraw
Molfraw is a clone of Wolfram Alpha's mathematical features in JavaScript.
[Try it.](https://alexbock.github.io/molfraw/) | <|file_sep|>original/README.md
# Molfraw
Molfraw is a clone of Wolfram Alpha's mathematical features in JavaScript.
<|file_sep|>current/README.md
# Molfraw
Molfraw is a clone of Wolfram Alpha's mathematical features in JavaScript.
<|file_sep|>updated/README.md
# Molfraw
Molfraw is a clone of Wolfram Alpha's mathemat... | d7fec3dfc68ebf42f489a3f72e147f62d92469f1 | README.md | README.md | Markdown |
<|file_sep|>original/src/less/themes/_solarized-light.less
@background: #fdf6e3;
@color0: #073642;
@color1: #dc322f;
@color2: #859900;
@color3: #b58900;
@color4: #268bd2;
@color5: #d33682;
@color6: #2aa198;
@color7: #eee8d5;
@color8: #002b36;
@color9: #cb4b16;
@color10: #586e75;
@color11: #65... |
@color0: #073642;
@color1: #dc322f;
@color2: #859900;
@color3: #b58900;
@color4: #268bd2;
@color5: #d33682;
@color6: #2aa198;
@color7: #eee8d5;
@color8: #002b36;
@color9: #cb4b16;
@color10: #586e75;
@color11: #657c83;
@color12: #839496;
@color13: #6c71c4;
@color14: #93a1a1;
@color15: #f... | <|file_sep|>original/src/less/themes/_solarized-light.less
@background: #fdf6e3;
@color0: #073642;
@color1: #dc322f;
@color2: #859900;
@color3: #b58900;
@color4: #268bd2;
@color5: #d33682;
@color6: #2aa198;
@color7: #eee8d5;
@color8: #002b36;
@color9: #cb4b16;
@color10: #586e75;
@color11: #65... | 427fc4d4bf1747fc6a4284c50d84babfe53e0687 | src/less/themes/_solarized-light.less | src/less/themes/_solarized-light.less | Less |
<|file_sep|>package.json.diff
original:
"version": "0.1.0",
updated:
"version": "0.1.1",
<|file_sep|>original/package.json
"gruntplugin",
"grunt"
],
"author": "API By Example <apibyexample@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/apibyexample/grunt-abe-json-builder/iss... | "gruntplugin",
"grunt"
],
"author": "API By Example <apibyexample@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/apibyexample/grunt-abe-json-builder/issues"
},
"homepage": "https://github.com/apibyexample/grunt-abe-json-builder",
"dependencies": {
"abe-json-builder": "... | <|file_sep|>package.json.diff
original:
"version": "0.1.0",
updated:
"version": "0.1.1",
<|file_sep|>original/package.json
"gruntplugin",
"grunt"
],
"author": "API By Example <apibyexample@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/apibyexample/grunt-abe-json-builder/iss... | 7b7fe153b1c716ea915fdd7ccc4ac62f153521d4 | package.json | package.json | JSON |
<|file_sep|>original/app/controllers/users_controller.rb
else
render :action => :new
end
end
def edit
@user = User.find(params[:id])
end
def index
@users = User.all
end
def new
@user = User.new
@star = Star.new(:to => @user)
end
def show
@user = User.find(params[:id... | else
render :action => :new
end
end
def edit
@user = User.find(params[:id])
end
def index
@users = User.all.sort_by(&:name)
end
def new
@user = User.new
@star = Star.new(:to => @user)
end
def show
@user = User.find(params[:id])
@star = Star.new(:to => @user) | <|file_sep|>original/app/controllers/users_controller.rb
else
render :action => :new
end
end
def edit
@user = User.find(params[:id])
end
def index
@users = User.all
end
def new
@user = User.new
@star = Star.new(:to => @user)
end
def show
@user = User.find(params[:id... | ec06896777a1f8dbedda8334edc32d09e482779e | app/controllers/users_controller.rb | app/controllers/users_controller.rb | Ruby |
<|file_sep|>original/types/ShortReads/spec.json
{
"ver":"0.1.1",
"view_method_ids":[
],
"import_method_ids":[
"import_reads_pe_fastq_file", "import_reads_se_fastq_file", "import_reads_fasta_file", "upload_pe_reads"
],
"landing_page_url_prefix":""
}
<|file_sep|>current/types/ShortReads/sp... | {
"ver":"0.1.1",
"view_method_ids":[
],
"import_method_ids":[
"import_reads_pe_fastq_file", "import_reads_se_fastq_file",
"import_reads_fasta_file", "upload_pe_reads",
"ReadsUtils/import_se_reads"
],
"landing_page_url_prefix":""
} | <|file_sep|>original/types/ShortReads/spec.json
{
"ver":"0.1.1",
"view_method_ids":[
],
"import_method_ids":[
"import_reads_pe_fastq_file", "import_reads_se_fastq_file", "import_reads_fasta_file", "upload_pe_reads"
],
"landing_page_url_prefix":""
}
<|file_sep|>current/types/ShortReads/sp... | 48c4ef440a00ec4f2fba24fb7f55137de430b838 | types/ShortReads/spec.json | types/ShortReads/spec.json | JSON |
<|file_sep|>original/app/controllers/api/v1/helpers.rb
false
end
def current_ability
::Ability.new(current_account)
end
def current_account
env['current_account']
end
def declared_params
declared(params, include_missing: false).to_hash
end
... | false
end
def current_ability
::Ability.new(current_account)
end
def current_account
env['current_account']
end
def declared_params
declared(params, include_missing: false).to_hash.with_indifferent_access
end
def permitted_params(*args)... | <|file_sep|>original/app/controllers/api/v1/helpers.rb
false
end
def current_ability
::Ability.new(current_account)
end
def current_account
env['current_account']
end
def declared_params
declared(params, include_missing: false).to_hash
end
... | 1e8dc64f3d05ffa3cd25209785c3f44fc306965e | app/controllers/api/v1/helpers.rb | app/controllers/api/v1/helpers.rb | Ruby |
<|file_sep|>original/recipes/disable.rb
swap_devices = []
if node['ec2'] &&
node['ec2']['block_device_mapping_swap']
swap_devices << '/dev/' + node['ec2']['block_device_mapping_swap']
swap_devices << '/dev/' + node['ec2']['block_device_mapping_swap'].sub(/xvd/, 'sd')
end
swap_devices += node['filesystem'].sele... | swap_devices = []
if node['ec2'] &&
node['ec2']['block_device_mapping_swap']
swap_devices << '/dev/' + node['ec2']['block_device_mapping_swap']
swap_devices << '/dev/' + node['ec2']['block_device_mapping_swap'].sub(/xvd/, 'sd')
end
swap_devices += node['filesystem'].select { |_fs, conf| conf['fs_type'] == 'swap... | <|file_sep|>original/recipes/disable.rb
swap_devices = []
if node['ec2'] &&
node['ec2']['block_device_mapping_swap']
swap_devices << '/dev/' + node['ec2']['block_device_mapping_swap']
swap_devices << '/dev/' + node['ec2']['block_device_mapping_swap'].sub(/xvd/, 'sd')
end
swap_devices += node['filesystem'].sele... | 83f73aad1044bd9341bfe0d25ae04c2f121e3ea5 | recipes/disable.rb | recipes/disable.rb | Ruby |
<|file_sep|>original/.travis.yml
language: node_js
cache: yarn
node_js:
- node
- "12"
- "10"
<|file_sep|>current/.travis.yml
language: node_js
cache: yarn
node_js:
- node
- "12"
- "10"
<|file_sep|>updated/.travis.yml | language: node_js
cache: yarn
node_js:
- node
- "14"
- "12"
- "10" | <|file_sep|>original/.travis.yml
language: node_js
cache: yarn
node_js:
- node
- "12"
- "10"
<|file_sep|>current/.travis.yml
language: node_js
cache: yarn
node_js:
- node
- "12"
- "10"
<|file_sep|>updated/.travis.yml
language: node_js
cache: yarn
node_js:
- node
- "14"
- "12"
- "10" | 1cceed4f804a75061adca282932a9f23d7cac1f9 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/javascript/package.json
],
"author": "Aslak Hellesøy",
"license": "MIT",
"bugs": {
"url": "https://github.com/cucumber/cucumber/issues"
},
"homepage": "https://github.com/cucumber/gherkin-javascript",
"devDependencies": {
"@types/mocha": "8.2.2",
"@types/node": "15.6.0",
... | ],
"author": "Aslak Hellesøy",
"license": "MIT",
"bugs": {
"url": "https://github.com/cucumber/cucumber/issues"
},
"homepage": "https://github.com/cucumber/gherkin-javascript",
"devDependencies": {
"@types/mocha": "8.2.2",
"@types/node": "15.6.0",
"core-js": "3.13.0",
"mocha": "8.4.0",... | <|file_sep|>original/javascript/package.json
],
"author": "Aslak Hellesøy",
"license": "MIT",
"bugs": {
"url": "https://github.com/cucumber/cucumber/issues"
},
"homepage": "https://github.com/cucumber/gherkin-javascript",
"devDependencies": {
"@types/mocha": "8.2.2",
"@types/node": "15.6.0",
... | 141083d6ff555a95d61d0cded7c8563d3c431d6d | javascript/package.json | javascript/package.json | JSON |
<|file_sep|>backend/dynamic-web-apps/voting-app/src/tests/integrated/database.spec.js.diff
original:
const res = await connect();
assert.equal(res, 0, 'It should connect to the database without errors');
updated:
const actual = await connect();
const expected = 0;
assert.equal(actual, expected, 'It should con... | const expected = 0;
assert.equal(actual, expected, 'It should connect to the database without errors');
assert.end();
});
test('adding to database', async (assert) => {
const actual = await add(User, 'sample', 'secret');
const expected = 0;
await remove(User, 'sample');
assert.equal(actual, expected, 'It... | <|file_sep|>backend/dynamic-web-apps/voting-app/src/tests/integrated/database.spec.js.diff
original:
const res = await connect();
assert.equal(res, 0, 'It should connect to the database without errors');
updated:
const actual = await connect();
const expected = 0;
assert.equal(actual, expected, 'It should con... | 55f0f4ab81f18cf33ff62389752ee7571623c27f | backend/dynamic-web-apps/voting-app/src/tests/integrated/database.spec.js | backend/dynamic-web-apps/voting-app/src/tests/integrated/database.spec.js | JavaScript |
<|file_sep|>original/gwt-oauth2/src/main/resources/io/github/freddyboucher/gwt/oauth2/resources/oauthWindow.html
<!doctype html>
<html>
<head>
</head>
<body>
<script type="text/javascript">
if (window.opener && window.opener.oauth2 && window.opener.oauth2.__doLogin) {
if (location.hash.length !== 0) {
windo... | <!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport"
content="width=device-width, initial-scale=1.0, user-scalable=no, shrink-to-fit=no">
</head>
<body>
<script type="text/javascript">
if (window.opener && window.opener.oauth2 &... | <|file_sep|>original/gwt-oauth2/src/main/resources/io/github/freddyboucher/gwt/oauth2/resources/oauthWindow.html
<!doctype html>
<html>
<head>
</head>
<body>
<script type="text/javascript">
if (window.opener && window.opener.oauth2 && window.opener.oauth2.__doLogin) {
if (location.hash.length !== 0) {
windo... | 94506bbc50cea9e45bc3d7716b2ad3227a899778 | gwt-oauth2/src/main/resources/io/github/freddyboucher/gwt/oauth2/resources/oauthWindow.html | gwt-oauth2/src/main/resources/io/github/freddyboucher/gwt/oauth2/resources/oauthWindow.html | HTML |
<|file_sep|>pom.xml.diff
original:
updated:
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<|file_sep|>pom.xml.diff
original:
updated:
<|file_sep|>pom.xml.diff
original:
updated:
<|file_sep|>original/pom.xml
... | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>nl.yacht.lakesideresort</groupId>
<artifactId>lakesideresort</artifactId>
<version>0.1.0-SNAPSHOT</version>
<properties>
<maven.compiler.... | <|file_sep|>pom.xml.diff
original:
updated:
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<|file_sep|>pom.xml.diff
original:
updated:
<|file_sep|>pom.xml.diff
original:
updated:
<|file_sep|>original/pom.xml
... | 75f4ea241dd484a3191b6215a865ee6227455ba6 | pom.xml | pom.xml | XML |
<|file_sep|>original/app/views/layouts/_sidebar.html.erb
<h3><%=t 'navigation' %></h3>
<% if logged_in? %>
<%= render partial: 'layouts/navigation_for_members' %>
<% else %>
<ul>
<%= navigation_link_unless_current( t('sessions.login'), login_path )%>
</ul>
<% end %>
<h3><%=t 'help.title' %... |
<h3><%=t 'navigation' %></h3>
<% if logged_in? %>
<%= render partial: 'layouts/navigation_for_members' %>
<% else %>
<ul>
<%= navigation_link_unless_current( t('sessions.login'), login_path )%>
</ul>
<% end %>
<h3><%=t 'help.title' %></h3>
<ul>
<%= navigation_link_unless_current( t('... | <|file_sep|>original/app/views/layouts/_sidebar.html.erb
<h3><%=t 'navigation' %></h3>
<% if logged_in? %>
<%= render partial: 'layouts/navigation_for_members' %>
<% else %>
<ul>
<%= navigation_link_unless_current( t('sessions.login'), login_path )%>
</ul>
<% end %>
<h3><%=t 'help.title' %... | 2c91b5fb9bc50f71081ec65dbe1c2e4598b82908 | app/views/layouts/_sidebar.html.erb | app/views/layouts/_sidebar.html.erb | HTML+ERB |
<|file_sep|>.travis.yml.diff
original:
- 2.0.0
- 2.1.5
updated:
<|file_sep|>original/.travis.yml
language: ruby
bundler_args: "--binstubs --standalone --without documentation --path ../bundle"
script: "bundle exec rake test"
rvm:
- 2.0.0
- 2.1.5
- 2.2.0
- 2.3.3
notifications:
email: false
<|file_sep|>cu... | language: ruby
bundler_args: "--binstubs --standalone --without documentation --path ../bundle"
script: "bundle exec rake test"
rvm:
- 2.2.0
- 2.3.3
- 2.4.0
notifications:
email: false | <|file_sep|>.travis.yml.diff
original:
- 2.0.0
- 2.1.5
updated:
<|file_sep|>original/.travis.yml
language: ruby
bundler_args: "--binstubs --standalone --without documentation --path ../bundle"
script: "bundle exec rake test"
rvm:
- 2.0.0
- 2.1.5
- 2.2.0
- 2.3.3
notifications:
email: false
<|file_sep|>cu... | cf78ba3002f0375c91fcd88c4106ef502e4e39fd | .travis.yml | .travis.yml | YAML |
<|file_sep|>projects/projectdl.py.diff
original:
updated:
import simplediff
from pprint import pprint
<|file_sep|>projects/projectdl.py.diff
original:
repo_names = []
updated:
with open("projects.txt", mode = "r", encoding = "utf-8") as projects_file:
cur_repos = projects_file.readlines()
new_repos = []
<|file_se... | cur_repos = projects_file.readlines()
new_repos = []
for repo in repos:
repo_name = repo.string
if repo_name[-4:] == ".git":
repo_name = repo_name[:-4]
new_repos.append(repo_name + "\n")
repo_diff = simplediff.string_diff(''.join(cur_repos), ''.join(new_repos))
added = []
removed = []
for (dif... | <|file_sep|>projects/projectdl.py.diff
original:
updated:
import simplediff
from pprint import pprint
<|file_sep|>projects/projectdl.py.diff
original:
repo_names = []
updated:
with open("projects.txt", mode = "r", encoding = "utf-8") as projects_file:
cur_repos = projects_file.readlines()
new_repos = []
<|file_se... | 8c34cc43d23e0d97c531e1aa5d2339693db554e0 | projects/projectdl.py | projects/projectdl.py | Python |
<|file_sep|>original/files/webapp/views/users/show.html.haml
<|file_sep|>current/files/webapp/views/users/show.html.haml
<|file_sep|>updated/files/webapp/views/users/show.html.haml | = render 'overview'
.container-fluid
.row-fluid
%br
%h4
= link_to 'Go to your Wazokazi inbox', 'https://mail.wazokazi.is' | <|file_sep|>original/files/webapp/views/users/show.html.haml
<|file_sep|>current/files/webapp/views/users/show.html.haml
<|file_sep|>updated/files/webapp/views/users/show.html.haml
= render 'overview'
.container-fluid
.row-fluid
%br
%h4
= link_to 'Go to your Wazokazi inbox', 'https://mail.wazokazi.is' | 87e315a7c7d1ef7805ff263b4df0e8e2cccb6732 | files/webapp/views/users/show.html.haml | files/webapp/views/users/show.html.haml | Haml |
<|file_sep|>original/include/nekit/transport/listener_interface.h
#pragma once
#include <functional>
#include <memory>
#include <system_error>
#include "connection_interface.h"
namespace nekit {
namespace transport {
class ListenerInterface {
public:
virtual ~ListenerInterface() = default;
using EventHandler ... |
#include <functional>
#include <memory>
#include <system_error>
#include "connection_interface.h"
namespace nekit {
namespace transport {
class ListenerInterface {
public:
virtual ~ListenerInterface() = default;
// Due to the limitation of boost handler, the handler type must be copy
// constructible.
usin... | <|file_sep|>original/include/nekit/transport/listener_interface.h
#pragma once
#include <functional>
#include <memory>
#include <system_error>
#include "connection_interface.h"
namespace nekit {
namespace transport {
class ListenerInterface {
public:
virtual ~ListenerInterface() = default;
using EventHandler ... | 7b9b5f5f241f7a95110cc6b425c02368b5327270 | include/nekit/transport/listener_interface.h | include/nekit/transport/listener_interface.h | C |
<|file_sep|>app/controllers/doorkeeper/applications_controller.rb.diff
original:
flash[:notice] = "Application created" if @application.save
respond_with @application
updated:
if @application.save
flash[:notice] = "Application created"
respond_with [:oauth, @application]
else
... | def show
@application = Application.find(params[:id])
end
def edit
@application = Application.find(params[:id])
end
def update
@application = Application.find(params[:id])
if @application.update_attributes(params[:application])
flash[:notice] = "Application updated"... | <|file_sep|>app/controllers/doorkeeper/applications_controller.rb.diff
original:
flash[:notice] = "Application created" if @application.save
respond_with @application
updated:
if @application.save
flash[:notice] = "Application created"
respond_with [:oauth, @application]
else
... | d13940df900cc62e446a2d5dc4c4ca4283c131b3 | app/controllers/doorkeeper/applications_controller.rb | app/controllers/doorkeeper/applications_controller.rb | Ruby |
<|file_sep|>original/documentation/src/docs/asciidoc/release-notes.adoc
[[release-notes]]
== Release Notes
:numbered!:
include::release-notes-5.1.0-M1.adoc[]
include::release-notes-5.0.2.adoc[]
include::release-notes-5.0.1.adoc[]
include::release-notes-5.0.0.adoc[]
include::release-notes-5.0.0-RC3.adoc[]
include... | [[release-notes]]
== Release Notes
:numbered!:
include::release-notes-5.1.0-M2.adoc[]
include::release-notes-5.1.0-M1.adoc[]
include::release-notes-5.0.2.adoc[]
include::release-notes-5.0.1.adoc[]
include::release-notes-5.0.0.adoc[]
include::release-notes-5.0.0-RC3.adoc[]
include::release-notes-5.0.0-RC2.adoc[]... | <|file_sep|>original/documentation/src/docs/asciidoc/release-notes.adoc
[[release-notes]]
== Release Notes
:numbered!:
include::release-notes-5.1.0-M1.adoc[]
include::release-notes-5.0.2.adoc[]
include::release-notes-5.0.1.adoc[]
include::release-notes-5.0.0.adoc[]
include::release-notes-5.0.0-RC3.adoc[]
include... | 97ae6133ded84ebaa882948ba9f72f11c3816d05 | documentation/src/docs/asciidoc/release-notes.adoc | documentation/src/docs/asciidoc/release-notes.adoc | AsciiDoc |
<|file_sep|>original/config/xml/zfcuserdoctrineorm/ZfcUserDoctrineORM.Entity.User.dcm.xml
<?xml version="1.0" encoding="UTF-8"?>
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation... | <?xml version="1.0" encoding="UTF-8"?>
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping
http://doctri... | <|file_sep|>original/config/xml/zfcuserdoctrineorm/ZfcUserDoctrineORM.Entity.User.dcm.xml
<?xml version="1.0" encoding="UTF-8"?>
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation... | 664933a324c6623396f8a9bb4d6f095381a292af | config/xml/zfcuserdoctrineorm/ZfcUserDoctrineORM.Entity.User.dcm.xml | config/xml/zfcuserdoctrineorm/ZfcUserDoctrineORM.Entity.User.dcm.xml | XML |
<|file_sep|>original/testsuite/main.ml
let all_tests =
[
Test_base64.tests;
Test_unix.tests;
(* Test_print.tests;
Test_toplevel.tests; *)
Test_pmap.tests;
Test_vect.tests;
Test_file.tests;
Test_string.tests;
Test_substring.tests;
Test_digest.tests;
Test_enum.tests;
Test... | let all_tests =
[
Test_base64.tests;
Test_unix.tests;
(* Test_print.tests;
Test_toplevel.tests; *)
Test_pmap.tests;
Test_vect.tests;
Test_file.tests;
Test_string.tests;
Test_substring.tests;
Test_digest.tests;
Test_enum.tests;
Test_set.tests;
Test_dynarray.tests;
]... | <|file_sep|>original/testsuite/main.ml
let all_tests =
[
Test_base64.tests;
Test_unix.tests;
(* Test_print.tests;
Test_toplevel.tests; *)
Test_pmap.tests;
Test_vect.tests;
Test_file.tests;
Test_string.tests;
Test_substring.tests;
Test_digest.tests;
Test_enum.tests;
Test... | 22c178a3f58216dcb29c574b8611b3f98d349545 | testsuite/main.ml | testsuite/main.ml | OCaml |
<|file_sep|>lib/keychain.rb.diff
original:
# @raise [Exception] for unexpected errors
updated:
# @raise [KeychainException] for unexpected errors
<|file_sep|>original/lib/keychain.rb
KSecMatchLimit => KSecMatchLimitOne,
KSecReturnAttributes => true
})
case (error_code = SecItemCopyMatchin... | KSecReturnAttributes => true
})
case (error_code = SecItemCopyMatching(search, result))
when ErrSecSuccess then
true
when ErrSecItemNotFound then
false
else
message = SecCopyErrorMessageString(error_code, nil)
raise KeychainException, "Error checking keychain item exis... | <|file_sep|>lib/keychain.rb.diff
original:
# @raise [Exception] for unexpected errors
updated:
# @raise [KeychainException] for unexpected errors
<|file_sep|>original/lib/keychain.rb
KSecMatchLimit => KSecMatchLimitOne,
KSecReturnAttributes => true
})
case (error_code = SecItemCopyMatchin... | 7678d8decf65fdab66689711ef4a1892a67e9adf | lib/keychain.rb | lib/keychain.rb | Ruby |
<|file_sep|>original/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet2/DrillParquetFilterGenerator.java
<|file_sep|>current/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet2/DrillParquetFilterGenerator.java
<|file_sep|>updated/exec/java-exec/src/main/java/org/apache/drill/exec/store/pa... | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | <|file_sep|>original/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet2/DrillParquetFilterGenerator.java
<|file_sep|>current/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet2/DrillParquetFilterGenerator.java
<|file_sep|>updated/exec/java-exec/src/main/java/org/apache/drill/exec/store/pa... | 65fbe77ee6ba70c10a027d2b2e9511b4289efe7b | exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet2/DrillParquetFilterGenerator.java | exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet2/DrillParquetFilterGenerator.java | Java |
<|file_sep|>original/minitest-ruby_golf_metrics.gemspec
Gem::Specification.new do |spec|
spec.name = "minitest-ruby_golf_metrics"
spec.version = Minitest::RubyGolfMetrics::VERSION
spec.authors = ["Thomas Jachmann"]
spec.email = ["self@thomasjachmann.com"]
spec.description = %q{P... | Gem::Specification.new do |spec|
spec.name = "minitest-ruby_golf_metrics"
spec.version = Minitest::RubyGolfMetrics::VERSION
spec.authors = ["Thomas Jachmann"]
spec.email = ["self@thomasjachmann.com"]
spec.description = %q{Provide metrics for evaluating ruby golf solutions concer... | <|file_sep|>original/minitest-ruby_golf_metrics.gemspec
Gem::Specification.new do |spec|
spec.name = "minitest-ruby_golf_metrics"
spec.version = Minitest::RubyGolfMetrics::VERSION
spec.authors = ["Thomas Jachmann"]
spec.email = ["self@thomasjachmann.com"]
spec.description = %q{P... | 0c19a0a837a0827aeb8ab01a9edd416ee2695dac | minitest-ruby_golf_metrics.gemspec | minitest-ruby_golf_metrics.gemspec | Ruby |
<|file_sep|>original/.rubocop.yml
AlignWith: variable
IndentHash:
Enabled: false
LineLength:
Max: 100
MethodLength:
Enabled: false
RegexpLiteral:
Enabled: false
RescueException:
Enabled: false
SignalException:
Enabled: false
SpecialGlobalVars:
Enabled: false
StringLiterals:
EnforcedStyle: double_quote... | AlignWith: variable
IndentHash:
Enabled: false
LineLength:
Max: 100
MethodLength:
Enabled: false
RegexpLiteral:
Enabled: false
RescueException:
Enabled: false
SignalException:
Enabled: false
SpecialGlobalVars:
Enabled: false
StringLiterals:
EnforcedStyle: double_quotes
TrailingComma:
Enabled: false
... | <|file_sep|>original/.rubocop.yml
AlignWith: variable
IndentHash:
Enabled: false
LineLength:
Max: 100
MethodLength:
Enabled: false
RegexpLiteral:
Enabled: false
RescueException:
Enabled: false
SignalException:
Enabled: false
SpecialGlobalVars:
Enabled: false
StringLiterals:
EnforcedStyle: double_quote... | 863a638bba357ce16c185f59b1eed70ebbf5f1c6 | .rubocop.yml | .rubocop.yml | YAML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.