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|>flay-haml.gemspec.diff
original:
s.version = '0.0.4'
updated:
s.version = '0.0.5'
<|file_sep|>original/flay-haml.gemspec
$:.push File.expand_path('../lib', __FILE__)
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = 'flay-haml'
s.version = '... | $:.push File.expand_path('../lib', __FILE__)
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = 'flay-haml'
s.version = '0.0.5'
s.authors = ['Eugene Kalenkovich']
s.email = ['rubify@softover.com']
s.homepage = 'https://github.com/kalenkov/flay-ham... | <|file_sep|>flay-haml.gemspec.diff
original:
s.version = '0.0.4'
updated:
s.version = '0.0.5'
<|file_sep|>original/flay-haml.gemspec
$:.push File.expand_path('../lib', __FILE__)
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = 'flay-haml'
s.version = '... | 36e561055531e9e12e702d7b3a5ee59dc4ba8a39 | flay-haml.gemspec | flay-haml.gemspec | Ruby |
<|file_sep|>imgur_cli/utils.py.diff
original:
"""Bind CLI arguments a 'cmd_' format function"""
updated:
"""Bind CLI arguments to a 'cmd_' format function"""
<|file_sep|>original/imgur_cli/utils.py
return _decorator
def add_arg(func, *args, **kwargs):
"""Bind CLI arguments a 'cmd_' format function"""
... | """Bind CLI arguments to a 'cmd_' format function"""
if not hasattr(func, 'arguments'):
func.arguments = []
if (args, kwargs) not in func.arguments:
# Because of the semantics of decorator composition if we just append
# to the options list positional options will appear to be backw... | <|file_sep|>imgur_cli/utils.py.diff
original:
"""Bind CLI arguments a 'cmd_' format function"""
updated:
"""Bind CLI arguments to a 'cmd_' format function"""
<|file_sep|>original/imgur_cli/utils.py
return _decorator
def add_arg(func, *args, **kwargs):
"""Bind CLI arguments a 'cmd_' format function"""
... | c4ee061f62e34c70cc67286ed0291423353cbcbe | imgur_cli/utils.py | imgur_cli/utils.py | Python |
<|file_sep|>test/crypto.js.diff
original:
var WebCrypto = require("../").WebCrypto;
const crypto = new WebCrypto(config);
updated:
<|file_sep|>original/test/crypto.js
var check = new Buffer(buf).toString("base64");
assert.notEqual(new Buffer(crypto.getRandomValues(buf)).toStri... | assert.notEqual(new Buffer(crypto.getRandomValues(buf)).toString("base64"), check, "Has no random values");
})
it("get random values with large buffer", () => {
var buf = new Uint8Array(65600);
assert.throws(() => {
crypto.getRandomValues(buf);
}, Error);
})
... | <|file_sep|>test/crypto.js.diff
original:
var WebCrypto = require("../").WebCrypto;
const crypto = new WebCrypto(config);
updated:
<|file_sep|>original/test/crypto.js
var check = new Buffer(buf).toString("base64");
assert.notEqual(new Buffer(crypto.getRandomValues(buf)).toStri... | 0d67458b71a5cbb7127d455bcc993fd1a0b2e969 | test/crypto.js | test/crypto.js | JavaScript |
<|file_sep|>build/platform-x86-common.mk.diff
original:
updated:
endif
<|file_sep|>original/build/platform-x86-common.mk
ASM_INCLUDES = -Icodec/common/x86/
ifeq (, $(ENABLE64BIT))
ifeq ($(ARCH), x86_64)
ENABLE64BIT=Yes
endif
endif
ifeq ($(ENABLE64BIT), Yes)
CFLAGS += $(CFLAGS_M64)
LDFLAGS += $(CFLAGS_M64)
ASMFLAGS_PLA... | ASM_INCLUDES = -Icodec/common/x86/
ifeq (, $(ENABLE64BIT))
ifeq ($(ARCH), x86_64)
ENABLE64BIT=Yes
endif
endif
ifeq ($(ENABLE64BIT), Yes)
CFLAGS += $(CFLAGS_M64)
LDFLAGS += $(CFLAGS_M64)
ASMFLAGS_PLATFORM = -DUNIX64
else
CFLAGS += $(CFLAGS_M32)
LDFLAGS += $(CFLAGS_M32)
ASMFLAGS_PLATFORM = -DX86_32
endif
ifeq ($(USE_ASM)... | <|file_sep|>build/platform-x86-common.mk.diff
original:
updated:
endif
<|file_sep|>original/build/platform-x86-common.mk
ASM_INCLUDES = -Icodec/common/x86/
ifeq (, $(ENABLE64BIT))
ifeq ($(ARCH), x86_64)
ENABLE64BIT=Yes
endif
endif
ifeq ($(ENABLE64BIT), Yes)
CFLAGS += $(CFLAGS_M64)
LDFLAGS += $(CFLAGS_M64)
ASMFLAGS_PLA... | 09025dc8ef3e20403ad2a925287e6b418851f778 | build/platform-x86-common.mk | build/platform-x86-common.mk | Makefile |
<|file_sep|>original/.github/workflows/main.yml
jobs:
run_example_site_tests:
if: github.ref == 'refs/heads/develop'
name: Run Django-Address Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
with:
ref: 'refs/heads/develop'
- name: Se... |
jobs:
run_example_site_tests:
if: github.ref == 'refs/heads/develop'
name: Run Django-Address Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
with:
ref: 'refs/heads/develop'
- name: Set up Python 3.8.5
uses: actions/setup-py... | <|file_sep|>original/.github/workflows/main.yml
jobs:
run_example_site_tests:
if: github.ref == 'refs/heads/develop'
name: Run Django-Address Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
with:
ref: 'refs/heads/develop'
- name: Se... | df18967de50c2f2ccc53a616f7ae9f333726b2d0 | .github/workflows/main.yml | .github/workflows/main.yml | YAML |
<|file_sep|>original/spec/javascripts/support/jasmine_helper.rb
# config.boot_dir = '/absolute/path/to/boot_dir'
# config.boot_files = lambda { ['/absolute/path/to/boot_dir/file.js'] }
#end
#
require "jasmine/runners/selenium"
require 'webdrivers'
# pin chromedriver version to latest compatible found
# see https:/... | # config.boot_dir = '/absolute/path/to/boot_dir'
# config.boot_files = lambda { ['/absolute/path/to/boot_dir/file.js'] }
#end
#
require "jasmine/runners/selenium"
require 'webdrivers'
# pin chromedriver version to latest compatible found
# see https://chromedriver.storage.googleapis.com/index.html
# Webdrivers.log... | <|file_sep|>original/spec/javascripts/support/jasmine_helper.rb
# config.boot_dir = '/absolute/path/to/boot_dir'
# config.boot_files = lambda { ['/absolute/path/to/boot_dir/file.js'] }
#end
#
require "jasmine/runners/selenium"
require 'webdrivers'
# pin chromedriver version to latest compatible found
# see https:/... | 900078bb6b4e7d2699ffccea69f432022c7412cc | spec/javascripts/support/jasmine_helper.rb | spec/javascripts/support/jasmine_helper.rb | Ruby |
<|file_sep|>original/pyproject.toml
<|file_sep|>current/pyproject.toml
<|file_sep|>updated/pyproject.toml | [tool.black]
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
| /skidl/libs/
)
'''
[tool.isort]
multi_line_output=3 | <|file_sep|>original/pyproject.toml
<|file_sep|>current/pyproject.toml
<|file_sep|>updated/pyproject.toml
[tool.black]
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
... | 29f9ac7505f3fe01399cccdb88dfda380331cadd | pyproject.toml | pyproject.toml | TOML |
<|file_sep|>poorman.mk.diff
original:
POORMAN_VERSION := v0.6.2
updated:
POORMAN_REV := v0.6.2
<|file_sep|>original/poorman.mk
__FILE__ := $(lastword $(MAKEFILE_LIST))
DIR := $(dir $(lastword $(MAKEFILE_LIST)))
include $(DIR)/command.mk
include $(DIR)/path.mk
POORMAN_URL := https://github.com/rduplain/poorman.git
POO... | __FILE__ := $(lastword $(MAKEFILE_LIST))
DIR := $(dir $(lastword $(MAKEFILE_LIST)))
include $(DIR)/command.mk
include $(DIR)/path.mk
POORMAN_URL := https://github.com/rduplain/poorman.git
POORMAN_REV := v0.6.2
# Though poorman.mk is functional without reqd.mk,
# it installs to reqd's conventional location.
POORMAN :... | <|file_sep|>poorman.mk.diff
original:
POORMAN_VERSION := v0.6.2
updated:
POORMAN_REV := v0.6.2
<|file_sep|>original/poorman.mk
__FILE__ := $(lastword $(MAKEFILE_LIST))
DIR := $(dir $(lastword $(MAKEFILE_LIST)))
include $(DIR)/command.mk
include $(DIR)/path.mk
POORMAN_URL := https://github.com/rduplain/poorman.git
POO... | c21c42e789a1abe9ba72ae77f1bc88693dd59708 | poorman.mk | poorman.mk | Makefile |
<|file_sep|>original/src/gc_leaf.rs
// This private field has an underscore in the hopes that it is
// less likely to collide with useful features of T.
value_: T,
}
impl<T: Clone + 'static> GcLeaf<T> {
/// Create a new GcLeaf wrapping a given value.
pub fn new(value: T) -> GcLeaf<T> {
GcLe... | // This private field has an underscore in the hopes that it is
// less likely to collide with useful features of T.
value_: T,
}
impl<T: Clone + 'static> GcLeaf<T> {
/// Create a new GcLeaf wrapping a given value.
pub fn new(value: T) -> GcLeaf<T> {
GcLeaf { value_: value }
}
pub ... | <|file_sep|>original/src/gc_leaf.rs
// This private field has an underscore in the hopes that it is
// less likely to collide with useful features of T.
value_: T,
}
impl<T: Clone + 'static> GcLeaf<T> {
/// Create a new GcLeaf wrapping a given value.
pub fn new(value: T) -> GcLeaf<T> {
GcLe... | 1556301fc3eab7058659c2d82fd730e86a43ff43 | src/gc_leaf.rs | src/gc_leaf.rs | Rust |
<|file_sep|>sweetercat/templates/main.html.diff
original:
<th scope="row">{{ row['Star'] }}</th>
updated:
<th scope="row" style="white-space:nowrap;">{{ row['Star'] }}</th>
<|file_sep|>original/sweetercat/templates/main.html
<thead>
<tr>
<th>Star</th>
{% for column in columns %... | <thead>
<tr>
<th>Star</th>
{% for column in columns %}
<th>{{ column }}</th>
{% endfor %}
</tr>
</thead>
<tbody>
{% for row in rows %}
<tr>
<th scope="row" style="white-space:nowrap;">{{ row['Star'] }}</th>
{% for column in columns %}... | <|file_sep|>sweetercat/templates/main.html.diff
original:
<th scope="row">{{ row['Star'] }}</th>
updated:
<th scope="row" style="white-space:nowrap;">{{ row['Star'] }}</th>
<|file_sep|>original/sweetercat/templates/main.html
<thead>
<tr>
<th>Star</th>
{% for column in columns %... | 40ef0c80db942958e5a956468d969978d49dd73d | sweetercat/templates/main.html | sweetercat/templates/main.html | HTML |
<|file_sep|>original/requirements.txt
Flask==0.12.2
click-datetime==0.2
eventlet==0.22.1
gunicorn==19.7.1
iso8601==0.1.12
jsonschema==2.6.0
marshmallow-sqlalchemy==0.13.2
marshmallow==2.15.0
monotonic==1.4
psycopg2-binary==2.7.4
PyJWT==1.6.1
SQLAlchemy==1.2.5
notifications-python-client==4.8.1
# PaaS
awscli-cwlogs>=1... | Flask==0.12.2
click-datetime==0.2
eventlet==0.22.1
gunicorn==19.7.1
iso8601==0.1.12
jsonschema==2.6.0
marshmallow-sqlalchemy==0.13.2
marshmallow==2.15.0
monotonic==1.4
psycopg2-binary==2.7.4
PyJWT==1.6.1
SQLAlchemy==1.2.6
notifications-python-client==4.8.1
# PaaS
awscli-cwlogs>=1.4,<1.5
git+https://github.com/alphag... | <|file_sep|>original/requirements.txt
Flask==0.12.2
click-datetime==0.2
eventlet==0.22.1
gunicorn==19.7.1
iso8601==0.1.12
jsonschema==2.6.0
marshmallow-sqlalchemy==0.13.2
marshmallow==2.15.0
monotonic==1.4
psycopg2-binary==2.7.4
PyJWT==1.6.1
SQLAlchemy==1.2.5
notifications-python-client==4.8.1
# PaaS
awscli-cwlogs>=1... | 691a44f1cf3c92ac4aec0adccbad93774c874339 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/subscription.sh
test-unit)
npm run test-unit
;;
start)
npm start
;;
develop)
type docker-compose >/dev/null 2>&1 || { echo >&2 "docker-compose is required but it's not installed. Aborting."; exit 1; }
docker-compose -f docker-compose-deve... | test-unit)
npm run test-unit
;;
start)
npm start
;;
develop)
type docker-compose >/dev/null 2>&1 || { echo >&2 "docker-compose is required but it's not installed. Aborting."; exit 1; }
docker-compose -f docker-compose-develop.yml build && docker-compose -f do... | <|file_sep|>original/subscription.sh
test-unit)
npm run test-unit
;;
start)
npm start
;;
develop)
type docker-compose >/dev/null 2>&1 || { echo >&2 "docker-compose is required but it's not installed. Aborting."; exit 1; }
docker-compose -f docker-compose-deve... | 231eecb3d5c72012afecffc2b3c934c5cd7cfde6 | subscription.sh | subscription.sh | Shell |
<|file_sep|>original/connection_tracking/connection_tracking.rb
<|file_sep|>current/connection_tracking/connection_tracking.rb
<|file_sep|>updated/connection_tracking/connection_tracking.rb | class ConnectionTracking < Scout::Plugin
def build_report
conntrack_max_output = `cat /proc/sys/net/netfilter/nf_conntrack_max`
max = conntrack_max_output.split("\n")[0].to_i
conntrack_count_output = `cat /proc/sys/net/netfilter/nf_conntrack_count`
count = conntrack_count_output.split("\n")[0].to_i
... | <|file_sep|>original/connection_tracking/connection_tracking.rb
<|file_sep|>current/connection_tracking/connection_tracking.rb
<|file_sep|>updated/connection_tracking/connection_tracking.rb
class ConnectionTracking < Scout::Plugin
def build_report
conntrack_max_output = `cat /proc/sys/net/netfilter/nf_conntrack... | 95d6422ac49e945d7b314f187060a2f3762330aa | connection_tracking/connection_tracking.rb | connection_tracking/connection_tracking.rb | Ruby |
<|file_sep|>original/src/server/interface/filters.kmd.json
{
"name": "filters",
"version": "6.7.1",
"kurentoVersion": "^6.7.0",
"code": {
"kmd": {
"java": {
"mavenGroupId": "org.kurento",
"mavenArtifactId": "kms-api-filters"
}
},
"api": {
"java": {
"packageN... | {
"name": "filters",
"version": "6.7.2-dev",
"kurentoVersion": "^6.7.0",
"code": {
"kmd": {
"java": {
"mavenGroupId": "org.kurento",
"mavenArtifactId": "kms-api-filters"
}
},
"api": {
"java": {
"packageName": "org.kurento.client",
"mavenGroupId": "or... | <|file_sep|>original/src/server/interface/filters.kmd.json
{
"name": "filters",
"version": "6.7.1",
"kurentoVersion": "^6.7.0",
"code": {
"kmd": {
"java": {
"mavenGroupId": "org.kurento",
"mavenArtifactId": "kms-api-filters"
}
},
"api": {
"java": {
"packageN... | 299b5fae0903e40f652de0b50cb84be2ce32a024 | src/server/interface/filters.kmd.json | src/server/interface/filters.kmd.json | JSON |
<|file_sep|>original/app/crosswalk.py
"id": yelpID,
"version": CROSSWALK_CACHE_VERSION,
"yelp": {
"url": yelpURL
}
}
try:
obj = factualClient.crosswalk().filters({"url": yelpURL}).data()
if len(obj) == 0:
return mapping
factualID = obj[0]["fa... | "id": yelpID,
"version": CROSSWALK_CACHE_VERSION,
"yelp": {
"url": yelpURL
}
}
try:
obj = factualClient.crosswalk().filters({"url": yelpURL}).data()
if len(obj) == 0:
return mapping, True
factualID = obj[0]["factual_id"]
mapping["fact... | <|file_sep|>original/app/crosswalk.py
"id": yelpID,
"version": CROSSWALK_CACHE_VERSION,
"yelp": {
"url": yelpURL
}
}
try:
obj = factualClient.crosswalk().filters({"url": yelpURL}).data()
if len(obj) == 0:
return mapping
factualID = obj[0]["fa... | d3b544f5977a433488d9abde6ff1a078def15647 | app/crosswalk.py | app/crosswalk.py | Python |
<|file_sep|>pyramid_celery/__init__.py.diff
original:
OPTIONS = {
key: TYPES_TO_OBJ[opt.type]
updated:
OPTIONS = (
(key, TYPES_TO_OBJ[opt.type])
<|file_sep|>original/pyramid_celery/__init__.py
'int': (int, int),
'list': (list, eval),
'tuple': (tuple, eval),
'string': (str, str),
}
OPTIONS = {
... | 'int': (int, int),
'list': (list, eval),
'tuple': (tuple, eval),
'string': (str, str),
}
OPTIONS = (
(key, TYPES_TO_OBJ[opt.type])
for key, opt in defaults.flatten(defaults.NAMESPACES)
)
def convert_celery_options(config):
"""
Converts celery options to apropriate types
"""
... | <|file_sep|>pyramid_celery/__init__.py.diff
original:
OPTIONS = {
key: TYPES_TO_OBJ[opt.type]
updated:
OPTIONS = (
(key, TYPES_TO_OBJ[opt.type])
<|file_sep|>original/pyramid_celery/__init__.py
'int': (int, int),
'list': (list, eval),
'tuple': (tuple, eval),
'string': (str, str),
}
OPTIONS = {
... | 024209cdefd34e26983ea4910071ccbd1a33faaa | pyramid_celery/__init__.py | pyramid_celery/__init__.py | Python |
<|file_sep|>original/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.4.1
tox==2.9.1
Sphinx==1.6.4
coverage==4.4.1
cryptography==2.0.3
PyYAML==3.12
<|file_sep|>current/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.4.1
tox==2.9.1
Sphi... | pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.4.1
tox==2.9.1
Sphinx==1.6.5
coverage==4.4.1
cryptography==2.0.3
PyYAML==3.12 | <|file_sep|>original/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.4.1
tox==2.9.1
Sphinx==1.6.4
coverage==4.4.1
cryptography==2.0.3
PyYAML==3.12
<|file_sep|>current/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.4.1
tox==2.9.1
Sphi... | bc9d9c1f0c402bbbe1be4557f716cedc2943be66 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/source/lib/course-search/parse-term.ts
export function parseTerm(term: string) {
const semester = term.slice(-1)
const year = term.slice(0, -1)
const currentYear = parseInt(year)
const nextYear = (currentYear + 1).toString().slice(-2)
switch (semester) {
case '0':
return `Abroad ${current... | export function parseTerm(term: string): string {
const semester = term.slice(-1)
const year = term.slice(0, -1)
const currentYear = parseInt(year)
const nextYear = (currentYear + 1).toString().slice(-2)
switch (semester) {
case '0':
return `Abroad ${currentYear}/${nextYear}`
case '1':
return `Fall ${cur... | <|file_sep|>original/source/lib/course-search/parse-term.ts
export function parseTerm(term: string) {
const semester = term.slice(-1)
const year = term.slice(0, -1)
const currentYear = parseInt(year)
const nextYear = (currentYear + 1).toString().slice(-2)
switch (semester) {
case '0':
return `Abroad ${current... | b106e240fe7b741e3398b0ad58958502295ab530 | source/lib/course-search/parse-term.ts | source/lib/course-search/parse-term.ts | TypeScript |
<|file_sep|>original/protobuf-codegen-pure-test/Cargo.toml
version = "0.0.0"
authors = ["Stepan Koltsov <stepan.koltsov@gmail.com>"]
publish = false
[lib]
doctest = false
[features]
default-features = []
proto3 = []
with-bytes = ["bytes", "protobuf/with-bytes"]
[build-dependencies]
protobuf-codegen-pure = { path = "... | version = "0.0.0"
authors = ["Stepan Koltsov <stepan.koltsov@gmail.com>"]
publish = false
[lib]
doctest = false
[features]
default-features = []
proto3 = []
with-bytes = ["bytes", "protobuf/with-bytes", "protobuf-test-common/with-bytes"]
[build-dependencies]
protobuf-codegen-pure = { path = "../protobuf-codegen-pure... | <|file_sep|>original/protobuf-codegen-pure-test/Cargo.toml
version = "0.0.0"
authors = ["Stepan Koltsov <stepan.koltsov@gmail.com>"]
publish = false
[lib]
doctest = false
[features]
default-features = []
proto3 = []
with-bytes = ["bytes", "protobuf/with-bytes"]
[build-dependencies]
protobuf-codegen-pure = { path = "... | b3a541b36e31577561adba33cc5d302813fc9bce | protobuf-codegen-pure-test/Cargo.toml | protobuf-codegen-pure-test/Cargo.toml | TOML |
<|file_sep|>assets/syntax.txt.diff
original:
1."brackets" { .?(w!) { ?(["[" {":", ..seps} "]"]) } };
2."path" { [?("::" -> "root") .!.("::") { ..seps -> "name" }] };
updated:
1."brackets" { s?(w!) { ?(["[" {":", ..seps} "]"]) } };
2."path" { [?("::" -> "root") s!.("::") { ..seps -> "name" }] };
<|file_sep|>original/ass... | seps: "()[]{},;:/*+-";
1."brackets" { s?(w!) { ?(["[" {":", ..seps} "]"]) } };
2."path" { [?("::" -> "root") s!.("::") { ..seps -> "name" }] };
3."arg" { [1 2 1 ?(5)] };
4."arguments" { ["(" w? s?.(["," w!]) {
{$_ -> "number" t? -> "text" 4 11 7 3} }, w? ")"] };
5."repeated_arguments" { Repeat { optional: false, r... | <|file_sep|>assets/syntax.txt.diff
original:
1."brackets" { .?(w!) { ?(["[" {":", ..seps} "]"]) } };
2."path" { [?("::" -> "root") .!.("::") { ..seps -> "name" }] };
updated:
1."brackets" { s?(w!) { ?(["[" {":", ..seps} "]"]) } };
2."path" { [?("::" -> "root") s!.("::") { ..seps -> "name" }] };
<|file_sep|>original/ass... | 404641b12f19cb295716993779c9adb92a9ea0eb | assets/syntax.txt | assets/syntax.txt | Text |
<|file_sep|>app-indexing/AppIndexingExampleSwift/AppDelegate.swift.diff
original:
updated:
// [START register_app]
<|file_sep|>original/app-indexing/AppIndexingExampleSwift/AppDelegate.swift
var window: UIWindow?
var currentDeepLink = String()
func application(application: UIApplication, didFinishLaunching... |
var window: UIWindow?
var currentDeepLink = String()
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
FIRApp.configure()
// [START register_app]
// Replace 123456 with the App Store ID of your app.
FIRAppIndexing.sharedI... | <|file_sep|>app-indexing/AppIndexingExampleSwift/AppDelegate.swift.diff
original:
updated:
// [START register_app]
<|file_sep|>original/app-indexing/AppIndexingExampleSwift/AppDelegate.swift
var window: UIWindow?
var currentDeepLink = String()
func application(application: UIApplication, didFinishLaunching... | 04c40036efda74415f1e0ba3e9f8ffb4f2f3dc0f | app-indexing/AppIndexingExampleSwift/AppDelegate.swift | app-indexing/AppIndexingExampleSwift/AppDelegate.swift | Swift |
<|file_sep|>lib/noam_lemma/player.rb.diff
original:
updated:
class NoamPlayerException < Exception; end
<|file_sep|>original/lib/noam_lemma/player.rb
require 'thread'
module Noam
class Player
def initialize(con_host,con_port)
@socket = TCPSocket.new(con_host, con_port)
@queue = Queue.new
@t... | require 'thread'
module Noam
class NoamPlayerException < Exception; end
class Player
def initialize(con_host,con_port)
begin
@socket = TCPSocket.new(con_host, con_port)
rescue Errno::ECONNREFUSED
raise NoamPlayerException.new("Unable to connect to the Noam server at #{con_host}:#{c... | <|file_sep|>lib/noam_lemma/player.rb.diff
original:
updated:
class NoamPlayerException < Exception; end
<|file_sep|>original/lib/noam_lemma/player.rb
require 'thread'
module Noam
class Player
def initialize(con_host,con_port)
@socket = TCPSocket.new(con_host, con_port)
@queue = Queue.new
@t... | d71e65cc5080cc77f31ae98ebc0a58e9afc6b956 | lib/noam_lemma/player.rb | lib/noam_lemma/player.rb | Ruby |
<|file_sep|>original/composer.json
],
"prefer-stable": true,
"config": {
"platform": {
"php": "7.3.0"
},
"optimize-autoloader": true,
"sort-packages": true
},
"require": {
"php": "^7.3 || ^8.0"
},
"require-dev": {
"phpunit/phpunit":... | ],
"prefer-stable": true,
"config": {
"platform": {
"php": "7.3.0"
},
"optimize-autoloader": true,
"sort-packages": true
},
"require": {
"php": ">=7.3"
},
"require-dev": {
"phpunit/phpunit": "^9.3",
"symfony/process": "^4.2 ... | <|file_sep|>original/composer.json
],
"prefer-stable": true,
"config": {
"platform": {
"php": "7.3.0"
},
"optimize-autoloader": true,
"sort-packages": true
},
"require": {
"php": "^7.3 || ^8.0"
},
"require-dev": {
"phpunit/phpunit":... | cdb74179a0e4cd93e5f54920a699a665b773b9f7 | composer.json | composer.json | JSON |
<|file_sep|>requirements.txt.diff
original:
cerberus==1.0.1
pillow==6.2.0
validx==0.3
jinja2==2.10.1
updated:
pillow==7.1.2
validx==0.6.1
jinja2==2.11.2
<|file_sep|>original/requirements.txt
cerberus==1.0.1
pillow==6.2.0
validx==0.3
jinja2==2.10.1
# Testing
mypy==0.660
flake8==3.7.5
<|file_sep|>current/requirements.tx... | pillow==7.1.2
validx==0.6.1
jinja2==2.11.2
# Testing
mypy==0.782
flake8==3.8.3 | <|file_sep|>requirements.txt.diff
original:
cerberus==1.0.1
pillow==6.2.0
validx==0.3
jinja2==2.10.1
updated:
pillow==7.1.2
validx==0.6.1
jinja2==2.11.2
<|file_sep|>original/requirements.txt
cerberus==1.0.1
pillow==6.2.0
validx==0.3
jinja2==2.10.1
# Testing
mypy==0.660
flake8==3.7.5
<|file_sep|>current/requirements.tx... | 48e1737cb71e16146daf311bd4895ab9bcf56d73 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/flake8diff/vcs/hg.py
<|file_sep|>current/flake8diff/vcs/hg.py
<|file_sep|>updated/flake8diff/vcs/hg.py | from __future__ import unicode_literals, print_function
import logging
import subprocess
from ..utils import _execute
from .base import VCSBase
logger = logging.getLogger(__name__)
class HgVCS(VCSBase):
"""
Mercurial support implementation
"""
name = 'hg'
def get_vcs(self):
"""
... | <|file_sep|>original/flake8diff/vcs/hg.py
<|file_sep|>current/flake8diff/vcs/hg.py
<|file_sep|>updated/flake8diff/vcs/hg.py
from __future__ import unicode_literals, print_function
import logging
import subprocess
from ..utils import _execute
from .base import VCSBase
logger = logging.getLogger(__name__)
class H... | 0c20abe4420b92b25acb28e67cd344f6b45d28ef | flake8diff/vcs/hg.py | flake8diff/vcs/hg.py | Python |
<|file_sep|>original/demo/src/app/app.component.ts
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
constructor(private router: Router) {
router.events.subscribe((event) => {
// see also
if (event instanceof NavigationEnd... | templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
constructor(private router: Router) {
router.events.subscribe((event) => {
// see also
if (event instanceof NavigationEnd) {
this.links.forEach((link, index... | <|file_sep|>original/demo/src/app/app.component.ts
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
constructor(private router: Router) {
router.events.subscribe((event) => {
// see also
if (event instanceof NavigationEnd... | 95eda9688d8b8600311db1f2439710d710973657 | demo/src/app/app.component.ts | demo/src/app/app.component.ts | TypeScript |
<|file_sep|>original/loader/src/main/resources/jpa.properties
openjpa.ConnectionUserName=${db.login}
openjpa.ConnectionPassword=${db.password}
openjpa.ConnectionURL=jdbc:postgresql://${db.server}:${db.port}/${db.database}
openjpa.ConnectionDriverName=org.postgresql.Driver
openjpa.ConnectionFactoryProperties=PrettyPrint... | openjpa.ConnectionUserName=${init.db.login}
openjpa.ConnectionPassword=${init.db.password}
openjpa.ConnectionURL=jdbc:postgresql://${init.db.server}:${init.db.port}/${init.db.database}
openjpa.ConnectionDriverName=org.postgresql.Driver
openjpa.ConnectionFactoryProperties=PrettyPrint=true, PrettyPrintLineLength=80, Prin... | <|file_sep|>original/loader/src/main/resources/jpa.properties
openjpa.ConnectionUserName=${db.login}
openjpa.ConnectionPassword=${db.password}
openjpa.ConnectionURL=jdbc:postgresql://${db.server}:${db.port}/${db.database}
openjpa.ConnectionDriverName=org.postgresql.Driver
openjpa.ConnectionFactoryProperties=PrettyPrint... | 494b6190fb136cc4d39224f989a0a90632404457 | loader/src/main/resources/jpa.properties | loader/src/main/resources/jpa.properties | INI |
<|file_sep|>original/commons/src/main/java/io/wcm/sling/commons/util/package-info.java
* %%
* Copyright (C) 2014 wcm.io
* %%
* 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
*
* htt... | * %%
* Copyright (C) 2014 wcm.io
* %%
* 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.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | <|file_sep|>original/commons/src/main/java/io/wcm/sling/commons/util/package-info.java
* %%
* Copyright (C) 2014 wcm.io
* %%
* 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
*
* htt... | 81a84b3083bf6af9d9e4ebbe1fa81ae3764ae9b9 | commons/src/main/java/io/wcm/sling/commons/util/package-info.java | commons/src/main/java/io/wcm/sling/commons/util/package-info.java | Java |
<|file_sep|>bootstrap/src/main/java/io/airlift/bootstrap/LifeCycleMethodsMap.java.diff
original:
import com.google.common.collect.Maps;
updated:
<|file_sep|>bootstrap/src/main/java/io/airlift/bootstrap/LifeCycleMethodsMap.java.diff
original:
updated:
import java.util.concurrent.ConcurrentHashMap;
<|file_sep|>bootstr... | *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the Licen... | <|file_sep|>bootstrap/src/main/java/io/airlift/bootstrap/LifeCycleMethodsMap.java.diff
original:
import com.google.common.collect.Maps;
updated:
<|file_sep|>bootstrap/src/main/java/io/airlift/bootstrap/LifeCycleMethodsMap.java.diff
original:
updated:
import java.util.concurrent.ConcurrentHashMap;
<|file_sep|>bootstr... | 9f067d28c1a402ba4bd2c8d497707b86b14e46dd | bootstrap/src/main/java/io/airlift/bootstrap/LifeCycleMethodsMap.java | bootstrap/src/main/java/io/airlift/bootstrap/LifeCycleMethodsMap.java | Java |
<|file_sep|>original/CHANGES.txt
Changes
=======
1.0a4 (2008-03-28)
------------------
- Get in step with GeoJSON draft version 6.
- Made all code work with Python 2.4.3, 2.5.1, will test with all variations.
(see tests/rundoctests.dist)
- Made tests use ELLIPSIS to avoid output transmogification due to floating
... | Changes
=======
1.0a4 (Sun Apr 27 2008)
------------------
- Get in step with GeoJSON draft version 6.
- Made all code work with Python 2.4.3, 2.5.1, will test with all variations.
(see tests/rundoctests.dist)
- Made tests use ELLIPSIS to avoid output transmogification due to floating
point representation.
| <|file_sep|>original/CHANGES.txt
Changes
=======
1.0a4 (2008-03-28)
------------------
- Get in step with GeoJSON draft version 6.
- Made all code work with Python 2.4.3, 2.5.1, will test with all variations.
(see tests/rundoctests.dist)
- Made tests use ELLIPSIS to avoid output transmogification due to floating
... | 2af44bae6a90eac3d2633d9586e93e36ddd2412c | CHANGES.txt | CHANGES.txt | Text |
<|file_sep|>docker-rancher/metadata.json.diff
original:
"dateUpdated": "2018-06-19"
updated:
"dateUpdated": "2019-12-09"
<|file_sep|>original/docker-rancher/metadata.json
{
"$schema": "https://aka.ms/azure-quickstart-templates-metadata-schema#",
"type": "QuickStart",
"itemDisplayName": "Deploy an Ubuntu VM wi... | {
"$schema": "https://aka.ms/azure-quickstart-templates-metadata-schema#",
"type": "QuickStart",
"itemDisplayName": "Deploy an Ubuntu VM with Docker Engine & Rancher",
"description": "This template allows you to deploy an Ubuntu VM with Docker (using the Docker Extension). In addition, the Rancher Server (or ag... | <|file_sep|>docker-rancher/metadata.json.diff
original:
"dateUpdated": "2018-06-19"
updated:
"dateUpdated": "2019-12-09"
<|file_sep|>original/docker-rancher/metadata.json
{
"$schema": "https://aka.ms/azure-quickstart-templates-metadata-schema#",
"type": "QuickStart",
"itemDisplayName": "Deploy an Ubuntu VM wi... | 9633fcd6923b39c18c8ed97e9d5106e223ba1238 | docker-rancher/metadata.json | docker-rancher/metadata.json | JSON |
<|file_sep|>webapp-django/questionnaire/views.py.diff
original:
ques = MultipleChoiceQuestion.objects.all() + Question.objects.all()
updated:
ques = MultipleChoiceQuestion.objects.all() # + Question.objects.all()
<|file_sep|>original/webapp-django/questionnaire/views.py
def index(request):
pass
def quest... |
def index(request):
pass
def questions(request):
ques = MultipleChoiceQuestion.objects.all() # + Question.objects.all()
questions = []
p = 0
for h in ques:
p += 1
q = 0
qu = [h['question']]
ch = []
for i in h.choices:
q += 1
ch += [... | <|file_sep|>webapp-django/questionnaire/views.py.diff
original:
ques = MultipleChoiceQuestion.objects.all() + Question.objects.all()
updated:
ques = MultipleChoiceQuestion.objects.all() # + Question.objects.all()
<|file_sep|>original/webapp-django/questionnaire/views.py
def index(request):
pass
def quest... | c7c1f63836e052b7a63e35956a74d03f1be30677 | webapp-django/questionnaire/views.py | webapp-django/questionnaire/views.py | Python |
<|file_sep|>xcsvm/nosetests.cfg.diff
original:
with-timer=1
timer-ok=30s
timer-warning=300s
updated:
#with-timer=1
#timer-ok=30s
#timer-warning=300s
<|file_sep|>xcsvm/nosetests.cfg.diff
original:
timer-filter=
updated:
#timer-filter=
<|file_sep|>original/xcsvm/nosetests.cfg
[nosetests]
all-modules=1
verbosity=2
with-ti... | [nosetests]
all-modules=1
verbosity=2
#with-timer=1
#timer-ok=30s
#timer-warning=300s
# no timing list in the end
#timer-filter=
# only fast tests
#eval-attr='not slow' | <|file_sep|>xcsvm/nosetests.cfg.diff
original:
with-timer=1
timer-ok=30s
timer-warning=300s
updated:
#with-timer=1
#timer-ok=30s
#timer-warning=300s
<|file_sep|>xcsvm/nosetests.cfg.diff
original:
timer-filter=
updated:
#timer-filter=
<|file_sep|>original/xcsvm/nosetests.cfg
[nosetests]
all-modules=1
verbosity=2
with-ti... | f8694dadfe3b458415257907f438dbc02cfb082f | xcsvm/nosetests.cfg | xcsvm/nosetests.cfg | INI |
<|file_sep|>original/config/initializers/rails_performance.rb
RailsPerformance.setup do |config|
config.redis = Redis::Namespace.new("#{Rails.env}-rails-performance", redis: Redis.new)
config.duration = 48.hours
config.debug = false
config.enabled = ENV["RAILS_PERFORMANCE_ENABLED"]
# protect your Per... | RailsPerformance.setup do |config|
config.redis = Redis::Namespace.new("#{Rails.env}-rails-performance", redis: Redis.new)
config.duration = 1.month
config.debug = false
config.enabled = ENV["RAILS_PERFORMANCE_ENABLED"]
# protect your Performance Dashboard with HTTP BASIC password
config.http_basic... | <|file_sep|>original/config/initializers/rails_performance.rb
RailsPerformance.setup do |config|
config.redis = Redis::Namespace.new("#{Rails.env}-rails-performance", redis: Redis.new)
config.duration = 48.hours
config.debug = false
config.enabled = ENV["RAILS_PERFORMANCE_ENABLED"]
# protect your Per... | 850554814526f87bb9eb40e14c32061e0ec7e444 | config/initializers/rails_performance.rb | config/initializers/rails_performance.rb | Ruby |
<|file_sep|>original/package.json
"name": "torus-vdom",
"version": "0.1.0",
"description": "Minimal JS UI framework focused on being lightweight and free of dependencies",
"main": "src/torus.js",
"repository": "git@github.com:thesephist/torus.git",
"author": "Linus Lee <linus@thesephist.com>",
"license": ... | "name": "torus-vdom",
"version": "0.1.0",
"description": "Minimal JS UI framework focused on being lightweight and free of dependencies",
"main": "src/torus.js",
"repository": "git@github.com:thesephist/torus.git",
"author": "Linus Lee <linus@thesephist.com>",
"license": "MIT",
"scripts": {
"test": ... | <|file_sep|>original/package.json
"name": "torus-vdom",
"version": "0.1.0",
"description": "Minimal JS UI framework focused on being lightweight and free of dependencies",
"main": "src/torus.js",
"repository": "git@github.com:thesephist/torus.git",
"author": "Linus Lee <linus@thesephist.com>",
"license": ... | 8df92c1f2677ad466d893970e670937a32864814 | package.json | package.json | JSON |
<|file_sep|>original/.travis.yml
language: php
php:
- "5.5"
- "5.4"
- "5.3"
- hhvm
install: composer install
script: ./vendor/bin/phpunit
<|file_sep|>current/.travis.yml
language: php
php:
- "5.5"
- "5.4"
- "5.3"
- hhvm
install: composer install
script: ./vendor/bin/phpunit
<|file_sep|>updated/.travis.y... | language: php
php:
- "5.5"
- "5.4"
- hhvm
install: composer install
script: ./vendor/bin/phpunit | <|file_sep|>original/.travis.yml
language: php
php:
- "5.5"
- "5.4"
- "5.3"
- hhvm
install: composer install
script: ./vendor/bin/phpunit
<|file_sep|>current/.travis.yml
language: php
php:
- "5.5"
- "5.4"
- "5.3"
- hhvm
install: composer install
script: ./vendor/bin/phpunit
<|file_sep|>updated/.travis.y... | 97677fb0c36fe134ce0fc4d22a03ce0738ad7ba3 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/css/glue.css
.picturefill img {
max-width: 100%;
height: auto;
}
/* Hide the controls for a carousel if it only has one item.
*/
.carousel.items-1 .carousel-control,
.carousel.items-1 .carousel-indicators {
display: none;
}
<|file_sep|>current/css/glue.css
.picturefill img {
max-width: 100%... |
.picturefill img,
.typography img {
max-width: 100%;
height: auto;
}
/* Hide the controls for a carousel if it only has one item.
*/
.carousel.items-1 .carousel-control,
.carousel.items-1 .carousel-indicators {
display: none;
} | <|file_sep|>original/css/glue.css
.picturefill img {
max-width: 100%;
height: auto;
}
/* Hide the controls for a carousel if it only has one item.
*/
.carousel.items-1 .carousel-control,
.carousel.items-1 .carousel-indicators {
display: none;
}
<|file_sep|>current/css/glue.css
.picturefill img {
max-width: 100%... | e619f06ea14b4bf6fc3dd278cbbd8b64eb340105 | css/glue.css | css/glue.css | CSS |
<|file_sep|>original/product_supplier_pricelist/__openerp__.py
It also adds to more menus (and add some related fields) on purchase/product.
""",
'author': 'Ingenieria ADHOC',
'website': 'www.ingadhoc.com',
'images': [
],
'depends': [
'purchase',
],
'data': [
'product_v... | """,
'author': 'Ingenieria ADHOC',
'website': 'www.ingadhoc.com',
'images': [
],
'depends': [
'purchase',
],
'data': [
'product_view.xml',
],
'demo': [
],
'test': [
],
# TODO fix this module and make installable
'installable': False,
'auto... | <|file_sep|>original/product_supplier_pricelist/__openerp__.py
It also adds to more menus (and add some related fields) on purchase/product.
""",
'author': 'Ingenieria ADHOC',
'website': 'www.ingadhoc.com',
'images': [
],
'depends': [
'purchase',
],
'data': [
'product_v... | 49e38383430f778aaa0952d542675e1cca290167 | product_supplier_pricelist/__openerp__.py | product_supplier_pricelist/__openerp__.py | Python |
<|file_sep|>t/register/proof.js.diff
original:
updated:
var once = require('../../once')
<|file_sep|>original/t/register/proof.js
return {
once: function (step, directory, argv, stdin) {
step(function () {
register.once(__dirname, directory, argv, stdin, step())
... | module.exports = require('proof')(function () {
var register = require('../../register')
var stream = require('stream')
var path = require('path')
var once = require('../../once')
return {
once: function (step, path, parameters, stdin) {
return once(__dirname + '/' + path, parame... | <|file_sep|>t/register/proof.js.diff
original:
updated:
var once = require('../../once')
<|file_sep|>original/t/register/proof.js
return {
once: function (step, directory, argv, stdin) {
step(function () {
register.once(__dirname, directory, argv, stdin, step())
... | eda451f314c077fb163df82ad4743de432098b23 | t/register/proof.js | t/register/proof.js | JavaScript |
<|file_sep|>README.md.diff
original:
Download the Chrome-extension: http://previeweet.com
updated:
Download the Chrome-extension: https://chrome.google.com/webstore/detail/previeweet/ioknjbncflfoefodkjodmddcpahnhkgh
<|file_sep|>original/README.md
* Facebook
* YouTube
* Apple
* Yfrog
* Twitpic
* Twitvid
* Flickr
* Imgur... | * Facebook
* YouTube
* Apple
* Yfrog
* Twitpic
* Twitvid
* Flickr
* Imgur
and many more!
## Author
[@giuseppegurgone](http://twitter.com/giuseppegurgone)
## License (MIT)
Copyright (c) 2013 Giuseppe Gurgone
This work is licensed for reuse under the MIT license.
See the included [LICENSE] (LICENSE) file for detail... | <|file_sep|>README.md.diff
original:
Download the Chrome-extension: http://previeweet.com
updated:
Download the Chrome-extension: https://chrome.google.com/webstore/detail/previeweet/ioknjbncflfoefodkjodmddcpahnhkgh
<|file_sep|>original/README.md
* Facebook
* YouTube
* Apple
* Yfrog
* Twitpic
* Twitvid
* Flickr
* Imgur... | a3ca70a04d7e737e5f217d55f84b93223c35c10b | README.md | README.md | Markdown |
<|file_sep|>original/app/styles/overrides/_voxel.scss
// Do not generate CSS classes from Voxel as we'll use the Voxel mixins.
$voxel-components__include-classes: false;
<|file_sep|>current/app/styles/overrides/_voxel.scss
// Do not generate CSS classes from Voxel as we'll use the Voxel mixins.
$voxel-components__inclu... | // Do not generate CSS classes from Voxel as we'll use the Voxel mixins.
$voxel-components__include-classes: false;
// Need more space to display the style guide.
$voxel-layouts__content__max-width: 64rem; | <|file_sep|>original/app/styles/overrides/_voxel.scss
// Do not generate CSS classes from Voxel as we'll use the Voxel mixins.
$voxel-components__include-classes: false;
<|file_sep|>current/app/styles/overrides/_voxel.scss
// Do not generate CSS classes from Voxel as we'll use the Voxel mixins.
$voxel-components__inclu... | 8c49d19c434ff0af61ee156b95f315aa805447c0 | app/styles/overrides/_voxel.scss | app/styles/overrides/_voxel.scss | SCSS |
<|file_sep|>original/src/Styles/Constants.elm
-- Dimensions
standardBorderRadius : Float
standardBorderRadius =
6
-- Colors
black : String
black =
"0F2037"
grey : String
grey =
"CFD0CE"
<|file_sep|>current/src/Styles/Constants.elm
-- Dimensions
standardBorderRadius : Float
standardBorderRadius ... |
-- Dimensions
standardBorderRadius : Float
standardBorderRadius =
6
-- Colors (developed under https://coolors.co/e52938-fcfefb-3fafb5-2d739e-173156)
black : String
black =
"0F2037"
grey : String
grey =
"CFD0CE" | <|file_sep|>original/src/Styles/Constants.elm
-- Dimensions
standardBorderRadius : Float
standardBorderRadius =
6
-- Colors
black : String
black =
"0F2037"
grey : String
grey =
"CFD0CE"
<|file_sep|>current/src/Styles/Constants.elm
-- Dimensions
standardBorderRadius : Float
standardBorderRadius ... | d8b6f08cbc7434e4e922fac555661d72599e2da5 | src/Styles/Constants.elm | src/Styles/Constants.elm | Elm |
<|file_sep|>original/core/lib/spree/localized_number.rb
module Spree
class LocalizedNumber
# Strips all non-price-like characters from the number, taking into account locale settings.
def self.parse(number)
return number unless number.is_a?(String)
separator, delimiter = I18n.t([:'number.currenc... | module Spree
class LocalizedNumber
# Strips all non-price-like characters from the number, taking into account locale settings.
def self.parse(number)
return number unless number.is_a?(String)
separator, delimiter = I18n.t([:'number.currency.format.separator', :'number.currency.format.delimiter'... | <|file_sep|>original/core/lib/spree/localized_number.rb
module Spree
class LocalizedNumber
# Strips all non-price-like characters from the number, taking into account locale settings.
def self.parse(number)
return number unless number.is_a?(String)
separator, delimiter = I18n.t([:'number.currenc... | 3da570842c8b130da217d1f29716daf1e72ff2e8 | core/lib/spree/localized_number.rb | core/lib/spree/localized_number.rb | Ruby |
<|file_sep|>original/tokio-imap/Cargo.toml
license = "MIT/Apache-2.0"
readme = "../README.md"
edition = "2018"
[badges]
maintenance = { status = "passively-maintained" }
[dependencies]
bytes = "0.6"
futures-util = "0.3.8"
futures-sink = "0.3.8"
imap-proto = { version = "0.12", path = "../imap-proto" }
nom = "6"
pin-p... | license = "MIT/Apache-2.0"
readme = "../README.md"
edition = "2018"
[badges]
maintenance = { status = "passively-maintained" }
[dependencies]
bytes = "0.6"
futures-util = "0.3.8"
futures-sink = "0.3.8"
imap-proto = { version = "0.12", path = "../imap-proto" }
nom = "6"
pin-project = "1"
tokio = { version = "0.3.0", f... | <|file_sep|>original/tokio-imap/Cargo.toml
license = "MIT/Apache-2.0"
readme = "../README.md"
edition = "2018"
[badges]
maintenance = { status = "passively-maintained" }
[dependencies]
bytes = "0.6"
futures-util = "0.3.8"
futures-sink = "0.3.8"
imap-proto = { version = "0.12", path = "../imap-proto" }
nom = "6"
pin-p... | 948acd71edf4bb3120694f42b80f0a8ed0f53bdc | tokio-imap/Cargo.toml | tokio-imap/Cargo.toml | TOML |
<|file_sep|>features/formatters/select-via-config-file.feature.diff
original:
Unknown formatter: 'zonk'
updated:
Unknown formatter: zonk
<|file_sep|>original/features/formatters/select-via-config-file.feature
"""
Examples:
| FORMATTER | OUTPUT |
| detailed | Hello world |
... | """
Examples:
| FORMATTER | OUTPUT |
| detailed | Hello world |
| dot | . |
Scenario: the config file specifies an unknown formatter
Given my workspace contains testable documentation
And the configuration file:
"""
format: zonk
"""
Wh... | <|file_sep|>features/formatters/select-via-config-file.feature.diff
original:
Unknown formatter: 'zonk'
updated:
Unknown formatter: zonk
<|file_sep|>original/features/formatters/select-via-config-file.feature
"""
Examples:
| FORMATTER | OUTPUT |
| detailed | Hello world |
... | 193e728f08f3d5d9600e1d54d8a4c1e7cb797a2f | features/formatters/select-via-config-file.feature | features/formatters/select-via-config-file.feature | Cucumber |
<|file_sep|>notes/m3-checklist.txt.diff
original:
* Increment VERSION in configure.in
updated:
- post instructions for downloading tarball, building
- especially, put dav_setup.txt up!
- basic subversion checkout instructions
- update status page
- Put the old CVS ChangeLog up
<|file_sep|>notes/m3-checklist.txt.diff
or... | =======================
Tasks:
- post instructions for downloading tarball, building
- especially, put dav_setup.txt up!
- basic subversion checkout instructions
- update status page
- Put the old CVS ChangeLog up
- enable password-protected committing
- make a backup system
- don't forget... | <|file_sep|>notes/m3-checklist.txt.diff
original:
* Increment VERSION in configure.in
updated:
- post instructions for downloading tarball, building
- especially, put dav_setup.txt up!
- basic subversion checkout instructions
- update status page
- Put the old CVS ChangeLog up
<|file_sep|>notes/m3-checklist.txt.diff
or... | da9488a3f04e88b77dd0cbdf7285812b7efc5db2 | notes/m3-checklist.txt | notes/m3-checklist.txt | Text |
<|file_sep|>original/tests/test_autoconfig.py
def test_autoconfig_env():
config = AutoConfig()
path = os.path.join(os.path.dirname(__file__), 'autoconfig', 'env', 'project')
with patch.object(config, '_caller_path', return_value=path):
assert 'ENV' == config('KEY')
def test_autoconfig_ini():
c... | config = AutoConfig()
path = os.path.join(os.path.dirname(__file__), 'autoconfig', 'ini', 'project')
with patch.object(config, '_caller_path', return_value=path):
assert 'INI' == config('KEY')
def test_autoconfig_none():
os.environ['KeyFallback'] = 'On'
config = AutoConfig()
path = os.... | <|file_sep|>original/tests/test_autoconfig.py
def test_autoconfig_env():
config = AutoConfig()
path = os.path.join(os.path.dirname(__file__), 'autoconfig', 'env', 'project')
with patch.object(config, '_caller_path', return_value=path):
assert 'ENV' == config('KEY')
def test_autoconfig_ini():
c... | 6290b81234f92073262a3fa784ae4e94f16192a8 | tests/test_autoconfig.py | tests/test_autoconfig.py | Python |
<|file_sep|>original/README.md
When the files are sources, they can access helper functions to ease the
installation and configuration process.
All the available functions and their arguments are documented into the `doc`
directory.
Examples
--------
For an example you can watch my `install` and `configure` scripts... |
When the files are sources, they can access helper functions to ease the
installation and configuration process.
All the available functions and their arguments are documented into the `doc`
directory.
Examples
--------
For an example you can watch my `install` and `configure` scripts on
[this repository](https://g... | <|file_sep|>original/README.md
When the files are sources, they can access helper functions to ease the
installation and configuration process.
All the available functions and their arguments are documented into the `doc`
directory.
Examples
--------
For an example you can watch my `install` and `configure` scripts... | b5dc7bce654accff38236e54287039f1d8c61325 | README.md | README.md | Markdown |
<|file_sep|>original/requirements_dev.txt
pip==21.2.3
bumpversion==0.6.0
wheel==0.37.0
watchdog==2.1.3
flake8==3.9.2
tox==3.24.1
coverage==5.5
Sphinx==4.1.2
cryptography==3.4.7
PyYAML==5.4.1
<|file_sep|>current/requirements_dev.txt
pip==21.2.3
bumpversion==0.6.0
wheel==0.37.0
watchdog==2.1.3
flake8==3.9.2
tox==3.24.1
c... | pip==21.2.4
bumpversion==0.6.0
wheel==0.37.0
watchdog==2.1.3
flake8==3.9.2
tox==3.24.1
coverage==5.5
Sphinx==4.1.2
cryptography==3.4.7
PyYAML==5.4.1 | <|file_sep|>original/requirements_dev.txt
pip==21.2.3
bumpversion==0.6.0
wheel==0.37.0
watchdog==2.1.3
flake8==3.9.2
tox==3.24.1
coverage==5.5
Sphinx==4.1.2
cryptography==3.4.7
PyYAML==5.4.1
<|file_sep|>current/requirements_dev.txt
pip==21.2.3
bumpversion==0.6.0
wheel==0.37.0
watchdog==2.1.3
flake8==3.9.2
tox==3.24.1
c... | f666a9fd1b3fc641cf2201fc1e3055efd9a44244 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/app/README.md
make clean
make build
```
This will remove previous bundle artifacts (`make clean`), and then compile the Elm UI and start the node server (`make build`). You can then access the app by visiting `http://localhost:3000`.
## Development
To develop the server more easily, you can run... |
```bash
$ pwd # "$APP_ROOT"/app
make clean
make build
```
This will remove previous bundle artifacts (`make clean`), and then compile the Elm UI and start the node server (`make build`). You can then access the app by visiting `http://localhost:3000`.
## Development
To develop the server more easily, you can run:
... | <|file_sep|>original/app/README.md
make clean
make build
```
This will remove previous bundle artifacts (`make clean`), and then compile the Elm UI and start the node server (`make build`). You can then access the app by visiting `http://localhost:3000`.
## Development
To develop the server more easily, you can run... | b7c5ae2bd58d91350156ead4fb88e986879c0350 | app/README.md | app/README.md | Markdown |
<|file_sep|>original/cmake_modules/FindLdap.cmake
# LDAP_FOUND, If false, do not try to use.
set(THIRDPARTY_LDAP thirdparty/openldap-$ENV{IMPALA_OPENLDAP_VERSION})
set (THIRDPARTY ${CMAKE_SOURCE_DIR}/thirdparty)
set(LDAP_SEARCH_LIB_PATH
${THIRDPARTY}/openldap-$ENV{IMPALA_OPENLDAP_VERSION}/impala_install/lib
)
set... | # LDAP_FOUND, If false, do not try to use.
set(THIRDPARTY_LDAP thirdparty/openldap-$ENV{IMPALA_OPENLDAP_VERSION})
set (THIRDPARTY ${CMAKE_SOURCE_DIR}/thirdparty)
set(LDAP_SEARCH_LIB_PATH
${THIRDPARTY}/openldap-$ENV{IMPALA_OPENLDAP_VERSION}/impala_install/lib
)
set(LDAP_INCLUDE_DIR
${THIRDPARTY_LDAP}/impala_inst... | <|file_sep|>original/cmake_modules/FindLdap.cmake
# LDAP_FOUND, If false, do not try to use.
set(THIRDPARTY_LDAP thirdparty/openldap-$ENV{IMPALA_OPENLDAP_VERSION})
set (THIRDPARTY ${CMAKE_SOURCE_DIR}/thirdparty)
set(LDAP_SEARCH_LIB_PATH
${THIRDPARTY}/openldap-$ENV{IMPALA_OPENLDAP_VERSION}/impala_install/lib
)
set... | a1f504d18c8da95cbbcfb4e1244e866469a2399a | cmake_modules/FindLdap.cmake | cmake_modules/FindLdap.cmake | CMake |
<|file_sep|>tox.ini.diff
original:
{py33,py34,py35}-django{18},
updated:
{py33,py34,py35}-django{15,16,17,18,19},
<|file_sep|>tox.ini.diff
original:
updated:
django15: django>=1.5,<1.6
django16: django>=1.6,<1.7
django17: django>=1.7,<1.8
<|file_sep|>original/tox.ini
[testenv]
basepython =
py33... | [testenv]
basepython =
py33: python3.3
py34: python3.4
py35: python3.5
deps=
django15: django>=1.5,<1.6
django16: django>=1.6,<1.7
django17: django>=1.7,<1.8
django18: django>=1.8,<1.9
django19: django>=1.9,<2.0
-rrequirements-test.txt
django-debug-toolbar
coverage
commands=
... | <|file_sep|>tox.ini.diff
original:
{py33,py34,py35}-django{18},
updated:
{py33,py34,py35}-django{15,16,17,18,19},
<|file_sep|>tox.ini.diff
original:
updated:
django15: django>=1.5,<1.6
django16: django>=1.6,<1.7
django17: django>=1.7,<1.8
<|file_sep|>original/tox.ini
[testenv]
basepython =
py33... | cba68d6d7f8d9a3e29723997628c4f5a3650f4d2 | tox.ini | tox.ini | INI |
<|file_sep|>original/.travis.yml
python:
- "2.7"
#env: HOME=/home/travis/mredar -- doesn't work
env: CODE_DIR=.
# command to install dependencies
install:
# this next is needed but not installed by setup.py
# due to "secret" bitbucket with our modifications
- "pip install httpretty"
- "pip install git+http... | - "2.7"
#env: HOME=/home/travis/mredar -- doesn't work
env: CODE_DIR=.
# command to install dependencies
install:
# this next is needed but not installed by setup.py
# due to "secret" bitbucket with our modifications
- "pip install httpretty"
- "pip install git+https://github.com/mredar/ingestion.git"
- ... | <|file_sep|>original/.travis.yml
python:
- "2.7"
#env: HOME=/home/travis/mredar -- doesn't work
env: CODE_DIR=.
# command to install dependencies
install:
# this next is needed but not installed by setup.py
# due to "secret" bitbucket with our modifications
- "pip install httpretty"
- "pip install git+http... | 7b98cc35f56420262a8b12de9b31fe0b7e026608 | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/qblowfish.h.diff
original:
// If padding is disabled (the default), encrypt() will work only if the
updated:
// If padding is disabled (the default), encrypted() will work only if the
<|file_sep|>original/src/qblowfish.h
QBlowfish(const QByteArray &key);
bool init();
// Padding:
... | QBlowfish(const QByteArray &key);
bool init();
// Padding:
//
// Blowfish works on 8-byte blocks. Padding makes it usable even
// in case where the input size is not in exact 8-byte blocks.
//
// If padding is disabled (the default), encrypted() will work only if the
// input size (... | <|file_sep|>src/qblowfish.h.diff
original:
// If padding is disabled (the default), encrypt() will work only if the
updated:
// If padding is disabled (the default), encrypted() will work only if the
<|file_sep|>original/src/qblowfish.h
QBlowfish(const QByteArray &key);
bool init();
// Padding:
... | d1fcb30ab60fc32525798a3992e5db0256f5ce71 | src/qblowfish.h | src/qblowfish.h | C |
<|file_sep|>original/requirements-dev.txt
-r requirements.txt
coverage==4.5.3
coveralls==1.7.0
cssselect==1.0.3
flake8==3.7.7
freezegun==0.3.11
mock==3.0.5
pytest==4.4.1
pytest-cov==2.7.1
requests-mock==1.6.0
watchdog==0.9.0
git+https://github.com/alphagov/digitalmarketplace-test-utils.git@2.1.0#egg=digitalmarketplac... | -r requirements.txt
coverage==4.5.3
coveralls==1.7.0
cssselect==1.0.3
flake8==3.7.7
freezegun==0.3.11
mock==3.0.5
pytest==4.5.0
pytest-cov==2.7.1
requests-mock==1.6.0
watchdog==0.9.0
git+https://github.com/alphagov/digitalmarketplace-test-utils.git@2.1.0#egg=digitalmarketplace-test-utils==2.1.0 | <|file_sep|>original/requirements-dev.txt
-r requirements.txt
coverage==4.5.3
coveralls==1.7.0
cssselect==1.0.3
flake8==3.7.7
freezegun==0.3.11
mock==3.0.5
pytest==4.4.1
pytest-cov==2.7.1
requests-mock==1.6.0
watchdog==0.9.0
git+https://github.com/alphagov/digitalmarketplace-test-utils.git@2.1.0#egg=digitalmarketplac... | 3eeabe0cb75e7cb0a9d4573024a1ed8b2e8910d4 | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/requirements.txt
numpy==1.17.4
scipy==1.3.2
pymatgen==2019.11.11
monty==3.0.2
keras==2.3.1
tabulate==0.8.5
pandas==0.25.3
scikit-learn==0.21.3
tensorflow==2.0.0
h5py==2.10.0
joblib==0.14.0
<|file_sep|>current/requirements.txt
numpy==1.17.4
scipy==1.3.2
pymatgen==2019.11.11
monty==3.0.2
keras==2.3.1... | numpy==1.17.4
scipy==1.3.2
pymatgen==2019.11.11
monty==3.0.2
keras==2.3.1
tabulate==0.8.6
pandas==0.25.3
scikit-learn==0.21.3
tensorflow==2.0.0
h5py==2.10.0
joblib==0.14.0 | <|file_sep|>original/requirements.txt
numpy==1.17.4
scipy==1.3.2
pymatgen==2019.11.11
monty==3.0.2
keras==2.3.1
tabulate==0.8.5
pandas==0.25.3
scikit-learn==0.21.3
tensorflow==2.0.0
h5py==2.10.0
joblib==0.14.0
<|file_sep|>current/requirements.txt
numpy==1.17.4
scipy==1.3.2
pymatgen==2019.11.11
monty==3.0.2
keras==2.3.1... | f73a04ce7e30659600c05ba1735da01258579019 | requirements.txt | requirements.txt | Text |
<|file_sep|>.travis.yml.diff
original:
updated:
- "3.5"
- "3.6"
<|file_sep|>original/.travis.yml
python:
- "2.7"
addons:
apt:
packages:
- git
install:
# Clone oq-engine
- git clone -q --depth=1 https://github.com/gem/oq-engine.git
# Make sure pip is up-to-date and has support for wheels
- pip -... |
addons:
apt:
packages:
- git
install:
# Clone oq-engine
- git clone -q --depth=1 https://github.com/gem/oq-engine.git
# Make sure pip is up-to-date and has support for wheels
- pip -q install -U pip
# Install oq-engine dependencies
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then pip -q install -r... | <|file_sep|>.travis.yml.diff
original:
updated:
- "3.5"
- "3.6"
<|file_sep|>original/.travis.yml
python:
- "2.7"
addons:
apt:
packages:
- git
install:
# Clone oq-engine
- git clone -q --depth=1 https://github.com/gem/oq-engine.git
# Make sure pip is up-to-date and has support for wheels
- pip -... | 00609cdd659f2c794a3d83e37bf22c81d172eb4d | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/docs/_config.yml
title: Apollo Server
propertytitle: Using Apollo Server
subtitle: Apollo Server
description: A guide to using Apollo Server.
versions:
- '1'
sidebar_categories:
null:
- index
- example
- setup
- requests
- graphiql
Servers:
- servers/express
- serv... | title: Apollo Server
propertytitle: Using Apollo Server
subtitle: Apollo Server
description: A guide to using Apollo Server.
versions:
- '1'
- '2'
sidebar_categories:
null:
- index
- example
- setup
- requests
- graphiql
Servers:
- servers/express
- servers/hapi
- servers/koa
... | <|file_sep|>original/docs/_config.yml
title: Apollo Server
propertytitle: Using Apollo Server
subtitle: Apollo Server
description: A guide to using Apollo Server.
versions:
- '1'
sidebar_categories:
null:
- index
- example
- setup
- requests
- graphiql
Servers:
- servers/express
- serv... | 6acb6ffed1392045fb4537c8575cc70bbde64026 | docs/_config.yml | docs/_config.yml | YAML |
<|file_sep|>original/src/test/java/io/github/bonigarcia/seljup/test/advance/SeveralOptionsJupiterTest.java
<|file_sep|>current/src/test/java/io/github/bonigarcia/seljup/test/advance/SeveralOptionsJupiterTest.java
<|file_sep|>updated/src/test/java/io/github/bonigarcia/seljup/test/advance/SeveralOptionsJupiterTest.java | /*
* (C) Copyright 2019 Boni Garcia (http://bonigarcia.github.io/)
*
* 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.org/licenses/LICENSE-2.0
*
* Unless require... | <|file_sep|>original/src/test/java/io/github/bonigarcia/seljup/test/advance/SeveralOptionsJupiterTest.java
<|file_sep|>current/src/test/java/io/github/bonigarcia/seljup/test/advance/SeveralOptionsJupiterTest.java
<|file_sep|>updated/src/test/java/io/github/bonigarcia/seljup/test/advance/SeveralOptionsJupiterTest.java... | c051445ab747525bdf55ac21c447335be3805b09 | src/test/java/io/github/bonigarcia/seljup/test/advance/SeveralOptionsJupiterTest.java | src/test/java/io/github/bonigarcia/seljup/test/advance/SeveralOptionsJupiterTest.java | Java |
<|file_sep|>original/cla/index.md
---
title: ESLint Contributor License Agreement
layout: doc
---
# Contributor License Agreement (CLA)
A CLA is a document that specifies how a project is allowed to use your code. We've put a lot of work into creating a CLA that is simple, effective, and as clear as possible so that ... | ---
title: ESLint Contributor License Agreement
layout: doc
---
# Contributor License Agreement (CLA)
A CLA is a document that specifies how a project is allowed to use your code. We've put a lot of work into creating a CLA that is simple, effective, and as clear as possible so that it doesn't disrupt contributions t... | <|file_sep|>original/cla/index.md
---
title: ESLint Contributor License Agreement
layout: doc
---
# Contributor License Agreement (CLA)
A CLA is a document that specifies how a project is allowed to use your code. We've put a lot of work into creating a CLA that is simple, effective, and as clear as possible so that ... | 09301770fdc82810aa36e3d9c3c973068cd12b3b | cla/index.md | cla/index.md | Markdown |
<|file_sep|>lib/README.md.diff
original:
updated:
# Dependencies
<|file_sep|>lib/README.md.diff
original:
== Using Ivy
updated:
## Using Ivy
<|file_sep|>lib/README.md.diff
original:
== Downloading manually
updated:
## Downloading manually
<|file_sep|>lib/README.md.diff
original:
=== Commons FileUpload
updated:
### Co... | ## Downloading manually
The following dependencies need to be fulfilled somehow
### Commons FileUpload
This is a plan JAR file, which is available at
https://commons.apache.org/proper/commons-fileupload/download_fileupload.cgi
### Log4j
The code uses the log4j 1.x api. You download either an 1.2 release or
downl... | <|file_sep|>lib/README.md.diff
original:
updated:
# Dependencies
<|file_sep|>lib/README.md.diff
original:
== Using Ivy
updated:
## Using Ivy
<|file_sep|>lib/README.md.diff
original:
== Downloading manually
updated:
## Downloading manually
<|file_sep|>lib/README.md.diff
original:
=== Commons FileUpload
updated:
### Co... | a6d77bc8169f13f229751b65208076c084137c2a | lib/README.md | lib/README.md | Markdown |
<|file_sep|>original/schemata/testcase.yaml
description: "A single test case"
type:
- object
properties:
name:
type: string
description: 'Name of this testcase/scenario'
assertion:
type: string
description: 'Description of what this testcase asserts'
inputs: # TODO: make list of object?
type: ... | type:
- object
properties:
name:
type: string
description: 'Name of this testcase/scenario'
assertion:
type: string
description: 'Description of what this testcase asserts'
inputs: # TODO: make list of object?
type: object
description: 'The inputs send to the fixture input ports'
expect:... | <|file_sep|>original/schemata/testcase.yaml
description: "A single test case"
type:
- object
properties:
name:
type: string
description: 'Name of this testcase/scenario'
assertion:
type: string
description: 'Description of what this testcase asserts'
inputs: # TODO: make list of object?
type: ... | 1ae477ab22b22fd46b21775bad48a76a374a7dd9 | schemata/testcase.yaml | schemata/testcase.yaml | YAML |
<|file_sep|>original/tests/wpt/webgl/meta/conformance/rendering/out-of-bounds-index-buffers.html.ini
[out-of-bounds-index-buffers.html]
[WebGL test #2: should be 0,255,0,255\nat (0, 0) expected: 0,255,0,255 was 0,0,255,255]
expected: FAIL
[WebGL test #4: should be 0,255,0,255\nat (0, 0) expected: 0,255,0,255 w... | [out-of-bounds-index-buffers.html]
bug: https://github.com/servo/servo/issues/20599
[WebGL test #2: should be 0,255,0,255\nat (0, 0) expected: 0,255,0,255 was 0,0,255,255]
expected: FAIL
[WebGL test #4: should be 0,255,0,255\nat (0, 0) expected: 0,255,0,255 was 0,0,255,255]
expected: FAIL
| <|file_sep|>original/tests/wpt/webgl/meta/conformance/rendering/out-of-bounds-index-buffers.html.ini
[out-of-bounds-index-buffers.html]
[WebGL test #2: should be 0,255,0,255\nat (0, 0) expected: 0,255,0,255 was 0,0,255,255]
expected: FAIL
[WebGL test #4: should be 0,255,0,255\nat (0, 0) expected: 0,255,0,255 w... | 7ccb2d80d8569f7cc141a14938015ad02c9c7b8c | tests/wpt/webgl/meta/conformance/rendering/out-of-bounds-index-buffers.html.ini | tests/wpt/webgl/meta/conformance/rendering/out-of-bounds-index-buffers.html.ini | INI |
<|file_sep|>original/.github/workflows/main.yml
name: CI
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
name: Build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- name: Fetch submo... | name: CI
on:
push:
pull_request:
schedule:
- cron: '0 0 1 * *' # Monthly
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
name: Build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- name: Fetch subm... | <|file_sep|>original/.github/workflows/main.yml
name: CI
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
name: Build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- name: Fetch submo... | 553352fed1f5a1ef934511c9669e9e3abb065f69 | .github/workflows/main.yml | .github/workflows/main.yml | YAML |
<|file_sep|>original/git-recurse.sh
git_dirs=$(find ${HOME} -name '.git')
for dir in $git_dirs; do
dir=${dir%.git}
if [[ $@ == *"-l"* ]] || [[ $@ == "--list" ]]; then
echo $dir
fi
# XXX Returns single line, with variable spacing
branches=$(git -C $dir branch 2> /dev/null) || continue
... | git_dirs=$(find ${HOME} -name '.git')
for dir in $git_dirs; do
dir=${dir%.git}
if [[ $@ == *"-l"* ]] || [[ $@ == "--list" ]]; then
echo $dir
fi
# XXX Returns single line, with variable spacing
branches=$(git -C $dir show-branch --list 2> /dev/null) || continue
IFS=$'\n'
for branc... | <|file_sep|>original/git-recurse.sh
git_dirs=$(find ${HOME} -name '.git')
for dir in $git_dirs; do
dir=${dir%.git}
if [[ $@ == *"-l"* ]] || [[ $@ == "--list" ]]; then
echo $dir
fi
# XXX Returns single line, with variable spacing
branches=$(git -C $dir branch 2> /dev/null) || continue
... | 7e2f67b3ba8c26f70564a50194cabce6fdc716fe | git-recurse.sh | git-recurse.sh | Shell |
<|file_sep|>original/docs/templates/experimentation/tensorboards.md
<|file_sep|>current/docs/templates/experimentation/tensorboards.md
<|file_sep|>updated/docs/templates/experimentation/tensorboards.md | Polyaxon allows users to run tensorboard jobs on project, experiment, and experiment group level, these jobs are subject to the same permissions of the project they belong to.
[Tensorboard](https://www.tensorflow.org/programmers_guide/summaries_and_tensorboard) is a visualization tool for Tensorflow projects.
Tensorb... | <|file_sep|>original/docs/templates/experimentation/tensorboards.md
<|file_sep|>current/docs/templates/experimentation/tensorboards.md
<|file_sep|>updated/docs/templates/experimentation/tensorboards.md
Polyaxon allows users to run tensorboard jobs on project, experiment, and experiment group level, these jobs are sub... | b9ec884fc674f08033a386b64e876f24252ca8c1 | docs/templates/experimentation/tensorboards.md | docs/templates/experimentation/tensorboards.md | Markdown |
<|file_sep|>index.js.diff
original:
const outputCollectdData = (host, share) => {
console.log(`PUTVAL ${host} /storj/peers-${share.id} interval=${interval} N:${share.meta.farmerState.totalPeers}`);
console.log(`PUTVAL ${host} /storj/restarts-${share.id} interval=${interval} N:${share.meta.numRestarts}`);
co... | const status = () => {
const sock = dnode.connect(storjDaemonPort);
sock.on('error', function() {
console.error('Daemon is not running');
process.exit();
});
sock.on('remote', (rpc) => {
rpc.status((err, shares) => {
shares.forEach((share) => outputCollectdData);... | <|file_sep|>index.js.diff
original:
const outputCollectdData = (host, share) => {
console.log(`PUTVAL ${host} /storj/peers-${share.id} interval=${interval} N:${share.meta.farmerState.totalPeers}`);
console.log(`PUTVAL ${host} /storj/restarts-${share.id} interval=${interval} N:${share.meta.numRestarts}`);
co... | de039b054cda1dd647f3ea53efb39edff2601137 | index.js | index.js | JavaScript |
<|file_sep|>original/db/migrate/20180711182519_change_allowed_email_domains_text.rb
class ChangeAllowedEmailDomainsText < ActiveRecord::Migration[5.2]
def change
if Organization.new.respond_to? :allowed_email_domains
change_column :organizations, :allowed_email_domains, :text, limit: 255
end
end
end
<... | class ChangeAllowedEmailDomainsText < ActiveRecord::Migration[5.2]
def change
if Organization.column_names.include? 'allowed_email_domains'
change_column :organizations, :allowed_email_domains, :text, limit: 255
end
end
end | <|file_sep|>original/db/migrate/20180711182519_change_allowed_email_domains_text.rb
class ChangeAllowedEmailDomainsText < ActiveRecord::Migration[5.2]
def change
if Organization.new.respond_to? :allowed_email_domains
change_column :organizations, :allowed_email_domains, :text, limit: 255
end
end
end
<... | d5c89d054faca702b1c9a312c9f4dfa6d9fe5fa8 | db/migrate/20180711182519_change_allowed_email_domains_text.rb | db/migrate/20180711182519_change_allowed_email_domains_text.rb | Ruby |
<|file_sep|>original/tests/test_wfgenerator.py
<|file_sep|>current/tests/test_wfgenerator.py
<|file_sep|>updated/tests/test_wfgenerator.py | import pytest
from nlppln import WorkflowGenerator
class TestWFGenerator(object):
@pytest.fixture
def wf(self):
return WorkflowGenerator()
def test_steps_in_library(self, wf):
assert len(wf.steps_library) > 0 | <|file_sep|>original/tests/test_wfgenerator.py
<|file_sep|>current/tests/test_wfgenerator.py
<|file_sep|>updated/tests/test_wfgenerator.py
import pytest
from nlppln import WorkflowGenerator
class TestWFGenerator(object):
@pytest.fixture
def wf(self):
return WorkflowGenerator()
def test_steps_i... | 7a4dbefbd105653866cdbad85965c07e30716b77 | tests/test_wfgenerator.py | tests/test_wfgenerator.py | Python |
<|file_sep|>original/email-report.sh
#!/usr/bin/bash
cd $(dirname $0)
./report.py | mutt bdamos@vt.edu -s "Conference Status for $(date +%Y-%m-%d)"
<|file_sep|>current/email-report.sh
#!/usr/bin/bash
cd $(dirname $0)
./report.py | mutt bdamos@vt.edu -s "Conference Status for $(date +%Y-%m-%d)"
<|file_sep|>updated/ema... | #!/usr/bin/bash
cd $(dirname $0)
./report.py | mutt cs-conference-tracker@googlegroups.com \
-s "Conference Status for $(date +%Y-%m-%d)" | <|file_sep|>original/email-report.sh
#!/usr/bin/bash
cd $(dirname $0)
./report.py | mutt bdamos@vt.edu -s "Conference Status for $(date +%Y-%m-%d)"
<|file_sep|>current/email-report.sh
#!/usr/bin/bash
cd $(dirname $0)
./report.py | mutt bdamos@vt.edu -s "Conference Status for $(date +%Y-%m-%d)"
<|file_sep|>updated/ema... | 02e49b9abc353f6d316bce417ed8f87b9a5d76ea | email-report.sh | email-report.sh | Shell |
<|file_sep|>appveyor.yml.diff
original:
updated:
artifacts:
- path: .\build\Release\Setup\RELEASES
- path: .\build\Release\Setup\Setup.exe
- path: .\build\Release\Setup\*.nupkg
<|file_sep|>original/appveyor.yml
- cmd: .\test.bat
image: Visual Studio 2017
#skip_tags: true
#artifacts:
# - path: .\build\Rel... | - cmd: .\test.bat
image: Visual Studio 2017
artifacts:
- path: .\build\Release\Setup\RELEASES
- path: .\build\Release\Setup\Setup.exe
- path: .\build\Release\Setup\*.nupkg
#skip_tags: true
#deploy:
# release: autorelease-v$(appveyor_build_version)
# description: 'Automatic Release by AppVeyor'
# provider... | <|file_sep|>appveyor.yml.diff
original:
updated:
artifacts:
- path: .\build\Release\Setup\RELEASES
- path: .\build\Release\Setup\Setup.exe
- path: .\build\Release\Setup\*.nupkg
<|file_sep|>original/appveyor.yml
- cmd: .\test.bat
image: Visual Studio 2017
#skip_tags: true
#artifacts:
# - path: .\build\Rel... | 08e0f4f582c743ebaf77388b53dec73e21eb6359 | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/README.md
# ReCaptcha
## Installation
### Composer
Add the package to your require list:
"require": {
"studioforty9/recaptcha": "dev-master"
}
Add the repository to your project composer.json file:
"repositories": [
{"type": "composer", "url":... | # ReCaptcha
[](https://travis-ci.org/StudioForty9/Recaptcha)
## Installation
### Composer
Add the package to your require list:
"require": {
"studioforty9/recaptcha": "dev-master"
}
Add the repository to you... | <|file_sep|>original/README.md
# ReCaptcha
## Installation
### Composer
Add the package to your require list:
"require": {
"studioforty9/recaptcha": "dev-master"
}
Add the repository to your project composer.json file:
"repositories": [
{"type": "composer", "url":... | b9f81b8f12fa1e5ee8d1cbc1d241a3ab1618bcbb | README.md | README.md | Markdown |
<|file_sep|>original/package.json
"name": "react-vacancies",
"version": "1.0.0",
"private": true,
"author": {
"name": "Geir Gåsodden",
"email": "geir.gasodden@pythonia.no",
"url": "https://github.com/zrrrzzt"
},
"main": "index.js",
"scripts": {
"build": "browserify --transform reactify ind... | "name": "react-vacancies",
"version": "1.0.0",
"private": true,
"author": {
"name": "Geir Gåsodden",
"email": "geir.gasodden@pythonia.no",
"url": "https://github.com/zrrrzzt"
},
"main": "index.js",
"scripts": {
"build": "browserify --transform reactify index.js | node node_modules/.bin/ugl... | <|file_sep|>original/package.json
"name": "react-vacancies",
"version": "1.0.0",
"private": true,
"author": {
"name": "Geir Gåsodden",
"email": "geir.gasodden@pythonia.no",
"url": "https://github.com/zrrrzzt"
},
"main": "index.js",
"scripts": {
"build": "browserify --transform reactify ind... | 8de2d6f8bfae38b06c738c98c4f96bdf4609003e | package.json | package.json | JSON |
<|file_sep|>original/src/lib.rs
#![feature(plugin)]
#![feature(test)]
#![plugin(clippy)]
#[cfg(test)]
extern crate test;
#[cfg(test)]
extern crate rand;
#[cfg(test)]
#[macro_use]
extern crate quickcheck;
pub extern crate nalgebra;
pub const EPSILON: f32 = 0.00001;
pub mod aabb;
pub mod ray;
<|file_sep|>current/src... | #![deny(missing_docs)]
#![feature(plugin)]
#![feature(test)]
#![plugin(clippy)]
#[cfg(test)]
extern crate test;
#[cfg(test)]
extern crate rand;
#[cfg(test)]
#[macro_use]
extern crate quickcheck;
pub extern crate nalgebra;
pub const EPSILON: f32 = 0.00001;
pub mod aabb;
pub mod ray; | <|file_sep|>original/src/lib.rs
#![feature(plugin)]
#![feature(test)]
#![plugin(clippy)]
#[cfg(test)]
extern crate test;
#[cfg(test)]
extern crate rand;
#[cfg(test)]
#[macro_use]
extern crate quickcheck;
pub extern crate nalgebra;
pub const EPSILON: f32 = 0.00001;
pub mod aabb;
pub mod ray;
<|file_sep|>current/src... | 7c4b8d4c185ca740befe889d74146f3f6939d864 | src/lib.rs | src/lib.rs | Rust |
<|file_sep|>pkgs/os-specific/linux/jfsrec/svn-7.nix.diff
original:
doFixBoost = fullDepEntry (''
sed -e 's/-lboost_[a-z_]*/&-mt/g' -i src/Makefile.in
'') ["minInit" "doUnpack"];
updated:
<|file_sep|>original/pkgs/os-specific/linux/jfsrec/svn-7.nix
src = fetchurl {
url = http://downloads.sourceforge.net/... | src = fetchurl {
url = http://downloads.sourceforge.net/jfsrec/jfsrec-svn-7.tar.gz;
sha256 = "163z6ljr05vw2k5mj4fim2nlg4khjyibrii95370pvn474mg28vg";
};
buildInputs = [boost];
configureFlags = [];
doFixInc = fullDepEntry (''
sed -e '/[#]include [<]config.h[>]/a\#include <string.h>' -i src/unicode... | <|file_sep|>pkgs/os-specific/linux/jfsrec/svn-7.nix.diff
original:
doFixBoost = fullDepEntry (''
sed -e 's/-lboost_[a-z_]*/&-mt/g' -i src/Makefile.in
'') ["minInit" "doUnpack"];
updated:
<|file_sep|>original/pkgs/os-specific/linux/jfsrec/svn-7.nix
src = fetchurl {
url = http://downloads.sourceforge.net/... | 9bcea7563dfb9e5f6654c1763a525fc0979b465f | pkgs/os-specific/linux/jfsrec/svn-7.nix | pkgs/os-specific/linux/jfsrec/svn-7.nix | Nix |
<|file_sep|>lib/convection/model/template/resource_group.rb.diff
original:
attr_reader :attributes
updated:
<|file_sep|>original/lib/convection/model/template/resource_group.rb
include DSL::Template::Resource
include Mixin::Conditional
attr_reader :attributes
attr_reader :nam... | include DSL::Template::Resource
include Mixin::Conditional
attr_reader :name
attr_reader :parent
attr_reader :template
def_delegator :@template, :stack
def initialize(name, parent, &definition)
@definition = definition
@name = name
... | <|file_sep|>lib/convection/model/template/resource_group.rb.diff
original:
attr_reader :attributes
updated:
<|file_sep|>original/lib/convection/model/template/resource_group.rb
include DSL::Template::Resource
include Mixin::Conditional
attr_reader :attributes
attr_reader :nam... | 31f9bc28ecf23ac8095a01a34485157b56945eb6 | lib/convection/model/template/resource_group.rb | lib/convection/model/template/resource_group.rb | Ruby |
<|file_sep|>original/articles/dashboard/reference/views-api.md
- api-authentication
- oidc
- apis
- dashboard
contentType: reference
useCase:
- secure-api
- call-api
---
# Dashboard Views for APIs
Available views for your API include:
- **Settings**: lists the settings for your API, some of which are edi... | - api-authentication
- oidc
- apis
- dashboard
contentType: reference
useCase:
- secure-api
- call-api
---
# Dashboard Views for APIs
Available views for your API include:
- **Settings**: lists the settings for your API, some of which are editable. In this section, you can change the token expiration tim... | <|file_sep|>original/articles/dashboard/reference/views-api.md
- api-authentication
- oidc
- apis
- dashboard
contentType: reference
useCase:
- secure-api
- call-api
---
# Dashboard Views for APIs
Available views for your API include:
- **Settings**: lists the settings for your API, some of which are edi... | 07f6b70c0f5cbfb9f978589fa63bba5e2a85bfe5 | articles/dashboard/reference/views-api.md | articles/dashboard/reference/views-api.md | Markdown |
<|file_sep|>recipes/setuptools/meta.yaml.diff
original:
{% set version = "36.0.1" %}
updated:
{% set version = "36.2.0" %}
<|file_sep|>original/recipes/setuptools/meta.yaml
{% set name = "setuptools" %}
{% set version = "36.0.1" %}
package:
name: setuptools
version: {{ version }}
source:
fn: {{ name }}-{{ versi... | {% set name = "setuptools" %}
{% set version = "36.2.0" %}
package:
name: setuptools
version: {{ version }}
source:
fn: {{ name }}-{{ version }}.zip
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.zip
sha256: 4c2bda3829c9dbbe9c2b33d89c4b1cb6d45813615ab8e248ad352e3697a9... | <|file_sep|>recipes/setuptools/meta.yaml.diff
original:
{% set version = "36.0.1" %}
updated:
{% set version = "36.2.0" %}
<|file_sep|>original/recipes/setuptools/meta.yaml
{% set name = "setuptools" %}
{% set version = "36.0.1" %}
package:
name: setuptools
version: {{ version }}
source:
fn: {{ name }}-{{ versi... | 980e016fe45baaa84275e7cad71bd23d8467ab98 | recipes/setuptools/meta.yaml | recipes/setuptools/meta.yaml | YAML |
<|file_sep|>original/S06-other/pairs-as-lvalues.t
#?rakudo.moar todo "NYI RT #124660"
#?rakudo.jvm skip "Flattening named argument must have VMHash REPR RT #124661"
{
my ($a, $b);
$b = 'b';
:(:$a) := $b;
is $a, 'b', 'can bind to single pair';
ok $a =:= $b, 'variables are bound together (?)';
}
{
... | #?rakudo.moar todo "NYI RT #124660"
#?rakudo.jvm skip "Flattening named argument must have VMHash REPR RT #124661"
{
my ($a, $b);
$b = 'b';
:(:$a) := $b;
is $a, 'b', 'can bind to single pair';
ok $a =:= $b, 'variables are bound together (?)';
}
{
my ($t, $m);
:(:type($t), :motivation($m)) :... | <|file_sep|>original/S06-other/pairs-as-lvalues.t
#?rakudo.moar todo "NYI RT #124660"
#?rakudo.jvm skip "Flattening named argument must have VMHash REPR RT #124661"
{
my ($a, $b);
$b = 'b';
:(:$a) := $b;
is $a, 'b', 'can bind to single pair';
ok $a =:= $b, 'variables are bound together (?)';
}
{
... | f57897f0371d630388b1a6e3d21bf5858c6fcc15 | S06-other/pairs-as-lvalues.t | S06-other/pairs-as-lvalues.t | Perl |
<|file_sep|>original/test/detached-in-viewport.html
<|file_sep|>current/test/detached-in-viewport.html
<|file_sep|>updated/test/detached-in-viewport.html | <!doctype html>
<html>
<head>
<title>detached images dom nodes</title>
<script src="../lazyload.js"></script>
<script src="./jquery-1.7.2.js"></script>
<script>
$(function() {
// the action of $('<img') will trigger the onload event
// then it will not be triggered again when inserted into dom
... | <|file_sep|>original/test/detached-in-viewport.html
<|file_sep|>current/test/detached-in-viewport.html
<|file_sep|>updated/test/detached-in-viewport.html
<!doctype html>
<html>
<head>
<title>detached images dom nodes</title>
<script src="../lazyload.js"></script>
<script src="./jquery-1.7.2.js"></script>
<scr... | d016599b3c9f937fa5114f9ab0fd7a90f15f7335 | test/detached-in-viewport.html | test/detached-in-viewport.html | HTML |
<|file_sep|>original/.travis.yml
language: objective-c
xcode_workspace: PKToolbox.xcworkspace
xcode_scheme: PKToolbox
rvm:
- "2.1.0"
<|file_sep|>current/.travis.yml
language: objective-c
xcode_workspace: PKToolbox.xcworkspace
xcode_scheme: PKToolbox
rvm:
- "2.1.0"
<|file_sep|>updated/.travis.yml | language: objective-c
xcode_workspace: PKToolbox.xcworkspace
xcode_scheme: PKToolbox
rvm:
- "2.1.1" | <|file_sep|>original/.travis.yml
language: objective-c
xcode_workspace: PKToolbox.xcworkspace
xcode_scheme: PKToolbox
rvm:
- "2.1.0"
<|file_sep|>current/.travis.yml
language: objective-c
xcode_workspace: PKToolbox.xcworkspace
xcode_scheme: PKToolbox
rvm:
- "2.1.0"
<|file_sep|>updated/.travis.yml
language: objective... | 2ef6f0bd38bbcd97db13821f57a80235f640873b | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.3.0
tox==2.7.0
coverage==4.4.1
Sphinx==1.6.1
cryptography==1.8.2
PyYAML==3.12
pytest==3.1.0
<|file_sep|>current/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.3.0
t... | pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.3.0
tox==2.7.0
coverage==4.4.1
Sphinx==1.6.2
cryptography==1.8.2
PyYAML==3.12
pytest==3.1.0 | <|file_sep|>original/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.3.0
tox==2.7.0
coverage==4.4.1
Sphinx==1.6.1
cryptography==1.8.2
PyYAML==3.12
pytest==3.1.0
<|file_sep|>current/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.3.0
t... | 8963d8b810f147d4dff2e1a1e186d02a300982aa | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>docs/ComponentDoc.js.diff
original:
const docsContext = require.context('!!docs!../src', true, /^((?!test(\.js|$)|\.scss$).)*$/)
const componentContext = require.context('../src', true, /^((?!test(\.js|$)|\.scss$).)*$/)
updated:
const docsContext = require.context('!!docs!../src', true, /^... | component: null,
docs: null,
}
componentWillMount() {
require.ensure([], () => {
const docsContext = require.context('!!docs!../src', true, /^((?!test(\.js|$)).)*\.js$/)
const componentContext = require.context('../src', true, /^((?!test(\.js|$)).)*\.js$/)
this.setState({
com... | <|file_sep|>docs/ComponentDoc.js.diff
original:
const docsContext = require.context('!!docs!../src', true, /^((?!test(\.js|$)|\.scss$).)*$/)
const componentContext = require.context('../src', true, /^((?!test(\.js|$)|\.scss$).)*$/)
updated:
const docsContext = require.context('!!docs!../src', true, /^... | 70bd68a426e62ea1450a674106f75ea9de85cb4e | docs/ComponentDoc.js | docs/ComponentDoc.js | JavaScript |
<|file_sep|>packages/al/alist.yaml.diff
original:
hash: 8ac12931b541720cde321bc6c15947badb0daba954b5190330889569ea3da95a
updated:
hash: 90fcab596517f762f67630ca7102b6739f053e48455029e4eb6fe0bb6e82946f
<|file_sep|>packages/al/alist.yaml.diff
original:
updated:
- 0.1.0.5
<|file_sep|>original/packages/al/alist.yaml
maint... | synopsis: lists with O(1) append
changelog: |
# Revision history for alist
## 0.1.0.0 -- YYYY-mm-dd
* First version. Released on an unsuspecting world.
basic-deps:
base: <10000
all-versions:
- 0.1.0.0
- 0.1.0.1
- 0.1.0.2
- 0.1.0.3
- 0.1.0.4
- 0.1.0.5
author: Alan Hawkins
latest: 0.1.0.5
description-type: had... | <|file_sep|>packages/al/alist.yaml.diff
original:
hash: 8ac12931b541720cde321bc6c15947badb0daba954b5190330889569ea3da95a
updated:
hash: 90fcab596517f762f67630ca7102b6739f053e48455029e4eb6fe0bb6e82946f
<|file_sep|>packages/al/alist.yaml.diff
original:
updated:
- 0.1.0.5
<|file_sep|>original/packages/al/alist.yaml
maint... | 2a7cef4b7bb80739fa5cfe673d55c29794e34b64 | packages/al/alist.yaml | packages/al/alist.yaml | YAML |
<|file_sep|>original/TextMatch/Properties/AssemblyInfo.cs
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GU... |
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed... | <|file_sep|>original/TextMatch/Properties/AssemblyInfo.cs
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GU... | 494feb1f4b9dc0e4d4bc09c77ac5223561e7a5a8 | TextMatch/Properties/AssemblyInfo.cs | TextMatch/Properties/AssemblyInfo.cs | C# |
<|file_sep|>original/src/types.ts
import * as React from 'react';
type Callback = (...args: any[]) => void;
export type ErrorCallback = (error: Error | FetchError) => void;
export type LoadCallback = (src: string, isCached: boolean) => void;
export type PreProcessorCallback = (code: string) => string;
export interfa... | import * as React from 'react';
type Callback = (...args: any[]) => void;
export type ErrorCallback = (error: Error | FetchError) => void;
export type LoadCallback = (src: string, isCached: boolean) => void;
export type PreProcessorCallback = (code: string) => string;
export interface Props extends Omit<React.SVGPro... | <|file_sep|>original/src/types.ts
import * as React from 'react';
type Callback = (...args: any[]) => void;
export type ErrorCallback = (error: Error | FetchError) => void;
export type LoadCallback = (src: string, isCached: boolean) => void;
export type PreProcessorCallback = (code: string) => string;
export interfa... | 8bc1815d567ee953e59224ee0dbb483489e1e268 | src/types.ts | src/types.ts | TypeScript |
<|file_sep|>_tests/Unit/Framework/Date/ValueObject/DateTimeTest.php.diff
original:
public function testInvalidDateTime()
{
$this->expectException(InvalidDateFormatException::class);
new VODateTime('31-05-2018 10:00:05');
}
updated:
<|file_sep|>original/_tests/Unit/Framework/Date/ValueObje... | use PH7\Framework\Date\ValueObject\DateTime as VODateTime;
use PH7\Framework\Date\ValueObject\InvalidDateFormatException;
use PHPUnit_Framework_TestCase;
class DateTimeTest extends PHPUnit_Framework_TestCase
{
public function testGetDateTimeValue()
{
$sDateValue = '2018-05-31 10:00:05';
$oDate... | <|file_sep|>_tests/Unit/Framework/Date/ValueObject/DateTimeTest.php.diff
original:
public function testInvalidDateTime()
{
$this->expectException(InvalidDateFormatException::class);
new VODateTime('31-05-2018 10:00:05');
}
updated:
<|file_sep|>original/_tests/Unit/Framework/Date/ValueObje... | f9978dc9c5072a6a6984884882da941b8c87c1d8 | _tests/Unit/Framework/Date/ValueObject/DateTimeTest.php | _tests/Unit/Framework/Date/ValueObject/DateTimeTest.php | PHP |
<|file_sep|>metadata/awais.instagrabber.yml.diff
original:
updated:
- versionName: 10.0-fdroid
versionCode: 10
commit: v10.0-fdroid
subdir: app
gradle:
- fdroid
<|file_sep|>original/metadata/awais.instagrabber.yml
gradle:
- fdroid
- versionName: 7.0-fdroid
versionCode: 7
c... | gradle:
- fdroid
- versionName: 8.0-fdroid
versionCode: 8
commit: v8.0
subdir: app
gradle:
- fdroid
- versionName: 10.0-fdroid
versionCode: 10
commit: v10.0-fdroid
subdir: app
gradle:
- fdroid
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: ... | <|file_sep|>metadata/awais.instagrabber.yml.diff
original:
updated:
- versionName: 10.0-fdroid
versionCode: 10
commit: v10.0-fdroid
subdir: app
gradle:
- fdroid
<|file_sep|>original/metadata/awais.instagrabber.yml
gradle:
- fdroid
- versionName: 7.0-fdroid
versionCode: 7
c... | 7fd4b9c5f56f47ce9db1157e99e983a3bfff1ff7 | metadata/awais.instagrabber.yml | metadata/awais.instagrabber.yml | YAML |
<|file_sep|>original/.travis.yml
env:
global:
- SAMTOOLS_VERSION=1.2
- SHELLCHECK_VERSION=v0.4.7
before_install:
- git clone --branch $SAMTOOLS_VERSION --depth 1 https://github.com/samtools/samtools.git
- git clone --branch $SAMTOOLS_VERSION --depth 1 https://github.com/samtools/htslib.git
- pushd sam... | - "5.24"
- "5.26"
env:
global:
- SAMTOOLS_VERSION=1.2
- SHELLCHECK_VERSION=v0.4.7
before_install:
- git clone --branch $SAMTOOLS_VERSION --depth 1 https://github.com/samtools/samtools.git
- git clone --branch $SAMTOOLS_VERSION --depth 1 https://github.com/samtools/htslib.git
- pushd samtools && ma... | <|file_sep|>original/.travis.yml
env:
global:
- SAMTOOLS_VERSION=1.2
- SHELLCHECK_VERSION=v0.4.7
before_install:
- git clone --branch $SAMTOOLS_VERSION --depth 1 https://github.com/samtools/samtools.git
- git clone --branch $SAMTOOLS_VERSION --depth 1 https://github.com/samtools/htslib.git
- pushd sam... | de7241af6e94aea2ed03bf07592be3dc34fb5c7a | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/project/plugins.sbt
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.7.4")
addSbtPlugin("org.scalariform" % "sbt-scalariform" % "1.8.3")
<|file_sep|>current/project/plugins.sbt
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.7.4")
addSbtPlugin("org.scalariform" % "sbt-scalariform" % "1.8.3... | addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.8.0")
addSbtPlugin("org.scalariform" % "sbt-scalariform" % "1.8.3") | <|file_sep|>original/project/plugins.sbt
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.7.4")
addSbtPlugin("org.scalariform" % "sbt-scalariform" % "1.8.3")
<|file_sep|>current/project/plugins.sbt
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.7.4")
addSbtPlugin("org.scalariform" % "sbt-scalariform" % "1.8.3... | 6987d9d30aff1ec618d8793b4163661152baa3dd | project/plugins.sbt | project/plugins.sbt | Scala |
<|file_sep|>original/www/js/controllers/auth_ctrl.js
$scope.signIn = function() {
var authPromise = authentication.authenticate($scope.login_info.email, $scope.login_info.password);
$ionicLoading.show({
templateUrl: 'templates/loading.html'
});
return authPromise.then(function(resul... |
$scope.signIn = function() {
var authPromise = authentication.authenticate($scope.login_info.email, $scope.login_info.password);
$ionicLoading.show({
templateUrl: 'templates/loading.html'
});
return authPromise.then(function(result) {
if (result) {
showLoading($ion... | <|file_sep|>original/www/js/controllers/auth_ctrl.js
$scope.signIn = function() {
var authPromise = authentication.authenticate($scope.login_info.email, $scope.login_info.password);
$ionicLoading.show({
templateUrl: 'templates/loading.html'
});
return authPromise.then(function(resul... | 6f96baf5660267704857e38c6ca8b48b9f634ae8 | www/js/controllers/auth_ctrl.js | www/js/controllers/auth_ctrl.js | JavaScript |
<|file_sep|>original/updates/0.0.1-list_child-placement-considerations.js
<|file_sep|>current/updates/0.0.1-list_child-placement-considerations.js
<|file_sep|>updated/updates/0.0.1-list_child-placement-considerations.js | exports.create = {
'Child Placement Consideration': [{
childPlacementConsideration: 'Fire Setting'
}, {
childPlacementConsideration: 'Hurts Animals'
}, {
childPlacementConsideration: 'Self Harm'
}, {
childPlacementConsideration: 'Sexual Abuse'
}]
}; | <|file_sep|>original/updates/0.0.1-list_child-placement-considerations.js
<|file_sep|>current/updates/0.0.1-list_child-placement-considerations.js
<|file_sep|>updated/updates/0.0.1-list_child-placement-considerations.js
exports.create = {
'Child Placement Consideration': [{
childPlacementConsideration: 'Fire Setti... | a80dedc42127d60ea86fd76414f495e5430a806b | updates/0.0.1-list_child-placement-considerations.js | updates/0.0.1-list_child-placement-considerations.js | JavaScript |
<|file_sep|>.travis.yml.diff
original:
updated:
- &build
<|file_sep|>.travis.yml.diff
original:
node_js: "8"
- script:
- yarn lint
- yarn build
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
- <<: *build
node_js: '8'
- &unit
<|file_sep|>.travis.yml.diff
origin... |
- &unit
- stage: Tests
script: yarn test:unit
name: "Unit Tests"
node_js: "10"
- <<: *unit
node_js: "8"
- &installer
- script: yarn installer:ci
name: "Installer test"
if: branch IN (master, develop)
node_js: "10"
addons:
chrome: stable
... | <|file_sep|>.travis.yml.diff
original:
updated:
- &build
<|file_sep|>.travis.yml.diff
original:
node_js: "8"
- script:
- yarn lint
- yarn build
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
- <<: *build
node_js: '8'
- &unit
<|file_sep|>.travis.yml.diff
origin... | 5e81d2098e91c8bfc2106d7facf7e8da480acdd3 | .travis.yml | .travis.yml | YAML |
<|file_sep|>metadata/be.mygod.vpnhotspot.foss.yml.diff
original:
updated:
- versionName: 2.11.6
versionCode: 259
commit: v2.11.6
subdir: mobile
gradle:
- freedom
<|file_sep|>original/metadata/be.mygod.vpnhotspot.foss.yml
SourceCode: https://github.com/nekohasekai/VPNHotspot
IssueTracker: https... | Repo: https://github.com/nekohasekai/VPNHotspot
Builds:
- versionName: 2.11.4
versionCode: 257
commit: v2.11.4
subdir: mobile
gradle:
- freedom
- versionName: 2.11.6
versionCode: 259
commit: v2.11.6
subdir: mobile
gradle:
- freedom
AutoUpdateMode: Version v%v
UpdateChe... | <|file_sep|>metadata/be.mygod.vpnhotspot.foss.yml.diff
original:
updated:
- versionName: 2.11.6
versionCode: 259
commit: v2.11.6
subdir: mobile
gradle:
- freedom
<|file_sep|>original/metadata/be.mygod.vpnhotspot.foss.yml
SourceCode: https://github.com/nekohasekai/VPNHotspot
IssueTracker: https... | facc60688f6950d7ad46804b498d6772fdb1967b | metadata/be.mygod.vpnhotspot.foss.yml | metadata/be.mygod.vpnhotspot.foss.yml | YAML |
<|file_sep|>original/_people/mark_heywood.md
---
title: Mark Heywood
submitted: 2016-11-15
gender: male
contact_allowed: true
course:
- History
graduated: 1996
careers:
- Director
- Producer
links:
- type: Personal Website
href: "http://www.inkjockey.co.uk"
- type: IMDb
href: "http://www.imdb.com/nam... | ---
title: Mark Heywood
submitted: 2016-11-15
headshot: C4x7wG5
gender: male
contact_allowed: true
course:
- History
graduated: 1996
careers:
- Director
- Producer
links:
- type: Personal Website
href: "http://www.inkjockey.co.uk"
- type: IMDb
href: "http://www.imdb.com/name/nm7682573/?ref_=ttfc_fc_w... | <|file_sep|>original/_people/mark_heywood.md
---
title: Mark Heywood
submitted: 2016-11-15
gender: male
contact_allowed: true
course:
- History
graduated: 1996
careers:
- Director
- Producer
links:
- type: Personal Website
href: "http://www.inkjockey.co.uk"
- type: IMDb
href: "http://www.imdb.com/nam... | 60b61a60ed4691da8a26cc696430ba8037a7f220 | _people/mark_heywood.md | _people/mark_heywood.md | Markdown |
<|file_sep|>original/src/olympia/migrations/1162-previews.sql
ALTER TABLE `previews`
DROP FOREIGN KEY `previews_ibfk_1`,
DROP FOREIGN KEY `previews_ibfk_2`,
DROP INDEX `previews_ibfk_2`,
CHANGE COLUMN `modified` `modified` DATETIME (6) NOT NULL,
CHANGE COLUMN `id` `id` INT (10) UNSIGNED NOT NULL AUT... | /* There are some old entries in previews which have a caption that point to non-existant translations, need to NULL the captions them to add the missing constraint */
UPDATE `previews`
LEFT JOIN `translations` ON `previews`.`caption` = `translations`.`id`
SET `previews`.`caption`=NULL
WHERE `translations`.... | <|file_sep|>original/src/olympia/migrations/1162-previews.sql
ALTER TABLE `previews`
DROP FOREIGN KEY `previews_ibfk_1`,
DROP FOREIGN KEY `previews_ibfk_2`,
DROP INDEX `previews_ibfk_2`,
CHANGE COLUMN `modified` `modified` DATETIME (6) NOT NULL,
CHANGE COLUMN `id` `id` INT (10) UNSIGNED NOT NULL AUT... | 6875e8b774c4b0b543c8f31531b284d8a28c5eac | src/olympia/migrations/1162-previews.sql | src/olympia/migrations/1162-previews.sql | SQL |
<|file_sep|>original/inc/db.php
<?php
$db = mysql_connect(
$config['database']['host'],
$config['database']['username'],
$config['database']['password']
);
if (!$db) {
die('Not connected: ' . mysql_error());
}
$db_selected = mysql_select_db($config['database']['database'], $db);
if (!$db_selected) {
... | <?php
$db = mysql_pconnect(
$config['database']['host'],
$config['database']['username'],
$config['database']['password']
);
if (!$db) {
die('Not connected: ' . mysql_error());
}
$db_selected = mysql_select_db($config['database']['database'], $db);
if (!$db_selected) {
die ('Can\'t use ' . $confi... | <|file_sep|>original/inc/db.php
<?php
$db = mysql_connect(
$config['database']['host'],
$config['database']['username'],
$config['database']['password']
);
if (!$db) {
die('Not connected: ' . mysql_error());
}
$db_selected = mysql_select_db($config['database']['database'], $db);
if (!$db_selected) {
... | e476978bd1a0de055e66d19904c3ad2ad2f10c8d | inc/db.php | inc/db.php | PHP |
<|file_sep|>original/.travis.yml
language: python
python:
- "3.4"
- "3.5"
- "3.6"
cache: pip
script:
- coverage run setup.py test --addopts --live
before_install:
- mkdir -p $HOME/$DEST
- curl -u $KEY $HOST/$FILE > $HOME/$DEST/$FILE
install:
- pip install --quiet -r requirements.txt -r test_requirements... | language: python
python:
- "3.4"
- "3.5"
- "3.6"
cache: pip
script:
- coverage run setup.py test --addopts --destructive
before_install:
- mkdir -p $HOME/$DEST
- curl -u $KEY $HOST/$FILE > $HOME/$DEST/$FILE
install:
- pip install --quiet -r requirements.txt -r test_requirements.txt
after_success:
- c... | <|file_sep|>original/.travis.yml
language: python
python:
- "3.4"
- "3.5"
- "3.6"
cache: pip
script:
- coverage run setup.py test --addopts --live
before_install:
- mkdir -p $HOME/$DEST
- curl -u $KEY $HOST/$FILE > $HOME/$DEST/$FILE
install:
- pip install --quiet -r requirements.txt -r test_requirements... | 79c07de3bc55d470d58339bcb3ca4c547b43b8a9 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.github/PULL_REQUEST_TEMPLATE.md
<|file_sep|>current/.github/PULL_REQUEST_TEMPLATE.md
<|file_sep|>updated/.github/PULL_REQUEST_TEMPLATE.md | <!-- Please complete this template before creating pull request. -->
#### What's in this pull request?
<!-- Description about pull request. -->
#### Resolved bug number: ([SR-](https://bugs.swift.org/browse/SR-))
<!-- If this pull request resolves any bugs from Swift bug tracker -->
* * * *
<!-- This selection shoul... | <|file_sep|>original/.github/PULL_REQUEST_TEMPLATE.md
<|file_sep|>current/.github/PULL_REQUEST_TEMPLATE.md
<|file_sep|>updated/.github/PULL_REQUEST_TEMPLATE.md
<!-- Please complete this template before creating pull request. -->
#### What's in this pull request?
<!-- Description about pull request. -->
#### Resolved... | 0ec0c7057050a3540dec97865c6f69ba3bf0c984 | .github/PULL_REQUEST_TEMPLATE.md | .github/PULL_REQUEST_TEMPLATE.md | Markdown |
<|file_sep|>original/_posts/2014-07-23-crosswalk-weekly-1.md
<|file_sep|>current/_posts/2014-07-23-crosswalk-weekly-1.md
<|file_sep|>updated/_posts/2014-07-23-crosswalk-weekly-1.md | # Crosswalk Weekly 1
Crosswalk Weekly is a summary of activity on the Crosswalk Community from QA's
perspective, to get inputs to improve [crosswalk-test-suite]
(https://github.com/crosswalk-project/crosswalk-test-suite) test coverage and
approach.
## App crashes after some time because of Audio Decoder
Florian Land... | <|file_sep|>original/_posts/2014-07-23-crosswalk-weekly-1.md
<|file_sep|>current/_posts/2014-07-23-crosswalk-weekly-1.md
<|file_sep|>updated/_posts/2014-07-23-crosswalk-weekly-1.md
# Crosswalk Weekly 1
Crosswalk Weekly is a summary of activity on the Crosswalk Community from QA's
perspective, to get inputs to improv... | 1da73daddda90c124927fa716d4d05429db867a1 | _posts/2014-07-23-crosswalk-weekly-1.md | _posts/2014-07-23-crosswalk-weekly-1.md | Markdown |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.