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|>lib/hyperloop/application.rb.diff
original:
def initialize(root='')
updated:
def initialize(root=nil)
<|file_sep|>original/lib/hyperloop/application.rb
require 'rack'
module Hyperloop
class Application
include Rack::Utils
def initialize(root='')
@root = root
@views_path... | require 'rack'
module Hyperloop
class Application
include Rack::Utils
def initialize(root=nil)
@root = root
@views_path = File.join([@root, 'app/views'].compact)
end
# Rack call interface.
def call(env)
request = Rack::Request.new(env)
response = Response.new
... | <|file_sep|>lib/hyperloop/application.rb.diff
original:
def initialize(root='')
updated:
def initialize(root=nil)
<|file_sep|>original/lib/hyperloop/application.rb
require 'rack'
module Hyperloop
class Application
include Rack::Utils
def initialize(root='')
@root = root
@views_path... | e09c2aa6b64e3c1a6ad4f8bd94e152ed2d1a88dd | lib/hyperloop/application.rb | lib/hyperloop/application.rb | Ruby |
<|file_sep|>README.md.diff
original:
updated:
Use the `accept` attribute to define the types of files that the component can select.
```
<button type="button" ngFilePicker accept="image/*" (filePick)="file = $event">Browse</button>
```
<|file_sep|>README.md.diff
original:
export interface PickedFile {
updated:
inter... | ```
Use the `accept` attribute to define the types of files that the component can select.
```
<button type="button" ngFilePicker accept="image/*" (filePick)="file = $event">Browse</button>
```
The picked file implements the following interface:
```
interface PickedFile {
lastModifiedDate: Date;
name: string;
... | <|file_sep|>README.md.diff
original:
updated:
Use the `accept` attribute to define the types of files that the component can select.
```
<button type="button" ngFilePicker accept="image/*" (filePick)="file = $event">Browse</button>
```
<|file_sep|>README.md.diff
original:
export interface PickedFile {
updated:
inter... | b11f54f8e51d75fd322ce6b5350d7822c39b8c27 | README.md | README.md | Markdown |
<|file_sep|>original/.github/workflows/dart.yml
steps:
- uses: actions/cache@v2
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;dart:stable"
- uses: actions/checkout@v2
- uses: dart-lang/setup-dart@v1
with:
sdk: stable
-... | steps:
- uses: actions/cache@v2
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;dart:stable"
- uses: actions/checkout@v2
- uses: dart-lang/setup-dart@v1
with:
sdk: stable
- name: "Dependencies"
run: dart pub upgr... | <|file_sep|>original/.github/workflows/dart.yml
steps:
- uses: actions/cache@v2
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;dart:stable"
- uses: actions/checkout@v2
- uses: dart-lang/setup-dart@v1
with:
sdk: stable
-... | cd935709f810d05677b06d60215638550e50d033 | .github/workflows/dart.yml | .github/workflows/dart.yml | YAML |
<|file_sep|>_config.yml.diff
original:
url: https://juliangrosshauser.com
updated:
url: https://juliangrosshauser.com/journal
<|file_sep|>original/_config.yml
# Permalinks
permalink: pretty
relative_permalinks: true
# Excerpt
excerpt_separator: <!--excerpt-end-->
# Con... | # Permalinks
permalink: pretty
relative_permalinks: true
# Excerpt
excerpt_separator: <!--excerpt-end-->
# Conversion
highlighter: rouge
# Setup
title: Julian Grosshauser
url: https://juliangrosshauser.com/journal
paginate: 3
baseurl: /... | <|file_sep|>_config.yml.diff
original:
url: https://juliangrosshauser.com
updated:
url: https://juliangrosshauser.com/journal
<|file_sep|>original/_config.yml
# Permalinks
permalink: pretty
relative_permalinks: true
# Excerpt
excerpt_separator: <!--excerpt-end-->
# Con... | 01b99a0017adec174101a4ead6b70e842708e8c9 | _config.yml | _config.yml | YAML |
<|file_sep|>original/wercker.yml
- mktemp:
envvar: PRIVATEKEY_PATH
- create-file:
name: write key
filename: $PRIVATEKEY_PATH
content: $SSH_KEY_PRIVATE
overwrite: true
hide-from-log: true
- script:
... | - mktemp:
envvar: PRIVATEKEY_PATH
- create-file:
name: write key
filename: $PRIVATEKEY_PATH
content: $SSH_KEY_PRIVATE
overwrite: true
hide-from-log: true
- script:
name: start applicat... | <|file_sep|>original/wercker.yml
- mktemp:
envvar: PRIVATEKEY_PATH
- create-file:
name: write key
filename: $PRIVATEKEY_PATH
content: $SSH_KEY_PRIVATE
overwrite: true
hide-from-log: true
- script:
... | 07eeb5455b4fdaf2adfdf3afde519f006fadfb03 | wercker.yml | wercker.yml | YAML |
<|file_sep|>original/_posts/2015-11-22-introduction.markdown
---
layout: post
title: "Introduction"
date: "2015-11-22"
---
Welcome to Blue Beagle LLC.
<|file_sep|>current/_posts/2015-11-22-introduction.markdown
---
layout: post
title: "Introduction"
date: "2015-11-22"
---
Welcome to Blue Beagle LLC.
<|file_sep|>updated... | ---
layout: page
title: "Introduction"
date: "2015-11-22"
---
Welcome to Blue Beagle LLC. | <|file_sep|>original/_posts/2015-11-22-introduction.markdown
---
layout: post
title: "Introduction"
date: "2015-11-22"
---
Welcome to Blue Beagle LLC.
<|file_sep|>current/_posts/2015-11-22-introduction.markdown
---
layout: post
title: "Introduction"
date: "2015-11-22"
---
Welcome to Blue Beagle LLC.
<|file_sep|>updated... | e1f3aaf007752056a0d9838e9d95ee2de0018883 | _posts/2015-11-22-introduction.markdown | _posts/2015-11-22-introduction.markdown | Markdown |
<|file_sep|>original/README.md
## Master Yoda
[](https://circleci.com/gh/yoda-yoda/yoda-face)
[](https://codecl... | ## Master Yoda
[](https://circleci.com/gh/yoda-yoda/yoda-face) [](https://codeclimate.com/github/yoda-yoda/yoda-... | <|file_sep|>original/README.md
## Master Yoda
[](https://circleci.com/gh/yoda-yoda/yoda-face)
[](https://codecl... | bc7c323b82e1ae5b993c9e4ed32c2444f9b63380 | README.md | README.md | Markdown |
<|file_sep|>original/requirements.txt
# we use the official Brotli module on CPython and the CFFI-based
# extension 'brotlipy' on PyPy
brotli==1.0.7; platform_python_implementation != "PyPy"
brotlipy==0.7.0; platform_python_implementation == "PyPy"
unicodedata2==11.0.0; python_version < '3.7' and platform_python_implem... | # we use the official Brotli module on CPython and the CFFI-based
# extension 'brotlipy' on PyPy
brotli==1.0.7; platform_python_implementation != "PyPy"
brotlipy==0.7.0; platform_python_implementation == "PyPy"
unicodedata2==11.0.0; python_version < '3.7' and platform_python_implementation != "PyPy"
scipy==1.2.1; platf... | <|file_sep|>original/requirements.txt
# we use the official Brotli module on CPython and the CFFI-based
# extension 'brotlipy' on PyPy
brotli==1.0.7; platform_python_implementation != "PyPy"
brotlipy==0.7.0; platform_python_implementation == "PyPy"
unicodedata2==11.0.0; python_version < '3.7' and platform_python_implem... | 56c4534c3ea3d6eac6f2e29d7f6292cbc76c61b4 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/.travis.yml
- CMAKE_ARGS="-DCMAKE_BUILD_TYPE=Debug -DDFK_DEBUG=ON"
addons:
apt:
packages:
- lcov
- valgrind
matrix:
include:
- os: linux
compiler: gcc
env: CMAKE_ARGS="-DCMAKE_BUILD_TYPE=Debug -DDFK_COVERAGE=ON" UPLOAD_COVERAGE=YES
- os: linux
compile... | - CMAKE_ARGS="-DCMAKE_BUILD_TYPE=Debug -DDFK_DEBUG=ON"
addons:
apt:
packages:
- lcov
- valgrind
matrix:
include:
- os: linux
compiler: gcc
env: CMAKE_ARGS="-DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS=-DNDEBUG -DDFK_COVERAGE=ON" UPLOAD_COVERAGE=YES
- os: linux
compiler: gcc
... | <|file_sep|>original/.travis.yml
- CMAKE_ARGS="-DCMAKE_BUILD_TYPE=Debug -DDFK_DEBUG=ON"
addons:
apt:
packages:
- lcov
- valgrind
matrix:
include:
- os: linux
compiler: gcc
env: CMAKE_ARGS="-DCMAKE_BUILD_TYPE=Debug -DDFK_COVERAGE=ON" UPLOAD_COVERAGE=YES
- os: linux
compile... | 25154d2e1196926d5e8f6d90bfb91e2d10d38fec | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/CMakeLists.txt
# Content provider Quick2 plugin
add_subdirectory(contentlist)
# Our Qt Quick plugin
add_subdirectory(qtquick)
# Base application
add_subdirectory(app)
<|file_sep|>current/src/CMakeLists.txt
# Content provider Quick2 plugin
add_subdirectory(contentlist)
# Our Qt Quick plugin
a... | # Content provider Quick2 plugin
add_subdirectory(contentlist)
# Our Qt Quick plugin
add_subdirectory(qtquick)
# Base application
add_subdirectory(app)
# Creator application
add_subdirectory(creator) | <|file_sep|>original/src/CMakeLists.txt
# Content provider Quick2 plugin
add_subdirectory(contentlist)
# Our Qt Quick plugin
add_subdirectory(qtquick)
# Base application
add_subdirectory(app)
<|file_sep|>current/src/CMakeLists.txt
# Content provider Quick2 plugin
add_subdirectory(contentlist)
# Our Qt Quick plugin
a... | 955d3914afc7a15688d2192ab31d9a5bc1f4c58e | src/CMakeLists.txt | src/CMakeLists.txt | Text |
<|file_sep|>original/events/elections/2021/candidate-tpepper.md
<|file_sep|>current/events/elections/2021/candidate-tpepper.md
<|file_sep|>updated/events/elections/2021/candidate-tpepper.md | -------------------------------------------------------------
name: Tim Pepper
ID: tpepper
info:
- employer: VMware
- slack: tpepper
-------------------------------------------------------------
## SIGS
- SIG Release
- SIG Contributor Experience
- Code of Conduct Committee
## What I have done
My technical exper... | <|file_sep|>original/events/elections/2021/candidate-tpepper.md
<|file_sep|>current/events/elections/2021/candidate-tpepper.md
<|file_sep|>updated/events/elections/2021/candidate-tpepper.md
-------------------------------------------------------------
name: Tim Pepper
ID: tpepper
info:
- employer: VMware
- slack:... | a157eb00d591c0e922ebb97616bafee394952e9a | events/elections/2021/candidate-tpepper.md | events/elections/2021/candidate-tpepper.md | Markdown |
<|file_sep|>original/source/fiblist/conf/urls.py
from django.conf.urls import include, url
from django.contrib import admin
from lists.views import home_page
from core.views import custom_server_error
# error pages
# handler400 = 'core.views.custom_bad_request'
# handler403 = 'core.views.custom_permission_denied'
# h... | from django.conf.urls import include, url
from django.contrib import admin
from lists.views import home_page
# from core.views import custom_server_error
# error pages
# handler400 = 'core.views.custom_bad_request'
# handler403 = 'core.views.custom_permission_denied'
# handler404 = 'core.views.custom_page_not_found'
... | <|file_sep|>original/source/fiblist/conf/urls.py
from django.conf.urls import include, url
from django.contrib import admin
from lists.views import home_page
from core.views import custom_server_error
# error pages
# handler400 = 'core.views.custom_bad_request'
# handler403 = 'core.views.custom_permission_denied'
# h... | dd5a292320f657a4b5e776c6e0d99fad5916e6e6 | source/fiblist/conf/urls.py | source/fiblist/conf/urls.py | Python |
<|file_sep|>original/.travis.yml
sudo: false
language: java
jdk:
- oraclejdk7
before_script:
- git submodule update --init --recursive
script:
- ./gradlew check integrationTest
branches:
only:
- /^(develop|hotfix\/.*|feature\/.*)$/
notifications:
slack:
secure: IAA4d9O2Dw1hkpY9cwxJz++VMjkgbV3EuaS09DGFuj... | sudo: false
language: java
jdk:
- oraclejdk7
before_script:
- git submodule update --init --recursive
script:
- ./gradlew check integrationTest --info
branches:
only:
- /^(develop|hotfix\/.*|feature\/.*)$/
notifications:
slack:
secure: IAA4d9O2Dw1hkpY9cwxJz++VMjkgbV3EuaS09DGFujvHl2eQtpKTloE0/CDF+NZA4tcb... | <|file_sep|>original/.travis.yml
sudo: false
language: java
jdk:
- oraclejdk7
before_script:
- git submodule update --init --recursive
script:
- ./gradlew check integrationTest
branches:
only:
- /^(develop|hotfix\/.*|feature\/.*)$/
notifications:
slack:
secure: IAA4d9O2Dw1hkpY9cwxJz++VMjkgbV3EuaS09DGFuj... | 0cc7e73739b8a5dd956f9b94f30385e8687deab5 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/recipes/opencadd/meta.yaml
- theseus
test:
imports:
- opencadd
about:
home: https://github.com/volkamerlab/opencadd
license: MIT
license_family: MIT
license_file: MIT
summary: 'A Python library for structural cheminformatics'
description: |
A Python library for structura... | - theseus
test:
imports:
- opencadd
about:
home: https://github.com/volkamerlab/opencadd
license: MIT
license_family: MIT
license_file: LICENSE.txt
summary: 'A Python library for structural cheminformatics'
description: |
A Python library for structural cheminformatics
doc_url: https://ope... | <|file_sep|>original/recipes/opencadd/meta.yaml
- theseus
test:
imports:
- opencadd
about:
home: https://github.com/volkamerlab/opencadd
license: MIT
license_family: MIT
license_file: MIT
summary: 'A Python library for structural cheminformatics'
description: |
A Python library for structura... | db18b8d7b42889b2ead477e14bcb4aad673fe88e | recipes/opencadd/meta.yaml | recipes/opencadd/meta.yaml | YAML |
<|file_sep|>original/packages/util/jest.config.js
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
};
<|file_sep|>current/packages/util/jest.config.js
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
};
<|file_sep|>updated/packages/util/jest.config.js | module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
collectCoverageFrom: ['*.ts'],
coverageThreshold: {
global: {
branches: 100,
functions: 100,
lines: 100,
statements: 100,
},
},
}; | <|file_sep|>original/packages/util/jest.config.js
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
};
<|file_sep|>current/packages/util/jest.config.js
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
};
<|file_sep|>updated/packages/util/jest.config.js
module.exports = {
p... | 87f7dd8e65a80c7b1a062adbe2106e2bb2792c1d | packages/util/jest.config.js | packages/util/jest.config.js | JavaScript |
<|file_sep|>original/package.json
"styleguide",
"button"
],
"author": "Button",
"license": "MIT",
"bugs": {
"url": "https://github.com/button/eslint-config-button/issues"
},
"homepage": "https://github.com/button/eslint-config-button#readme",
"dependencies": {
"eslint-config-airbnb": "^13.... | "styleguide",
"button"
],
"author": "Button",
"license": "MIT",
"bugs": {
"url": "https://github.com/button/eslint-config-button/issues"
},
"homepage": "https://github.com/button/eslint-config-button#readme",
"dependencies": {
"babel-eslint": "^7.1.1",
"eslint-config-airbnb": "^13.0.0"... | <|file_sep|>original/package.json
"styleguide",
"button"
],
"author": "Button",
"license": "MIT",
"bugs": {
"url": "https://github.com/button/eslint-config-button/issues"
},
"homepage": "https://github.com/button/eslint-config-button#readme",
"dependencies": {
"eslint-config-airbnb": "^13.... | a381f598ea607279497edcb921f7383e7153878f | package.json | package.json | JSON |
<|file_sep|>original/core/src/main/assets/migrations/41.yaml
up:
- CREATE TABLE OrganisationUnitLevel (_id INTEGER PRIMARY KEY AUTOINCREMENT, uid TEXT NOT NULL UNIQUE, code TEXT, name TEXT, displayName TEXT, created TEXT, lastUpdated TEXT, level TEXT);
<|file_sep|>current/core/src/main/assets/migrations/41.yaml
up:
- C... | up:
- CREATE TABLE OrganisationUnitLevel (_id INTEGER PRIMARY KEY AUTOINCREMENT, uid TEXT NOT NULL UNIQUE, code TEXT, name TEXT, displayName TEXT, created TEXT, lastUpdated TEXT, level INTEGER); | <|file_sep|>original/core/src/main/assets/migrations/41.yaml
up:
- CREATE TABLE OrganisationUnitLevel (_id INTEGER PRIMARY KEY AUTOINCREMENT, uid TEXT NOT NULL UNIQUE, code TEXT, name TEXT, displayName TEXT, created TEXT, lastUpdated TEXT, level TEXT);
<|file_sep|>current/core/src/main/assets/migrations/41.yaml
up:
- C... | 26c82fb1302cdda7f4cba8effc7fb9b90f8e7a85 | core/src/main/assets/migrations/41.yaml | core/src/main/assets/migrations/41.yaml | YAML |
<|file_sep|>original/.github/workflows/linux.yml
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: show-python-version
run: |
python --version
- name: I... | python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: show-python-version
run: |
python --version
... | <|file_sep|>original/.github/workflows/linux.yml
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: show-python-version
run: |
python --version
- name: I... | f00f7f4c4544c9728cd4a3e9b3a280eda6983fc7 | .github/workflows/linux.yml | .github/workflows/linux.yml | YAML |
<|file_sep|>lib/elements/ead.rb.diff
original:
COUNTRY_CODE = "pt"
AGENCY_CODE = "iantt"
updated:
DTD_LOC = '"+//ISBN 1-931666-00-8//DTD ead.dtd '+
'(Encoded Archival Description (EAD) Version 2002)//EN" "ead.dtd"'
<|file_sep|>lib/elements/ead.rb.diff
original:
doc << REXML::DocType.new("ead SYSTE... |
def export(filename)
doc = REXML::Document.new
doc << REXML::XMLDecl.new("1.0", "UTF-8")
doc << REXML::DocType.new("ead PUBLIC", DTD_LOC)
create_xml(doc)
output = File.open(filename, "w")
doc.write(output, 0)
output.write "\n"
output.close
end
def start_partial_export(file)
... | <|file_sep|>lib/elements/ead.rb.diff
original:
COUNTRY_CODE = "pt"
AGENCY_CODE = "iantt"
updated:
DTD_LOC = '"+//ISBN 1-931666-00-8//DTD ead.dtd '+
'(Encoded Archival Description (EAD) Version 2002)//EN" "ead.dtd"'
<|file_sep|>lib/elements/ead.rb.diff
original:
doc << REXML::DocType.new("ead SYSTE... | 347cc1945d3875308f18d6a521d3bb5942eedd11 | lib/elements/ead.rb | lib/elements/ead.rb | Ruby |
<|file_sep|>original/app/views/pages/index.html.haml
%h1.centered-text
Find Refuge
.row.more-headroom
.col-xs-12.col-sm-8.col-sm-offset-2
= render partial: "layouts/search", locals: {splash: true}
.row.more-headroom
.col-xs-12.col-sm-6.col-sm-offset-3
= button_to new_restroom... | %h1.centered-text
Find Refuge
.row.more-headroom
.col-xs-12.col-sm-8.col-sm-offset-2
= render partial: "layouts/search", locals: {splash: true}
.row.more-headroom
.col-xs-12.col-sm-6.col-sm-offset-3
= button_to new_restroom_path, method: :get, class: "btn btn-lg btn-purple sp... | <|file_sep|>original/app/views/pages/index.html.haml
%h1.centered-text
Find Refuge
.row.more-headroom
.col-xs-12.col-sm-8.col-sm-offset-2
= render partial: "layouts/search", locals: {splash: true}
.row.more-headroom
.col-xs-12.col-sm-6.col-sm-offset-3
= button_to new_restroom... | b01f3e5fba1b3ea8f44b84459996c22e6b1af408 | app/views/pages/index.html.haml | app/views/pages/index.html.haml | Haml |
<|file_sep|>original/src/Services/LaravelMediaEmbed.php
if (!empty($whitelist))
{
if(!in_array($MediaObject->name(), $whitelist))
{
return false;
}
}
return $MediaObject->getEmbedCode();
}
return false;
}
}
<|file_sep|>current/src/Services/Lar... | if (!empty($whitelist))
{
if(!in_array($MediaObject->name(), $whitelist))
{
return false;
}
}
return $MediaObject;
}
return false;
}
} | <|file_sep|>original/src/Services/LaravelMediaEmbed.php
if (!empty($whitelist))
{
if(!in_array($MediaObject->name(), $whitelist))
{
return false;
}
}
return $MediaObject->getEmbedCode();
}
return false;
}
}
<|file_sep|>current/src/Services/Lar... | e48e970bb04eb87395ff35b1fca6b7798a05ce9b | src/Services/LaravelMediaEmbed.php | src/Services/LaravelMediaEmbed.php | PHP |
<|file_sep|>original/uchan/lib/models/post.py
class Post(ModelBase):
__tablename__ = 'post'
id = Column(Integer(), primary_key=True)
thread_id = Column(Integer(), ForeignKey('thread.id'), nullable=False, index=True)
# thread is a backref property
report = relationship('Report', backref='post', ... |
class Post(ModelBase):
__tablename__ = 'post'
id = Column(Integer(), primary_key=True)
thread_id = Column(Integer(), ForeignKey('thread.id'), nullable=False, index=True)
# thread is a backref property
report = relationship('Report', backref='post', cascade='all, delete-orphan')
file = rela... | <|file_sep|>original/uchan/lib/models/post.py
class Post(ModelBase):
__tablename__ = 'post'
id = Column(Integer(), primary_key=True)
thread_id = Column(Integer(), ForeignKey('thread.id'), nullable=False, index=True)
# thread is a backref property
report = relationship('Report', backref='post', ... | bb007f6a2c0563d9fb908fae98b0e950af936810 | uchan/lib/models/post.py | uchan/lib/models/post.py | Python |
<|file_sep|>original/github/user.go
package github
type User struct {
Id int `json:"id"`
Login string `json:"login"`
}
<|file_sep|>current/github/user.go
package github
type User struct {
Id int `json:"id"`
Login string `json:"login"`
}
<|file_sep|>updated/github/user.go | package github
type User struct {
ID int `json:"id"`
Login string `json:"login"`
} | <|file_sep|>original/github/user.go
package github
type User struct {
Id int `json:"id"`
Login string `json:"login"`
}
<|file_sep|>current/github/user.go
package github
type User struct {
Id int `json:"id"`
Login string `json:"login"`
}
<|file_sep|>updated/github/user.go
package github
type User stru... | 993224ed2c05c8589d07f201bfe509d42913e6f2 | github/user.go | github/user.go | Go |
<|file_sep|>original/client/views/readouts/transmission_delay_readout.jsx
import ListeningView from "../listening_view.js";
class TransmissionDelayReadout extends ListeningView {
componentDidMount() {
super.componentDidMount();
window.setInterval(() => {this.forceUpdate();}, 1000);
}
render() {
con... | import ListeningView from "../listening_view.js";
class TransmissionDelayReadout extends ListeningView {
componentDidMount() {
super.componentDidMount();
window.setInterval(() => {this.forceUpdate();}, 1000);
}
render() {
const unixTime = this.state.data ? this.state.data.t : 0;
const time = Mo... | <|file_sep|>original/client/views/readouts/transmission_delay_readout.jsx
import ListeningView from "../listening_view.js";
class TransmissionDelayReadout extends ListeningView {
componentDidMount() {
super.componentDidMount();
window.setInterval(() => {this.forceUpdate();}, 1000);
}
render() {
con... | b3770692f961a0799829d53b6313cde80f9dadc3 | client/views/readouts/transmission_delay_readout.jsx | client/views/readouts/transmission_delay_readout.jsx | JSX |
<|file_sep|>.travis.yml.diff
original:
updated:
sudo: required
dist: trusty
<|file_sep|>.travis.yml.diff
original:
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
updated:
<|file_sep|>original/.travis.yml
---
language: node_js
node_js:
- 4.2
addons:
apt:
sources:
... | ---
sudo: required
dist: trusty
language: node_js
node_js:
- 4.2
before_install:
- npm install -g npm | <|file_sep|>.travis.yml.diff
original:
updated:
sudo: required
dist: trusty
<|file_sep|>.travis.yml.diff
original:
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
updated:
<|file_sep|>original/.travis.yml
---
language: node_js
node_js:
- 4.2
addons:
apt:
sources:
... | c5a75048f0820bbd8fc6fed5c657bdc0a3eebfe3 | .travis.yml | .travis.yml | YAML |
<|file_sep|>README.md.diff
original:
updated:
## Settings
Motion UI's settings are stored in six Sass variables. Refer to the Motion UI documentation to see what each one does.
```scss
$motion-ui-classes: ();
$motion-ui-states: ();
$motion-ui-speeds: ();
$motion-ui-delays: ();
$motion-ui-easings: ();
$motion-ui-set... | ```css
.slideIn.mui-enter { }
.slideIn.mui-enter.mui-enter-active { }
```
To modify the structure of the transition classes, change the `$motion-ui-classes` variable.
## Animations
Animations are for one-off bits of flair, like making an image shake or a series of elements animate in. Our preset animations can be co... | <|file_sep|>README.md.diff
original:
updated:
## Settings
Motion UI's settings are stored in six Sass variables. Refer to the Motion UI documentation to see what each one does.
```scss
$motion-ui-classes: ();
$motion-ui-states: ();
$motion-ui-speeds: ();
$motion-ui-delays: ();
$motion-ui-easings: ();
$motion-ui-set... | 3efe6d3598a6df2902173508f36f2c3f729206c9 | README.md | README.md | Markdown |
<|file_sep|>pousse-cafe-pulsar/pom.xml.diff
original:
<pulsar.version>2.3.1</pulsar.version>
updated:
<pulsar.version>2.3.2</pulsar.version>
<|file_sep|>original/pousse-cafe-pulsar/pom.xml
<artifactId>pousse-cafe-pulsar</artifactId>
<name>Pousse-Café - Pulsar</name>
<properties>
<pulsar.version>2.3.1... | <name>Pousse-Café - Pulsar</name>
<properties>
<pulsar.version>2.3.2</pulsar.version>
</properties>
<dependencies>
<dependency>
<groupId>org.pousse-cafe-framework</groupId>
<artifactId>pousse-cafe-jackson</artifactId>
<version>${project.version}</version>
</dependency>
<depe... | <|file_sep|>pousse-cafe-pulsar/pom.xml.diff
original:
<pulsar.version>2.3.1</pulsar.version>
updated:
<pulsar.version>2.3.2</pulsar.version>
<|file_sep|>original/pousse-cafe-pulsar/pom.xml
<artifactId>pousse-cafe-pulsar</artifactId>
<name>Pousse-Café - Pulsar</name>
<properties>
<pulsar.version>2.3.1... | 2e817b6502ceadbf9eeead8e221ceefd9990c7f7 | pousse-cafe-pulsar/pom.xml | pousse-cafe-pulsar/pom.xml | XML |
<|file_sep|>original/modules/fsi/doc/config.yml
type: MooseDocs.base.MaterializeRenderer
Extensions:
MooseDocs.extensions.navigation:
name: fsi
repo: https://github.com/idaholab/moose
home: /modules/fsi/index.md
MooseDocs.extensions.appsyntax:
executable: ${MOOSE_DIR}/modules... | unregister:
framework: !include framework/doc/unregister.yml
includes:
- framework/include
- modules/fsi/include
- modules/tensor_mechanics/include
MooseDocs.extensions.common:
shortcuts: !include framework/doc/globals.yml
MooseDocs.extensi... | <|file_sep|>original/modules/fsi/doc/config.yml
type: MooseDocs.base.MaterializeRenderer
Extensions:
MooseDocs.extensions.navigation:
name: fsi
repo: https://github.com/idaholab/moose
home: /modules/fsi/index.md
MooseDocs.extensions.appsyntax:
executable: ${MOOSE_DIR}/modules... | 5e18d2e501773c901aa76e0c17cea49d31305a42 | modules/fsi/doc/config.yml | modules/fsi/doc/config.yml | YAML |
<|file_sep|>original/.github/workflows/Project.yml
name: Assign project to all issues and pull requests
on:
issues:
types: [opened]
pull_request:
branches: '*'
types: [opened]
jobs:
automate-project-columns:
runs-on: ubuntu-latest
steps:
- uses: alex-page/github-project-automation-plus... | name: Assign project to all issues and pull requests
on:
issues:
types: [opened]
pull_request:
branches: '*'
types: [opened]
jobs:
automate-project-columns:
runs-on: ubuntu-latest
steps:
- uses: alex-page/github-project-automation-plus@v0.1.2
with:
project: Stencila R... | <|file_sep|>original/.github/workflows/Project.yml
name: Assign project to all issues and pull requests
on:
issues:
types: [opened]
pull_request:
branches: '*'
types: [opened]
jobs:
automate-project-columns:
runs-on: ubuntu-latest
steps:
- uses: alex-page/github-project-automation-plus... | 4a9a074b8aee20d60f75aad248307c86546d16c4 | .github/workflows/Project.yml | .github/workflows/Project.yml | YAML |
<|file_sep|>original/src/test/pass/match_nested.ly
<|file_sep|>current/src/test/pass/match_nested.ly
<|file_sep|>updated/src/test/pass/match_nested.ly | enum class Option[A] {
Some(A),
None
}
Option[Option[integer]] opt = Some(Some(10))
match opt: {
case Some(s):
match s: {
case Some(s2):
case None:
print("Failed.\n")
}
case None:
print("Failed.\n")
} | <|file_sep|>original/src/test/pass/match_nested.ly
<|file_sep|>current/src/test/pass/match_nested.ly
<|file_sep|>updated/src/test/pass/match_nested.ly
enum class Option[A] {
Some(A),
None
}
Option[Option[integer]] opt = Some(Some(10))
match opt: {
case Some(s):
match s: {
case Some(s... | a2bee59a452f96c2f7fc5f143fa17d177f38baea | src/test/pass/match_nested.ly | src/test/pass/match_nested.ly | LilyPond |
<|file_sep|>original/index.php
<?php include('plugin/page_declaration.php');?>
<title>PAT Locker</title>
</head>
<body>
<div style="width:950px; margin: 0 auto;">
<h1 class="Titillium">PAT Locker:</h1>
<h2 class="Titillium">A resource for Portable Appliance Test personnel and appliance owners:</h2>
<a href="... | <?php include('plugin/page_declaration.php');?>
<title>PAT Locker</title>
</head>
<body>
<div style="width:950px; margin: 0 auto;">
<h1 class="Titillium">PAT Locker:</h1>
<h2 class="Titillium">An open source implementation resource for Portable Appliance Test personnel and appliance owners:</h2>
<a href="ch... | <|file_sep|>original/index.php
<?php include('plugin/page_declaration.php');?>
<title>PAT Locker</title>
</head>
<body>
<div style="width:950px; margin: 0 auto;">
<h1 class="Titillium">PAT Locker:</h1>
<h2 class="Titillium">A resource for Portable Appliance Test personnel and appliance owners:</h2>
<a href="... | 4fbea373c9f4d16da4c1fe77ff779714dce6c31c | index.php | index.php | PHP |
<|file_sep|>original/view/zf2-entity-audit/index/viewdetail.phtml
<?= $value->format("r"); ?>
<?php else : ?>
<?= $value; ?>
<?php endif; ?>
</td>
</tr>
... | <?= $value->format("r"); ?>
<?php else : ?>
<?= $value; ?>
<?php endif; ?>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</t... | <|file_sep|>original/view/zf2-entity-audit/index/viewdetail.phtml
<?= $value->format("r"); ?>
<?php else : ?>
<?= $value; ?>
<?php endif; ?>
</td>
</tr>
... | d8f129a58a8fc0d6a561df213744ed691124c1fe | view/zf2-entity-audit/index/viewdetail.phtml | view/zf2-entity-audit/index/viewdetail.phtml | HTML+PHP |
<|file_sep|>original/makesymlinks.sh
#!/bin/bash
######################
# Creates symlinks from the home directory to the specified files
######################
dir=~/dotfiles
files="bashrc fzf gitconfig js lldbinit oh-my-zsh tmuxinator urlview vimrc zshrc"
####
cd $dir
for file in $files; do
ln -s $dir/$file ~/... | #!/bin/bash
######################
# Creates symlinks from the home directory to the specified files
######################
dir=~/dotfiles
files="bashrc fzf gitconfig js lldbinit oh-my-zsh tmux.conf tmuxinator urlview vimrc
xvimrc zshrc"
####
cd $dir
for file in $files; do
ln -s $dir/$file ~/.$file
done
| <|file_sep|>original/makesymlinks.sh
#!/bin/bash
######################
# Creates symlinks from the home directory to the specified files
######################
dir=~/dotfiles
files="bashrc fzf gitconfig js lldbinit oh-my-zsh tmuxinator urlview vimrc zshrc"
####
cd $dir
for file in $files; do
ln -s $dir/$file ~/... | 82faa0d7464908b33da49ac6d3e5016506db58dd | makesymlinks.sh | makesymlinks.sh | Shell |
<|file_sep|>interactive/source.sh.diff
original:
export TERM=xterm-256color
export PATH=$HOME/bin:$PATH
module color util
updated:
export TERM=${TERM:-xterm-256color}
export PATH="${HOME}"/bin:"${PATH}"
module color util datetime
<|file_sep|>interactive/source.sh.diff
original:
export EDITOR... | # Ensure The One True Editor
export EDITOR=$(which vim)
set -o vi
# interactive shell options
shopt -s dirspell
# start SSH agent, if it's not already running
export SSH_ENV="${HOME}"/.ssh/environment
if [ -f "${SSH_ENV}" ]; then
. "${SSH_ENV}" > /dev/null
ps -ef | grep... | <|file_sep|>interactive/source.sh.diff
original:
export TERM=xterm-256color
export PATH=$HOME/bin:$PATH
module color util
updated:
export TERM=${TERM:-xterm-256color}
export PATH="${HOME}"/bin:"${PATH}"
module color util datetime
<|file_sep|>interactive/source.sh.diff
original:
export EDITOR... | 718f0fdc315040ca6f0eef9bf40d58dd791bfab9 | interactive/source.sh | interactive/source.sh | Shell |
<|file_sep|>server.js.diff
original:
var inject_pipe = require('./inject-pipe.js');
updated:
var inject_piper = require('./inject-piper.js');
<|file_sep|>original/server.js
app.get('/', function (req, res) { //主页
console.log("[SERVER][GET] /");
res.sendHtml('index.html');
});
app.get('/pipe', function (req, re... | app.get('/', function (req, res) { //主页
console.log("[SERVER][GET] /");
res.sendHtml('index.html');
});
app.get('/pipe', function (req, res) { //pipe
console.log("[SERVER][GET] /pipe");
var params = url.parse(req.url,true).query;
if (params.length>0){
console.log(params);
var href =... | <|file_sep|>server.js.diff
original:
var inject_pipe = require('./inject-pipe.js');
updated:
var inject_piper = require('./inject-piper.js');
<|file_sep|>original/server.js
app.get('/', function (req, res) { //主页
console.log("[SERVER][GET] /");
res.sendHtml('index.html');
});
app.get('/pipe', function (req, re... | 7a95e0e019d30775933440add700b8a2822828cb | server.js | server.js | JavaScript |
<|file_sep|>original/lib/minitest/context.rb
#
# @param [Symbol] name
# The name of the context to define.
#
# @param [Proc] block
# Evaluated in a subclass of MiniTest::Spec through {MiniTest::Spec.inherit_context}.
#
# @raise [ArgumentError]
# Raises an ArgumentError if b... | #
# @param [Symbol] name
# The name of the context to define.
#
# @param [Proc] block
# Evaluated in a subclass of MiniTest::Spec through {MiniTest::Spec.inherit_context}.
#
# @raise [ArgumentError]
# Raises an ArgumentError if block is missing.
#
# @return [void]
... | <|file_sep|>original/lib/minitest/context.rb
#
# @param [Symbol] name
# The name of the context to define.
#
# @param [Proc] block
# Evaluated in a subclass of MiniTest::Spec through {MiniTest::Spec.inherit_context}.
#
# @raise [ArgumentError]
# Raises an ArgumentError if b... | 5a4828a498523b0b9af41f6774a1e79750d411be | lib/minitest/context.rb | lib/minitest/context.rb | Ruby |
<|file_sep|>test/Transforms/LoopStrengthReduce/quadradic-exit-value.ll.diff
original:
; RUN: llvm-as < %s | opt -analyze -iv-users -disable-output | grep {Stride i64 {1,+,2}<loop>:}
updated:
; RUN: llvm-as < %s | opt -analyze -iv-users -disable-output | grep {Stride i64 {3,+,2}<loop>:}
<|file_sep|>original/test/Transfo... | ; RUN: llvm-as < %s | opt -analyze -iv-users -disable-output | grep {Stride i64 {3,+,2}<loop>:}
; The value of %r is dependent on a polynomial iteration expression.
define i64 @foo(i64 %n) {
entry:
br label %loop
loop:
%indvar = phi i64 [ 0, %entry ], [ %indvar.next, %loop ]
%indvar.next = add i64 %indvar, 1
... | <|file_sep|>test/Transforms/LoopStrengthReduce/quadradic-exit-value.ll.diff
original:
; RUN: llvm-as < %s | opt -analyze -iv-users -disable-output | grep {Stride i64 {1,+,2}<loop>:}
updated:
; RUN: llvm-as < %s | opt -analyze -iv-users -disable-output | grep {Stride i64 {3,+,2}<loop>:}
<|file_sep|>original/test/Transfo... | 97b52b2a88dc86bd0e79a9417a9a11b6971df789 | test/Transforms/LoopStrengthReduce/quadradic-exit-value.ll | test/Transforms/LoopStrengthReduce/quadradic-exit-value.ll | LLVM |
<|file_sep|>original/Casks/logic.rb
cask :v1 => 'logic' do
version '1.1.34'
sha256 'a30535480c38d88c023d5fe83dc53f8e97aa20f3b98fc5c6ecf08bf2ffc50eaf'
url "http://downloads.saleae.com/betas/#{version}/Logic-#{version}-Darwin.dmg"
name 'Logic'
homepage 'http://www.saleae.com/'
license :commercial
app 'Log... | cask :v1 => 'logic' do
version '1.1.34'
sha256 'a30535480c38d88c023d5fe83dc53f8e97aa20f3b98fc5c6ecf08bf2ffc50eaf'
url "http://downloads.saleae.com/betas/#{version}/Logic-#{version}-Darwin.dmg"
name 'Logic'
homepage 'https://www.saleae.com/'
license :commercial
app 'Logic.app'
end | <|file_sep|>original/Casks/logic.rb
cask :v1 => 'logic' do
version '1.1.34'
sha256 'a30535480c38d88c023d5fe83dc53f8e97aa20f3b98fc5c6ecf08bf2ffc50eaf'
url "http://downloads.saleae.com/betas/#{version}/Logic-#{version}-Darwin.dmg"
name 'Logic'
homepage 'http://www.saleae.com/'
license :commercial
app 'Log... | 6a97c553c4bedb29c225d60b4a07ceb316a4b651 | Casks/logic.rb | Casks/logic.rb | Ruby |
<|file_sep|>original/src/applications/differential/storage/DifferentialReviewer.php
self::CONFIG_COLUMN_SCHEMA => array(
'reviewerStatus' => 'text64',
'lastActionDiffPHID' => 'phid?',
'lastCommentDiffPHID' => 'phid?',
),
self::CONFIG_KEY_SCHEMA => array(
'key_revision' ... | self::CONFIG_COLUMN_SCHEMA => array(
'reviewerStatus' => 'text64',
'lastActionDiffPHID' => 'phid?',
'lastCommentDiffPHID' => 'phid?',
),
self::CONFIG_KEY_SCHEMA => array(
'key_revision' => array(
'columns' => array('revisionPHID', 'reviewerPHID'),
'u... | <|file_sep|>original/src/applications/differential/storage/DifferentialReviewer.php
self::CONFIG_COLUMN_SCHEMA => array(
'reviewerStatus' => 'text64',
'lastActionDiffPHID' => 'phid?',
'lastCommentDiffPHID' => 'phid?',
),
self::CONFIG_KEY_SCHEMA => array(
'key_revision' ... | 3e7b63aa736a2a75940ee28fe3579eacc8e55c64 | src/applications/differential/storage/DifferentialReviewer.php | src/applications/differential/storage/DifferentialReviewer.php | PHP |
<|file_sep|>.travis.yml.diff
original:
updated:
- mysql -e 'create database youhighfiveme;'
- mysql -e 'create user "youhighfiveme"@"localhost" identified by "secret";'
<|file_sep|>original/.travis.yml
- "5.4"
- "5.3"
services: mysql
before_script:
- cp app/config/parameters.yml-dist app/config/parameters.... | - "5.4"
- "5.3"
services: mysql
before_script:
- cp app/config/parameters.yml-dist app/config/parameters.yml
- mysql -e 'create database youhighfiveme;'
- mysql -e 'create user "youhighfiveme"@"localhost" identified by "secret";'
- composer install
- pear install pear/PHP_CodeSniffer
- phpenv rehash
... | <|file_sep|>.travis.yml.diff
original:
updated:
- mysql -e 'create database youhighfiveme;'
- mysql -e 'create user "youhighfiveme"@"localhost" identified by "secret";'
<|file_sep|>original/.travis.yml
- "5.4"
- "5.3"
services: mysql
before_script:
- cp app/config/parameters.yml-dist app/config/parameters.... | 3378fe1dc13903cee2abd7883c7f363e8a76f58d | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/app/helpers/budget_investments_helper.rb
module BudgetInvestmentsHelper
def budget_investments_sorting_options
Budget::Investment::SORTING_OPTIONS.map { |so| [t("admin.budget_investments.index.sort_by.#{so}"), so] }
end
def budget_investments_advanced_filters(params)
params.map { |af... | module BudgetInvestmentsHelper
def budget_investments_sorting_options
Budget::Investment::SORTING_OPTIONS.map do |so|
[t("admin.budget_investments.index.sort_by.#{so}"), so]
end
end
def budget_investments_advanced_filters(params)
params.map { |af| t("admin.budget_investments.index.filters.#{af}... | <|file_sep|>original/app/helpers/budget_investments_helper.rb
module BudgetInvestmentsHelper
def budget_investments_sorting_options
Budget::Investment::SORTING_OPTIONS.map { |so| [t("admin.budget_investments.index.sort_by.#{so}"), so] }
end
def budget_investments_advanced_filters(params)
params.map { |af... | d8f60481b682810f89f41e0c22c33bb2a7096f32 | app/helpers/budget_investments_helper.rb | app/helpers/budget_investments_helper.rb | Ruby |
<|file_sep|>original/lib/braid.rb
def self.local_cache_dir
File.expand_path(ENV["BRAID_LOCAL_CACHE_DIR"] || "#{ENV["HOME"]}/.braid/cache")
end
class BraidError < StandardError
def message
value = super
value if value != self.class.name
end
end
end
require dirname + '/core_ext'
require ... |
class BraidError < StandardError
def message
value = super
value if value != self.class.name
end
end
end
require dirname + '/core_ext'
require 'braid/operations'
require 'braid/mirror'
require 'braid/config'
require 'braid/command'
require 'braid/commands/add'
require 'braid/commands/diff'
req... | <|file_sep|>original/lib/braid.rb
def self.local_cache_dir
File.expand_path(ENV["BRAID_LOCAL_CACHE_DIR"] || "#{ENV["HOME"]}/.braid/cache")
end
class BraidError < StandardError
def message
value = super
value if value != self.class.name
end
end
end
require dirname + '/core_ext'
require ... | 49126c22f06ba67f9f5ffb41de9ad56304c081b8 | lib/braid.rb | lib/braid.rb | Ruby |
<|file_sep|>capistrano-jenkins.gemspec.diff
original:
s.version = "0.1.3"
updated:
s.version = "0.1.4"
<|file_sep|>original/capistrano-jenkins.gemspec
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = "capistrano-jenkins"
s.version = "0.1.3"
s.authors = ["Martin Jonsson"]... | # -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = "capistrano-jenkins"
s.version = "0.1.4"
s.authors = ["Martin Jonsson"]
s.email = ["martin.jonsson@gmail.com"]
s.homepage = "http://github.com/martinj/capistrano-jenkins"
s.summary = "Capistrano Jenkins recipe"
s.... | <|file_sep|>capistrano-jenkins.gemspec.diff
original:
s.version = "0.1.3"
updated:
s.version = "0.1.4"
<|file_sep|>original/capistrano-jenkins.gemspec
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = "capistrano-jenkins"
s.version = "0.1.3"
s.authors = ["Martin Jonsson"]... | 4058efd06b100ed5dca9b035bdb0441d17a2be87 | capistrano-jenkins.gemspec | capistrano-jenkins.gemspec | Ruby |
<|file_sep|>original/composer.json
"license": "BSD-3-Clause",
"authors": [
{
"name": "Cartalyst LLC",
"email": "help@cartalyst.com",
"homepage": "https://cartalyst.com"
}
],
"require": {
"php": ">=5.5.9",
"cartalyst/collections": "~1.0"... | "license": "BSD-3-Clause",
"authors": [
{
"name": "Cartalyst LLC",
"email": "help@cartalyst.com",
"homepage": "https://cartalyst.com"
}
],
"require": {
"php": ">=5.5.9",
"guzzlehttp/guzzle": "~6.0"
},
"require-dev": {
"m... | <|file_sep|>original/composer.json
"license": "BSD-3-Clause",
"authors": [
{
"name": "Cartalyst LLC",
"email": "help@cartalyst.com",
"homepage": "https://cartalyst.com"
}
],
"require": {
"php": ">=5.5.9",
"cartalyst/collections": "~1.0"... | b2870ab11649bc869579260842271a663fe231b7 | composer.json | composer.json | JSON |
<|file_sep|>Cargo.toml.diff
original:
updated:
# Watch feature
notify = { version = "~2.4.1", optional = true }
time = { version = "~0.1.33", optional = true }
crossbeam = { version = "~0.2.8", optional = true }
<|file_sep|>original/Cargo.toml
# Watch feature
[dependencies.notify]
notify = "^2.4.1"
optional = true
[... | # Watch feature
notify = { version = "~2.4.1", optional = true }
time = { version = "~0.1.33", optional = true }
crossbeam = { version = "~0.2.8", optional = true }
# Tests
[dev-dependencies]
tempdir = "~0.3.4"
[features]
default = ["output", "watch"]
debug = []
output = []
regenerate-css = []
watch = ["notify", "t... | <|file_sep|>Cargo.toml.diff
original:
updated:
# Watch feature
notify = { version = "~2.4.1", optional = true }
time = { version = "~0.1.33", optional = true }
crossbeam = { version = "~0.2.8", optional = true }
<|file_sep|>original/Cargo.toml
# Watch feature
[dependencies.notify]
notify = "^2.4.1"
optional = true
[... | 39a6fe4b3cc9d93fad5967f7e1439520a8ab85ef | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>original/doc/users/index.rst
============
.. htmlonly::
:Release: |version|
:Date: |today|
.. toctree::
:maxdepth: 2
introduction
installation
tutorial.rst
../faq/index
../glossary
.. htmlonly::
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
<|file_sep|>current/doc/... | User Guide
============
.. htmlonly::
:Release: |version|
:Date: |today|
.. toctree::
:maxdepth: 2
introduction
installation
tutorial.rst
../glossary
.. htmlonly::
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search` | <|file_sep|>original/doc/users/index.rst
============
.. htmlonly::
:Release: |version|
:Date: |today|
.. toctree::
:maxdepth: 2
introduction
installation
tutorial.rst
../faq/index
../glossary
.. htmlonly::
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
<|file_sep|>current/doc/... | cb94077600f7c737531ed1ad97c5fdd2a0bd884e | doc/users/index.rst | doc/users/index.rst | reStructuredText |
<|file_sep|>tools/make/lib/benchmark/fortran.mk.diff
original:
updated:
FORTRAN_COMPILER="$(FC)" \
<|file_sep|>original/tools/make/lib/benchmark/fortran.mk
$(MAKE) run || exit 1; \
done
.PHONY: benchmark-fortran
# Run Fortran benchmarks.
#
# This target runs a specified list of Fortran benchmarks in sequential... | done
.PHONY: benchmark-fortran
# Run Fortran benchmarks.
#
# This target runs a specified list of Fortran benchmarks in sequential order.
benchmark-fortran-files:
$(QUIET) for file in $(FILES); do \
echo ""; \
echo "Running benchmark: $$file"; \
cd `dirname $$file` && \
$(MAKE) clean && \
$(MAKE) && \
... | <|file_sep|>tools/make/lib/benchmark/fortran.mk.diff
original:
updated:
FORTRAN_COMPILER="$(FC)" \
<|file_sep|>original/tools/make/lib/benchmark/fortran.mk
$(MAKE) run || exit 1; \
done
.PHONY: benchmark-fortran
# Run Fortran benchmarks.
#
# This target runs a specified list of Fortran benchmarks in sequential... | 86010789e3eb600ed4f33e36f2b1b0d624b1f2d4 | tools/make/lib/benchmark/fortran.mk | tools/make/lib/benchmark/fortran.mk | Makefile |
<|file_sep|>presto-docs/src/main/sphinx/release/release-0.123.rst.diff
original:
updated:
* Fix exception when using the ``ResultSet`` returned from the
``DatabaseMetaData.getColumns`` method in the JDBC driver.
<|file_sep|>original/presto-docs/src/main/sphinx/release/release-0.123.rst
* Remove ``node-scheduler.loc... | =============
General Changes
---------------
* Remove ``node-scheduler.location-aware-scheduling-enabled`` config.
* Fixed query failures that occur when the ``optimizer.optimize-hash-generation``
config is disabled.
* Fix exception when using the ``ResultSet`` returned from the
``DatabaseMetaData.getColumns`` m... | <|file_sep|>presto-docs/src/main/sphinx/release/release-0.123.rst.diff
original:
updated:
* Fix exception when using the ``ResultSet`` returned from the
``DatabaseMetaData.getColumns`` method in the JDBC driver.
<|file_sep|>original/presto-docs/src/main/sphinx/release/release-0.123.rst
* Remove ``node-scheduler.loc... | 52d98f2bc01355261b8b4b1ba03fb2638c886f04 | presto-docs/src/main/sphinx/release/release-0.123.rst | presto-docs/src/main/sphinx/release/release-0.123.rst | reStructuredText |
<|file_sep|>original/clearwater.gemspec
Gem::Specification.new do |spec|
spec.name = "clearwater"
spec.version = Clearwater::VERSION
spec.authors = ["Jamie Gaskins"]
spec.email = ["jgaskins@gmail.com"]
spec.summary = %q{Front-end web framework built on Opal}
spec.descripti... | Gem::Specification.new do |spec|
spec.name = "clearwater"
spec.version = Clearwater::VERSION
spec.authors = ["Jamie Gaskins"]
spec.email = ["jgaskins@gmail.com"]
spec.summary = %q{Front-end web framework built on Opal}
spec.description = %q{Front-end web framework built ... | <|file_sep|>original/clearwater.gemspec
Gem::Specification.new do |spec|
spec.name = "clearwater"
spec.version = Clearwater::VERSION
spec.authors = ["Jamie Gaskins"]
spec.email = ["jgaskins@gmail.com"]
spec.summary = %q{Front-end web framework built on Opal}
spec.descripti... | 8bc53e942d58fce45a7a6e7a661109b7b0325893 | clearwater.gemspec | clearwater.gemspec | Ruby |
<|file_sep|>original/ember-cli-build.js
/*jshint node:true*/
/* global require, module */
var EmberAddon = require('ember-cli/lib/broccoli/ember-addon');
var StripTestSelectorsTransform = require('./strip-test-selectors');
module.exports = function(defaults) {
var app = new EmberAddon(defaults, {
// Add options ... | /*jshint node:true*/
/* global require, module */
var EmberAddon = require('ember-cli/lib/broccoli/ember-addon');
var StripTestSelectorsTransform = require('./strip-test-selectors');
module.exports = function(defaults) {
var app = new EmberAddon(defaults, {
'ember-test-selectors': {
environments: ['test']
... | <|file_sep|>original/ember-cli-build.js
/*jshint node:true*/
/* global require, module */
var EmberAddon = require('ember-cli/lib/broccoli/ember-addon');
var StripTestSelectorsTransform = require('./strip-test-selectors');
module.exports = function(defaults) {
var app = new EmberAddon(defaults, {
// Add options ... | 995c155439b8ddf7b1704be764260fb9a5d5c62a | ember-cli-build.js | ember-cli-build.js | JavaScript |
<|file_sep|>original/shell/misc/convert-old-documents.sh
<|file_sep|>current/shell/misc/convert-old-documents.sh
<|file_sep|>updated/shell/misc/convert-old-documents.sh | #!/bin/bash
if ps -ef | grep [s]office -q; then
echo "Warning: LibreOffice is open and document conversion may fail"
fi
declare -A extensions
extensions=(
# MS Word document
["doc"]="odt"
# MS Works database
["wdb"]="ods"
# MS Works document
["wps"]="odt"
# MS Write document
["wri... | <|file_sep|>original/shell/misc/convert-old-documents.sh
<|file_sep|>current/shell/misc/convert-old-documents.sh
<|file_sep|>updated/shell/misc/convert-old-documents.sh
#!/bin/bash
if ps -ef | grep [s]office -q; then
echo "Warning: LibreOffice is open and document conversion may fail"
fi
declare -A extensions
... | 2385df1898716dfc311d2ee521559c87cc0e5910 | shell/misc/convert-old-documents.sh | shell/misc/convert-old-documents.sh | Shell |
<|file_sep|>original/src/trusted/validator_ragel/validator-x86_64-selector.c
<|file_sep|>current/src/trusted/validator_ragel/validator-x86_64-selector.c
<|file_sep|>updated/src/trusted/validator_ragel/validator-x86_64-selector.c | /*
* Copyright (c) 2012 The Native Client Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/*
* This file exist for one purpose one: to pick fast, goto driven FSM in
* validator-x86_64.c or slower table driven FSM in validator-... | <|file_sep|>original/src/trusted/validator_ragel/validator-x86_64-selector.c
<|file_sep|>current/src/trusted/validator_ragel/validator-x86_64-selector.c
<|file_sep|>updated/src/trusted/validator_ragel/validator-x86_64-selector.c
/*
* Copyright (c) 2012 The Native Client Authors. All rights reserved.
* Use of this s... | 1796bc43feadcdd5221607f40234a481d7bc7ca4 | src/trusted/validator_ragel/validator-x86_64-selector.c | src/trusted/validator_ragel/validator-x86_64-selector.c | C |
<|file_sep|>original/tests/test_frontend.py
<|file_sep|>current/tests/test_frontend.py
<|file_sep|>updated/tests/test_frontend.py | # -*- coding: utf-8 -*-
#
# This file is part of pypuppetdbquery.
# Copyright © 2016 Chris Boot <bootc@bootc.net>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.or... | <|file_sep|>original/tests/test_frontend.py
<|file_sep|>current/tests/test_frontend.py
<|file_sep|>updated/tests/test_frontend.py
# -*- coding: utf-8 -*-
#
# This file is part of pypuppetdbquery.
# Copyright © 2016 Chris Boot <bootc@bootc.net>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you... | 980cf50a2bf6c42cbd689c1b7e1abcadd45f0f1e | tests/test_frontend.py | tests/test_frontend.py | Python |
<|file_sep|>original/host/restack.sh
#!/bin/bash
set -eux
set -o pipefail
if [[ $USER != "stack" ]]; then
echo "Must be run as stack user.";
exit 1;
fi
sudo virsh destroy instack || true;
sudo virsh undefine instack || true;
virsh destroy instack || true;
virsh undefine instack || true;
export NODE_DIST=centos7;
... | #!/bin/bash
set -eux
set -o pipefail
if [[ $USER != "stack" ]]; then
echo "Must be run as stack user.";
exit 1;
fi
sudo virsh destroy instack || true;
sudo virsh undefine instack || true;
virsh destroy instack || true;
virsh undefine instack || true;
export NODE_DIST=centos7;
export NODE_CPU=1;
export NODE_MEM=40... | <|file_sep|>original/host/restack.sh
#!/bin/bash
set -eux
set -o pipefail
if [[ $USER != "stack" ]]; then
echo "Must be run as stack user.";
exit 1;
fi
sudo virsh destroy instack || true;
sudo virsh undefine instack || true;
virsh destroy instack || true;
virsh undefine instack || true;
export NODE_DIST=centos7;
... | a99fda2772bdf0a788d2e4b9d91c8d0f97a77061 | host/restack.sh | host/restack.sh | Shell |
<|file_sep|>original/src/url.rs
// Copyright:: Copyright (c) 2015-2016 The Habitat Maintainers
//
// The terms of the Evaluation Agreement (Habitat) between Chef Software Inc.
// and the party accessing this file ("Licensee") apply to Licensee's use of
// the Software until such time that the Software is made available... | // Copyright:: Copyright (c) 2015-2016 The Habitat Maintainers
//
// The terms of the Evaluation Agreement (Habitat) between Chef Software Inc.
// and the party accessing this file ("Licensee") apply to Licensee's use of
// the Software until such time that the Software is made available under an
// open source license... | <|file_sep|>original/src/url.rs
// Copyright:: Copyright (c) 2015-2016 The Habitat Maintainers
//
// The terms of the Evaluation Agreement (Habitat) between Chef Software Inc.
// and the party accessing this file ("Licensee") apply to Licensee's use of
// the Software until such time that the Software is made available... | 6c835311bd3cbdfca8254d7654ec67328bfbf9a5 | src/url.rs | src/url.rs | Rust |
<|file_sep|>original/_config.yml
# Dependencies
markdown: redcarpet
pygments: true
# Permalinks
permalink: pretty
# Setup
title: Yan Qi
tagline: ' Brave New World '
description: 'A personal website'
url: http://yan-qi.github.io
baseurl: '/'
paginat... | # Dependencies
markdown: redcarpet
pygments: true
# Permalinks
permalink: pretty
# Setup
title: Yan Qi
tagline: ' Brave New World '
description: 'Brave New World'
url: http://yan-qi.github.io
baseurl: '/'
paginate: 5
# Custom vars
version:... | <|file_sep|>original/_config.yml
# Dependencies
markdown: redcarpet
pygments: true
# Permalinks
permalink: pretty
# Setup
title: Yan Qi
tagline: ' Brave New World '
description: 'A personal website'
url: http://yan-qi.github.io
baseurl: '/'
paginat... | 6d0977a38f2ae23d6c9839d3a597991bafab77b6 | _config.yml | _config.yml | YAML |
<|file_sep|>.travis.yml.diff
original:
updated:
- Pharo-7.0
<|file_sep|>original/.travis.yml
language: smalltalk
sudo: false
# Select operating system(s)
os:
#- linux
- osx
# Select compatible Smalltalk image(s)
smalltalk:
- Pharo-6.0
- Pharo-5.0
<|file_sep|>current/.travis.yml
language: smalltalk
sudo: fa... | language: smalltalk
sudo: false
# Select operating system(s)
os:
#- linux
- osx
# Select compatible Smalltalk image(s)
smalltalk:
- Pharo-7.0
- Pharo-6.0 | <|file_sep|>.travis.yml.diff
original:
updated:
- Pharo-7.0
<|file_sep|>original/.travis.yml
language: smalltalk
sudo: false
# Select operating system(s)
os:
#- linux
- osx
# Select compatible Smalltalk image(s)
smalltalk:
- Pharo-6.0
- Pharo-5.0
<|file_sep|>current/.travis.yml
language: smalltalk
sudo: fa... | b4c9b1512acfdd765178563a4d6ce236ca0426d1 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/app/views/member_groups/index.html.erb
<% provide(:title, 'Member Groups') %>
<% provide(:jumbotron_class, 'about') %>
<%= render 'layouts/jumbotron' %>
<div class="container-content">
<div class="container">
<% @member_groups.each do |member_group| %>
<div class="row member-group-row... | <% provide(:title, 'Member Groups') %>
<% provide(:jumbotron_class, 'about') %>
<%= render 'layouts/jumbotron' %>
<div class="container-content">
<div class="container">
<% @member_groups.each do |member_group| %>
<div class="row member-group-row">
<div class="col-xs-12 col-sm-5">
<%= im... | <|file_sep|>original/app/views/member_groups/index.html.erb
<% provide(:title, 'Member Groups') %>
<% provide(:jumbotron_class, 'about') %>
<%= render 'layouts/jumbotron' %>
<div class="container-content">
<div class="container">
<% @member_groups.each do |member_group| %>
<div class="row member-group-row... | 7b609a625f2e4be685708915f765a49a22544e6c | app/views/member_groups/index.html.erb | app/views/member_groups/index.html.erb | HTML+ERB |
<|file_sep|>original/requirements/base.txt
bcrypt==3.1.4
django-capture-tag==1.0
html5lib==1.0.1
requests==2.18.4
wagtail==1.13.1
XlsxWriter==1.0.2
zeep==2.5.0
# Inherited a4-core requirements
bleach==2.1.2
Django==1.11.8 # pyup: <2.0
django-allauth==0.34.0
django-autoslug==1.9.3
django-background-tasks==1.1.12
django... | bcrypt==3.1.4
django-capture-tag==1.0
html5lib==1.0.1
requests==2.18.4
wagtail==1.13.1
XlsxWriter==1.0.2
zeep==2.5.0
# Inherited a4-core requirements
bleach==2.1.2
Django==1.11.9 # pyup: <2.0
django-allauth==0.34.0
django-autoslug==1.9.3
django-background-tasks==1.1.12
django-ckeditor==5.4.0
django-filter==1.1.0
djang... | <|file_sep|>original/requirements/base.txt
bcrypt==3.1.4
django-capture-tag==1.0
html5lib==1.0.1
requests==2.18.4
wagtail==1.13.1
XlsxWriter==1.0.2
zeep==2.5.0
# Inherited a4-core requirements
bleach==2.1.2
Django==1.11.8 # pyup: <2.0
django-allauth==0.34.0
django-autoslug==1.9.3
django-background-tasks==1.1.12
django... | f73186156b9a7f41e3c549349d8d137a14cfb0de | requirements/base.txt | requirements/base.txt | Text |
<|file_sep|>original/getsrcs.sh
#!/bin/sh
# This is useful because it prints out all of the source files. Useful for
# greps.
find . -name \*.\[cdhyl\]\* | grep -v Lexer.cpp | grep -v llvmAsmParser.cpp | grep -v llvmAsmParser.h | grep -v '~$' | grep -v '\.ll$' | grep -v test | grep -v .flc | grep -v Sparc.burm.c | gre... | #!/bin/sh
# This is useful because it prints out all of the source files. Useful for
# greps.
find docs include lib tools -name \*.\[cdhyl\]\* | grep -v Lexer.cpp | grep -v llvmAsmParser.cpp | grep -v llvmAsmParser.h | grep -v '~$' | grep -v '\.ll$' | grep -v .flc | grep -v Sparc.burm.c | grep -v '\.d$' | grep -v '\.d... | <|file_sep|>original/getsrcs.sh
#!/bin/sh
# This is useful because it prints out all of the source files. Useful for
# greps.
find . -name \*.\[cdhyl\]\* | grep -v Lexer.cpp | grep -v llvmAsmParser.cpp | grep -v llvmAsmParser.h | grep -v '~$' | grep -v '\.ll$' | grep -v test | grep -v .flc | grep -v Sparc.burm.c | gre... | 90d42c6d19f95fc26f8360297de35d49900fe5bd | getsrcs.sh | getsrcs.sh | Shell |
<|file_sep|>original/ProjectSettings/TagManager.asset
- Ignore Raycast
-
- Water
- UI
-
-
- Camera1
- Camera2
- Camera3
-
-
-
-
-
-
-
-
-
-
-
-
<|file_sep|>current/ProjectSettings/TagManager.asset
- Ignore Raycast
-
- Water
- UI
-
-
- Camera1
-... | - Ignore Raycast
-
- Water
- UI
-
-
- Camera1
- Camera2
- Camera3
- Camera4
- Camera5
- Camera6
-
-
-
-
-
-
-
-
- | <|file_sep|>original/ProjectSettings/TagManager.asset
- Ignore Raycast
-
- Water
- UI
-
-
- Camera1
- Camera2
- Camera3
-
-
-
-
-
-
-
-
-
-
-
-
<|file_sep|>current/ProjectSettings/TagManager.asset
- Ignore Raycast
-
- Water
- UI
-
-
- Camera1
-... | 54fd51bea5a2e945f7af711e7aa4e600c83fb6a8 | ProjectSettings/TagManager.asset | ProjectSettings/TagManager.asset | Unity3D Asset |
<|file_sep|>package.json.diff
original:
updated:
"canvas-orbit-camera": "0.0.0",
"get-pixels": "^1.1.0",
"gl-buffer": "^2.0.6",
"gl-context": "^0.1.0",
"gl-matrix": "^2.2.1",
"gl-texture2d": "^1.0.1",
"gl-vao": "^1.1.2",
<|file_sep|>package.json.diff
original:
"gl-buffer": "^2.0.6",
... | "vertices",
"uv",
"mesh"
],
"dependencies": {},
"license": "MIT",
"devDependencies": {
"canvas-orbit-camera": "0.0.0",
"get-pixels": "^1.1.0",
"gl-buffer": "^2.0.6",
"gl-context": "^0.1.0",
"gl-matrix": "^2.2.1",
"gl-texture2d": "^1.0.1",
"gl-vao": "^1.1.2",
"glslify"... | <|file_sep|>package.json.diff
original:
updated:
"canvas-orbit-camera": "0.0.0",
"get-pixels": "^1.1.0",
"gl-buffer": "^2.0.6",
"gl-context": "^0.1.0",
"gl-matrix": "^2.2.1",
"gl-texture2d": "^1.0.1",
"gl-vao": "^1.1.2",
<|file_sep|>package.json.diff
original:
"gl-buffer": "^2.0.6",
... | 4c86d572d793a988a85c4f8322de3d9c9714eaac | package.json | package.json | JSON |
<|file_sep|>packages/pr/predicate-transformers.yaml.diff
original:
hash: a779fb0ef62d210db4033c952dd5b9262b0f51961693d538d440f98ee98e5e72
updated:
hash: c961dd68c5962d38f2e10587e6c4596e0b0819a2b71c7130959e28e4492039c8
<|file_sep|>original/packages/pr/predicate-transformers.yaml
maintainer: edmundnoble@gmail.com
synopsi... | maintainer: edmundnoble@gmail.com
synopsis: A library for writing predicates and transformations over predicates in
Haskell
changelog: |
# Revision history for predicate-transformers
## 0.1.0.0 -- 2019-10-05
* First version. Released on an unsuspecting world.
basic-deps:
base: ^>=4.13 || (<4.13 && >=4.11)
... | <|file_sep|>packages/pr/predicate-transformers.yaml.diff
original:
hash: a779fb0ef62d210db4033c952dd5b9262b0f51961693d538d440f98ee98e5e72
updated:
hash: c961dd68c5962d38f2e10587e6c4596e0b0819a2b71c7130959e28e4492039c8
<|file_sep|>original/packages/pr/predicate-transformers.yaml
maintainer: edmundnoble@gmail.com
synopsi... | c16b8eb083af440eb280533745c678c309eb3541 | packages/pr/predicate-transformers.yaml | packages/pr/predicate-transformers.yaml | YAML |
<|file_sep|>hw/ip/sysrst_ctrl/dv/env/seq_lib/sysrst_ctrl_smoke_vseq.sv.diff
original:
@(posedge cfg.vif.clk_i)
updated:
cfg.clk_aon_rst_vif.wait_clks(1);
<|file_sep|>original/hw/ip/sysrst_ctrl/dv/env/seq_lib/sysrst_ctrl_smoke_vseq.sv
constraint num_trans_c {num_trans == 20;}
task body();
`uvm_info(... |
task body();
`uvm_info(`gfn, "Starting the body from smoke_seq", UVM_LOW)
repeat (num_trans) begin
// Randomize the input pins
cfg.vif.randomize_input();
// In normal mode sysrst_ctrl should pass the input pins data to output pins as it is
cfg.clk_aon_rst_vif.wait_clks(1);
`DV... | <|file_sep|>hw/ip/sysrst_ctrl/dv/env/seq_lib/sysrst_ctrl_smoke_vseq.sv.diff
original:
@(posedge cfg.vif.clk_i)
updated:
cfg.clk_aon_rst_vif.wait_clks(1);
<|file_sep|>original/hw/ip/sysrst_ctrl/dv/env/seq_lib/sysrst_ctrl_smoke_vseq.sv
constraint num_trans_c {num_trans == 20;}
task body();
`uvm_info(... | 2ef90f6b02a312a32a9afd93c2c7ae68cb869fde | hw/ip/sysrst_ctrl/dv/env/seq_lib/sysrst_ctrl_smoke_vseq.sv | hw/ip/sysrst_ctrl/dv/env/seq_lib/sysrst_ctrl_smoke_vseq.sv | SystemVerilog |
<|file_sep|>README.md.diff
original:
Elkarte is a modified version of the SMF forum software that is released under a open source compatible BSD license.
updated:
Elkarte is a modified version of the SMF forum software.
<|file_sep|>original/README.md
This is the **Elkarte** development repository.
Elkarte is a modifi... |
Elkarte is a modified version of the SMF forum software.
The software is licensed under [BSD 3-clause license](http://www.opensource.org/licenses/BSD-3-Clause).
Contributions to documentation are licensed under [CC-by-SA 3](http://creativecommons.org/licenses/by-sa/3.0). Third party libraries or sets of images, are... | <|file_sep|>README.md.diff
original:
Elkarte is a modified version of the SMF forum software that is released under a open source compatible BSD license.
updated:
Elkarte is a modified version of the SMF forum software.
<|file_sep|>original/README.md
This is the **Elkarte** development repository.
Elkarte is a modifi... | 078c247d83587bf82360f13aae78500dc7928b94 | README.md | README.md | Markdown |
<|file_sep|>original/tests/library/CM/Db/Query/CountTest.php
<?php
class CM_Db_Query_CountTest extends CMTest_TestCase {
public function testAll() {
$query = new CM_Db_Query_Count('t`est', array('foo' => 'foo1', 'bar' => 'bar1'));
$this->assertSame('SELECT COUNT(*) FROM `t``est` WHERE `foo` = ? AND `bar` = ?', $... | <?php
class CM_Db_Query_CountTest extends CMTest_TestCase {
public function testAll() {
$query = new CM_Db_Query_Count('t`est', array('foo' => 'foo1', 'bar' => 'bar1'));
$this->assertSame('SELECT COUNT(*) FROM `t``est` WHERE `foo` = ? AND `bar` = ?', $query->getSqlTemplate());
$this->assertEquals(array('foo1',... | <|file_sep|>original/tests/library/CM/Db/Query/CountTest.php
<?php
class CM_Db_Query_CountTest extends CMTest_TestCase {
public function testAll() {
$query = new CM_Db_Query_Count('t`est', array('foo' => 'foo1', 'bar' => 'bar1'));
$this->assertSame('SELECT COUNT(*) FROM `t``est` WHERE `foo` = ? AND `bar` = ?', $... | 92cc4993285b434e0cc7ba783c111626af813bf6 | tests/library/CM/Db/Query/CountTest.php | tests/library/CM/Db/Query/CountTest.php | PHP |
<|file_sep|>original/lib/image-editor-status-view.coffee
@image = image
if @filePath and @image
@attach()
@subscribe atom.workspaceView, 'pane-container:active-pane-item-changed', =>
editor = atom.workspaceView.getActivePaneItem()
if editor instanceof ImageEditor and @filePath is ed... | if @filePath and @image
@attach()
@subscribe atom.workspaceView, 'pane-container:active-pane-item-changed', =>
editor = atom.workspaceView.getActivePaneItem()
if editor instanceof ImageEditor and @filePath is editor.filePath
@imageSizeStatus.parent().show()
else
... | <|file_sep|>original/lib/image-editor-status-view.coffee
@image = image
if @filePath and @image
@attach()
@subscribe atom.workspaceView, 'pane-container:active-pane-item-changed', =>
editor = atom.workspaceView.getActivePaneItem()
if editor instanceof ImageEditor and @filePath is ed... | bd1e1104a07c80884475cfff3cb9a272366176df | lib/image-editor-status-view.coffee | lib/image-editor-status-view.coffee | CoffeeScript |
<|file_sep|>original/src/SharedAssemblyInfo.cs
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyProduct("Aggregates.NET")]
[assembly: AssemblyDescription(".NET event sourced domain driven design model via NServiceBus and EventStore")]
[assembly: AssemblyCopyright("Copyright © Charles... | using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyProduct("Aggregates.NET")]
[assembly: AssemblyDescription(".NET event sourced domain driven design model via NServiceBus and EventStore")]
[assembly: AssemblyCopyright("Copyright © Charles Solar 2017")]
[assembly: AssemblyVersion("0.13... | <|file_sep|>original/src/SharedAssemblyInfo.cs
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyProduct("Aggregates.NET")]
[assembly: AssemblyDescription(".NET event sourced domain driven design model via NServiceBus and EventStore")]
[assembly: AssemblyCopyright("Copyright © Charles... | f51894c850ef89db4eafe25f8e76819e86c0e767 | src/SharedAssemblyInfo.cs | src/SharedAssemblyInfo.cs | C# |
<|file_sep|>original/requirements-dev.txt
-r requirements.txt
coverage==4.5.1
Faker==0.8.15
flake8==3.5.0
mccabe==0.6.1
py==1.5.3
pycodestyle==2.3.1
pyflakes==2.0.0
pytest==3.6.0
pytest-cov==2.5.1
pytest-django==3.2.1
freezegun==0.3.10
pytest-freezegun==0.2.0
model-mommy==1.6.0
text_unidecode==1.2
pytest-mock==1.10.0
<... | -r requirements.txt
coverage==4.5.1
Faker==0.8.15
flake8==3.5.0
mccabe==0.6.1
py==1.5.3
pycodestyle==2.4.0
pyflakes==2.0.0
pytest==3.6.0
pytest-cov==2.5.1
pytest-django==3.2.1
freezegun==0.3.10
pytest-freezegun==0.2.0
model-mommy==1.6.0
text_unidecode==1.2
pytest-mock==1.10.0 | <|file_sep|>original/requirements-dev.txt
-r requirements.txt
coverage==4.5.1
Faker==0.8.15
flake8==3.5.0
mccabe==0.6.1
py==1.5.3
pycodestyle==2.3.1
pyflakes==2.0.0
pytest==3.6.0
pytest-cov==2.5.1
pytest-django==3.2.1
freezegun==0.3.10
pytest-freezegun==0.2.0
model-mommy==1.6.0
text_unidecode==1.2
pytest-mock==1.10.0
<... | 9d295fd5abc9af8da31e09a91124411cf40aaa67 | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/package.json
{
"name": "tsmediator",
"version": "0.0.5",
"description": "Tiny flexible mediator implemented in TypeScript",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"scripts": {
"lint": "tslint -t stylish './src/**/*.ts'",
"test": "mocha",
"build": "cd ./src &&... | {
"name": "tsmediator",
"version": "0.0.6",
"description": "Tiny flexible mediator implemented in TypeScript",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"scripts": {
"lint": "tslint -t stylish './src/**/*.ts'",
"test": "mocha",
"build": "cd ./src && tsc"
},
"repository": {
"... | <|file_sep|>original/package.json
{
"name": "tsmediator",
"version": "0.0.5",
"description": "Tiny flexible mediator implemented in TypeScript",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"scripts": {
"lint": "tslint -t stylish './src/**/*.ts'",
"test": "mocha",
"build": "cd ./src &&... | 9e0372fcdd9aeff8abffaf677c0eda5523e9bb15 | package.json | package.json | JSON |
<|file_sep|>original/test/tools/gold/X86/module_asm.ll
; RUN: llvm-as %s -o %t.o
; RUN: %gold -shared -m elf_x86_64 -o %t2 -plugin %llvmshlibdir/LLVMgold.so %t.o
; RUN: nm %t2 | FileCheck %s
; CHECK: PrepareAndDispatch
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gn... | ; RUN: llvm-as %s -o %t.o
; RUN: %gold -shared -m elf_x86_64 -o %t2 -plugin %llvmshlibdir/LLVMgold.so %t.o
; RUN: llvm-nm %t2 | FileCheck %s
; CHECK: PrepareAndDispatch
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
module asm "call PrepareAndDispatch@plt"
modul... | <|file_sep|>original/test/tools/gold/X86/module_asm.ll
; RUN: llvm-as %s -o %t.o
; RUN: %gold -shared -m elf_x86_64 -o %t2 -plugin %llvmshlibdir/LLVMgold.so %t.o
; RUN: nm %t2 | FileCheck %s
; CHECK: PrepareAndDispatch
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gn... | 87a22220188a3f2cfe84f157ebd3a4d2220fb3ea | test/tools/gold/X86/module_asm.ll | test/tools/gold/X86/module_asm.ll | LLVM |
<|file_sep|>load_discussions.py.diff
original:
from datetime import datetime
updated:
<|file_sep|>load_discussions.py.diff
original:
updated:
import sys
<|file_sep|>load_discussions.py.diff
original:
parser.add_argument('identifiers', type=str, nargs='+',
updated:
parser.add_argument('identifiers', type=str, ... | if not m:
print("Failed processing: " + identifier)
continue
(latitude, longitude) = m.group(1, 2)
marker = DiscussionMarker.parse({
'latitude': latitude,
'longitude': longitude,
'title': identifier,
'identifier': identifier... | <|file_sep|>load_discussions.py.diff
original:
from datetime import datetime
updated:
<|file_sep|>load_discussions.py.diff
original:
updated:
import sys
<|file_sep|>load_discussions.py.diff
original:
parser.add_argument('identifiers', type=str, nargs='+',
updated:
parser.add_argument('identifiers', type=str, ... | 6c02e42db82b0dfa808ac904c79ce00ed1a0f549 | load_discussions.py | load_discussions.py | Python |
<|file_sep|>original/has_cycle.cpp
<|file_sep|>current/has_cycle.cpp
<|file_sep|>updated/has_cycle.cpp | #include<iostream>
#include<cstdio>
#include<cstdlib>
using namespace std;
struct Node
{
int data;
Node* next;
};
int HasCycle(Node* head)
{
Node* slow = head;
Node* fast = head;
while (fast != NULL && fast->next != NULL) {
slow = slow->next;
fast = fast->next->next;
if (slow == fa... | <|file_sep|>original/has_cycle.cpp
<|file_sep|>current/has_cycle.cpp
<|file_sep|>updated/has_cycle.cpp
#include<iostream>
#include<cstdio>
#include<cstdlib>
using namespace std;
struct Node
{
int data;
Node* next;
};
int HasCycle(Node* head)
{
Node* slow = head;
Node* fast = head;
while (fast != NULL &&... | 8b2d77dc174dfe3fe75ef6708b21203d90668db4 | has_cycle.cpp | has_cycle.cpp | C++ |
<|file_sep|>original/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
tox==2.9.1
coverage==4.4.1
Sphinx==1.6.5
cryptography==2.1.1
PyYAML==3.12
pytest==3.2.3
pytz==2017.2
<|file_sep|>current/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
fl... | pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
tox==2.9.1
coverage==4.4.1
Sphinx==1.6.5
cryptography==2.1.3
PyYAML==3.12
pytest==3.2.3
pytz==2017.2 | <|file_sep|>original/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
tox==2.9.1
coverage==4.4.1
Sphinx==1.6.5
cryptography==2.1.1
PyYAML==3.12
pytest==3.2.3
pytz==2017.2
<|file_sep|>current/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
fl... | aa36790fda8ad4295104d74418c462c48f34fd6e | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/database/migrations/2016_06_08_162241_create_contact_notes_table.php
Schema::create('contact_notes', function (Blueprint $table) {
$table->increments('id');
$table->longText('note');
$table->integer('contact_id')->unsigned();
$table->foreign(... | Schema::create('contact_notes', function (Blueprint $table) {
$table->increments('id');
$table->longText('note');
$table->integer('contact_id')->unsigned();
$table->foreign('contact_id')->references('id')->on('contacts')->onDelete('cascade');
$table->... | <|file_sep|>original/database/migrations/2016_06_08_162241_create_contact_notes_table.php
Schema::create('contact_notes', function (Blueprint $table) {
$table->increments('id');
$table->longText('note');
$table->integer('contact_id')->unsigned();
$table->foreign(... | 5cde531e48fc98346e0c7e7f2024053d8e32447e | database/migrations/2016_06_08_162241_create_contact_notes_table.php | database/migrations/2016_06_08_162241_create_contact_notes_table.php | PHP |
<|file_sep|>original/README.md
### Serilog.Sinks.AzureTableStorage
[](https://ci.appveyor.com/project/serilog/serilog-sinks-azuretablestorage/branch/master)
Writes to a table in [Windows Azure Table Storage](http://www... | ### Serilog.Sinks.AzureTableStorage
[](https://ci.appveyor.com/project/serilog/serilog-sinks-azuretablestorage/branch/master)
Writes to a table in [Windows Azure Table Storage](https://azure.microsoft.com/en-us/documen... | <|file_sep|>original/README.md
### Serilog.Sinks.AzureTableStorage
[](https://ci.appveyor.com/project/serilog/serilog-sinks-azuretablestorage/branch/master)
Writes to a table in [Windows Azure Table Storage](http://www... | 8c4810648a603af79bcf403c08967645812a6269 | README.md | README.md | Markdown |
<|file_sep|>original/addons/events/package.json
"repository": {
"type": "git",
"url": "git@github.com:storybooks/storybook.git"
},
"scripts": {
"build-storybook": "build-storybook",
"prepare": "node ../../scripts/prepare.js",
"storybook": "start-storybook -p 6006"
},
"dependencies": {
... | "repository": {
"type": "git",
"url": "git@github.com:storybooks/storybook.git"
},
"scripts": {
"build-storybook": "build-storybook",
"prepare": "node ../../scripts/prepare.js",
"storybook": "start-storybook -p 6006"
},
"dependencies": {
"@storybook/addons": "4.0.0-alpha.2",
"babel... | <|file_sep|>original/addons/events/package.json
"repository": {
"type": "git",
"url": "git@github.com:storybooks/storybook.git"
},
"scripts": {
"build-storybook": "build-storybook",
"prepare": "node ../../scripts/prepare.js",
"storybook": "start-storybook -p 6006"
},
"dependencies": {
... | 0ef28b961fbf17513a307eab5eefad7d8ac9ab72 | addons/events/package.json | addons/events/package.json | JSON |
<|file_sep|>original/.github/workflows/CCL-test.yml
<|file_sep|>current/.github/workflows/CCL-test.yml
<|file_sep|>updated/.github/workflows/CCL-test.yml | # @file CCL-test.yml
---
name: CCL-Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Download ccl
run: |
curl -o ccl.tar.gz --location 'https://github.com/Clozure/ccl/releases/download/v1.12/ccl-1.12... | <|file_sep|>original/.github/workflows/CCL-test.yml
<|file_sep|>current/.github/workflows/CCL-test.yml
<|file_sep|>updated/.github/workflows/CCL-test.yml
# @file CCL-test.yml
---
name: CCL-Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
... | f42ee264f2f7c5572fb53673e538455dbac20ff7 | .github/workflows/CCL-test.yml | .github/workflows/CCL-test.yml | YAML |
<|file_sep|>original/bulk_camera_data/bulkloader.yaml
- property: name
external_name: name
- property: url
external_name: url
- property: geolocation
external_name: geo
- property: width
external_name: width
import_transform: int
- property: height
external_n... | - property: url
external_name: url
- property: geolocation
external_name: geo
- property: width
external_name: width
import_transform: int
- property: height
external_name: height
import_transform: int
- property: is_online
external_name: online
im... | <|file_sep|>original/bulk_camera_data/bulkloader.yaml
- property: name
external_name: name
- property: url
external_name: url
- property: geolocation
external_name: geo
- property: width
external_name: width
import_transform: int
- property: height
external_n... | d7789098b2f96a98eeac6c940b2e285f4f0078a3 | bulk_camera_data/bulkloader.yaml | bulk_camera_data/bulkloader.yaml | YAML |
<|file_sep|>original/README.rst
The code is an adaptation of the profiler plugin integrated in `spyder <https://code.google.com/p/spyderlib/>`_.
Install instructions
--------------------
Put the files ``p_lineprofiler.py`` and ``widgets/lineprofilergui.py`` in the directory ``spyderplugins/`` from the spyder install... |
The code is an adaptation of the profiler plugin integrated in `spyder <https://code.google.com/p/spyderlib/>`_.
Install instructions
--------------------
Put the files ``p_lineprofiler.py`` and ``widgets/lineprofilergui.py`` in the directory ``spyderplugins/`` from the spyder installation.
For example on Linux thi... | <|file_sep|>original/README.rst
The code is an adaptation of the profiler plugin integrated in `spyder <https://code.google.com/p/spyderlib/>`_.
Install instructions
--------------------
Put the files ``p_lineprofiler.py`` and ``widgets/lineprofilergui.py`` in the directory ``spyderplugins/`` from the spyder install... | 78a61d8c131e2abb53936f11b3f5df002c73ae09 | README.rst | README.rst | reStructuredText |
<|file_sep|>original/jupyter_notebook_config.py
<|file_sep|>current/jupyter_notebook_config.py
<|file_sep|>updated/jupyter_notebook_config.py | # Configuration file for Jupyter-notebook.
# https://github.com/jupyter/docker-demo-images/blob/master/resources/jupyter_notebook_config.partial.py
c = get_config()
c.NotebookApp.ip = '*'
c.NotebookApp.open_browser = False
c.NotebookApp.port = 8888 #9999
# Whether to trust or not X-Scheme/X-Forwarded-Proto and X-Real... | <|file_sep|>original/jupyter_notebook_config.py
<|file_sep|>current/jupyter_notebook_config.py
<|file_sep|>updated/jupyter_notebook_config.py
# Configuration file for Jupyter-notebook.
# https://github.com/jupyter/docker-demo-images/blob/master/resources/jupyter_notebook_config.partial.py
c = get_config()
c.Notebook... | 7afa271a1e8513fa78300f5aee10f4e7b63df293 | jupyter_notebook_config.py | jupyter_notebook_config.py | Python |
<|file_sep|>original/src/Schema/Response/Channel.php
use JMS\Serializer\Annotation\Type;
class Channel {
/**
* @Type("string")
*/
public $channel_id;
/**
* @Type("MssPhp\Schema\Response\OfferDescription")
*/
public $offer_description;
/**
* @Type("MssPhp\Schema\Response\... |
use JMS\Serializer\Annotation\Type;
class Channel {
/**
* @Type("string")
*/
public $channel_id;
/**
* @Type("integer")
*/
public $offer_id;
/**
* @Type("MssPhp\Schema\Response\OfferDescription")
*/
public $offer_description;
/**
* @Type("MssPhp\Schema... | <|file_sep|>original/src/Schema/Response/Channel.php
use JMS\Serializer\Annotation\Type;
class Channel {
/**
* @Type("string")
*/
public $channel_id;
/**
* @Type("MssPhp\Schema\Response\OfferDescription")
*/
public $offer_description;
/**
* @Type("MssPhp\Schema\Response\... | 8fa458a0eedacb47ea416f1957e7100a925af443 | src/Schema/Response/Channel.php | src/Schema/Response/Channel.php | PHP |
<|file_sep|>lib/main.coffee.diff
original:
updated:
BracketMatcherView = null
BracketMatcher = null
<|file_sep|>lib/main.coffee.diff
original:
BracketMatcherView = require './bracket-matcher-view'
updated:
BracketMatcherView ?= require './bracket-matcher-view'
<|file_sep|>original/lib/main.coffee
module.... | module.exports =
config:
autocompleteBrackets:
type: 'boolean'
default: true
autocompleteSmartQuotes:
type: 'boolean'
default: true
wrapSelectionsInBrackets:
type: 'boolean'
default: true
activate: ->
atom.workspace.observeTextEditors (editor) ->
editorElem... | <|file_sep|>lib/main.coffee.diff
original:
updated:
BracketMatcherView = null
BracketMatcher = null
<|file_sep|>lib/main.coffee.diff
original:
BracketMatcherView = require './bracket-matcher-view'
updated:
BracketMatcherView ?= require './bracket-matcher-view'
<|file_sep|>original/lib/main.coffee
module.... | 7733c133666c8719dc4528c8cb6fef8e15ec61e5 | lib/main.coffee | lib/main.coffee | CoffeeScript |
<|file_sep|>original/app/views/layouts/_messages.html.haml
- flash.each do |name, msg|
- if msg.is_a?(String)
%div{:class => "alert alert-#{name == :notice ? "success" : "danger"}"}
%a.close{"data-dismiss" => "alert", "aria-hidden" => true} ×
= content_tag :div, msg, :id => "flash_#{name}"
<|file_sep|... | - flash.each do |name, msg|
- if msg.is_a?(String) and msg.present?
.alert.alert-dismissable{class: "alert-#{name == :notice ? "success" : "danger"}"}
%button.close{'data-dismiss' => 'alert', 'aria-hidden' => true} ×
= content_tag :div, msg, :id => "flash_#{name}" | <|file_sep|>original/app/views/layouts/_messages.html.haml
- flash.each do |name, msg|
- if msg.is_a?(String)
%div{:class => "alert alert-#{name == :notice ? "success" : "danger"}"}
%a.close{"data-dismiss" => "alert", "aria-hidden" => true} ×
= content_tag :div, msg, :id => "flash_#{name}"
<|file_sep|... | dc26df7bdfb9c4a594b8d520a3484bbb1d2cfaf5 | app/views/layouts/_messages.html.haml | app/views/layouts/_messages.html.haml | Haml |
<|file_sep|>original/requirements.txt
pymongo == 3.3.0
redis == 2.10.5
redis-dump-load == 0.4.0
Ghost.py == 0.2.3
requests == 2.10.0
cassandra_driver == 3.5.0
CouchDB == 1.0.1
couchpy == 0.2dev
scapy == 2.3.2
shodan==1.5.5
starbase == 0.3.3
termcolor == 1.1.0
pcapy == 0.10.10
dnet == 1.12
<|file_sep|>current/requiremen... | pymongo == 3.3.0
redis == 2.10.5
redis-dump-load == 0.4.0
Ghost.py == 0.2.3
requests == 2.10.0
cassandra-driver==3.6.0
CouchDB == 1.0.1
couchpy == 0.2dev
scapy == 2.3.2
shodan==1.5.5
starbase == 0.3.3
termcolor == 1.1.0
pcapy == 0.10.10
dnet == 1.12 | <|file_sep|>original/requirements.txt
pymongo == 3.3.0
redis == 2.10.5
redis-dump-load == 0.4.0
Ghost.py == 0.2.3
requests == 2.10.0
cassandra_driver == 3.5.0
CouchDB == 1.0.1
couchpy == 0.2dev
scapy == 2.3.2
shodan==1.5.5
starbase == 0.3.3
termcolor == 1.1.0
pcapy == 0.10.10
dnet == 1.12
<|file_sep|>current/requiremen... | bfcdfc3662e6c7bb0da87a39bcbec50dc393c479 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/.travis.yml
language: python
sudo: false
dist: trusty
python:
- '2.7'
- '3.6'
- '3.7'
- '3.8'
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- source $HOME/miniconda/etc/profile.d/conda.... | language: python
sudo: false
dist: bionic
python:
- '2.7'
- '3.6'
- '3.7'
- '3.8'
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- source $HOME/miniconda/etc/profile.d/conda.sh
- echo $TRAVIS_PYTHON_VERSION
... | <|file_sep|>original/.travis.yml
language: python
sudo: false
dist: trusty
python:
- '2.7'
- '3.6'
- '3.7'
- '3.8'
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- source $HOME/miniconda/etc/profile.d/conda.... | 20631cda1b5d9ebfcbc03ee78bfa7234bdae0fe6 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements.txt
fonttools==3.4.0
cu2qu==1.1.1
glyphsLib==1.2.0
ufo2ft==0.3.1
MutatorMath==2.0.0
defcon==0.2.0
booleanOperations==0.6.4
<|file_sep|>current/requirements.txt
fonttools==3.4.0
cu2qu==1.1.1
glyphsLib==1.2.0
ufo2ft==0.3.1
MutatorMath==2.0.0
defcon==0.2.0
booleanOperations==0.6.4
<|file_... | fonttools==3.4.0
cu2qu==1.1.1
glyphsLib==1.2.0
ufo2ft==0.3.1
MutatorMath==2.0.0
defcon==0.2.1
booleanOperations==0.6.4 | <|file_sep|>original/requirements.txt
fonttools==3.4.0
cu2qu==1.1.1
glyphsLib==1.2.0
ufo2ft==0.3.1
MutatorMath==2.0.0
defcon==0.2.0
booleanOperations==0.6.4
<|file_sep|>current/requirements.txt
fonttools==3.4.0
cu2qu==1.1.1
glyphsLib==1.2.0
ufo2ft==0.3.1
MutatorMath==2.0.0
defcon==0.2.0
booleanOperations==0.6.4
<|file_... | d5f83ffca1959d9af08dd7fdb735bd9b082ddc94 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/.travis.yml
language: c
script: bash -ex .travis-ci.sh
os:
- linux
- osx
env:
- OCAML_VERSION=4.00.1
- OCAML_VERSION=4.01.0
- OCAML_VERSION=4.02.3 COVERAGE=true
matrix:
exclude:
- os: osx
env: OCAML_VERSION=4.00.1
<|file_sep|>current/.travis.yml
language: c
script: bash -ex .t... | language: c
sudo: required
services:
- docker
script: bash -ex .travis-ci.sh
os:
- linux
- osx
env:
- OCAML_VERSION=4.00.1
- OCAML_VERSION=4.01.0
- OCAML_VERSION=4.02.3 COVERAGE=true
matrix:
exclude:
- os: osx
env: OCAML_VERSION=4.00.1 | <|file_sep|>original/.travis.yml
language: c
script: bash -ex .travis-ci.sh
os:
- linux
- osx
env:
- OCAML_VERSION=4.00.1
- OCAML_VERSION=4.01.0
- OCAML_VERSION=4.02.3 COVERAGE=true
matrix:
exclude:
- os: osx
env: OCAML_VERSION=4.00.1
<|file_sep|>current/.travis.yml
language: c
script: bash -ex .t... | 8312e1084c885d688c08d198da0b3894137cb21f | .travis.yml | .travis.yml | YAML |
<|file_sep|>CMakeLists.txt.diff
original:
updated:
cmake_minimum_required(VERSION 2.8.9)
<|file_sep|>CMakeLists.txt.diff
original:
set( CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH} )
updated:
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
<|file_sep|>CMakeList... | cmake_minimum_required(VERSION 2.8.9)
project(ITKIOOpenSlide)
set(ITKIOOpenSlide_LIBRARIES ITKIOOpenSlide)
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
find_package( OpenSlide REQUIRED )
if(NOT OPENSLIDE_FOUND)
message(FATAL_ERROR "Please specify OPENSLIDE_LIBRARY and OPENSLIDE_INCLU... | <|file_sep|>CMakeLists.txt.diff
original:
updated:
cmake_minimum_required(VERSION 2.8.9)
<|file_sep|>CMakeLists.txt.diff
original:
set( CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH} )
updated:
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
<|file_sep|>CMakeList... | e6fa631bdd12a9917187b25122001e40f45117f4 | CMakeLists.txt | CMakeLists.txt | Text |
<|file_sep|>original/tests/helpers/test_net.py
<|file_sep|>current/tests/helpers/test_net.py
<|file_sep|>updated/tests/helpers/test_net.py | import unittest
from pycroft.helpers import net
class IpRegexTestCase(unittest.TestCase):
def test_ip_regex(self):
regex = net.ip_regex
self.assertTrue(regex.match("141.30.228.39"))
self.assertFalse(regex.match("141.3330.228.39"))
self.assertFalse(regex.match("141.3330.228.39."))
... | <|file_sep|>original/tests/helpers/test_net.py
<|file_sep|>current/tests/helpers/test_net.py
<|file_sep|>updated/tests/helpers/test_net.py
import unittest
from pycroft.helpers import net
class IpRegexTestCase(unittest.TestCase):
def test_ip_regex(self):
regex = net.ip_regex
self.assertTrue(rege... | 29f0f543f93f0f3c9df3bf823f43c616199f8d4f | tests/helpers/test_net.py | tests/helpers/test_net.py | Python |
<|file_sep|>original/tests/Finix/ClientTest.php
use Finix\Http;
use Finix\Http\Auth;
use Finix\Hal;
use Finix\Hal\Client;
use Finix\Hal\Exception;
class ClientTest extends \PHPUnit_Framework_TestCase {
const APIURL = 'https://api-staging.finix.io/';
const PROFILEURL = self::APIURL;
const USERNAME = 'US7AQ... | use Finix\Http;
use Finix\Http\Auth;
use Finix\Hal;
use Finix\Hal\Client;
use Finix\Hal\Exception;
class ClientTest extends \PHPUnit_Framework_TestCase {
const APIURL = 'https://api-staging.finix.io/';
const PROFILEURL = self::APIURL;
const USERNAME = 'USrdogpiqwJFdUFEAqyzBXJu';
const PASSWORD = '45c9... | <|file_sep|>original/tests/Finix/ClientTest.php
use Finix\Http;
use Finix\Http\Auth;
use Finix\Hal;
use Finix\Hal\Client;
use Finix\Hal\Exception;
class ClientTest extends \PHPUnit_Framework_TestCase {
const APIURL = 'https://api-staging.finix.io/';
const PROFILEURL = self::APIURL;
const USERNAME = 'US7AQ... | ea99f2fa01f612a04260b9c7e7b83322c78d15c6 | tests/Finix/ClientTest.php | tests/Finix/ClientTest.php | PHP |
<|file_sep|>original/methane.gemspec
require File.expand_path('../lib/methane/version', __FILE__)
Gem::Specification.new do |gem|
gem.authors = ["Stas SUȘCOV"]
gem.email = ["stas@nerd.ro"]
gem.description = %q{Campfire desktop client}
gem.summary = %q{Because we need a decent open source ... | gem.authors = ["Stas SUȘCOV"]
gem.email = ["stas@nerd.ro"]
gem.description = %q{Campfire desktop client}
gem.summary = %q{Because we need a decent open source Campfire client.}
gem.homepage = "https://github.com/stas/methane"
gem.files = `git ls-files`.split($\)
gem.exe... | <|file_sep|>original/methane.gemspec
require File.expand_path('../lib/methane/version', __FILE__)
Gem::Specification.new do |gem|
gem.authors = ["Stas SUȘCOV"]
gem.email = ["stas@nerd.ro"]
gem.description = %q{Campfire desktop client}
gem.summary = %q{Because we need a decent open source ... | 96f69d9c79b8063666dabc497218ccbf3fb83c7d | methane.gemspec | methane.gemspec | Ruby |
<|file_sep|>lib/generators/cmsimple/install/templates/default.html.erb.diff
original:
<h2 data-mercury='simple'>
updated:
<h2 id='header' data-mercury='simple'>
<|file_sep|>original/lib/generators/cmsimple/install/templates/default.html.erb
<h2 data-mercury='simple'>
<%= render_region :header do -%>
Header
<% end -%>... | <h2 id='header' data-mercury='simple'>
<%= render_region :header do -%>
Header
<% end -%>
</h2>
<section id='content' class="container">
<%= render_region :content, tag: :article do %>
Add content here
<% end %>
</section> | <|file_sep|>lib/generators/cmsimple/install/templates/default.html.erb.diff
original:
<h2 data-mercury='simple'>
updated:
<h2 id='header' data-mercury='simple'>
<|file_sep|>original/lib/generators/cmsimple/install/templates/default.html.erb
<h2 data-mercury='simple'>
<%= render_region :header do -%>
Header
<% end -%>... | 592a0ba9507ecdfb88a7b7eb44d04c46311d056b | lib/generators/cmsimple/install/templates/default.html.erb | lib/generators/cmsimple/install/templates/default.html.erb | HTML+ERB |
<|file_sep|>original/app/services/analytics/index_page.rb
def get_link_changes(params)
results = Services.link_changes_api
.get_link_changes(params)
.to_hash
.deep_symbolize_keys[:link_changes]
results.each do |result|
user = User.find_by_ui... | def get_link_changes(params)
results = Services.link_changes_api
.get_link_changes(params)
.to_hash
.deep_symbolize_keys[:link_changes]
results.each do |result|
user = User.find_by_uid(result[:user_uid])
if user.present?
re... | <|file_sep|>original/app/services/analytics/index_page.rb
def get_link_changes(params)
results = Services.link_changes_api
.get_link_changes(params)
.to_hash
.deep_symbolize_keys[:link_changes]
results.each do |result|
user = User.find_by_ui... | 75c20d6813a6d6c33a4464a5b8d9f12d0a02a4ec | app/services/analytics/index_page.rb | app/services/analytics/index_page.rb | Ruby |
<|file_sep|>original/pkg/analysis_server/lib/src/server/error_notifier.dart
return;
}
var message = 'Internal error';
if (exception is CaughtException && exception.message != null) {
// TODO(mfairhurst): Use the outermost exception once crash reporting is
// fixed and this becomes purely ... | return;
}
var message = 'Internal error';
if (exception is CaughtException && exception.message != null) {
// TODO(mfairhurst): Use the outermost exception once crash reporting is
// fixed and this becomes purely user-facing.
exception = exception.rootCaughtException;
// TODO(... | <|file_sep|>original/pkg/analysis_server/lib/src/server/error_notifier.dart
return;
}
var message = 'Internal error';
if (exception is CaughtException && exception.message != null) {
// TODO(mfairhurst): Use the outermost exception once crash reporting is
// fixed and this becomes purely ... | aa3f7dc4e90c67fb575e806395ba747f49581525 | pkg/analysis_server/lib/src/server/error_notifier.dart | pkg/analysis_server/lib/src/server/error_notifier.dart | Dart |
<|file_sep|>WebSharper.Suave/Main.fs.diff
original:
static member ToWebPart(app, ?RootDirectory: string) =
updated:
static member ToWebPart(app, ?RootDirectory: string, ?BinDirectory: string) =
<|file_sep|>original/WebSharper.Suave/Main.fs
namespace WebSharper.Suave
open global.Owin
open System.Net
open Suave
... | namespace WebSharper.Suave
open global.Owin
open System.Net
open Suave
open Suave.Types
open Suave.Http.Successful
open Suave.Web
open Suave.Owin
open WebSharper.Owin
type WebSharperAdapter =
static member ToWebPart(app, ?RootDirectory: string, ?BinDirectory: string) =
let rootDirectory = defaultArg Root... | <|file_sep|>WebSharper.Suave/Main.fs.diff
original:
static member ToWebPart(app, ?RootDirectory: string) =
updated:
static member ToWebPart(app, ?RootDirectory: string, ?BinDirectory: string) =
<|file_sep|>original/WebSharper.Suave/Main.fs
namespace WebSharper.Suave
open global.Owin
open System.Net
open Suave
... | 33a450f4bf82ab058e8cf9f0c6d82259fd10ea8f | WebSharper.Suave/Main.fs | WebSharper.Suave/Main.fs | F# |
<|file_sep|>original/lib/multi_site/rails/routes.rb
module ActionDispatch::Routing
class Mapper
def multi_site_scope(&block)
scope ':multi_site', :constraints => MultiSiteConstraints.new do
block.call
end
end
end
end
class MultiSiteConstraints
def matches?(request)
Site.exists?(:i... | class Mapper
def multi_site_scope(&block)
scope ':multi_site', :constraints => MultiSiteConstraints.new do
block.call
end
end
end
end
class MultiSiteConstraints
def matches?(request)
#TODO: This is not a definitive solution. Devise principal class is configurable,
#so we can't... | <|file_sep|>original/lib/multi_site/rails/routes.rb
module ActionDispatch::Routing
class Mapper
def multi_site_scope(&block)
scope ':multi_site', :constraints => MultiSiteConstraints.new do
block.call
end
end
end
end
class MultiSiteConstraints
def matches?(request)
Site.exists?(:i... | a2716beddb9393ba6b55ddd7d99b08c93782d7ca | lib/multi_site/rails/routes.rb | lib/multi_site/rails/routes.rb | Ruby |
<|file_sep|>original/views/layout/Header/template.html
<!-- We display these in reverse so that the interfaceIcons
are always on the right, even if the other stuff is hidden -->
<div id="interfaceIcons">
<img id="helpButton" class="headerButton" title="Show information about the interface" src="../../../images/i... | <!-- We display these in reverse so that the interfaceIcons
are always on the right, even if the other stuff is hidden -->
<div id="interfaceIcons">
<img id="helpButton" class="headerButton" title="Show information about the interface" src="../../../images/info.svg" />
<!--img id="achievementsButton" class="he... | <|file_sep|>original/views/layout/Header/template.html
<!-- We display these in reverse so that the interfaceIcons
are always on the right, even if the other stuff is hidden -->
<div id="interfaceIcons">
<img id="helpButton" class="headerButton" title="Show information about the interface" src="../../../images/i... | d9392d3980252f2a730288839f00f961ca91ef61 | views/layout/Header/template.html | views/layout/Header/template.html | HTML |
<|file_sep|>lib/ansible/modules/extras/.travis.yml.diff
original:
updated:
install:
- pip install git+https://github.com/ansible/ansible.git@devel#egg=ansible
- pip install git+https://github.com/sivel/ansible-testing.git#egg=ansible_testing
<|file_sep|>original/lib/ansible/modules/extras/.travis.yml
sudo: false
l... | sudo: false
language: python
python:
- "2.7"
addons:
apt:
sources:
- deadsnakes
packages:
- python2.4
- python2.6
install:
- pip install git+https://github.com/ansible/ansible.git@devel#egg=ansible
- pip install git+https://github.com/sivel/ansible-testing.git#egg=ansible_testing
scrip... | <|file_sep|>lib/ansible/modules/extras/.travis.yml.diff
original:
updated:
install:
- pip install git+https://github.com/ansible/ansible.git@devel#egg=ansible
- pip install git+https://github.com/sivel/ansible-testing.git#egg=ansible_testing
<|file_sep|>original/lib/ansible/modules/extras/.travis.yml
sudo: false
l... | 3992ce127e9b65ae37a05f2841335c5f94929e91 | lib/ansible/modules/extras/.travis.yml | lib/ansible/modules/extras/.travis.yml | YAML |
<|file_sep|>original/Form/ProfileFormType.php
$this->emailOnly = $emailOnly;
}
public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder->remove('current_password');
if ($options['email_only']) {
$builder->remove('username');
}
}
... | $this->emailOnly = $emailOnly;
}
public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder->remove('current_password');
if ($options['email_only']) {
$builder->remove('username');
}
if (method_exists($options['data_class'], 'se... | <|file_sep|>original/Form/ProfileFormType.php
$this->emailOnly = $emailOnly;
}
public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder->remove('current_password');
if ($options['email_only']) {
$builder->remove('username');
}
}
... | 1aed1f1d85575a03707f1ab8b2431e93c7928b7f | Form/ProfileFormType.php | Form/ProfileFormType.php | PHP |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.