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/templates/munge_sysconfig.erb
##############################################################################
# Extra daemon options for the Munge authentication service.
# See https://github.com/dun/munge/wiki/Installation-Guide#starting-the-daemon
##################################################... | ##############################################################################
# Extra daemon options for the Munge authentication service.
# See https://github.com/dun/munge/wiki/Installation-Guide#starting-the-daemon
##############################################################################
#
####################... | <|file_sep|>original/templates/munge_sysconfig.erb
##############################################################################
# Extra daemon options for the Munge authentication service.
# See https://github.com/dun/munge/wiki/Installation-Guide#starting-the-daemon
##################################################... | c1b5773386f797d50aad4a813509afd85fd70c3b | templates/munge_sysconfig.erb | templates/munge_sysconfig.erb | HTML+ERB |
<|file_sep|>original/angular/core/components/group_page/group_page.haml
.loading-wrapper.lmo-two-column-layout
%loading{ng-if: "!groupPage.group"}
%main.group-page.lmo-row{ng-if: "groupPage.group"}
%outlet{name: "before-group-page", model: "groupPage.group"}
%group_theme{group: "groupPage.group", home-page:... | .loading-wrapper.lmo-two-column-layout
%loading{ng-if: "!groupPage.group"}
%main.group-page.lmo-row{ng-if: "groupPage.group"}
%outlet{name: "before-group-page", model: "groupPage.group"}
%group_theme{group: "groupPage.group", home-page: "true"}
.lmo-row
.lmo-group-column-left
%description_... | <|file_sep|>original/angular/core/components/group_page/group_page.haml
.loading-wrapper.lmo-two-column-layout
%loading{ng-if: "!groupPage.group"}
%main.group-page.lmo-row{ng-if: "groupPage.group"}
%outlet{name: "before-group-page", model: "groupPage.group"}
%group_theme{group: "groupPage.group", home-page:... | 23103b239d88659705aea174e8f8a18af82c8306 | angular/core/components/group_page/group_page.haml | angular/core/components/group_page/group_page.haml | Haml |
<|file_sep|>original/lib/concepts/pawn.rb
class Pawn < Piece
end
<|file_sep|>current/lib/concepts/pawn.rb
class Pawn < Piece
end
<|file_sep|>updated/lib/concepts/pawn.rb | class Pawn < Piece
attr_reader :initial_position
def initialize(color, position)
super(color, position)
@initial_position = position
end
def possible_moves
moves = Set.new
file = Piece::HOR_POS.index(self.position[0]) + 1
rank = self.position[1].to_i
self.color = :white ? direction = ... | <|file_sep|>original/lib/concepts/pawn.rb
class Pawn < Piece
end
<|file_sep|>current/lib/concepts/pawn.rb
class Pawn < Piece
end
<|file_sep|>updated/lib/concepts/pawn.rb
class Pawn < Piece
attr_reader :initial_position
def initialize(color, position)
super(color, position)
@initial_position = position
... | c7458886264b8da8358c6c3a49cc69efff22cc60 | lib/concepts/pawn.rb | lib/concepts/pawn.rb | Ruby |
<|file_sep|>original/test/C++Frontend/2005-01-03-StaticInitializers.cpp
// RUN: %llvmgxx %s -S -o - | not grep llvm.global_ctor
struct S {
int A[2];
};
int XX = (int)&(((struct S*)0)->A[1]);
<|file_sep|>current/test/C++Frontend/2005-01-03-StaticInitializers.cpp
// RUN: %llvmgxx %s -S -o - | not grep llvm.global_c... | // RUN: %llvmgxx %s -S -o - | not grep llvm.global_ctor
struct S {
int A[2];
};
int XX = (int)(long)&(((struct S*)0)->A[1]);
| <|file_sep|>original/test/C++Frontend/2005-01-03-StaticInitializers.cpp
// RUN: %llvmgxx %s -S -o - | not grep llvm.global_ctor
struct S {
int A[2];
};
int XX = (int)&(((struct S*)0)->A[1]);
<|file_sep|>current/test/C++Frontend/2005-01-03-StaticInitializers.cpp
// RUN: %llvmgxx %s -S -o - | not grep llvm.global_c... | 56398e39d70b88cea71faf575166ed2fbca6e2a6 | test/C++Frontend/2005-01-03-StaticInitializers.cpp | test/C++Frontend/2005-01-03-StaticInitializers.cpp | C++ |
<|file_sep|>original/src/components/Watchers/AddWatcherToast.tsx
<|file_sep|>current/src/components/Watchers/AddWatcherToast.tsx
<|file_sep|>updated/src/components/Watchers/AddWatcherToast.tsx | import { connect, Dispatch } from 'react-redux';
import { TextContainer } from '@shopify/polaris';
import { AddWatcher, addWatcher } from '../../actions/watcher';
import * as React from 'react';
import { Watcher, SearchResult } from '../../types';
export interface OwnProps {
readonly hit: SearchResult;
}
export int... | <|file_sep|>original/src/components/Watchers/AddWatcherToast.tsx
<|file_sep|>current/src/components/Watchers/AddWatcherToast.tsx
<|file_sep|>updated/src/components/Watchers/AddWatcherToast.tsx
import { connect, Dispatch } from 'react-redux';
import { TextContainer } from '@shopify/polaris';
import { AddWatcher, addWa... | 2db90dbe629587965620b4b8e02f4f12f0efa08f | src/components/Watchers/AddWatcherToast.tsx | src/components/Watchers/AddWatcherToast.tsx | TypeScript |
<|file_sep|>original/README.md
```bash
npm install
```
If you have changes that you think would contribute, we are happy to receive a pull request and will try to incorporate it as soon as possible. Please make sure that the current travis-ci tests are passing and that new functionality is covered by new tests as well... | ```bash
npm install
```
If you have changes that you think would contribute, we are happy to receive a pull request and will try to incorporate it as soon as possible. Please make sure that the current travis-ci tests are passing and that new functionality is covered by new tests as well.
### Running the Tests
Our t... | <|file_sep|>original/README.md
```bash
npm install
```
If you have changes that you think would contribute, we are happy to receive a pull request and will try to incorporate it as soon as possible. Please make sure that the current travis-ci tests are passing and that new functionality is covered by new tests as well... | 978b8169a2f4baaf69e9ab979b6b7dcf8e26a11c | README.md | README.md | Markdown |
<|file_sep|>original/packages/soya-next/src/cookies/withCookiesPage.js
static propTypes = {
cookies: PropTypes.oneOfType([
PropTypes.shape({
cookies: PropTypes.objectOf(PropTypes.string)
}),
PropTypes.instanceOf(Cookies)
]).isRequired
};
static async getInitial... | static propTypes = {
cookies: PropTypes.oneOfType([
PropTypes.shape({
cookies: PropTypes.objectOf(PropTypes.string)
}),
PropTypes.instanceOf(Cookies)
]).isRequired
};
static async getInitialProps(ctx) {
const cookies = (ctx.req && ctx.req.universalCookies... | <|file_sep|>original/packages/soya-next/src/cookies/withCookiesPage.js
static propTypes = {
cookies: PropTypes.oneOfType([
PropTypes.shape({
cookies: PropTypes.objectOf(PropTypes.string)
}),
PropTypes.instanceOf(Cookies)
]).isRequired
};
static async getInitial... | 219639c6d2d3df9b6126b1cb6407173d95a53d80 | packages/soya-next/src/cookies/withCookiesPage.js | packages/soya-next/src/cookies/withCookiesPage.js | JavaScript |
<|file_sep|>.travis.yml.diff
original:
updated:
- nuget restore Src/LibHoney.sln
<|file_sep|>original/.travis.yml
language: csharp
solution: Src/LibHoney.sln
install:
- nuget install xunit.runners -Version 1.9.2 -OutputDirectory testrunner
script:
- mono ./testrunner/xunit.runners.1.9.2/tools/xunit.console.clr4.... | language: csharp
solution: Src/LibHoney.sln
install:
- nuget restore Src/LibHoney.sln
- nuget install xunit.runners -Version 1.9.2 -OutputDirectory testrunner
script:
- xbuild /p:Configuration=Release Src/LibHoney.sln
- mono ./testrunner/xunit.runners.1.9.2/tools/xunit.console.clr4.exe ./Src/LibHoney.Tests/bin/... | <|file_sep|>.travis.yml.diff
original:
updated:
- nuget restore Src/LibHoney.sln
<|file_sep|>original/.travis.yml
language: csharp
solution: Src/LibHoney.sln
install:
- nuget install xunit.runners -Version 1.9.2 -OutputDirectory testrunner
script:
- mono ./testrunner/xunit.runners.1.9.2/tools/xunit.console.clr4.... | 760800b40effb959e7e1ebd9fbe6689a76503323 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/clj/subman/views.clj
(ns subman.views
(:use [hiccup core page]))
(defn index-page []
(html5 {:ng-app "subman"}
[:head
[:title "Subman - subtitle search service with api"]
(include-css "/components/bootstrap/dist/css/bootstrap.css"
"/compo... | (ns subman.views
(:use [hiccup core page]))
(defn index-page []
(html5 {:ng-app "subman"}
[:head
[:title "Subman - subtitle search service with api"]
(include-css "/components/bootstrap/dist/css/bootstrap.min.css"
"/components/bootstrap/dist/css/bootstrap-theme.m... | <|file_sep|>original/src/clj/subman/views.clj
(ns subman.views
(:use [hiccup core page]))
(defn index-page []
(html5 {:ng-app "subman"}
[:head
[:title "Subman - subtitle search service with api"]
(include-css "/components/bootstrap/dist/css/bootstrap.css"
"/compo... | 77e778c0da65119abcb70978a313af2540e194f0 | src/clj/subman/views.clj | src/clj/subman/views.clj | Clojure |
<|file_sep|>original/spec/support/config.yml
default_connection: redis
connections:
redis:
test:
adapter: redis
host: localhost
port: 4000
<|file_sep|>current/spec/support/config.yml
default_connection: redis
connections:
redis:
test:
adapter: redis
host: localh... | default_connection: redis
connections:
redis:
test:
adapter: redis
host: localhost
port: 6379 | <|file_sep|>original/spec/support/config.yml
default_connection: redis
connections:
redis:
test:
adapter: redis
host: localhost
port: 4000
<|file_sep|>current/spec/support/config.yml
default_connection: redis
connections:
redis:
test:
adapter: redis
host: localh... | 133ec4018d5af0a5cef32355efa8e6a016a86779 | spec/support/config.yml | spec/support/config.yml | YAML |
<|file_sep|>http-client/src/main/java/io/airlift/http/client/jetty/AuthorizationPreservingHttpClient.java.diff
original:
updated:
import static java.lang.Boolean.TRUE;
<|file_sep|>original/http-client/src/main/java/io/airlift/http/client/jetty/AuthorizationPreservingHttpClient.java
setPreserveAuthorization... | setPreserveAuthorization(newRequest, true);
for (HttpField field : oldRequest.getHeaders()) {
if (field.getHeader() == AUTHORIZATION) {
newRequest.header(field.getName(), field.getValue());
}
}
}
return newRequest;
... | <|file_sep|>http-client/src/main/java/io/airlift/http/client/jetty/AuthorizationPreservingHttpClient.java.diff
original:
updated:
import static java.lang.Boolean.TRUE;
<|file_sep|>original/http-client/src/main/java/io/airlift/http/client/jetty/AuthorizationPreservingHttpClient.java
setPreserveAuthorization... | efe491afe92dc4483a409ffd7c4720ee83a0cf90 | http-client/src/main/java/io/airlift/http/client/jetty/AuthorizationPreservingHttpClient.java | http-client/src/main/java/io/airlift/http/client/jetty/AuthorizationPreservingHttpClient.java | Java |
<|file_sep|>original/src/Crypto/AesCbc.elm
<|file_sep|>current/src/Crypto/AesCbc.elm
<|file_sep|>updated/src/Crypto/AesCbc.elm | module AesCbc
( CryptoKey, encrypt, decrypt
, generateKey, importKey, exportKey
, wrapKey, unwrapKey
) where
{-| This module wraps the AES-CBC mode of encryption in the web crypto API
@docs CryptoKey
@docs encrypt, decrypt
@docs KeySize
@docs generateKey, importKey, exportKey
@docs wrapKey, unwrap... | <|file_sep|>original/src/Crypto/AesCbc.elm
<|file_sep|>current/src/Crypto/AesCbc.elm
<|file_sep|>updated/src/Crypto/AesCbc.elm
module AesCbc
( CryptoKey, encrypt, decrypt
, generateKey, importKey, exportKey
, wrapKey, unwrapKey
) where
{-| This module wraps the AES-CBC mode of encryption in the web c... | 6eb83c2992603a426068eaebdbfd18cb1d929197 | src/Crypto/AesCbc.elm | src/Crypto/AesCbc.elm | Elm |
<|file_sep|>src/main/java/mirror/Queues.java.diff
original:
import java.util.concurrent.ArrayBlockingQueue;
updated:
<|file_sep|>src/main/java/mirror/Queues.java.diff
original:
updated:
import java.util.concurrent.LinkedBlockingQueue;
<|file_sep|>original/src/main/java/mirror/Queues.java
package mirror;
import java.... | package mirror;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.LinkedBlockingQueue;
public class Queues {
// this is probably too large, but hopefully it will avoid inotify overflow exceptions
public final BlockingQueue<Update> incomingQueue = new LinkedBlockingQueue<>(1_000_000);
// Th... | <|file_sep|>src/main/java/mirror/Queues.java.diff
original:
import java.util.concurrent.ArrayBlockingQueue;
updated:
<|file_sep|>src/main/java/mirror/Queues.java.diff
original:
updated:
import java.util.concurrent.LinkedBlockingQueue;
<|file_sep|>original/src/main/java/mirror/Queues.java
package mirror;
import java.... | faba749956a7205fbc097e9179289de00cf320ee | src/main/java/mirror/Queues.java | src/main/java/mirror/Queues.java | Java |
<|file_sep|>lib/geocoder/lookups/nominatim.rb.diff
original:
"http://www.openstreetmap.org/?lat=#{coordinates[0]}&lon=#{coordinates[1]}&zoom=15&layers=M"
updated:
"https://www.openstreetmap.org/?lat=#{coordinates[0]}&lon=#{coordinates[1]}&zoom=15&layers=M"
<|file_sep|>original/lib/geocoder/lookups/nominatim... | def map_link_url(coordinates)
"https://www.openstreetmap.org/?lat=#{coordinates[0]}&lon=#{coordinates[1]}&zoom=15&layers=M"
end
def query_url(query)
method = query.reverse_geocode? ? "reverse" : "search"
host = configuration[:host] || "nominatim.openstreetmap.org"
"#{protocol}://#{h... | <|file_sep|>lib/geocoder/lookups/nominatim.rb.diff
original:
"http://www.openstreetmap.org/?lat=#{coordinates[0]}&lon=#{coordinates[1]}&zoom=15&layers=M"
updated:
"https://www.openstreetmap.org/?lat=#{coordinates[0]}&lon=#{coordinates[1]}&zoom=15&layers=M"
<|file_sep|>original/lib/geocoder/lookups/nominatim... | 7cb0acc985ccb49c65c0529dab1d111165e8a1b9 | lib/geocoder/lookups/nominatim.rb | lib/geocoder/lookups/nominatim.rb | Ruby |
<|file_sep|>original/openacademy/model/openacademy_session.py
# -*- coding: utf-8 -*-
from openerp import fields, models
class Session(models.Model):
_name = 'openacademy.session'
name = fields.Char(required=True)
start_date = fields.Date()
duration = fields.Float(digits=(6, 2), help="Duration in days")
... | # -*- coding: utf-8 -*-
from openerp import fields, models
class Session(models.Model):
_name = 'openacademy.session'
name = fields.Char(required=True)
start_date = fields.Date()
duration = fields.Float(digits=(6, 2), help="Duration in days")
seats = fields.Integer(string="Number of seats")
instruct... | <|file_sep|>original/openacademy/model/openacademy_session.py
# -*- coding: utf-8 -*-
from openerp import fields, models
class Session(models.Model):
_name = 'openacademy.session'
name = fields.Char(required=True)
start_date = fields.Date()
duration = fields.Float(digits=(6, 2), help="Duration in days")
... | 6c74b18372d3945f909ad63f6f58e11e7658282a | openacademy/model/openacademy_session.py | openacademy/model/openacademy_session.py | Python |
<|file_sep|>src/vast/option.h.diff
original:
T* operator->() const
updated:
constexpr T const* operator->() const
<|file_sep|>original/src/vast/option.h
std::forward<T1>(x1),
std::forward<Ts>(args)...)
{
}
option(const option&) = default;
option(option&&) = default;
option& operat... | : super(std::forward<T0>(x0),
std::forward<T1>(x1),
std::forward<Ts>(args)...)
{
}
option(const option&) = default;
option(option&&) = default;
option& operator=(option const&) = default;
option& operator=(option&&) = default;
#endif
constexpr T const* operator->() const
{
... | <|file_sep|>src/vast/option.h.diff
original:
T* operator->() const
updated:
constexpr T const* operator->() const
<|file_sep|>original/src/vast/option.h
std::forward<T1>(x1),
std::forward<Ts>(args)...)
{
}
option(const option&) = default;
option(option&&) = default;
option& operat... | b0f17a3780c5cb70b4bd8fa4633e60acd6ff98f5 | src/vast/option.h | src/vast/option.h | C |
<|file_sep|>original/README.md
```bash
$ git clone https://github.com/cosmo0920/Ahblog.git
$ cd Ahblog
$ git submodule update --init --recursive
$ cd static/css && cp ../../bootstrap-select/bootstrap-select.min.css .
$ cd ../js && cp ../../bootstrap-select/bootstrap-select.min.js .
$ cd ../../
```
### Install depende... |
```bash
$ git clone https://github.com/cosmo0920/Ahblog.git
$ cd Ahblog
$ git submodule update --init --recursive
$ cd static/css && cp ../../bootstrap-select/bootstrap-select.min.css .
$ cd ../js && cp ../../bootstrap-select/bootstrap-select.min.js .
$ cd ../../
```
### Install dependent libraries and build applicat... | <|file_sep|>original/README.md
```bash
$ git clone https://github.com/cosmo0920/Ahblog.git
$ cd Ahblog
$ git submodule update --init --recursive
$ cd static/css && cp ../../bootstrap-select/bootstrap-select.min.css .
$ cd ../js && cp ../../bootstrap-select/bootstrap-select.min.js .
$ cd ../../
```
### Install depende... | dbafa997ba2043b245b5f29e01939e879c91ac85 | README.md | README.md | Markdown |
<|file_sep|>test/unit/test_helper.rb.diff
original:
require 'coveralls'
if ENV["ENABLE_SIMPLE_COV"]
updated:
if ENV["COVERAGE"]
require 'coveralls'
require 'codeclimate-test-reporter'
<|file_sep|>original/test/unit/test_helper.rb
require 'coveralls'
if ENV["ENABLE_SIMPLE_COV"]
require 'simplecov'
SimpleCov.st... | if ENV["COVERAGE"]
require 'coveralls'
require 'codeclimate-test-reporter'
require 'simplecov'
SimpleCov.start do
add_group "Lib", "lib"
add_filter "/test/"
command_name "Unit Tests"
formatter SimpleCov::Formatter::MultiFormatter[
SimpleCov::Formatter::HTMLFormatter,
Coveralls::Simpl... | <|file_sep|>test/unit/test_helper.rb.diff
original:
require 'coveralls'
if ENV["ENABLE_SIMPLE_COV"]
updated:
if ENV["COVERAGE"]
require 'coveralls'
require 'codeclimate-test-reporter'
<|file_sep|>original/test/unit/test_helper.rb
require 'coveralls'
if ENV["ENABLE_SIMPLE_COV"]
require 'simplecov'
SimpleCov.st... | d442fe5473eebf0577db8d5744cec1db36b5bab3 | test/unit/test_helper.rb | test/unit/test_helper.rb | Ruby |
<|file_sep|>README.md.diff
original:
[Doodle]: https://raw.githubusercontent.com/julien-amar/google-hashcode-2014/master/GoogleHashCode/Screenshots/Doodle.bmp "Doodle Sample"
updated:

<|file... | # google-hashcode-2014
Google HashCode 2014 - Training Round
https://sites.google.com/site/hashcode2014/tasks
## Original sample

## Solution

<|file... | 650871dc82574c8fb20fb1da6c7268de392a98db | README.md | README.md | Markdown |
<|file_sep|>original/README.md
extern int32 printf(char *s, ...)
for (i = 0; i < 10; i++)
printf("Hello, world %d!\n", i)
end
# Resources
* [Language Guide](https://github.com/orange-lang/orange/wiki/Language-Specification)
* [Tests](/test/)
# Installing
Installing on OS X and Linux shoul... |
extern int32 printf(char *s, ...)
for (i = 0; i < 10; i++)
printf("Hello, world %d!\n", i)
end
# Resources
* [Language Guide](https://github.com/orange-lang/orange/wiki/Language-Specification)
* [Orange TODO features](/TODO.md)
* [Tests](/test/)
# Installing
Installing on OS X and Linux s... | <|file_sep|>original/README.md
extern int32 printf(char *s, ...)
for (i = 0; i < 10; i++)
printf("Hello, world %d!\n", i)
end
# Resources
* [Language Guide](https://github.com/orange-lang/orange/wiki/Language-Specification)
* [Tests](/test/)
# Installing
Installing on OS X and Linux shoul... | d70c94195bf326c52a256da628a32deaedbb4251 | README.md | README.md | Markdown |
<|file_sep|>original/authenticate.js
class Authenticate extends React.Component {
constructor(props) {
super(props)
this.state = {
mechanism: "token"
};
this.handleChange = this.handleChange.bind(this);
this.handleAuthenticated = this.handleAuthenticated.bind(th... | class Authenticate extends React.Component {
constructor(props) {
super(props)
this.state = {
mechanism: "ldap"
};
this.handleChange = this.handleChange.bind(this);
this.handleAuthenticated = this.handleAuthenticated.bind(this);
}
handleChange(event) {
... | <|file_sep|>original/authenticate.js
class Authenticate extends React.Component {
constructor(props) {
super(props)
this.state = {
mechanism: "token"
};
this.handleChange = this.handleChange.bind(this);
this.handleAuthenticated = this.handleAuthenticated.bind(th... | 17571b0402246949f90c297fbbc2f256b91b2308 | authenticate.js | authenticate.js | JavaScript |
<|file_sep|>original/test/Other/close-stderr.ll
<|file_sep|>current/test/Other/close-stderr.ll
<|file_sep|>updated/test/Other/close-stderr.ll | ; RUN: sh -c "\
; RUN: opt --reject-this-option 2>&-; echo $?; \
; RUN: opt -o /dev/null /dev/null 2>&-; echo $?; \
; RUN: " | FileCheck %s
; CHECK: {{^1$}}
; CHECK: {{^0$}}
; Test that the error handling when writing to stderr fails exits the
; program cleanly rather than aborting. | <|file_sep|>original/test/Other/close-stderr.ll
<|file_sep|>current/test/Other/close-stderr.ll
<|file_sep|>updated/test/Other/close-stderr.ll
; RUN: sh -c "\
; RUN: opt --reject-this-option 2>&-; echo $?; \
; RUN: opt -o /dev/null /dev/null 2>&-; echo $?; \
; RUN: " | FileCheck %s
; CHECK: {{^1$}}... | e0b313d599684ac4b404c16a081e461a6f3cee4f | test/Other/close-stderr.ll | test/Other/close-stderr.ll | LLVM |
<|file_sep|>original/src/main/scala/com/high-performance-spark-examples/dataframe/UDFs.scala
<|file_sep|>current/src/main/scala/com/high-performance-spark-examples/dataframe/UDFs.scala
<|file_sep|>updated/src/main/scala/com/high-performance-spark-examples/dataframe/UDFs.scala | /**
* Example UDFs
*/
import org.apache.spark._
import org.apache.spark.sql._
import org.apache.spark.sql.catalyst.expressions.aggregate._
import org.apache.spark.sql.DataFrame
import org.apache.spark.sql.expressions._
import org.apache.spark.sql.functions._
import org.apache.spark.sql.hive._
import org.apache.spark... | <|file_sep|>original/src/main/scala/com/high-performance-spark-examples/dataframe/UDFs.scala
<|file_sep|>current/src/main/scala/com/high-performance-spark-examples/dataframe/UDFs.scala
<|file_sep|>updated/src/main/scala/com/high-performance-spark-examples/dataframe/UDFs.scala
/**
* Example UDFs
*/
import org.apach... | 8c52af1d7a99272bfaed4c93b3e748e25a0f7f76 | src/main/scala/com/high-performance-spark-examples/dataframe/UDFs.scala | src/main/scala/com/high-performance-spark-examples/dataframe/UDFs.scala | Scala |
<|file_sep|>src/Sylius/Bundle/ShopBundle/Resources/views/Product/Index/_main.html.twig.diff
original:
{{ sonata_block_render_event('sylius.shop.product.index.before_search', {'products': products}) }}
updated:
{{ sonata_block_render_event('sylius.shop.product.index.before_search', {'products': resources.data}) }}
<|fil... |
<div class="ui clearing hidden divider"></div>
{{ sonata_block_render_event('sylius.shop.product.index.before_list', {'products': resources.data}) }}
{% if resources.data|length > 0 %}
<div class="ui three column stackable grid" id="products">
{% for product in resources.data %}
<div class="c... | <|file_sep|>src/Sylius/Bundle/ShopBundle/Resources/views/Product/Index/_main.html.twig.diff
original:
{{ sonata_block_render_event('sylius.shop.product.index.before_search', {'products': products}) }}
updated:
{{ sonata_block_render_event('sylius.shop.product.index.before_search', {'products': resources.data}) }}
<|fil... | 5363df108d3ecae47efd8fe25f7c44d350b0d804 | src/Sylius/Bundle/ShopBundle/Resources/views/Product/Index/_main.html.twig | src/Sylius/Bundle/ShopBundle/Resources/views/Product/Index/_main.html.twig | Twig |
<|file_sep|>original/.appveyor.yml
---
init:
# Set up the build environment
- '"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd"
/x64 /release'
# Build Vim
- cd C:\
- git clone https://github.com/vim/vim
- cd vim
- git checkout v8.0.0027
- cd src
- 'nmake -f Make_mvc2.mak CPU=AMD64 OLE... | ---
init:
# Set up the build environment
- '"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd"
/x64 /release'
# Build Vim
- cd C:\
- git clone https://github.com/vim/vim
- cd vim
- git checkout v8.0.0027
- cd src
- 'nmake -f Make_mvc.mak CPU=AMD64 OLE=no GUI=no IME=yes MBYTE=yes
ICO... | <|file_sep|>original/.appveyor.yml
---
init:
# Set up the build environment
- '"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd"
/x64 /release'
# Build Vim
- cd C:\
- git clone https://github.com/vim/vim
- cd vim
- git checkout v8.0.0027
- cd src
- 'nmake -f Make_mvc2.mak CPU=AMD64 OLE... | a21a75c19e7f3e9700a6ba1358686c4d91af6a99 | .appveyor.yml | .appveyor.yml | YAML |
<|file_sep|>original/week-4/gps/gps2-1.css
<|file_sep|>current/week-4/gps/gps2-1.css
<|file_sep|>updated/week-4/gps/gps2-1.css |
body {
font-family: "Josefin Sans" sans-serif;
}
header {
width: 100%;
background-color: #FBCD35;
padding: 2em;
}
.column-2, .column-1 {
width: 50%;
height: 1050px;
}
.column-1 {
background-color: #61C7B2;
float: left;
} | <|file_sep|>original/week-4/gps/gps2-1.css
<|file_sep|>current/week-4/gps/gps2-1.css
<|file_sep|>updated/week-4/gps/gps2-1.css
body {
font-family: "Josefin Sans" sans-serif;
}
header {
width: 100%;
background-color: #FBCD35;
padding: 2em;
}
.column-2, .column-1 {
width: 50%;
height: 1050px;
} ... | 0e74208caa421c5e56921b8f0e7c89b57e39034c | week-4/gps/gps2-1.css | week-4/gps/gps2-1.css | CSS |
<|file_sep|>README.md.diff
original:
* [Installation - http://spryker.github.io/getting-started/installation/guide/](http://spryker.github.io/getting-started/installation/guide/)
updated:
* [Installation - https://spryker.github.io/getting-started/installation/guide/](https://spryker.github.io/getting-started/installat... | # Spryker Project
[](https://travis-ci.com/spryker/project)
[](https:/... | <|file_sep|>README.md.diff
original:
* [Installation - http://spryker.github.io/getting-started/installation/guide/](http://spryker.github.io/getting-started/installation/guide/)
updated:
* [Installation - https://spryker.github.io/getting-started/installation/guide/](https://spryker.github.io/getting-started/installat... | 5d259404a262864ff82d3ec9db2815c9dae72b87 | README.md | README.md | Markdown |
<|file_sep|>db/pubsub.sql.diff
original:
deliver_payload boolean not null default true
updated:
deliver_payload boolean not null default true,
<|file_sep|>original/db/pubsub.sql
id serial primary key,
jid text not null unique
);
create table nodes (
id serial primary key,
node text not null uni... | id serial primary key,
jid text not null unique
);
create table nodes (
id serial primary key,
node text not null unique,
persistent boolean not null default true,
deliver_payload boolean not null default true,
send_last_published_item text not null default 'on_sub'
check (send_last... | <|file_sep|>db/pubsub.sql.diff
original:
deliver_payload boolean not null default true
updated:
deliver_payload boolean not null default true,
<|file_sep|>original/db/pubsub.sql
id serial primary key,
jid text not null unique
);
create table nodes (
id serial primary key,
node text not null uni... | c9e351bc519643e7f5a1757f08c8d31561112041 | db/pubsub.sql | db/pubsub.sql | SQL |
<|file_sep|>XDKAirMenu.podspec.diff
original:
s.version = "1.1.11"
s.summary = "A short description of XDKAirMenu."
updated:
s.version = "1.1.12"
s.summary = "XDKAirMenu provides a iOs menu like the FIFA app playing with scale and alpha."
<|file_sep|>original/XDKAirMenu.podsp... | Pod::Spec.new do |s|
s.name = "XDKAirMenu"
s.version = "1.1.12"
s.summary = "XDKAirMenu provides a iOs menu like the FIFA app playing with scale and alpha."
s.license = 'MIT'
s.author = { "Xavier De Koninck" => "xavier.dekoninck@gmail.com" }
s.source ... | <|file_sep|>XDKAirMenu.podspec.diff
original:
s.version = "1.1.11"
s.summary = "A short description of XDKAirMenu."
updated:
s.version = "1.1.12"
s.summary = "XDKAirMenu provides a iOs menu like the FIFA app playing with scale and alpha."
<|file_sep|>original/XDKAirMenu.podsp... | d05784e93a45d4db1ac8387b4b4d28e29cb14439 | XDKAirMenu.podspec | XDKAirMenu.podspec | Ruby |
<|file_sep|>app/src/main/java/org/wikipedia/feed/aggregated/AggregatedFeedContent.java.diff
original:
import org.wikipedia.feed.mostread.MostReadArticles;
updated:
<|file_sep|>app/src/main/java/org/wikipedia/feed/aggregated/AggregatedFeedContent.java.diff
original:
@SuppressWarnings("NullableProblems") @NonNull pr... | package org.wikipedia.feed.aggregated;
import android.support.annotation.NonNull;
import org.wikipedia.feed.model.CardPageItem;
public class AggregatedFeedContent {
@SuppressWarnings("NullableProblems") @NonNull private CardPageItem tfa;
@SuppressWarnings("NullableProblems") @NonNull private CardPageItem ran... | <|file_sep|>app/src/main/java/org/wikipedia/feed/aggregated/AggregatedFeedContent.java.diff
original:
import org.wikipedia.feed.mostread.MostReadArticles;
updated:
<|file_sep|>app/src/main/java/org/wikipedia/feed/aggregated/AggregatedFeedContent.java.diff
original:
@SuppressWarnings("NullableProblems") @NonNull pr... | f288b3ead236dab2cd8bcad9ce9931f2e4b61e02 | app/src/main/java/org/wikipedia/feed/aggregated/AggregatedFeedContent.java | app/src/main/java/org/wikipedia/feed/aggregated/AggregatedFeedContent.java | Java |
<|file_sep|>CefSharp.Wpf/Rendering/InteropBitmapInfo.cs.diff
original:
updated:
// Unable to create bitmap without valid File Handle (Most likely control is being disposed)
<|file_sep|>original/CefSharp.Wpf/Rendering/InteropBitmapInfo.cs
Bitmap.Invalidate();
}
}
... | }
}
public override BitmapSource CreateBitmap()
{
var stride = Width * BytesPerPixel;
// Unable to create bitmap without valid File Handle (Most likely control is being disposed)
if (FileMappingHandle == IntPtr.Zero)
{
... | <|file_sep|>CefSharp.Wpf/Rendering/InteropBitmapInfo.cs.diff
original:
updated:
// Unable to create bitmap without valid File Handle (Most likely control is being disposed)
<|file_sep|>original/CefSharp.Wpf/Rendering/InteropBitmapInfo.cs
Bitmap.Invalidate();
}
}
... | 6fa4b470f7300eba698c0a4a588136cec24f75f6 | CefSharp.Wpf/Rendering/InteropBitmapInfo.cs | CefSharp.Wpf/Rendering/InteropBitmapInfo.cs | C# |
<|file_sep|>original/requirements-tests.txt
-r requirements.txt
-e .
marshmallow-sqlalchemy >= 0.8.0
marshmallow-peewee >= 2.0.0
peewee >= 3.7.1
mongomock==3.13.0
pymongo==3.7.2
ipdb == 0.11
pytest==3.9.3
pytest-flask==0.14.0
pytest-sugar == 0.9.1
<|file_sep|>curre... | -r requirements.txt
-e .
marshmallow-sqlalchemy >= 0.8.0
marshmallow-peewee >= 2.0.0
peewee >= 3.7.1
mongomock==3.13.0
pymongo==3.7.2
ipdb == 0.11
pytest==3.10.0
pytest-flask==0.14.0
pytest-sugar == 0.9.1 | <|file_sep|>original/requirements-tests.txt
-r requirements.txt
-e .
marshmallow-sqlalchemy >= 0.8.0
marshmallow-peewee >= 2.0.0
peewee >= 3.7.1
mongomock==3.13.0
pymongo==3.7.2
ipdb == 0.11
pytest==3.9.3
pytest-flask==0.14.0
pytest-sugar == 0.9.1
<|file_sep|>curre... | f6fe8e2b6f931955991da97dcfa96d6d6ec0e16c | requirements-tests.txt | requirements-tests.txt | Text |
<|file_sep|>original/sql_migrations/applied_migrations/download_type_enum_change.sql
<|file_sep|>current/sql_migrations/applied_migrations/download_type_enum_change.sql
<|file_sep|>updated/sql_migrations/applied_migrations/download_type_enum_change.sql | ALTER TABLE downloads DROP CONSTRAINT downloads_feed_id_valid;
alter table downloads add constraint downloads_feed_id_valid check ((feeds_id is not null) or ( type = 'spider_blog_home' or type = 'spider_posting' or type = 'spider_rss' or type = 'spider_blog_friends_list') );
alter table downloads DROP constra... | <|file_sep|>original/sql_migrations/applied_migrations/download_type_enum_change.sql
<|file_sep|>current/sql_migrations/applied_migrations/download_type_enum_change.sql
<|file_sep|>updated/sql_migrations/applied_migrations/download_type_enum_change.sql
ALTER TABLE downloads DROP CONSTRAINT downloads_feed_id_valid;
al... | fc4b1a827aef7531b87e414e3b6cfdb00a16a917 | sql_migrations/applied_migrations/download_type_enum_change.sql | sql_migrations/applied_migrations/download_type_enum_change.sql | SQL |
<|file_sep|>original/shopify/wsgi.py
<|file_sep|>current/shopify/wsgi.py
<|file_sep|>updated/shopify/wsgi.py | import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "config")
os.environ.setdefault("DJANGO_CONFIGURATION", "Local")
from configurations.wsgi import get_wsgi_application
application = get_wsgi_application() | <|file_sep|>original/shopify/wsgi.py
<|file_sep|>current/shopify/wsgi.py
<|file_sep|>updated/shopify/wsgi.py
import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "config")
os.environ.setdefault("DJANGO_CONFIGURATION", "Local")
from configurations.wsgi import get_wsgi_application
application = get_wsgi_applic... | 6bab44116eb343b5103b6ed23797a83bc1feedbd | shopify/wsgi.py | shopify/wsgi.py | Python |
<|file_sep|>.rubocop.yml.diff
original:
updated:
AllCops:
TargetRubyVersion: 2.3
Exclude:
- 'db/**/*'
# Configuration parameters: AllowURI, URISchemes.
<|file_sep|>.rubocop.yml.diff
original:
updated:
# Offense count: 6
# Configuration parameters: Exclude.
<|file_sep|>original/.rubocop.yml
Metrics/LineLengt... |
AllCops:
TargetRubyVersion: 2.3
Exclude:
- 'db/**/*'
# Configuration parameters: AllowURI, URISchemes.
Metrics/LineLength:
Max: 100
# Offense count: 6
# Configuration parameters: Exclude.
Style/Documentation:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false | <|file_sep|>.rubocop.yml.diff
original:
updated:
AllCops:
TargetRubyVersion: 2.3
Exclude:
- 'db/**/*'
# Configuration parameters: AllowURI, URISchemes.
<|file_sep|>.rubocop.yml.diff
original:
updated:
# Offense count: 6
# Configuration parameters: Exclude.
<|file_sep|>original/.rubocop.yml
Metrics/LineLengt... | 8c00b1671487f0889ea38f81760176863e64a8de | .rubocop.yml | .rubocop.yml | YAML |
<|file_sep|>original/config/budget_warning_tools.yml
- /en/tools/redundancy-pay-calculator/
- /cy/tools/cyfrifiannell-tal-diswyddo/
<|file_sep|>current/config/budget_warning_tools.yml
- /en/tools/redundancy-pay-calculator/
- /cy/tools/cyfrifiannell-tal-diswyddo/
<|file_sep|>updated/config/budget_warning_tools.yml | - /en/tools/redundancy-pay-calculator/
- /cy/tools/cyfrifiannell-tal-diswyddo/
- /en/tools/pension-calculator/
- /cy/tools/cyfrifiannell-pensiwn/ | <|file_sep|>original/config/budget_warning_tools.yml
- /en/tools/redundancy-pay-calculator/
- /cy/tools/cyfrifiannell-tal-diswyddo/
<|file_sep|>current/config/budget_warning_tools.yml
- /en/tools/redundancy-pay-calculator/
- /cy/tools/cyfrifiannell-tal-diswyddo/
<|file_sep|>updated/config/budget_warning_tools.yml
- /en... | 2afeb14fa3743760c43b166be04623c30e2e9b68 | config/budget_warning_tools.yml | config/budget_warning_tools.yml | YAML |
<|file_sep|>test/bsdinstall.sh.diff
original:
updated:
##############################################
# utils
##############################################
cleanup(){
rm /etc/resolv.conf
}
##############################################
# main block
##############################################
trap 'cleanup' ... |
##############################################
# main block
##############################################
trap 'cleanup' 0 1 2 15
echo 'nameserver 8.8.8.8' > /etc/resolv.conf
# Add gpt label
gpart modify -i 2 -l rootfs $MD_DEV
sed -i '' "s/$MD_DEVp2/gpt\/rootfs/" /etc/fstab
# install bsd cloudinit
if [ ! $BSDI... | <|file_sep|>test/bsdinstall.sh.diff
original:
updated:
##############################################
# utils
##############################################
cleanup(){
rm /etc/resolv.conf
}
##############################################
# main block
##############################################
trap 'cleanup' ... | ef394786ab0e2d38b8bba9ffaf93213f8b27acf8 | test/bsdinstall.sh | test/bsdinstall.sh | Shell |
<|file_sep|>original/graph/plot-char.py
<|file_sep|>current/graph/plot-char.py
<|file_sep|>updated/graph/plot-char.py | from bluepy.btle import *
from binascii import *
import matplotlib.pyplot as plt
import numpy as np
DEVICE_UUID = '00:0B:57:0B:F6:F6'
x = np.arange(100)
y = np.ones(100) * 560
plt.ion()
fig = plt.figure()
ax = fig.add_subplot(111)
h1, = ax.plot(x, y, 'r-')
def updateLine(h1, newData):
global y
print newData
# h1... | <|file_sep|>original/graph/plot-char.py
<|file_sep|>current/graph/plot-char.py
<|file_sep|>updated/graph/plot-char.py
from bluepy.btle import *
from binascii import *
import matplotlib.pyplot as plt
import numpy as np
DEVICE_UUID = '00:0B:57:0B:F6:F6'
x = np.arange(100)
y = np.ones(100) * 560
plt.ion()
fig = plt.... | 075f0342a1b03882af8e6afbe4c4debeb1c35093 | graph/plot-char.py | graph/plot-char.py | Python |
<|file_sep|>test/api/helpdesk/ticket_test.rb.diff
original:
project_id = Project.first.id
description = "jake renzella's comment :)"
updated:
project = Randomizer.random_record_for_model(Project)
<|file_sep|>test/api/helpdesk/ticket_test.rb.diff
original:
post with_auth_token "/api/helpdesk/ticket?proje... | # POST /helpdesk/ticket
def test_post_helpdesk_ticket
project = Randomizer.random_record_for_model(Project)
ticket = {
project_id: project.id,
description: Populator.words(5..10),
task_definition_id: rand > 0.33 ? Randomizer.random_task_def_for_project(project).id : nil
}
data_to... | <|file_sep|>test/api/helpdesk/ticket_test.rb.diff
original:
project_id = Project.first.id
description = "jake renzella's comment :)"
updated:
project = Randomizer.random_record_for_model(Project)
<|file_sep|>test/api/helpdesk/ticket_test.rb.diff
original:
post with_auth_token "/api/helpdesk/ticket?proje... | 1409950a30080c6ce3c913ed76700f82b48d1d97 | test/api/helpdesk/ticket_test.rb | test/api/helpdesk/ticket_test.rb | Ruby |
<|file_sep|>original/package.json
"keywords": [
"modules",
"require",
"commonjs",
"exports",
"browser",
"packaging",
"packager",
"install"
],
"version": "0.2.3",
"license": "MIT",
"homepage": "http://github.com/benjamn/install",
"repository": {
"type": "git",
"url": "... | "keywords": [
"modules",
"require",
"commonjs",
"exports",
"browser",
"packaging",
"packager",
"install"
],
"version": "0.2.4",
"license": "MIT",
"homepage": "http://github.com/benjamn/install",
"repository": {
"type": "git",
"url": "git://github.com/benjamn/install.g... | <|file_sep|>original/package.json
"keywords": [
"modules",
"require",
"commonjs",
"exports",
"browser",
"packaging",
"packager",
"install"
],
"version": "0.2.3",
"license": "MIT",
"homepage": "http://github.com/benjamn/install",
"repository": {
"type": "git",
"url": "... | c9f225dc5d7fbc0cedd0d1afc1e954c506e0883e | package.json | package.json | JSON |
<|file_sep|>original/README.md
# Higher-or-Lower
## Python based command line maths game
### What is the purpose of this command line maths game?
This command line game was originally created as part of a school project.
The purpose of the game is that the computer randomly generates a number and then
asks the user... |
### What is the purpose of this command line maths game?
This command line game was originally created as part of a school project.
The purpose of the game is that the computer randomly generates a number and then
asks the user to input either l or h to symbolise weather the next randomly produced
number will be eit... | <|file_sep|>original/README.md
# Higher-or-Lower
## Python based command line maths game
### What is the purpose of this command line maths game?
This command line game was originally created as part of a school project.
The purpose of the game is that the computer randomly generates a number and then
asks the user... | 7cfe11956c24b87b74a0b8adfd212eb2ab1ca3d7 | README.md | README.md | Markdown |
<|file_sep|>original/catalog/Developer_Tools/Concurrent_Processing.yml
name: Concurrent Processing
description:
projects:
- celluloid
- concurrent-ruby
- cool.io
- dataflow
- eventmachine
- tribe
- wires
- workers
<|file_sep|>current/catalog/Developer_Tools/Concurrent_Processing.yml
name: Concurrent Pro... | name: Concurrent Processing
description:
projects:
- celluloid
- concurrent-ruby
- cool.io
- dataflow
- eventbox
- eventmachine
- tribe
- wires
- workers | <|file_sep|>original/catalog/Developer_Tools/Concurrent_Processing.yml
name: Concurrent Processing
description:
projects:
- celluloid
- concurrent-ruby
- cool.io
- dataflow
- eventmachine
- tribe
- wires
- workers
<|file_sep|>current/catalog/Developer_Tools/Concurrent_Processing.yml
name: Concurrent Pro... | e4a8be009556f01a2aee01bb2bb95d3081456c6d | catalog/Developer_Tools/Concurrent_Processing.yml | catalog/Developer_Tools/Concurrent_Processing.yml | YAML |
<|file_sep|>original/bin/requirements.txt
cachetools==4.1.0
certifi==2020.4.5.1
chardet==3.0.4
coverage==5.1
google-api-core==1.17.0
google-api-python-client==1.9.1
google-auth==1.16.0
google-auth-httplib2==0.0.3
google-auth-oauthlib==0.4.1
googleapis-common-protos==1.51.0
httplib2==0.18.1
idna==2.9
oauth2client==4.1.3... | cachetools==4.1.0
certifi==2020.4.5.1
chardet==3.0.4
coverage==5.1
google-api-core==1.17.0
google-api-python-client==1.9.1
google-auth==1.16.0
google-auth-httplib2==0.0.3
google-auth-oauthlib==0.4.1
googleapis-common-protos==1.52.0
httplib2==0.18.1
idna==2.9
oauth2client==4.1.3
oauthlib==3.1.0
protobuf==3.12.2
pyasn1==... | <|file_sep|>original/bin/requirements.txt
cachetools==4.1.0
certifi==2020.4.5.1
chardet==3.0.4
coverage==5.1
google-api-core==1.17.0
google-api-python-client==1.9.1
google-auth==1.16.0
google-auth-httplib2==0.0.3
google-auth-oauthlib==0.4.1
googleapis-common-protos==1.51.0
httplib2==0.18.1
idna==2.9
oauth2client==4.1.3... | a256100d885161bfa177f717fa406ea53585774b | bin/requirements.txt | bin/requirements.txt | Text |
<|file_sep|>original/xsl/termchecker-strings-en-US.xml
<|file_sep|>current/xsl/termchecker-strings-en-US.xml
<|file_sep|>updated/xsl/termchecker-strings-en-US.xml | <?xml version="1.0" encoding="utf-8"?>
<strings xml:lang="de-de">
<str name="Title">Terminology</str>
<str name="ReplaceWithAllowedTerm">Replace with an allowed term</str>
<str name="ReplaceWithAllowedAbbreviation">Replace with an allowed abbreviation</str>
<str name="ReplaceWithAllowedAcronym">Replace ... | <|file_sep|>original/xsl/termchecker-strings-en-US.xml
<|file_sep|>current/xsl/termchecker-strings-en-US.xml
<|file_sep|>updated/xsl/termchecker-strings-en-US.xml
<?xml version="1.0" encoding="utf-8"?>
<strings xml:lang="de-de">
<str name="Title">Terminology</str>
<str name="ReplaceWithAllowedTerm">Replace wi... | 76732de0012a36b6650f0256fd9b5f73cf4913fb | xsl/termchecker-strings-en-US.xml | xsl/termchecker-strings-en-US.xml | XML |
<|file_sep|>original/lmtp.gemspec
spec.name = "lmtp"
spec.version = LmtpServer::VERSION
spec.date = Time.now.strftime("%Y-%m-%d")
spec.summary = "LMTP server library for Ruby"
spec.description = <<EOF
This library allows your application to act as an LMTP endpoint
so you can have MTAs like Postfix relay mail ... | spec.name = "lmtp"
spec.version = LmtpServer::VERSION
spec.date = Time.now.strftime("%Y-%m-%d")
spec.summary = "LMTP server library for Ruby"
spec.description = <<EOF
This library allows your application to act as an LMTP endpoint
so you can have MTAs like Postfix relay mail directly to your
application.
EOF
... | <|file_sep|>original/lmtp.gemspec
spec.name = "lmtp"
spec.version = LmtpServer::VERSION
spec.date = Time.now.strftime("%Y-%m-%d")
spec.summary = "LMTP server library for Ruby"
spec.description = <<EOF
This library allows your application to act as an LMTP endpoint
so you can have MTAs like Postfix relay mail ... | 7d924851d620bfde6e6ab0432ee72ad21fdf7baf | lmtp.gemspec | lmtp.gemspec | Ruby |
<|file_sep|>original/public/index.php
use Service\ErrorHandler\ErrorHandler;
use Service\Factory\Eloquent\EloquentFactory;
use Slim\Views\PhpRenderer;
$app = new \Slim\App(require_once __DIR__ . '/../config/config.php');
$container = $app->getContainer();
$container['auth'] ... |
use Service\ErrorHandler\ErrorHandler;
use Service\Factory\Eloquent\EloquentFactory;
use Slim\Views\PhpRenderer;
$app = new \Slim\App(require_once __DIR__ . '/../config/config.php');
$container = $app->getContainer();
$container->auth = new \Service\Auth\Auth($containe... | <|file_sep|>original/public/index.php
use Service\ErrorHandler\ErrorHandler;
use Service\Factory\Eloquent\EloquentFactory;
use Slim\Views\PhpRenderer;
$app = new \Slim\App(require_once __DIR__ . '/../config/config.php');
$container = $app->getContainer();
$container['auth'] ... | c23aef5e252947ba58584670344ca052776f97f0 | public/index.php | public/index.php | PHP |
<|file_sep|>original/apt.txt
# Core requirements
git
libpq-dev
python-pip
python3-pip
python-dev
python3-dev
npm
nodejs
# Importer app requirements
libxml2-dev
libxslt1-dev
libxslt1.1
<|file_sep|>current/apt.txt
# Core requirements
git
libpq-dev
python-pip
python3-pip
python-dev
python3-dev
npm
nodejs
# Importer... | # Core requirements
git
libpq-dev
python-pip
python3-pip
python-dev
python3-dev
npm
nodejs
# Importer app requirements
libxml2-dev
libxslt1-dev
libxslt1.1
# developer requirements
postgresql-client
| <|file_sep|>original/apt.txt
# Core requirements
git
libpq-dev
python-pip
python3-pip
python-dev
python3-dev
npm
nodejs
# Importer app requirements
libxml2-dev
libxslt1-dev
libxslt1.1
<|file_sep|>current/apt.txt
# Core requirements
git
libpq-dev
python-pip
python3-pip
python-dev
python3-dev
npm
nodejs
# Importer... | 09fde83a3ed06c92b1fa571d14b33a3701d7d4fa | apt.txt | apt.txt | Text |
<|file_sep|>original/tests-cucumber-ui/app/views/tc-progress.html
<div uib-tooltip="Total: {{ total }}">
<ng-switch on="total">
<div ng-switch-when="0">
<uib-progress></uib-progress>
</div>
<div ng-switch-default>
<uib-progress>
<uib-bar ng-hide="success == 0" value="100 * success / t... | <div uib-tooltip="Total: {{ total }}">
<ng-switch on="total">
<div ng-switch-when="undefined"></div>
<div ng-switch-when="0">
<uib-progress></uib-progress>
</div>
<div ng-switch-default>
<uib-progress>
<uib-bar ng-hide="success == 0" value="100 * success / total" type="success" st... | <|file_sep|>original/tests-cucumber-ui/app/views/tc-progress.html
<div uib-tooltip="Total: {{ total }}">
<ng-switch on="total">
<div ng-switch-when="0">
<uib-progress></uib-progress>
</div>
<div ng-switch-default>
<uib-progress>
<uib-bar ng-hide="success == 0" value="100 * success / t... | 4a1afde2250459bcd9a24390235e53dfe3761be5 | tests-cucumber-ui/app/views/tc-progress.html | tests-cucumber-ui/app/views/tc-progress.html | HTML |
<|file_sep|>original/blog/blog.html
<html>
<head>
<title>Main Page</title>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="stylesheets/default.css">
</head>
<main>
<div class="center">
<h1>ERICA'S</h1>
<h1> 1ST</h1>
<h1> BLOG</h1>
</div>
<h2>Blog Entry's</h2>
<ul>
<li... | <html>
<head>
<title>Main Page</title>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="stylesheets/default.css">
</head>
<main>
<div class="center">
<h1>ERICA'S</h1>
<h1> 1ST</h1>
<h1> BLOG</h1>
</div>
<h2>Blog Entry's</h2>
<ul>
<li><a href="c1-chefs-kitchen.html">1st... | <|file_sep|>original/blog/blog.html
<html>
<head>
<title>Main Page</title>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="stylesheets/default.css">
</head>
<main>
<div class="center">
<h1>ERICA'S</h1>
<h1> 1ST</h1>
<h1> BLOG</h1>
</div>
<h2>Blog Entry's</h2>
<ul>
<li... | 4532a72faec28122b8fc01cef039efac34803d7a | blog/blog.html | blog/blog.html | HTML |
<|file_sep|>original/requirements_dev.txt
-r requirements.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.4.1
tox==2.8.2
coverage==4.4.1
Sphinx==1.6.3
cryptography==2.0.3
PyYAML==3.12
pytest==3.2.2
pytest-cov==2.5.1
pytest-docker==0.6.0
pytest-mock==1.6.3
docker-compose==1.16.1
packaging==16.8... | -r requirements.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.4.1
tox==2.8.2
coverage==4.4.1
Sphinx==1.6.4
cryptography==2.0.3
PyYAML==3.12
pytest==3.2.2
pytest-cov==2.5.1
pytest-docker==0.6.0
pytest-mock==1.6.3
docker-compose==1.16.1
packaging==16.8 | <|file_sep|>original/requirements_dev.txt
-r requirements.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.4.1
tox==2.8.2
coverage==4.4.1
Sphinx==1.6.3
cryptography==2.0.3
PyYAML==3.12
pytest==3.2.2
pytest-cov==2.5.1
pytest-docker==0.6.0
pytest-mock==1.6.3
docker-compose==1.16.1
packaging==16.8... | b55c5e1fed392a5901a5940679d5b18468527d29 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>tests/cross-context-instance.js.diff
original:
if (!context1.isReference.applySync(null, [ new ivm.Reference({}) ])) {
updated:
if (!context.isReference.applySync(null, [ new ivm.Reference({}) ])) {
<|file_sep|>original/tests/cross-context-instance.js
`).runSync(context);
return {
makeReference: globa... | `).runSync(context);
return {
makeReference: global.getSync('makeReference'),
isReference: global.getSync('isReference'),
};
}
let context1 = makeContext();
let context2 = makeContext();
[ context1, context2 ].forEach(context => {
if (!context.isReference.applySync(null, [ new ivm.Reference({}) ])) {
console... | <|file_sep|>tests/cross-context-instance.js.diff
original:
if (!context1.isReference.applySync(null, [ new ivm.Reference({}) ])) {
updated:
if (!context.isReference.applySync(null, [ new ivm.Reference({}) ])) {
<|file_sep|>original/tests/cross-context-instance.js
`).runSync(context);
return {
makeReference: globa... | 19e3dc49302a635f51bcd552fb70b434c0968520 | tests/cross-context-instance.js | tests/cross-context-instance.js | JavaScript |
<|file_sep|>original/django-server/feel/core/db/load_fixtures.py
<|file_sep|>current/django-server/feel/core/db/load_fixtures.py
<|file_sep|>updated/django-server/feel/core/db/load_fixtures.py | import subprocess
from django.conf import settings
MY_APPS = settings.MY_APPS
COMMAND_FORMAT = "python manage.py loaddata core/fixtures/{app}.json"
def load_fixtures():
for app in MY_APPS:
command = COMMAND_FORMAT.format(app=app)
print(command)
subprocess.check_output(command, shell=True)... | <|file_sep|>original/django-server/feel/core/db/load_fixtures.py
<|file_sep|>current/django-server/feel/core/db/load_fixtures.py
<|file_sep|>updated/django-server/feel/core/db/load_fixtures.py
import subprocess
from django.conf import settings
MY_APPS = settings.MY_APPS
COMMAND_FORMAT = "python manage.py loaddata c... | c46d628449651fde613fb4f7c1829f7770d2e353 | django-server/feel/core/db/load_fixtures.py | django-server/feel/core/db/load_fixtures.py | Python |
<|file_sep|>original/src/samples/feather-ble/bt-blinker/bt-blinker.ino
<|file_sep|>current/src/samples/feather-ble/bt-blinker/bt-blinker.ino
<|file_sep|>updated/src/samples/feather-ble/bt-blinker/bt-blinker.ino | #include <Arduino.h>
#include <SPI.h>
#if not defined (_VARIANT_ARDUINO_DUE_X_) && not defined (_VARIANT_ARDUINO_ZERO_)
#include <SoftwareSerial.h>
#endif
#include "Adafruit_BLE.h"
#include "Adafruit_BluefruitLE_SPI.h"
#include "Adafruit_BluefruitLE_UART.h"
#include "BluefruitConfig.h"
static const int PIN = 5;
A... | <|file_sep|>original/src/samples/feather-ble/bt-blinker/bt-blinker.ino
<|file_sep|>current/src/samples/feather-ble/bt-blinker/bt-blinker.ino
<|file_sep|>updated/src/samples/feather-ble/bt-blinker/bt-blinker.ino
#include <Arduino.h>
#include <SPI.h>
#if not defined (_VARIANT_ARDUINO_DUE_X_) && not defined (_VARIANT_AR... | 429cdf993a0f61c09dcae0038936aae3794a0826 | src/samples/feather-ble/bt-blinker/bt-blinker.ino | src/samples/feather-ble/bt-blinker/bt-blinker.ino | Arduino |
<|file_sep|>original/_posts/2015-02-07-supprimer-artefact-nexus.md
<|file_sep|>current/_posts/2015-02-07-supprimer-artefact-nexus.md
<|file_sep|>updated/_posts/2015-02-07-supprimer-artefact-nexus.md | ---
layout: post
title: Supprimer un artefact de Nexus
---
Il peut parfois être nécessaire de supprimer manuellement un artefact de Nexus, par exemple lorsque les metadata renvoyées par Nexus sont incorrectes et indiquent une mauvaise version alors que l'on cherche à obtenir la dernière version de développement (_-SNAP... | <|file_sep|>original/_posts/2015-02-07-supprimer-artefact-nexus.md
<|file_sep|>current/_posts/2015-02-07-supprimer-artefact-nexus.md
<|file_sep|>updated/_posts/2015-02-07-supprimer-artefact-nexus.md
---
layout: post
title: Supprimer un artefact de Nexus
---
Il peut parfois être nécessaire de supprimer manuellement un... | 7cb2a4a6da7b12675d0251dfd801e35df654bc0a | _posts/2015-02-07-supprimer-artefact-nexus.md | _posts/2015-02-07-supprimer-artefact-nexus.md | Markdown |
<|file_sep|>site/.forestry/front_matter/templates/event.yml.diff
original:
updated:
description: The date that you want the post to show up after.
<|file_sep|>site/.forestry/front_matter/templates/event.yml.diff
original:
default: ''
updated:
default: Invalid date
<|file_sep|>site/.forestry/front_matter/template... | config:
required: true
description: What date/time does the event end?
- name: title
label: Event Title
type: text
hidden: false
default: ''
config:
required: true
description: What is the title of this event?
- name: location
label: Location
type: text
hidden: false
default: ''
descri... | <|file_sep|>site/.forestry/front_matter/templates/event.yml.diff
original:
updated:
description: The date that you want the post to show up after.
<|file_sep|>site/.forestry/front_matter/templates/event.yml.diff
original:
default: ''
updated:
default: Invalid date
<|file_sep|>site/.forestry/front_matter/template... | 15bfbc5078d113a6f7d4df737f9af70a4f809474 | site/.forestry/front_matter/templates/event.yml | site/.forestry/front_matter/templates/event.yml | YAML |
<|file_sep|>scripts/ci/install-protobuf.sh.diff
original:
V="2.6.1"
updated:
V="3.0.0-beta-2"
<|file_sep|>original/scripts/ci/install-protobuf.sh
#!/bin/sh
#
# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
... | #!/bin/sh
#
# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#
# Script for .travis.yaml to install protobuf compiler from source. This is
# needed because APT package for protobuf doesn't support proto3.
s... | <|file_sep|>scripts/ci/install-protobuf.sh.diff
original:
V="2.6.1"
updated:
V="3.0.0-beta-2"
<|file_sep|>original/scripts/ci/install-protobuf.sh
#!/bin/sh
#
# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
... | 81a874f37f70d144ccf3f164db260f5979999fd8 | scripts/ci/install-protobuf.sh | scripts/ci/install-protobuf.sh | Shell |
<|file_sep|>cla_public/static-src/javascripts/modules/properties.js.diff
original:
updated:
var self = this;
<|file_sep|>original/cla_public/static-src/javascripts/modules/properties.js
return this.$form.serializeArray().concat(data);
},
_updateForm: function(res) {
this.$form.replaceWith($... |
this.init();
},
handleAddRemoveButton: function(button) {
var self = this;
$.post('', this._injectFormData({
name: button.name,
value: button.value
})).success(function(res) {
self._updateForm(res);
var totalProperties = self.$form.find('.fieldset-grou... | <|file_sep|>cla_public/static-src/javascripts/modules/properties.js.diff
original:
updated:
var self = this;
<|file_sep|>original/cla_public/static-src/javascripts/modules/properties.js
return this.$form.serializeArray().concat(data);
},
_updateForm: function(res) {
this.$form.replaceWith($... | 9fecc741ffca50fa3ffe72422b5f739417a04790 | cla_public/static-src/javascripts/modules/properties.js | cla_public/static-src/javascripts/modules/properties.js | JavaScript |
<|file_sep|>original/.travis.yml
dist: focal
language: python
services:
- docker
before_install:
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- sudo apt-get update... | dist: focal
language: python
services:
- docker
script: ./docker/run.sh make getgnulinux build | <|file_sep|>original/.travis.yml
dist: focal
language: python
services:
- docker
before_install:
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- sudo apt-get update... | b02103541c3009370b9c0f5ebf93cb1f347a4e13 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/drivers/http/vue-resource.1.x.js
module.exports = {
_interceptor: function (req, res) {
var _this = this;
this.options.Vue.http.interceptors.push(function (request, next) {
if (req) { req.call(_this, request); }
next(function (response)... | module.exports = {
_init: function () {
if ( ! this.options.Vue.http) {
return 'vue-resource.1.x.js : Vue.http must be set.';
}
},
_interceptor: function (req, res) {
var _this = this;
this.options.Vue.http.interceptors.push(function (request, next) {
... | <|file_sep|>original/drivers/http/vue-resource.1.x.js
module.exports = {
_interceptor: function (req, res) {
var _this = this;
this.options.Vue.http.interceptors.push(function (request, next) {
if (req) { req.call(_this, request); }
next(function (response)... | bc006edda53a22c27394411a54376bfe36c46116 | drivers/http/vue-resource.1.x.js | drivers/http/vue-resource.1.x.js | JavaScript |
<|file_sep|>original/src/plugin/ss_plugin.rs
let mut cmd = Command::new(&plugin.plugin);
cmd.env("SS_REMOTE_HOST", remote.host())
.env("SS_REMOTE_PORT", remote.port().to_string())
.env("SS_LOCAL_HOST", local.ip().to_string())
.env("SS_LOCAL_PORT", local.port().to_string())
.stdi... | trace!(
"Starting plugin \"{}\", opt: {:?} remote: {}, local: {}",
plugin.plugin,
plugin.plugin_opt,
remote,
local
);
let mut cmd = Command::new(&plugin.plugin);
cmd.env("SS_REMOTE_HOST", remote.host())
.env("SS_REMOTE_PORT", remote.port().to_string())
... | <|file_sep|>original/src/plugin/ss_plugin.rs
let mut cmd = Command::new(&plugin.plugin);
cmd.env("SS_REMOTE_HOST", remote.host())
.env("SS_REMOTE_PORT", remote.port().to_string())
.env("SS_LOCAL_HOST", local.ip().to_string())
.env("SS_LOCAL_PORT", local.port().to_string())
.stdi... | e39de3416f2c5cdaaf8ac30a1a5e935228917ec0 | src/plugin/ss_plugin.rs | src/plugin/ss_plugin.rs | Rust |
<|file_sep|>original/lib/tasks/polls.rake
<|file_sep|>current/lib/tasks/polls.rake
<|file_sep|>updated/lib/tasks/polls.rake | namespace :poll do
desc "Generate slugs polls"
task generate_slugs: :environment do
Poll.find_each do |poll|
poll.update_columns(slug: poll.generate_slug, updated_at: Time.current) if poll.generate_slug?
end
end
end | <|file_sep|>original/lib/tasks/polls.rake
<|file_sep|>current/lib/tasks/polls.rake
<|file_sep|>updated/lib/tasks/polls.rake
namespace :poll do
desc "Generate slugs polls"
task generate_slugs: :environment do
Poll.find_each do |poll|
poll.update_columns(slug: poll.generate_slug, updated_at: Time.current)... | 3d84920c47d1bd871ad5492adb01c88dea89f811 | lib/tasks/polls.rake | lib/tasks/polls.rake | Ruby |
<|file_sep|>Casks/phpstorm-eap.rb.diff
original:
url 'http://download.jetbrains.com/webide/PhpStorm-EAP-138.38.dmg'
updated:
url 'http://download.jetbrains.com/webide/PhpStorm-EAP-138.84.dmg'
<|file_sep|>original/Casks/phpstorm-eap.rb
class PhpstormEap < Cask
url 'http://download.jetbrains.com/webide/PhpStorm-EAP... | class PhpstormEap < Cask
url 'http://download.jetbrains.com/webide/PhpStorm-EAP-138.84.dmg'
homepage 'http://confluence.jetbrains.com/display/PhpStorm/PhpStorm+Early+Access+Program'
version '138.84'
sha256 '15ecf78338296d4936269bb040f427e739b7fdfac6fc0a0534882de7ab027263'
link 'PhpStorm EAP.app'
end | <|file_sep|>Casks/phpstorm-eap.rb.diff
original:
url 'http://download.jetbrains.com/webide/PhpStorm-EAP-138.38.dmg'
updated:
url 'http://download.jetbrains.com/webide/PhpStorm-EAP-138.84.dmg'
<|file_sep|>original/Casks/phpstorm-eap.rb
class PhpstormEap < Cask
url 'http://download.jetbrains.com/webide/PhpStorm-EAP... | d8c78d736b01368b8db958be8af77ccd00cde7fa | Casks/phpstorm-eap.rb | Casks/phpstorm-eap.rb | Ruby |
<|file_sep|>app/controllers/application_controller.rb.diff
original:
updated:
before_filter :set_authenticated_user_header
<|file_sep|>original/app/controllers/application_controller.rb
def can_edit_taxonomy?
current_user.has_permission? "Edit Taxonomy"
end
# Can be overridden to allow controllers to choo... | controller_name
end
def require_gds_editor_permissions!
authorise_user!("GDS Editor")
end
def require_gds_editor_permissions_to_edit_browse_pages!
require_gds_editor_permissions! if @tag.is_a?(MainstreamBrowsePage)
end
def find_tag
@tag = Tag.find_by!(content_id: params[:tag_id])
end
... | <|file_sep|>app/controllers/application_controller.rb.diff
original:
updated:
before_filter :set_authenticated_user_header
<|file_sep|>original/app/controllers/application_controller.rb
def can_edit_taxonomy?
current_user.has_permission? "Edit Taxonomy"
end
# Can be overridden to allow controllers to choo... | a14dba7d018512eb70efc55a9e1d9a7c76d7e623 | app/controllers/application_controller.rb | app/controllers/application_controller.rb | Ruby |
<|file_sep|>original/frontend/src/app/admin/admin-app.component.html
<ltb-admin-header></ltb-admin-header>
<router-outlet></router-outlet>
<ltb-admin-footer></ltb-admin-footer>
<|file_sep|>current/frontend/src/app/admin/admin-app.component.html
<ltb-admin-header></ltb-admin-header>
<router-outlet></router-outlet>
<ltb-... | <ltb-loading-bar></ltb-loading-bar>
<ltb-admin-header></ltb-admin-header>
<router-outlet></router-outlet>
<ltb-admin-footer></ltb-admin-footer> | <|file_sep|>original/frontend/src/app/admin/admin-app.component.html
<ltb-admin-header></ltb-admin-header>
<router-outlet></router-outlet>
<ltb-admin-footer></ltb-admin-footer>
<|file_sep|>current/frontend/src/app/admin/admin-app.component.html
<ltb-admin-header></ltb-admin-header>
<router-outlet></router-outlet>
<ltb-... | d9f0e27285dd7d0443ae2b47ba44af28b65631f9 | frontend/src/app/admin/admin-app.component.html | frontend/src/app/admin/admin-app.component.html | HTML |
<|file_sep|>original/poyo/exceptions.py
class PoyoException(Exception):
"""Super class for all of Poyo's exceptions."""
class NoMatchException(PoyoException):
"""Raised when the parser cannot find a pattern that matches the given
string.
"""
class NoParentException(PoyoException):
"""Raised wh... | class NoMatchException(PoyoException):
"""Raised when the parser cannot find a pattern that matches the given
string.
"""
class NoParentException(PoyoException):
"""Raised when there is no parser object at the given level.
"""
class NoTypeException(PoyoException):
"""Raised when the parser i... | <|file_sep|>original/poyo/exceptions.py
class PoyoException(Exception):
"""Super class for all of Poyo's exceptions."""
class NoMatchException(PoyoException):
"""Raised when the parser cannot find a pattern that matches the given
string.
"""
class NoParentException(PoyoException):
"""Raised wh... | 565c95ce9a8ff96d177196c6dbf8d8f88cdfa029 | poyo/exceptions.py | poyo/exceptions.py | Python |
<|file_sep|>docs/cli/generate-classmap.md.diff
original:
updated:
Before you can generate code, you'll need to add some additional dev dependencies to your project:
```sh
composer require --dev zendframework/zend-code:^3.0.4
```
<|file_sep|>original/docs/cli/generate-classmap.md
# Generating class maps
When the valu... | # Generating class maps
Before you can generate code, you'll need to add some additional dev dependencies to your project:
```sh
composer require --dev zendframework/zend-code:^3.0.4
```
When the value-objects are generated, we need to tell SOAP about how the PHP classes are mapped to the XSD types.
This is done by ... | <|file_sep|>docs/cli/generate-classmap.md.diff
original:
updated:
Before you can generate code, you'll need to add some additional dev dependencies to your project:
```sh
composer require --dev zendframework/zend-code:^3.0.4
```
<|file_sep|>original/docs/cli/generate-classmap.md
# Generating class maps
When the valu... | e09000049895d4e3e869d45286dd00d95aca9037 | docs/cli/generate-classmap.md | docs/cli/generate-classmap.md | Markdown |
<|file_sep|>original/HighScores/src/utils/Parser.java
package utils;
/**
* Class containing methods to parse the result lines retrieved from ThingSpeak
* @author Johan Brunet, Julien Gallego
*
*/
public class Parser {
/**
* Parsing method that parses the line to retrieve the score value
* @param s the line t... | * Class containing methods to parse the result lines retrieved from ThingSpeak
* @author Johan Brunet, Julien Gallego
*
*/
public class Parser {
/**
* Parsing method that parses the line to retrieve the score value
* @param s the line to parse
* @return the score value
*/
public static int parseScore(Str... | <|file_sep|>original/HighScores/src/utils/Parser.java
package utils;
/**
* Class containing methods to parse the result lines retrieved from ThingSpeak
* @author Johan Brunet, Julien Gallego
*
*/
public class Parser {
/**
* Parsing method that parses the line to retrieve the score value
* @param s the line t... | 79f6542cd08a4c5d09305786eb447360deb92aca | HighScores/src/utils/Parser.java | HighScores/src/utils/Parser.java | Java |
<|file_sep|>original/test/hello_world/run_hello_world.sh
if [ -z "$MAMBO_BINARY" ]; then
MAMBO_BINARY="/run/pegasus/power8"
fi
if [ ! -x "$MAMBO_PATH/$MAMBO_BINARY" ]; then
echo 'Could not find executable MAMBO_BINARY. Skipping hello_world test';
exit 0;
fi
if [ ! -x `which expect` ]; then
echo 'Coul... |
if [ -z "$MAMBO_BINARY" ]; then
MAMBO_BINARY="/run/pegasus/power8"
fi
if [ ! -x "$MAMBO_PATH/$MAMBO_BINARY" ]; then
echo 'Could not find executable MAMBO_BINARY. Skipping hello_world test';
exit 0;
fi
if [ -n "$KERNEL" ]; then
echo 'Please rebuild skiboot without KERNEL set. Skipping hello_world test... | <|file_sep|>original/test/hello_world/run_hello_world.sh
if [ -z "$MAMBO_BINARY" ]; then
MAMBO_BINARY="/run/pegasus/power8"
fi
if [ ! -x "$MAMBO_PATH/$MAMBO_BINARY" ]; then
echo 'Could not find executable MAMBO_BINARY. Skipping hello_world test';
exit 0;
fi
if [ ! -x `which expect` ]; then
echo 'Coul... | 9b8614d3b5a3d6bd2b4ea4d53f4864485770db89 | test/hello_world/run_hello_world.sh | test/hello_world/run_hello_world.sh | Shell |
<|file_sep|>providers/jdbc/shedlock-test-support-jdbc/src/main/java/net/javacrumbs/shedlock/test/support/jdbc/OracleServerConfig.java.diff
original:
super(new OracleContainer("oracleinanutshell/oracle-xe-11g"));
updated:
super(createContainer());
<|file_sep|>original/providers/jdbc/shedlock-test-support... |
@Override
public String getCreateTableStatement() {
return "CREATE TABLE shedlock(name VARCHAR(64) NOT NULL, lock_until TIMESTAMP(3) NOT NULL, locked_at TIMESTAMP(3) NOT NULL, locked_by VARCHAR(255) NOT NULL, PRIMARY KEY (name))";
}
@Override
public String nowExpression() {
return ... | <|file_sep|>providers/jdbc/shedlock-test-support-jdbc/src/main/java/net/javacrumbs/shedlock/test/support/jdbc/OracleServerConfig.java.diff
original:
super(new OracleContainer("oracleinanutshell/oracle-xe-11g"));
updated:
super(createContainer());
<|file_sep|>original/providers/jdbc/shedlock-test-support... | f88bc4b1ef43907d2d62cd0017cef9fb7430c278 | providers/jdbc/shedlock-test-support-jdbc/src/main/java/net/javacrumbs/shedlock/test/support/jdbc/OracleServerConfig.java | providers/jdbc/shedlock-test-support-jdbc/src/main/java/net/javacrumbs/shedlock/test/support/jdbc/OracleServerConfig.java | Java |
<|file_sep|>_includes/_i18n/i18n.html.diff
original:
updated:
{% capture text %}
<|file_sep|>original/_includes/_i18n/i18n.html
{% assign plang = page.lang | default: site.langs[0] | default: "en" %}
{% assign val = include.value %}
{% if val[plang] %}
{% assign v = val[plang] %}
{% else %}
{% assign v = val %}
{... | {% capture text %}
{% assign plang = page.lang | default: site.langs[0] | default: "en" %}
{% assign val = include.value %}
{% if val[plang] %}
{% assign v = val[plang] %}
{% else %}
{% assign v = val %}
{% endif %}
{% if include.escape %}
{{ v | escape | strip_newlines }}
{% else %}
{{ v | strip_newlines }}
... | <|file_sep|>_includes/_i18n/i18n.html.diff
original:
updated:
{% capture text %}
<|file_sep|>original/_includes/_i18n/i18n.html
{% assign plang = page.lang | default: site.langs[0] | default: "en" %}
{% assign val = include.value %}
{% if val[plang] %}
{% assign v = val[plang] %}
{% else %}
{% assign v = val %}
{... | 1c8f999e7f7af25ada4d12c1c9770291ed70e528 | _includes/_i18n/i18n.html | _includes/_i18n/i18n.html | HTML |
<|file_sep|>original/_posts/2015-02-18-hello-world.md
---
layout: post
title: Hello World!
date: 2015-02-18
summary: MolView now has an official blog and here is why.
categories: announcements vision
---
Everything around us changes and so does technology. You are probably using Google Chrome
right n... | ---
layout: post
title: Hello World!
date: 2015-02-18
summary: MolView now has an official blog and here is why.
categories: posts
---
Everything around us changes and so does technology. You are probably using Google Chrome
right now to read this article. Eight years ago Google Chrome didn't even ex... | <|file_sep|>original/_posts/2015-02-18-hello-world.md
---
layout: post
title: Hello World!
date: 2015-02-18
summary: MolView now has an official blog and here is why.
categories: announcements vision
---
Everything around us changes and so does technology. You are probably using Google Chrome
right n... | c440f2a0457bf728728b7b72c9fa9392275decc0 | _posts/2015-02-18-hello-world.md | _posts/2015-02-18-hello-world.md | Markdown |
<|file_sep|>original/week-2/wireframe-reflection.md


<|file_sep|>current/week-2/wireframe-reflection.md



What is a wireframe?
+ A wireframe is a barebones mock-up of a website that helps designers plan the structure and layout of a webpage
What are the benefits of wireframing?
+ It's a qui... | <|file_sep|>original/week-2/wireframe-reflection.md


<|file_sep|>current/week-2/wireframe-reflection.md

:
# These are only needed in case we test
import pytest
import os.path
import glob
# List all petlib files in the directory
petlib_dir = dir = os.path.dirname(os.path.realpath(__file__))
pyfiles = glob.glob(os.path.join(petlib_dir, '*.... | <|file_sep|>original/petlib/__init__.py
# The petlib version
VERSION = '0.0.25'
<|file_sep|>current/petlib/__init__.py
# The petlib version
VERSION = '0.0.25'
<|file_sep|>updated/petlib/__init__.py
# The petlib version
VERSION = '0.0.26'
def run_tests():
# These are only needed in case we test
import pytest
... | 23f709e483bc7b0dfa15da8207ddc509715ebaa0 | petlib/__init__.py | petlib/__init__.py | Python |
<|file_sep|>original/README.md
<p align="center">
<img src="https://raw.github.com/justinj/reconstruction-database/master/public/images/logo.png">
</p>
RCDB
====
RCDB is a <b>R</b>e<b>c</b>onstruction <b>D</b>ata<b>b</b>ase.
The goal is to document and categorize reconstructions of important or interesting solves o... | <p align="center">
<img src="https://raw.github.com/justinj/reconstruction-database/master/public/images/logo.png">
</p>
RCDB
====
RCDB is a <b>R</b>e<b>c</b>onstruction <b>D</b>ata<b>b</b>ase.
The goal is to document and categorize reconstructions of important or interesting solves of the Rubik's Cube and related ... | <|file_sep|>original/README.md
<p align="center">
<img src="https://raw.github.com/justinj/reconstruction-database/master/public/images/logo.png">
</p>
RCDB
====
RCDB is a <b>R</b>e<b>c</b>onstruction <b>D</b>ata<b>b</b>ase.
The goal is to document and categorize reconstructions of important or interesting solves o... | efbfcff8a12b9081400e72a4683865d865c02ded | README.md | README.md | Markdown |
<|file_sep|>original/tsconfig.json
{
"compilerOptions": {
"allowJs": true,
"allowSyntheticDefaultImports": true,
"checkJs": false,
"esModuleInterop": true,
// "declaration": true,
// "emitDeclarationOnly": true,
// "declarationMap": true,
"module": "commonjs",
"moduleResolution": "... | {
"compilerOptions": {
"allowJs": true,
"allowSyntheticDefaultImports": true,
"checkJs": false,
"esModuleInterop": true,
// "declaration": true,
// "emitDeclarationOnly": true,
// "declarationMap": true,
"module": "esnext",
"moduleResolution": "node",
// "noEmit": true,
"no... | <|file_sep|>original/tsconfig.json
{
"compilerOptions": {
"allowJs": true,
"allowSyntheticDefaultImports": true,
"checkJs": false,
"esModuleInterop": true,
// "declaration": true,
// "emitDeclarationOnly": true,
// "declarationMap": true,
"module": "commonjs",
"moduleResolution": "... | 4934b4833e5d4db4de7731a68d7902d97d2de29e | tsconfig.json | tsconfig.json | JSON |
<|file_sep|>original/app/views/orders/new.html.erb
<|file_sep|>current/app/views/orders/new.html.erb
<|file_sep|>updated/app/views/orders/new.html.erb | <div class="container"><br><br><br><br>
<%= simple_form_for @order do |f| %>
<h2>Shipper</h2>
<%= f.simple_fields_for :shipper do |shipper| %>
<%= shipper.input :first_name %>
<%= shipper.input :last_name %>
<%= shipper.fields_for :address do |address| %>
<%= address.input :addres... | <|file_sep|>original/app/views/orders/new.html.erb
<|file_sep|>current/app/views/orders/new.html.erb
<|file_sep|>updated/app/views/orders/new.html.erb
<div class="container"><br><br><br><br>
<%= simple_form_for @order do |f| %>
<h2>Shipper</h2>
<%= f.simple_fields_for :shipper do |shipper| %>
<%= sh... | e53afc056b3314dd6f78499b00eb0de538e490f9 | app/views/orders/new.html.erb | app/views/orders/new.html.erb | HTML+ERB |
<|file_sep|>original/app/views/line_items/_form.html.haml
%tr.line_item.nested-form-item
%td= line_item.text_field :date, :style => 'width: 85px', 'date-picker' => 'true'
%td= line_item.text_field :title, :required => true, :style => 'width: 30em'
%td= line_item.text_field :times, :required => true, :style => 'wi... | %tr.line_item.nested-form-item
%td= line_item.text_field :date, :style => 'width: 85px', 'date-picker' => 'true'
%td= line_item.text_field :title, :required => true, :style => 'width: 30em'
%td= line_item.text_field :times, :required => true, :style => 'width: 3em', :autocomplete => "off"
%td= line_item.select ... | <|file_sep|>original/app/views/line_items/_form.html.haml
%tr.line_item.nested-form-item
%td= line_item.text_field :date, :style => 'width: 85px', 'date-picker' => 'true'
%td= line_item.text_field :title, :required => true, :style => 'width: 30em'
%td= line_item.text_field :times, :required => true, :style => 'wi... | 57d9158c78dcdaef34534864e4049340f7e8fcbd | app/views/line_items/_form.html.haml | app/views/line_items/_form.html.haml | Haml |
<|file_sep|>original/.github/ISSUE_TEMPLATE/bug_report.md
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''
---
**Describe the bug**
> A clear and concise description of what the bug is.
**To Reproduce**
> Steps to reproduce the behavior:
1. Run '...'
2. See error
... | ---
name: Bug report
about: Create a report to help us improve
title: ''
labels: Bug
assignees: ''
---
**Describe the bug**
> A clear and concise description of what the bug is.
**To Reproduce**
> Steps to reproduce the behavior:
1. Run '...'
2. See error
**Expected behavior** | <|file_sep|>original/.github/ISSUE_TEMPLATE/bug_report.md
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''
---
**Describe the bug**
> A clear and concise description of what the bug is.
**To Reproduce**
> Steps to reproduce the behavior:
1. Run '...'
2. See error
... | a3965dbd1647de32cf7d33922e4b2b3e4515a063 | .github/ISSUE_TEMPLATE/bug_report.md | .github/ISSUE_TEMPLATE/bug_report.md | Markdown |
<|file_sep|>original/glanguage/__init__.py
<|file_sep|>current/glanguage/__init__.py
<|file_sep|>updated/glanguage/__init__.py | import httplib2
try:
import simplejson as json
except:
import json
from googleapiclient import discovery
from oauth2client.client import GoogleCredentials
OAUTH_SCOPE = 'https://www.googleapis.com/auth/cloud-platform'
DISCOVERY_URL = 'https://{api}.googleapis.com/$discovery/rest?version={apiVersion}... | <|file_sep|>original/glanguage/__init__.py
<|file_sep|>current/glanguage/__init__.py
<|file_sep|>updated/glanguage/__init__.py
import httplib2
try:
import simplejson as json
except:
import json
from googleapiclient import discovery
from oauth2client.client import GoogleCredentials
OAUTH_SCOPE = 'h... | b189e7043115f788093b129815ff0bde5895ee0b | glanguage/__init__.py | glanguage/__init__.py | Python |
<|file_sep|>original/src/components/video_detail.js
<|file_sep|>current/src/components/video_detail.js
<|file_sep|>updated/src/components/video_detail.js | import React from 'react';
// import VideoListItem from './video_list_item';
const VideoDetail = ({video}) => {
const videoId = video.id.videoId;
const url = `https://www.youtube.com/embed/${videoId}`;
return (
<div className="video-detail col-md-8">
<div className="embed-responsive embed-responsive-16... | <|file_sep|>original/src/components/video_detail.js
<|file_sep|>current/src/components/video_detail.js
<|file_sep|>updated/src/components/video_detail.js
import React from 'react';
// import VideoListItem from './video_list_item';
const VideoDetail = ({video}) => {
const videoId = video.id.videoId;
const url = `... | 88e405fdaa97a224ad6683d39163a04d86982ede | src/components/video_detail.js | src/components/video_detail.js | JavaScript |
<|file_sep|>original/README.md
# Python interface library for Jfrog Artifactory #
[](https://travis-ci.org/Parallels/artifactory)
This module is intended to serve as a logical descendant of [pathlib](https://docs.python.org/3/library/pathli... | # Python interface library for Jfrog Artifactory #
[](https://travis-ci.org/Parallels/artifactory)
This module is intended to serve as a logical descendant of [pathlib](https://docs.python.org/3/library/pathlib.html), a Python 3 module for... | <|file_sep|>original/README.md
# Python interface library for Jfrog Artifactory #
[](https://travis-ci.org/Parallels/artifactory)
This module is intended to serve as a logical descendant of [pathlib](https://docs.python.org/3/library/pathli... | 55509fdcd08a102aa960da14a3d018a4a34a381c | README.md | README.md | Markdown |
<|file_sep|>build.sh.diff
original:
updated:
IS_CI=false;
if [[ ! -z "${CI}" ]]; then
IS_CI=true;
fi
echo "app-android/build.sh: IS_CI '${IS_CI}'";
GRADLE_ARGS="";
if [ $IS_CI = true ]; then
GRADLE_ARGS=" --console=plain";
fi
<|file_sep|>build.sh.diff
original:
../gradlew -c $CUSTOM_SETTINGS_GRADLE_FILE :$DIRECTORY... | echo ">> Building...";
IS_CI=false;
if [[ ! -z "${CI}" ]]; then
IS_CI=true;
fi
echo "app-android/build.sh: IS_CI '${IS_CI}'";
GRADLE_ARGS="";
if [ $IS_CI = true ]; then
GRADLE_ARGS=" --console=plain";
fi
DIRECTORY=$(basename ${PWD});
CUSTOM_SETTINGS_GRADLE_FILE="../settings.gradle.all";
if [ -f $CUSTOM_SETTINGS_GRADL... | <|file_sep|>build.sh.diff
original:
updated:
IS_CI=false;
if [[ ! -z "${CI}" ]]; then
IS_CI=true;
fi
echo "app-android/build.sh: IS_CI '${IS_CI}'";
GRADLE_ARGS="";
if [ $IS_CI = true ]; then
GRADLE_ARGS=" --console=plain";
fi
<|file_sep|>build.sh.diff
original:
../gradlew -c $CUSTOM_SETTINGS_GRADLE_FILE :$DIRECTORY... | 68dc10128fe3a5fd52d248aac3eb0bd7bd16722c | build.sh | build.sh | Shell |
<|file_sep|>original/.travis.yml
sudo: required
before_install:
- echo "Build on $TRAVIS_OS_NAME"
- if [[ "$TRAVIS_TAG" == v* ]]; then export BUILD_STR=""; else export BUILD_STR="dev"; fi
- source .ci/travis/install_python.sh
- conda info -a
- conda build -q -c csdms .conda
- pip install coveralls
- sou... | sudo: required
before_install:
- echo "Build on $TRAVIS_OS_NAME"
- if [[ "$TRAVIS_TAG" == v* ]]; then export BUILD_STR=""; else export BUILD_STR="dev"; fi
- source .ci/travis/install_python.sh
- conda info -a
- conda build -q -c csdms .conda
- pip install coveralls
- source .ci/travis/install_dakota.sh
... | <|file_sep|>original/.travis.yml
sudo: required
before_install:
- echo "Build on $TRAVIS_OS_NAME"
- if [[ "$TRAVIS_TAG" == v* ]]; then export BUILD_STR=""; else export BUILD_STR="dev"; fi
- source .ci/travis/install_python.sh
- conda info -a
- conda build -q -c csdms .conda
- pip install coveralls
- sou... | bd2892f4f24902a10ce744a1159a045400bb4ca1 | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/main/groovy/org/gradle/api/plugins/docker/tasks/container/DockerExistingContainer.groovy.diff
original:
/**
* Id of existing container.
*/
updated:
String containerId
void targetContainerId(Closure containerId) {
conventionMapping.containerId = containerId
}
<|file_se... | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.gradle.api.plugins.docker.tasks.container
import org.gradle.api.plugins.docker.tasks.AbstractDockerTask
import org.gradle.... | <|file_sep|>src/main/groovy/org/gradle/api/plugins/docker/tasks/container/DockerExistingContainer.groovy.diff
original:
/**
* Id of existing container.
*/
updated:
String containerId
void targetContainerId(Closure containerId) {
conventionMapping.containerId = containerId
}
<|file_se... | 86c54ca307f5c3653c7812409f1e41d931d43cd9 | src/main/groovy/org/gradle/api/plugins/docker/tasks/container/DockerExistingContainer.groovy | src/main/groovy/org/gradle/api/plugins/docker/tasks/container/DockerExistingContainer.groovy | Groovy |
<|file_sep|>original/tests/test_process.py
import pytest
from wamopacker.process import run_command, ProcessException
import os
import uuid
def test_run_command():
cwd = os.getcwd()
output_cmd = run_command('ls -1A', working_dir = cwd)
output_py = os.listdir(cwd)
assert sorted(output_cmd) == sorted(ou... | import pytest
from wamopacker.process import run_command, ProcessException
import os
import uuid
def test_run_command():
cwd = os.getcwd()
output_cmd = run_command('ls -1A', working_dir = cwd)
output_py = os.listdir(cwd)
assert sorted(output_cmd) == sorted(output_py)
def test_run_command_error():
... | <|file_sep|>original/tests/test_process.py
import pytest
from wamopacker.process import run_command, ProcessException
import os
import uuid
def test_run_command():
cwd = os.getcwd()
output_cmd = run_command('ls -1A', working_dir = cwd)
output_py = os.listdir(cwd)
assert sorted(output_cmd) == sorted(ou... | 0a9e3fb387c61f2c7cb32502f5c50eaa5b950169 | tests/test_process.py | tests/test_process.py | Python |
<|file_sep|>original/blackbox.plugin.zsh
# furnished to do so, subject to the following conditions:
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED,... | # furnished to do so, subject to the following conditions:
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANT... | <|file_sep|>original/blackbox.plugin.zsh
# furnished to do so, subject to the following conditions:
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED,... | 974aaba88514b81b39e42bbbed1a289f222abf8a | blackbox.plugin.zsh | blackbox.plugin.zsh | Shell |
<|file_sep|>src/utils/hotfixes/DisableTextSelection.js.diff
original:
let location = window.location;
let isWebsite = location.protocol.indexOf('http') !== -1 && location.host.indexOf('localhost') === -1;
updated:
var currentLocation = window.location;
var isWebsite = currentLocation.protocol.indexOf('http') !== -1 && ... | * Created by tom on 08/07/16.
*/
var currentLocation = window.location;
var isWebsite = currentLocation.protocol.indexOf('http') !== -1 && currentLocation.host.indexOf('localhost') === -1;
if(!isWebsite) {
/* Source: https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleSheet/insertRule */
var styleEle... | <|file_sep|>src/utils/hotfixes/DisableTextSelection.js.diff
original:
let location = window.location;
let isWebsite = location.protocol.indexOf('http') !== -1 && location.host.indexOf('localhost') === -1;
updated:
var currentLocation = window.location;
var isWebsite = currentLocation.protocol.indexOf('http') !== -1 && ... | be716adc76382618e44836f17b37a76a380b2094 | src/utils/hotfixes/DisableTextSelection.js | src/utils/hotfixes/DisableTextSelection.js | JavaScript |
<|file_sep|>original/_config.yml
name: Developer Hub
markdown: maruku
pygments: true
safe: true
baseurl: /
exclude: ['.ruby-version', 'node_modules', 'package.json', 'bower.json']
<|file_sep|>current/_config.yml
name: Developer Hub
markdown: maruku
pygments: true
safe: true
baseurl: /
exclude: ['.ruby-version', 'node_m... | name: Developer Hub
markdown: kramdown
pygments: true
safe: true
baseurl: /
exclude: ['.ruby-version', 'node_modules', 'package.json', 'bower.json'] | <|file_sep|>original/_config.yml
name: Developer Hub
markdown: maruku
pygments: true
safe: true
baseurl: /
exclude: ['.ruby-version', 'node_modules', 'package.json', 'bower.json']
<|file_sep|>current/_config.yml
name: Developer Hub
markdown: maruku
pygments: true
safe: true
baseurl: /
exclude: ['.ruby-version', 'node_m... | 8d1d61cc4414ded21c22015ebd53131cbb4d9415 | _config.yml | _config.yml | YAML |
<|file_sep|>themes/sitesprocket/templates/Includes/ProjectDetailMessage.ss.diff
original:
<div class="title">$Title ($Price.Nice)</div>
updated:
<div class="title">$Title <span>$Price.Nice</span></div>
<div class="description">$Description</div>
<|file_sep|>original/themes/sitesprocket/templates/Includes/Proje... | <% control SelectedOptions %>
<div class="options">
<div class="option">
<% control Option %>
<div class="title">$Title <span>$Price.Nice</span></div>
<div class="description">$Description</div>
<% end_control %>
<% if Attachments %>
<ul class="uploads">
<% control Attachments %>
<li>$Name... | <|file_sep|>themes/sitesprocket/templates/Includes/ProjectDetailMessage.ss.diff
original:
<div class="title">$Title ($Price.Nice)</div>
updated:
<div class="title">$Title <span>$Price.Nice</span></div>
<div class="description">$Description</div>
<|file_sep|>original/themes/sitesprocket/templates/Includes/Proje... | 3fdb40c1aaa4665e800f3dd2611bb9961d5a2460 | themes/sitesprocket/templates/Includes/ProjectDetailMessage.ss | themes/sitesprocket/templates/Includes/ProjectDetailMessage.ss | Scheme |
<|file_sep|>original/README.md
.. image:: VaMpy_logo.png
An implementation of finite difference methods (FDM) to solve partial differential equations (PDE).
The first method to be implemented is Richtmyer's 2 step Lax-Wendroff method.
This is the README file for the project.
---------------------------------------... | 
An implementation of finite difference methods (FDM) to solve partial differential equations (PDE).
The first method to be implemented is Richtmyer's 2 step Lax-Wendroff method.
This is the README file for the project.
---------------------------------------
Installation
-------------... | <|file_sep|>original/README.md
.. image:: VaMpy_logo.png
An implementation of finite difference methods (FDM) to solve partial differential equations (PDE).
The first method to be implemented is Richtmyer's 2 step Lax-Wendroff method.
This is the README file for the project.
---------------------------------------... | 4909ee8e8520c5f853b064a1d8c0cfbf04be86bb | README.md | README.md | Markdown |
<|file_sep|>packages/un/unitym.yaml.diff
original:
hash: 16d2b498c5adcfd28c7dbc0cde9ec3a79dec1b015ee55bb17997a6f0e54c4290
updated:
hash: 95acfe4a19fb76698d7f3603b9cdae34a613cc385c57ba4b1b521e5fb1d84afa
<|file_sep|>packages/un/unitym.yaml.diff
original:
maintainer: example@example.com
synopsis: Initial project template ... | basic-deps:
base: ! '>=4.7 && <5'
text: ! '>=1.2 && <1.3'
transformers: ! '>=0.5 && <0.6'
all-versions:
- '0.1.0.0'
- '0.1.0.1'
author: Brian Hurt
latest: '0.1.0.1'
description-type: markdown
description: ! 'One of the nice things about WAI is that it allows us to combine multiple
different server frameworks i... | <|file_sep|>packages/un/unitym.yaml.diff
original:
hash: 16d2b498c5adcfd28c7dbc0cde9ec3a79dec1b015ee55bb17997a6f0e54c4290
updated:
hash: 95acfe4a19fb76698d7f3603b9cdae34a613cc385c57ba4b1b521e5fb1d84afa
<|file_sep|>packages/un/unitym.yaml.diff
original:
maintainer: example@example.com
synopsis: Initial project template ... | a84d2a9547d3d6f10d899e11d6be10d8371dad2c | packages/un/unitym.yaml | packages/un/unitym.yaml | YAML |
<|file_sep|>Scripts/publish.ps1.diff
original:
updated:
# Rename the release folder
Rename-Item -Path "$Source\bin\Release" -NewName $Module
<|file_sep|>original/Scripts/publish.ps1
# Definition for build
$Module = 'ISEPresenter'
$Source = "C:\Projects\$Module"
# Extract module version
$ModuleVersion = (Invoke-Exp... |
# Definition for build
$Module = 'ISEPresenter'
$Source = "C:\Projects\$Module"
# Extract module version
$ModuleVersion = (Invoke-Expression -Command (Get-Content -Path "$Source\bin\Release\$Module.psd1" -Raw)).ModuleVersion
# Rename the release folder
Rename-Item -Path "$Source\bin\Release" -NewName $Module
# Pus... | <|file_sep|>Scripts/publish.ps1.diff
original:
updated:
# Rename the release folder
Rename-Item -Path "$Source\bin\Release" -NewName $Module
<|file_sep|>original/Scripts/publish.ps1
# Definition for build
$Module = 'ISEPresenter'
$Source = "C:\Projects\$Module"
# Extract module version
$ModuleVersion = (Invoke-Exp... | 2416c862f16a0604aeef905d350ca89b85db9ca9 | Scripts/publish.ps1 | Scripts/publish.ps1 | PowerShell |
<|file_sep|>original/src/scss/partials/_contact.scss
border: 1px solid $accent-dark;
padding: .5rem;
&:focus {
outline-color: $color-primary;
}
}
textarea {
height: 5rem;
}
label {
display: inline-block;
margin-top: 1rem;
}
input[type="submit"] {
cursor: pointer;
... | padding: .5rem;
&:focus {
outline-color: $color-primary;
}
}
textarea {
height: 5rem;
}
label {
display: inline-block;
margin-top: 1rem;
font-weight: bold;
}
input[type="submit"] {
cursor: pointer;
}
} | <|file_sep|>original/src/scss/partials/_contact.scss
border: 1px solid $accent-dark;
padding: .5rem;
&:focus {
outline-color: $color-primary;
}
}
textarea {
height: 5rem;
}
label {
display: inline-block;
margin-top: 1rem;
}
input[type="submit"] {
cursor: pointer;
... | 78e444544e5363817b1194beb99aea05b6e9b7d4 | src/scss/partials/_contact.scss | src/scss/partials/_contact.scss | SCSS |
<|file_sep|>original/mifosng-db/migrations/core_db/V57__add_default_values_to_debit_and_credit_accounts_acc_accounting_rule.sql
<|file_sep|>current/mifosng-db/migrations/core_db/V57__add_default_values_to_debit_and_credit_accounts_acc_accounting_rule.sql
<|file_sep|>updated/mifosng-db/migrations/core_db/V57__add_defa... | ALTER TABLE `acc_accounting_rule`
CHANGE COLUMN `debit_account_id` `debit_account_id` BIGINT(20) NULL DEFAULT NULL AFTER `office_id`,
CHANGE COLUMN `credit_account_id` `credit_account_id` BIGINT(20) NULL DEFAULT NULL AFTER `allow_multiple_debits`; | <|file_sep|>original/mifosng-db/migrations/core_db/V57__add_default_values_to_debit_and_credit_accounts_acc_accounting_rule.sql
<|file_sep|>current/mifosng-db/migrations/core_db/V57__add_default_values_to_debit_and_credit_accounts_acc_accounting_rule.sql
<|file_sep|>updated/mifosng-db/migrations/core_db/V57__add_defa... | 8c81fe7fc10a3d6725ce6e81ef8771978b58bc98 | mifosng-db/migrations/core_db/V57__add_default_values_to_debit_and_credit_accounts_acc_accounting_rule.sql | mifosng-db/migrations/core_db/V57__add_default_values_to_debit_and_credit_accounts_acc_accounting_rule.sql | SQL |
<|file_sep|>original/tests/lists/cl_list_tests.c
#include <stdio.h>
#include <stdlib.h>
#include <cl_list.h>
#include <cl_iterator.h>
#define QTD 100
<|file_sep|>current/tests/lists/cl_list_tests.c
#include <stdio.h>
#include <stdlib.h>
#include <cl_list.h>
#include <cl_iterator.h>
#define QTD 100
<|file_sep|>updat... | #include <stdio.h>
#include <stdlib.h>
#include <cl_list.h>
#include <cl_iterator.h>
#define QTD 100
void print_list_iter(cl_list_root *list) {
iterator_c *i = cl_iter_create(list, FORWARD);
printf("[");
if (i != NULL) {
do {
printf("'%d', ", *((int *) cl_iter_item(i)));
} while (cl_iter_next(i) && cl_iter... | <|file_sep|>original/tests/lists/cl_list_tests.c
#include <stdio.h>
#include <stdlib.h>
#include <cl_list.h>
#include <cl_iterator.h>
#define QTD 100
<|file_sep|>current/tests/lists/cl_list_tests.c
#include <stdio.h>
#include <stdlib.h>
#include <cl_list.h>
#include <cl_iterator.h>
#define QTD 100
<|file_sep|>updat... | fca3fe6b3b8f7a918025c81597fe7e4c7e450887 | tests/lists/cl_list_tests.c | tests/lists/cl_list_tests.c | C |
<|file_sep|>original/requirements/local-docs-build.txt
-r pip.txt
# Base packages
docutils==0.14
sphinx_rtd_theme==0.4.3
sphinx-tabs==1.1.10
# Required to avoid Transifex error with reserved slug
# https://github.com/sphinx-doc/sphinx-intl/pull/27
git+https://github.com/agjohnson/sphinx-intl.git@7b5c66bdb30f872b3b1286... | -r pip.txt
# Base packages
docutils==0.14
sphinx_rtd_theme==0.4.3
sphinx-tabs==1.1.10
# Required to avoid Transifex error with reserved slug
# https://github.com/sphinx-doc/sphinx-intl/pull/27
git+https://github.com/agjohnson/sphinx-intl.git@7b5c66bdb30f872b3b1286e371f569c8dcb66de5#egg=sphinx-intl
Pygments==2.3.1
mk... | <|file_sep|>original/requirements/local-docs-build.txt
-r pip.txt
# Base packages
docutils==0.14
sphinx_rtd_theme==0.4.3
sphinx-tabs==1.1.10
# Required to avoid Transifex error with reserved slug
# https://github.com/sphinx-doc/sphinx-intl/pull/27
git+https://github.com/agjohnson/sphinx-intl.git@7b5c66bdb30f872b3b1286... | 943d864c1fe73f75dca843998491890b576cdcd2 | requirements/local-docs-build.txt | requirements/local-docs-build.txt | Text |
<|file_sep|>original/src/manifest.json
{
"name": "Qulu – Your Hulu Queue",
"version": "0.4.5",
"manifest_version": 2,
"description": "Access your Hulu queue right from the toolbar! A badge shows you if you have anything to watch right now.",
"icons": {
"48": "images/logo_48x48.png"
},
... | {
"name": "Qulu – Your Hulu Queue",
"version": "0.4.7",
"manifest_version": 2,
"description": "Access your Hulu queue right from the toolbar! A badge shows you if you have anything to watch right now.",
"icons": {
"48": "images/logo_48x48.png"
},
"background": {
"scripts": ... | <|file_sep|>original/src/manifest.json
{
"name": "Qulu – Your Hulu Queue",
"version": "0.4.5",
"manifest_version": 2,
"description": "Access your Hulu queue right from the toolbar! A badge shows you if you have anything to watch right now.",
"icons": {
"48": "images/logo_48x48.png"
},
... | 6dccb0b2717ec8e3f4ed5ed14f4a69b071e17667 | src/manifest.json | src/manifest.json | JSON |
<|file_sep|>original/TROUBLESHOOTING.md
<|file_sep|>current/TROUBLESHOOTING.md
<|file_sep|>updated/TROUBLESHOOTING.md | # Troubleshooting
For contributors to Zipline, the following can be exceptions encountered which don't have obvious fixes (yet).
## Missing JNI Libraries
```
java.lang.ExceptionInInitializerError
at app.cash.zipline.Zipline$Companion.create(Zipline.kt:175)
at app.cash.zipline.Zipline$Companion.create$default(Zipli... | <|file_sep|>original/TROUBLESHOOTING.md
<|file_sep|>current/TROUBLESHOOTING.md
<|file_sep|>updated/TROUBLESHOOTING.md
# Troubleshooting
For contributors to Zipline, the following can be exceptions encountered which don't have obvious fixes (yet).
## Missing JNI Libraries
```
java.lang.ExceptionInInitializerError
... | 1f9c444b18a9b7886144522746c27b9345fe5a35 | TROUBLESHOOTING.md | TROUBLESHOOTING.md | Markdown |
<|file_sep|>original/README.md
# zenhan-go
Go Library to convert between Zenkaku(fullwidth Japanese) and Hankaku(halfwidth Japanese)
<|file_sep|>current/README.md
# zenhan-go
Go Library to convert between Zenkaku(fullwidth Japanese) and Hankaku(halfwidth Japanese)
<|file_sep|>updated/README.md | # zenhan-go
Go Library to convert between Zenkaku(fullwidth Japanese) and Hankaku(halfwidth Japanese)
This is clone of [zenhan-py](https://github.com/sspiral/zenhan-py) | <|file_sep|>original/README.md
# zenhan-go
Go Library to convert between Zenkaku(fullwidth Japanese) and Hankaku(halfwidth Japanese)
<|file_sep|>current/README.md
# zenhan-go
Go Library to convert between Zenkaku(fullwidth Japanese) and Hankaku(halfwidth Japanese)
<|file_sep|>updated/README.md
# zenhan-go
Go Library to... | ef44a3158d1b3c964859bcf31a6d90d72941250f | README.md | README.md | Markdown |
<|file_sep|>original/CHANGELOG.md
<|file_sep|>current/CHANGELOG.md
<|file_sep|>updated/CHANGELOG.md | # 1.1 -- July 11, 2014
* Make it work with PDFtk Server 2.0 (James Prior)
* Make it work with Ruby >= 2.0 (James Prior)
# 1.0.0.rc1 -- February 8, 2012
* Removed ActiveRecord dependency (Bernard Lambeau).
# 0.5 -- October 29, 2006
* First stable API and official (not yanked) release (Tim Pope).
# Before 0.5
* A ... | <|file_sep|>original/CHANGELOG.md
<|file_sep|>current/CHANGELOG.md
<|file_sep|>updated/CHANGELOG.md
# 1.1 -- July 11, 2014
* Make it work with PDFtk Server 2.0 (James Prior)
* Make it work with Ruby >= 2.0 (James Prior)
# 1.0.0.rc1 -- February 8, 2012
* Removed ActiveRecord dependency (Bernard Lambeau).
# 0.5 -- ... | 6100de2a63df469103aa0dae971c7ab9f6c8dcf7 | CHANGELOG.md | CHANGELOG.md | Markdown |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.