prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>original/src/server/static-app.jsx
import React from 'react'
import ReactDOMServer from 'react-dom/server'
import { StaticRouter } from 'react-router'
import { Provider } from 'react-redux'
import App from './../shared/app'
export default (location: string, store: Object) =>
ReactDOMServer.renderToStrin... | import React from 'react'
import ReactDOMServer from 'react-dom/server'
import { StaticRouter } from 'react-router'
import { Provider } from 'react-redux'
import App from './../shared/app'
export default (location: string, store: Object) =>
ReactDOMServer.renderToString(
<Provider store={store}>
<StaticRo... | <|file_sep|>original/src/server/static-app.jsx
import React from 'react'
import ReactDOMServer from 'react-dom/server'
import { StaticRouter } from 'react-router'
import { Provider } from 'react-redux'
import App from './../shared/app'
export default (location: string, store: Object) =>
ReactDOMServer.renderToStrin... | bc9c3d525d0941fac618f8fe3211def338f3116c | src/server/static-app.jsx | src/server/static-app.jsx | JSX |
<|file_sep|>original/zuul.d/pctp.yaml
- project:
name: CiscoSystems/project-config-third-party
check:
jobs:
- dsvm-tempest-smoke-ucsm-job-queens
- dsvm-tempest-smoke-nexus-job-queens
<|file_sep|>current/zuul.d/pctp.yaml
- project:
name: CiscoSystems/project-config-third-party
check... | - project:
name: CiscoSystems/project-config-third-party
jobtest:
jobs:
- dsvm-tempest-smoke-ucsm-job-queens
- dsvm-tempest-smoke-nexus-job-queens | <|file_sep|>original/zuul.d/pctp.yaml
- project:
name: CiscoSystems/project-config-third-party
check:
jobs:
- dsvm-tempest-smoke-ucsm-job-queens
- dsvm-tempest-smoke-nexus-job-queens
<|file_sep|>current/zuul.d/pctp.yaml
- project:
name: CiscoSystems/project-config-third-party
check... | e84fd2eaa11e39b7c9e1a6018cc55dd1ddab7e4a | zuul.d/pctp.yaml | zuul.d/pctp.yaml | YAML |
<|file_sep|>original/plugins/tempest/vars/tests/downstream_network_plugin.yml
<|file_sep|>current/plugins/tempest/vars/tests/downstream_network_plugin.yml
<|file_sep|>updated/plugins/tempest/vars/tests/downstream_network_plugin.yml | ---
test_dict:
whitelist:
- "neutron_plugin.*"
blacklist:
- "^neutron_plugin.tests.scenario.test_qos.QosTestSriov.*"
- "OvnDvr"
- "multicast"
plugins:
tempest_helper_plugin:
repo: "https://url.corp.redhat.com/downstream-helper-plugin"
tempest_neutron_pl... | <|file_sep|>original/plugins/tempest/vars/tests/downstream_network_plugin.yml
<|file_sep|>current/plugins/tempest/vars/tests/downstream_network_plugin.yml
<|file_sep|>updated/plugins/tempest/vars/tests/downstream_network_plugin.yml
---
test_dict:
whitelist:
- "neutron_plugin.*"
blacklist:
- "^n... | eb0ed496107ccd61f34cbd0da6adb981d0603146 | plugins/tempest/vars/tests/downstream_network_plugin.yml | plugins/tempest/vars/tests/downstream_network_plugin.yml | YAML |
<|file_sep|>original/README.md
and providing user mode with API for USB-specific operations on the device.
The library is intended to be as generic as possible, support all types of
USB devices, bulk and isochronous transfers, composite devices etc.
Library supports all Windows OS versions starting from Windows XP/2... | and providing user mode with API for USB-specific operations on the device.
The library is intended to be as generic as possible, support all types of
USB devices, bulk and isochronous transfers, composite devices etc.
Library supports all Windows OS versions starting from Windows XP/2003.
## Documentation
* See A... | <|file_sep|>original/README.md
and providing user mode with API for USB-specific operations on the device.
The library is intended to be as generic as possible, support all types of
USB devices, bulk and isochronous transfers, composite devices etc.
Library supports all Windows OS versions starting from Windows XP/2... | 2b1c206e3fadc7a210f5d4b9584c1dfea1b6af58 | README.md | README.md | Markdown |
<|file_sep|>original/tests/main.yml
---
# Tests executed from Travis
- hosts: all
roles:
- role: ansible-graphite
graphite_secret_key: testtest123
uwsgi_docker_hack: True
<|file_sep|>current/tests/main.yml
---
# Tests executed from Travis
- hosts: all
roles:
- role: ansible-graphite
gr... | ---
# Tests executed from Travis
- hosts: all
roles:
- role: ansible-graphite
graphite_secret_key: testtest123
ignore_systemd_reload: True | <|file_sep|>original/tests/main.yml
---
# Tests executed from Travis
- hosts: all
roles:
- role: ansible-graphite
graphite_secret_key: testtest123
uwsgi_docker_hack: True
<|file_sep|>current/tests/main.yml
---
# Tests executed from Travis
- hosts: all
roles:
- role: ansible-graphite
gr... | 5755d3886b1847fcf3989ac8b2863c0d9f1dbe0e | tests/main.yml | tests/main.yml | YAML |
<|file_sep|>original/src/index.js
const sagas = []
for (const [type, definition] of Object.entries(definitions)) {
const ACTION_TYPE = `${moduleName}/${type}`
const { creator, reducer, saga } = typeof definition === 'function' ? { reducer: definition } : definition
creator ? actionMap[ACTION_TYPE... | const sagas = []
for (const [type, definition] of Object.entries(definitions)) {
const ACTION_TYPE = `${moduleName}/${type}`
const { creator, reducer, saga } = typeof definition === 'function' ? { reducer: definition } : definition
creator ? actionMap[ACTION_TYPE] = creator : identityActions.push... | <|file_sep|>original/src/index.js
const sagas = []
for (const [type, definition] of Object.entries(definitions)) {
const ACTION_TYPE = `${moduleName}/${type}`
const { creator, reducer, saga } = typeof definition === 'function' ? { reducer: definition } : definition
creator ? actionMap[ACTION_TYPE... | bed927e07e502c94127a2e2646294bb5bb64f5ca | src/index.js | src/index.js | JavaScript |
<|file_sep|>original/docs/requirements.txt
sphinx==5.0.1
furo==2022.4.7
sphinx-autodoc-typehints==1.18.2
<|file_sep|>current/docs/requirements.txt
sphinx==5.0.1
furo==2022.4.7
sphinx-autodoc-typehints==1.18.2
<|file_sep|>updated/docs/requirements.txt | sphinx==5.0.1
furo==2022.4.7
sphinx-autodoc-typehints==1.18.3 | <|file_sep|>original/docs/requirements.txt
sphinx==5.0.1
furo==2022.4.7
sphinx-autodoc-typehints==1.18.2
<|file_sep|>current/docs/requirements.txt
sphinx==5.0.1
furo==2022.4.7
sphinx-autodoc-typehints==1.18.2
<|file_sep|>updated/docs/requirements.txt
sphinx==5.0.1
furo==2022.4.7
sphinx-autodoc-typehints==1.18.3 | 165b8522665909b793825dd65de1ae928027bcf4 | docs/requirements.txt | docs/requirements.txt | Text |
<|file_sep|>packages/re/relapse.yaml.diff
original:
hash: 52ecffb2e4d79d7b4b5fb7d93ad97bcb039ad4cee2feeb78d0b121004f894695
updated:
hash: b89ea23189e07f377be4e2a4deccf3d6ba7f547ed8ad77e27b35d78801efd81c
<|file_sep|>packages/re/relapse.yaml.diff
original:
- '0.1.1.1'
- '0.1.2.0'
- '0.2.0.0'
updated:
- '1.0.0.0'
<|file_s... | aeson: -any
vector: -any
maintainer: firstname at thenumbertwohundred thewordproof dotcc
synopsis: Sensible RLP encoding
changelog: ''
basic-deps:
bytestring: -any
base: ! '>=4.8 && <5'
attoparsec: ! '>=0.13.1.0 && <0.14'
all-versions:
- '1.0.0.0'
author: Ilya Ostrovskiy
latest: '1.0.0.0'
description-type: ma... | <|file_sep|>packages/re/relapse.yaml.diff
original:
hash: 52ecffb2e4d79d7b4b5fb7d93ad97bcb039ad4cee2feeb78d0b121004f894695
updated:
hash: b89ea23189e07f377be4e2a4deccf3d6ba7f547ed8ad77e27b35d78801efd81c
<|file_sep|>packages/re/relapse.yaml.diff
original:
- '0.1.1.1'
- '0.1.2.0'
- '0.2.0.0'
updated:
- '1.0.0.0'
<|file_s... | 946ab0512c2452a55bb0a9cc54c958729b00f622 | packages/re/relapse.yaml | packages/re/relapse.yaml | YAML |
<|file_sep|>original/lib/pickme/policy.rb
raise SecretKeyMissing if Pickme.config.secret_key.nil?
self.call = call
{
keys[0] => policy,
keys[1] => signature
}
end
private
def json_policy
hash = { expiry: Pickme.config.expiry.call }
[:expiry, :call... | raise SecretKeyMissing if Pickme.config.secret_key.nil?
self.call = call
{
keys[0] => policy,
keys[1] => signature
}
end
private
def json_policy
hash = { expiry: Pickme.config.expiry.call }
[:call, :handle, :maxsize, :minsize, :path].each do |inpu... | <|file_sep|>original/lib/pickme/policy.rb
raise SecretKeyMissing if Pickme.config.secret_key.nil?
self.call = call
{
keys[0] => policy,
keys[1] => signature
}
end
private
def json_policy
hash = { expiry: Pickme.config.expiry.call }
[:expiry, :call... | af825b353268233c81dbc1d5b64e6c6be10ebbb7 | lib/pickme/policy.rb | lib/pickme/policy.rb | Ruby |
<|file_sep|>original/core/client/templates/posts/post.hbs
{{#if title}}
{{partial "floating-header"}}
<section class="content-preview-content">
<div class="wrapper">
<h1>{{title}}</h1>
{{gh-format-markdown markdown}}
</div>
</section>
{{else}}
<div class="no-posts-box">
... | {{#if title}}
{{partial "floating-header"}}
<section class="content-preview-content">
<div class="wrapper">
<h1>{{{title}}}</h1>
{{{html}}}
</div>
</section>
{{else}}
<div class="no-posts-box">
<div class="no-posts">
<h3>You Haven't Written Any Posts Yet... | <|file_sep|>original/core/client/templates/posts/post.hbs
{{#if title}}
{{partial "floating-header"}}
<section class="content-preview-content">
<div class="wrapper">
<h1>{{title}}</h1>
{{gh-format-markdown markdown}}
</div>
</section>
{{else}}
<div class="no-posts-box">
... | 26199e56fa11b779174ba0c96536294c11818150 | core/client/templates/posts/post.hbs | core/client/templates/posts/post.hbs | Handlebars |
<|file_sep|>original/relnotes.md
<|file_sep|>current/relnotes.md
<|file_sep|>updated/relnotes.md | # Build script
- Fixed python modules update check. Always check if mako not found, ask otherwise
- Add Scons 3.0.0 compatibility patch to Mesa3D Git-powered auto-patches
- Drop LLVM 5.0 compatibility patch when building Mesa master. Patch is upstream
- Updated documentation: compatibility fix for Scons 3.0.0
# Build ... | <|file_sep|>original/relnotes.md
<|file_sep|>current/relnotes.md
<|file_sep|>updated/relnotes.md
# Build script
- Fixed python modules update check. Always check if mako not found, ask otherwise
- Add Scons 3.0.0 compatibility patch to Mesa3D Git-powered auto-patches
- Drop LLVM 5.0 compatibility patch when building ... | 7c24c39f19370553a7d83cc839dc4ce72b64dd8d | relnotes.md | relnotes.md | Markdown |
<|file_sep|>original/vertx-web-client/src/test/java/io/vertx/ext/web/client/WebClientSessionTest.java
@Test
public void testRequestHeaders() throws Exception {
WebClientSession session = WebClientSession.create(webClient).addHeader(AUTHORIZATION, "v3rtx");
HttpRequest<Buffer> request = session.get(DEFAULT_T... | @Test
public void testRequestHeaders() throws Exception {
WebClientSession session = WebClientSession.create(webClient).addHeader(AUTHORIZATION, "v3rtx");
HttpRequest<Buffer> request = session.get(DEFAULT_TEST_URI);
server.requestHandler(serverRequest -> {
int authHeaderCount = serverRequest.head... | <|file_sep|>original/vertx-web-client/src/test/java/io/vertx/ext/web/client/WebClientSessionTest.java
@Test
public void testRequestHeaders() throws Exception {
WebClientSession session = WebClientSession.create(webClient).addHeader(AUTHORIZATION, "v3rtx");
HttpRequest<Buffer> request = session.get(DEFAULT_T... | 627c850e7d6a833b6052c8c5b32d305244a81bc2 | vertx-web-client/src/test/java/io/vertx/ext/web/client/WebClientSessionTest.java | vertx-web-client/src/test/java/io/vertx/ext/web/client/WebClientSessionTest.java | Java |
<|file_sep|>original/project.clj
(defproject org.onyxplatform/onyx-datomic "0.7.10"
:description "Onyx plugin for Datomic"
:url "https://github.com/MichaelDrogalis/onyx-datomic"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:repositories {"snapshots" {:ur... | (defproject org.onyxplatform/onyx-datomic "0.7.11-SNAPSHOT"
:description "Onyx plugin for Datomic"
:url "https://github.com/MichaelDrogalis/onyx-datomic"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:repositories {"snapshots" {:url "https://clojars.org/r... | <|file_sep|>original/project.clj
(defproject org.onyxplatform/onyx-datomic "0.7.10"
:description "Onyx plugin for Datomic"
:url "https://github.com/MichaelDrogalis/onyx-datomic"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:repositories {"snapshots" {:ur... | fac8f3f59e87d0e9f55102919be303a74296af7b | project.clj | project.clj | Clojure |
<|file_sep|>original/README.md
```sh
$ git clone git@github.com:BibleJS/bible-english.git bible-english
$ cd bible-english
$ npm install
```
## Example
```js
// Dependencies
var EnBible = require("../index");
// Get verse
EnBible.getVerse("Matthew 1:1", function (err, data) {
console.log(err || data);
});
```
#... | ```sh
$ git clone git@github.com:BibleJS/bible-english.git bible-english
$ cd bible-english
$ npm install
```
## Example
```js
// Dependencies
var EnBible = require("bible-english");
// Get verse
EnBible.getVerse("Matthew 1:1", function (err, data) {
console.log(err || data);
});
```
## How to contribute
1. Fi... | <|file_sep|>original/README.md
```sh
$ git clone git@github.com:BibleJS/bible-english.git bible-english
$ cd bible-english
$ npm install
```
## Example
```js
// Dependencies
var EnBible = require("../index");
// Get verse
EnBible.getVerse("Matthew 1:1", function (err, data) {
console.log(err || data);
});
```
#... | 53457f66c00788e0b891e21f5b3b54ef376b76fe | README.md | README.md | Markdown |
<|file_sep|>original/data/global-configuration/packs/core-functions/module/node.py
from opsbro.evaluater import export_evaluater_function
from opsbro.gossip import gossiper
FUNCTION_GROUP = 'gossip'
@export_evaluater_function(function_group=FUNCTION_GROUP)
def is_in_group(group):
"""**is_in_group(group)** -> ret... |
<code>
Example:
is_in_group('linux')
Returns:
True
</code>
"""
return gossiper.is_in_group(group)
@export_evaluater_function(function_group=FUNCTION_GROUP)
def is_in_defined_group(group):
"""**is_in_defined_group(group)** -> return True if the node have the group but was set in t... | <|file_sep|>original/data/global-configuration/packs/core-functions/module/node.py
from opsbro.evaluater import export_evaluater_function
from opsbro.gossip import gossiper
FUNCTION_GROUP = 'gossip'
@export_evaluater_function(function_group=FUNCTION_GROUP)
def is_in_group(group):
"""**is_in_group(group)** -> ret... | 37dc483fd381aa14eddddb13c991bbf647bb747b | data/global-configuration/packs/core-functions/module/node.py | data/global-configuration/packs/core-functions/module/node.py | Python |
<|file_sep|>cli.js.diff
original:
spawnSync(process.execPath, process.argv.slice(2), {
updated:
var ret = spawnSync(process.execPath, process.argv.slice(2), {
<|file_sep|>original/cli.js
#!/usr/bin/env node
'use strict';
var replHistory = require('repl.history');
var Repl = require('repl'),
spawnSync = requir... |
var Repl = require('repl'),
spawnSync = require('child_process').spawnSync;
if (process.argv.length == 2) {
var repl = Repl.start('> ');
replHistory(repl, process.env.HOME + '/.node_history');
}
else {
var ret = spawnSync(process.execPath, process.argv.slice(2), {
stdio: 'inherit'
});
if (ret.error... | <|file_sep|>cli.js.diff
original:
spawnSync(process.execPath, process.argv.slice(2), {
updated:
var ret = spawnSync(process.execPath, process.argv.slice(2), {
<|file_sep|>original/cli.js
#!/usr/bin/env node
'use strict';
var replHistory = require('repl.history');
var Repl = require('repl'),
spawnSync = requir... | 46c9d1ba66aae0f0c9abaca9835af0aef9514eb3 | cli.js | cli.js | JavaScript |
<|file_sep|>original/src/main/resources/io/j99/idea/vue/localization/strings.properties
vue.editor.colorsettingspage.sample-loading-error=Failed loading sample document.
#Highligh
vue.editor.colorsettingspage.key=Key
vue.editor.colorsettingspage.separator=Separator
vue.editor.colorsettingspage.value=Value
#action
new... | vue.editor.colorsettingspage.sample-loading-error=Failed loading sample document.
#Highligh
vue.editor.colorsettingspage.key=Key
vue.editor.colorsettingspage.separator=Separator
vue.editor.colorsettingspage.value=Value
#action
newfile.command.name=Vue File
newfile.dialog.prompt=Create a new Vue file
newfile.dialog.ti... | <|file_sep|>original/src/main/resources/io/j99/idea/vue/localization/strings.properties
vue.editor.colorsettingspage.sample-loading-error=Failed loading sample document.
#Highligh
vue.editor.colorsettingspage.key=Key
vue.editor.colorsettingspage.separator=Separator
vue.editor.colorsettingspage.value=Value
#action
new... | c520afacf86d12ce07ec9b5e6396cd226c19e1c4 | src/main/resources/io/j99/idea/vue/localization/strings.properties | src/main/resources/io/j99/idea/vue/localization/strings.properties | INI |
<|file_sep|>lib/libc/rules.mk.diff
original:
$(LOCAL_DIR)/malloc.c \
updated:
<|file_sep|>original/lib/libc/rules.mk
MODULE_SRCS += \
$(LOCAL_DIR)/atoi.c \
$(LOCAL_DIR)/ctype.c \
$(LOCAL_DIR)/printf.c \
$(LOCAL_DIR)/malloc.c \
$(LOCAL_DIR)/rand.c \
$(LOCAL_DIR)/stdio.c \
$(LOCAL_DIR)/qsort.c \
$(LOCAL_DIR)/e... |
MODULE_SRCS += \
$(LOCAL_DIR)/atoi.c \
$(LOCAL_DIR)/ctype.c \
$(LOCAL_DIR)/printf.c \
$(LOCAL_DIR)/rand.c \
$(LOCAL_DIR)/stdio.c \
$(LOCAL_DIR)/qsort.c \
$(LOCAL_DIR)/eabi.c
ifneq ($(WITH_CUSTOM_MALLOC),true)
MODULE_SRCS += $(LOCAL_DIR)/malloc.c
endif
include $(LOCAL_DIR)/string/rules.mk
ifeq ($(WITH_CPP_SUP... | <|file_sep|>lib/libc/rules.mk.diff
original:
$(LOCAL_DIR)/malloc.c \
updated:
<|file_sep|>original/lib/libc/rules.mk
MODULE_SRCS += \
$(LOCAL_DIR)/atoi.c \
$(LOCAL_DIR)/ctype.c \
$(LOCAL_DIR)/printf.c \
$(LOCAL_DIR)/malloc.c \
$(LOCAL_DIR)/rand.c \
$(LOCAL_DIR)/stdio.c \
$(LOCAL_DIR)/qsort.c \
$(LOCAL_DIR)/e... | 7366ee428f2b256e16405e4a6172beebe03da557 | lib/libc/rules.mk | lib/libc/rules.mk | Makefile |
<|file_sep|>original/app-backend/db/src/main/resources/migrations/V83__Add_hitl_jobs_table.sql
-- Add a table for human-in-the-loop jobs
CREATE TYPE public.hitl_job_status AS ENUM (
'NOTRUN',
'TORUN',
'RUNNING',
'RAN',
'FAILED'
);
ALTER TYPE public.hitl_job_status OWNER TO rasterfoundry;
CREATE T... | -- Add a table for human-in-the-loop jobs
CREATE TYPE public.hitl_job_status AS ENUM (
'NOTRUN',
'TORUN',
'RUNNING',
'RAN',
'FAILED'
);
CREATE TABLE public.hitl_jobs (
id UUID PRIMARY KEY,
created_at TIMESTAMP WITHOUT TIME ZONE NOT NULL,
created_by CHARACTER VARYING(255) NOT NULL REFER... | <|file_sep|>original/app-backend/db/src/main/resources/migrations/V83__Add_hitl_jobs_table.sql
-- Add a table for human-in-the-loop jobs
CREATE TYPE public.hitl_job_status AS ENUM (
'NOTRUN',
'TORUN',
'RUNNING',
'RAN',
'FAILED'
);
ALTER TYPE public.hitl_job_status OWNER TO rasterfoundry;
CREATE T... | fe31c7037180d941865fa5e23e7fca9ffebafd74 | app-backend/db/src/main/resources/migrations/V83__Add_hitl_jobs_table.sql | app-backend/db/src/main/resources/migrations/V83__Add_hitl_jobs_table.sql | SQL |
<|file_sep|>backend/manager/dbscripts/delete_async_tasks_and_compensation_data.sql.diff
original:
updated:
-- Change status from LOCKED to OK after upgrade since the tasks will be cacelled.
UPDATE images
SET imagestatus = 1
WHERE imagestatus = 2;
<|file_sep|>original/backend/manager/dbscripts/delete_async_tasks_and_co... | truncate table async_tasks;
truncate table business_entity_snapshot;
-- Change status from LOCKED to OK after upgrade since the tasks will be cacelled.
UPDATE images
SET imagestatus = 1
WHERE imagestatus = 2;
| <|file_sep|>backend/manager/dbscripts/delete_async_tasks_and_compensation_data.sql.diff
original:
updated:
-- Change status from LOCKED to OK after upgrade since the tasks will be cacelled.
UPDATE images
SET imagestatus = 1
WHERE imagestatus = 2;
<|file_sep|>original/backend/manager/dbscripts/delete_async_tasks_and_co... | 4e96ec2fe1c98660cf5453e44ca1e66474b51e03 | backend/manager/dbscripts/delete_async_tasks_and_compensation_data.sql | backend/manager/dbscripts/delete_async_tasks_and_compensation_data.sql | SQL |
<|file_sep|>lib/plugins/fresh.rb.diff
original:
response = HTTParty.get("http://www.reddit.com/r/hiphopheads/new/.json")
updated:
response = HTTParty.get("http://www.reddit.com/r/hiphopheads/.json")
<|file_sep|>original/lib/plugins/fresh.rb
include Cinch::Plugin
match /(fresh)$/, prefix: /^(\.)/
match /(... | include Cinch::Plugin
match /(fresh)$/, prefix: /^(\.)/
match /(help fresh)$/, method: :help, prefix: /^(\.)/
def execute(m)
response = HTTParty.get("http://www.reddit.com/r/hiphopheads/.json")
fresh = {}
response['data']['children'].each do |post|
fresh[post['data']['title']] = post['data']... | <|file_sep|>lib/plugins/fresh.rb.diff
original:
response = HTTParty.get("http://www.reddit.com/r/hiphopheads/new/.json")
updated:
response = HTTParty.get("http://www.reddit.com/r/hiphopheads/.json")
<|file_sep|>original/lib/plugins/fresh.rb
include Cinch::Plugin
match /(fresh)$/, prefix: /^(\.)/
match /(... | 6749033984243c730d9331689e4e7cfe674f3fe9 | lib/plugins/fresh.rb | lib/plugins/fresh.rb | Ruby |
<|file_sep|>.travis.yml.diff
original:
osx_image: xcode7.3
updated:
<|file_sep|>original/.travis.yml
global:
- ATOM_ACCESS_TOKEN=da809a6077bb1b0aa7c5623f7b2d5f1fec2faae4
osx_image: xcode7.3
compiler: clang
matrix:
include:
- os: linux
env: NODE_VERSION=4
- os: osx
env: ATOM_SPECS_TASK=c... | global:
- ATOM_ACCESS_TOKEN=da809a6077bb1b0aa7c5623f7b2d5f1fec2faae4
compiler: clang
matrix:
include:
- os: linux
env: NODE_VERSION=4
sudo: false
install:
- git clone https://github.com/creationix/nvm.git /tmp/.nvm
- source /tmp/.nvm/nvm.sh
- nvm install $NODE_VERSION
- nvm use --delete-pr... | <|file_sep|>.travis.yml.diff
original:
osx_image: xcode7.3
updated:
<|file_sep|>original/.travis.yml
global:
- ATOM_ACCESS_TOKEN=da809a6077bb1b0aa7c5623f7b2d5f1fec2faae4
osx_image: xcode7.3
compiler: clang
matrix:
include:
- os: linux
env: NODE_VERSION=4
- os: osx
env: ATOM_SPECS_TASK=c... | ca09bdf1951a7e12fabfeacf9ee1ac4081eeed44 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/YTVimeoExtractor.podspec
Pod::Spec.new do |s|
s.name = "YTVimeoExtractor"
s.version = "0.2.0"
s.summary = "Fetches Vimeo's mp4 URLs for iOS."
s.description = <<-DESC
YTVimeoExtractor is a class which lets you get the iOS
compatible ... | Pod::Spec.new do |s|
s.name = "YTVimeoExtractor"
s.version = "0.2.0"
s.summary = "Fetches Vimeo's mp4 URLs for iOS."
s.description = <<-DESC
YTVimeoExtractor is a class which lets you get the iOS
compatible video url from Vimeo which you can use in
... | <|file_sep|>original/YTVimeoExtractor.podspec
Pod::Spec.new do |s|
s.name = "YTVimeoExtractor"
s.version = "0.2.0"
s.summary = "Fetches Vimeo's mp4 URLs for iOS."
s.description = <<-DESC
YTVimeoExtractor is a class which lets you get the iOS
compatible ... | 8ff490b65bbfd1d52fb4c8642f42c378be274595 | YTVimeoExtractor.podspec | YTVimeoExtractor.podspec | Ruby |
<|file_sep|>original/.travis.yml
language: erlang
notifications:
disabled: true
otp_release:
- R15B
- R14B04
- R14B03
- R14B02
before_script: "make get-deps"
script: "make all"
<|file_sep|>current/.travis.yml
language: erlang
notifications:
disabled: true
otp_release:
- R15B
- R14B04
- R14B03
- R14B... | language: erlang
notifications:
email:
- hello@alind.io
otp_release:
- R15B
- R14B04
- R14B03
- R14B02
before_script: "make get-deps"
script: "make all" | <|file_sep|>original/.travis.yml
language: erlang
notifications:
disabled: true
otp_release:
- R15B
- R14B04
- R14B03
- R14B02
before_script: "make get-deps"
script: "make all"
<|file_sep|>current/.travis.yml
language: erlang
notifications:
disabled: true
otp_release:
- R15B
- R14B04
- R14B03
- R14B... | 39fed3399cf00e2b561b42a4339ce2e175951e86 | .travis.yml | .travis.yml | YAML |
<|file_sep|>static/locales/en-GB/messages.properties.diff
original:
navigation-title=Pontoon Intro
navigation-developers=Developers
updated:
<|file_sep|>original/static/locales/en-GB/messages.properties
# Title tag
# Navigation
navigation-title=Pontoon Intro
navigation-developers=Developers
# Header
upper-title=Pont... | # Title tag
# Navigation
# Header
upper-title=Pontoon by Mozilla
headline-1=LocaliSe the web.
# What
what-desc=Pontoon allows you to localise web content in place, with context and spatial limitations right in front of you.
context-desc=By localising web page on the page itself, you no longer need to worry if the wo... | <|file_sep|>static/locales/en-GB/messages.properties.diff
original:
navigation-title=Pontoon Intro
navigation-developers=Developers
updated:
<|file_sep|>original/static/locales/en-GB/messages.properties
# Title tag
# Navigation
navigation-title=Pontoon Intro
navigation-developers=Developers
# Header
upper-title=Pont... | fe5976e4f89cd8d8582ce0ef425c9ca849ca9fca | static/locales/en-GB/messages.properties | static/locales/en-GB/messages.properties | INI |
<|file_sep|>original/dev/ssh/README.md
# SSH
## Passwordless Login
* [ssh-copy-id](https://www.ssh.com/ssh/copy-id)
* [ssh “permissions are too open” error](https://stackoverflow.com/questions/9270734/ssh-permissions-are-too-open-error)
* [ssh 免密码设置失败原因总结](https://www.cnblogs.com/yjmyzz/p/4481720.html)
* [How To Confi... | # SSH
## Passwordless Login
* [ssh-copy-id](https://www.ssh.com/ssh/copy-id)
* [ssh “permissions are too open” error](https://stackoverflow.com/questions/9270734/ssh-permissions-are-too-open-error)
* [ssh 免密码设置失败原因总结](https://www.cnblogs.com/yjmyzz/p/4481720.html)
* [How To Configure SSH Key-Based Authentication on a ... | <|file_sep|>original/dev/ssh/README.md
# SSH
## Passwordless Login
* [ssh-copy-id](https://www.ssh.com/ssh/copy-id)
* [ssh “permissions are too open” error](https://stackoverflow.com/questions/9270734/ssh-permissions-are-too-open-error)
* [ssh 免密码设置失败原因总结](https://www.cnblogs.com/yjmyzz/p/4481720.html)
* [How To Confi... | 6f2aa1e31855738f00f941141358a06f4fcc758a | dev/ssh/README.md | dev/ssh/README.md | Markdown |
<|file_sep|>original/wow/30-Widget.lua
local frame = self.frame;
local bound = frame:GetDelegate("layout"):GetBounds();
if type(bound) ~= "table" or not bound:HasBounds() then
return;
end;
local widget = frame:GetWidget();
if not widget then
return;
end;
local x, y, width... | local frame = self.frame;
local bound = frame:GetDelegate("layout"):GetBounds();
if type(bound) ~= "table" or not bound:HasBounds() then
return;
end;
local widget = frame:GetWidget();
if not widget then
return;
end;
local x, y, width, height = bound:GetBounds();
width... | <|file_sep|>original/wow/30-Widget.lua
local frame = self.frame;
local bound = frame:GetDelegate("layout"):GetBounds();
if type(bound) ~= "table" or not bound:HasBounds() then
return;
end;
local widget = frame:GetWidget();
if not widget then
return;
end;
local x, y, width... | 22edd4d0c58466f01453f41962c36d69289d05b5 | wow/30-Widget.lua | wow/30-Widget.lua | Lua |
<|file_sep|>original/recipes/geant4/conda_build_config.yaml
geant4_data_variant:
- default
- custom
geant4_visualisation_variant:
- default
- qt
<|file_sep|>current/recipes/geant4/conda_build_config.yaml
geant4_data_variant:
- default
- custom
geant4_visualisation_variant:
- default
- qt
<|file_sep|>u... | geant4_data_variant:
- default
- custom
geant4_visualisation_variant:
- default
# - qt | <|file_sep|>original/recipes/geant4/conda_build_config.yaml
geant4_data_variant:
- default
- custom
geant4_visualisation_variant:
- default
- qt
<|file_sep|>current/recipes/geant4/conda_build_config.yaml
geant4_data_variant:
- default
- custom
geant4_visualisation_variant:
- default
- qt
<|file_sep|>u... | 389b2c8cd2d64d4a12fbc5e8f470052fba722e1b | recipes/geant4/conda_build_config.yaml | recipes/geant4/conda_build_config.yaml | YAML |
<|file_sep|>original/src/swestcott/MonologExtension/Context/Initializer/MonologInitializer.php
$def = $this->container->getDefinition('behat.monolog.logger');
$def->addArgument(get_class($context));
$logger = $this->container->get('behat.monolog.logger');
$handlers = $this->container->... |
$def = $this->container->getDefinition('behat.monolog.logger');
$def->addArgument(get_class($context));
$logger = $this->container->get('behat.monolog.logger');
$handlers = $this->container->getParameter('behat.monolog.handlers');
// Register each configured handler with logge... | <|file_sep|>original/src/swestcott/MonologExtension/Context/Initializer/MonologInitializer.php
$def = $this->container->getDefinition('behat.monolog.logger');
$def->addArgument(get_class($context));
$logger = $this->container->get('behat.monolog.logger');
$handlers = $this->container->... | 20827daa0ae19c53da62f8937ee66c2dff78e53b | src/swestcott/MonologExtension/Context/Initializer/MonologInitializer.php | src/swestcott/MonologExtension/Context/Initializer/MonologInitializer.php | PHP |
<|file_sep|>original/scripts/download-jamendo.py
<|file_sep|>current/scripts/download-jamendo.py
<|file_sep|>updated/scripts/download-jamendo.py | #!/usr/bin/env python
# Jamendo database dumps can be fetched from: http://img.jamendo.com/data/dbdump_artistalbumtrack.xml.gz
import xml.etree.cElementTree as ElementTree
import sys, gzip, time, os.path, urllib
class DownloadJamendo:
def __init__(self, destination):
if not os.path.exists(destination):
os.m... | <|file_sep|>original/scripts/download-jamendo.py
<|file_sep|>current/scripts/download-jamendo.py
<|file_sep|>updated/scripts/download-jamendo.py
#!/usr/bin/env python
# Jamendo database dumps can be fetched from: http://img.jamendo.com/data/dbdump_artistalbumtrack.xml.gz
import xml.etree.cElementTree as ElementTree... | 2a30afaea9d4cb1d704fd5ec0d78a946770c1c18 | scripts/download-jamendo.py | scripts/download-jamendo.py | Python |
<|file_sep|>original/.travis.yml
language: java
env:
matrix:
- TARGET_PLATFORM=kepler
- TARGET_PLATFORM=indigo
- TARGET_PLATFORM=juno
before_install:
- wget http://dl.google.com/android/android-sdk_r22.0.1-linux.tgz
- tar -zxf android-sdk_r22.0.1-linux.tgz
- export ANDROID_HOME=$PWD/android-sdk-linu... | language: java
env:
matrix:
- TARGET_PLATFORM=kepler
- TARGET_PLATFORM=indigo
- TARGET_PLATFORM=juno
before_install:
- wget http://dl.google.com/android/android-sdk_r22.0.1-linux.tgz
- tar -zxf android-sdk_r22.0.1-linux.tgz
- export ANDROID_HOME=$PWD/android-sdk-linux
- export PATH=${PATH}:${ANDRO... | <|file_sep|>original/.travis.yml
language: java
env:
matrix:
- TARGET_PLATFORM=kepler
- TARGET_PLATFORM=indigo
- TARGET_PLATFORM=juno
before_install:
- wget http://dl.google.com/android/android-sdk_r22.0.1-linux.tgz
- tar -zxf android-sdk_r22.0.1-linux.tgz
- export ANDROID_HOME=$PWD/android-sdk-linu... | ec19a3a15d606ac06e0141e834af2afd12169d51 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
python: 3.5 # 3.5 requires manual download, so it needs to be selected
install: pip install tox
script: tox
env:
# Github deployment key
- secure: "d6xg3/CKxF2SDhkBNb94s7KbQPlCKwrO0jIJhS59djtyHApY/0tE594LXzrdQR9/yz998Zm/aCy+mQ4JbGToUZd4jKImelJguHCTOVXzjVEZqIH2dakpiYtLzWkyphQkqqWvI... | # Github deployment key
- secure: "d6xg3/CKxF2SDhkBNb94s7KbQPlCKwrO0jIJhS59djtyHApY/0tE594LXzrdQR9/yz998Zm/aCy+mQ4JbGToUZd4jKImelJguHCTOVXzjVEZqIH2dakpiYtLzWkyphQkqqWvIIBL8DuxX3BbVbrwqUEAFnlwZ1SHWwjwx3Xv3QU="
matrix:
fast_finish: true
# This is required to enable container based Travis CI infrastructure.
# See ... | <|file_sep|>original/.travis.yml
python: 3.5 # 3.5 requires manual download, so it needs to be selected
install: pip install tox
script: tox
env:
# Github deployment key
- secure: "d6xg3/CKxF2SDhkBNb94s7KbQPlCKwrO0jIJhS59djtyHApY/0tE594LXzrdQR9/yz998Zm/aCy+mQ4JbGToUZd4jKImelJguHCTOVXzjVEZqIH2dakpiYtLzWkyphQkqqWvI... | 815b1b0a589d59b6fde4406b55bca78bec11caa8 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/thread_safe_print_test.py
<|file_sep|>current/thread_safe_print_test.py
<|file_sep|>updated/thread_safe_print_test.py | import thread_safe_print
from six.moves import queue
import thread_pool
import io_expectation as expect
import sys
import unittest
class TestThreadSafePrint(unittest.TestCase):
def _thread1(self, thread1_turn, thread2_turn):
thread1_turn.get()
sys.stdout.write('Thread 1 starts, ')
thread2_turn.put(True... | <|file_sep|>original/thread_safe_print_test.py
<|file_sep|>current/thread_safe_print_test.py
<|file_sep|>updated/thread_safe_print_test.py
import thread_safe_print
from six.moves import queue
import thread_pool
import io_expectation as expect
import sys
import unittest
class TestThreadSafePrint(unittest.TestCase):
... | e5ceeb4b17525acb730e7440bc5c56c79eb7c32d | thread_safe_print_test.py | thread_safe_print_test.py | Python |
<|file_sep|>original/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.4.0
tox==2.7.0
Sphinx==1.6.3
coverage==4.4.1
cryptography==2.0.2
PyYAML==3.12
<|file_sep|>current/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.4.0
tox==2.7.0
Sphi... | pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.4.1
tox==2.7.0
Sphinx==1.6.3
coverage==4.4.1
cryptography==2.0.2
PyYAML==3.12 | <|file_sep|>original/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.4.0
tox==2.7.0
Sphinx==1.6.3
coverage==4.4.1
cryptography==2.0.2
PyYAML==3.12
<|file_sep|>current/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.4.0
tox==2.7.0
Sphi... | 1a6e5a6c3ba53dcc20ad8bba435529a8c061371c | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>src/Psy/Formatter/ArrayFormatter.php.diff
original:
public static function format(array $array)
updated:
public static function format($array)
<|file_sep|>original/src/Psy/Formatter/ArrayFormatter.php
}
$formatted = array_map(array(__CLASS__, 'formatValue'), $array);
$templa... | }
$formatted = array_map(array(__CLASS__, 'formatValue'), $array);
$template = sprintf('[%s%s%%s%s ]', PHP_EOL, str_repeat(' ', 7), PHP_EOL);
$glue = sprintf(',%s%s', PHP_EOL, str_repeat(' ', 7));
return sprintf($template, implode($glue, $formatted));
}
/**
... | <|file_sep|>src/Psy/Formatter/ArrayFormatter.php.diff
original:
public static function format(array $array)
updated:
public static function format($array)
<|file_sep|>original/src/Psy/Formatter/ArrayFormatter.php
}
$formatted = array_map(array(__CLASS__, 'formatValue'), $array);
$templa... | 442c293c750a334cfd729b0340be027fcc9edea7 | src/Psy/Formatter/ArrayFormatter.php | src/Psy/Formatter/ArrayFormatter.php | PHP |
<|file_sep|>original/src/main/config/sql/current/5.0.1/dml/KC_DML_01_KCIAC-55_B000.sql
UPDATE NOTIFICATION_TYPE SET ACTION_CODE='323' WHERE MODULE_CODE='9' AND DESCRIPTION='IACUC Protocol Amendment Created Action'
/
<|file_sep|>current/src/main/config/sql/current/5.0.1/dml/KC_DML_01_KCIAC-55_B000.sql
UPDATE NOTIFICATIO... | UPDATE NOTIFICATION_TYPE SET ACTION_CODE='323' WHERE MODULE_CODE='9' AND DESCRIPTION='IACUC Protocol Amendment Created Action'
/
UPDATE NOTIFICATION_TYPE SET ACTION_CODE='322' WHERE MODULE_CODE='9' AND DESCRIPTION='IACUC Protocol Renewal Created Action'
/ | <|file_sep|>original/src/main/config/sql/current/5.0.1/dml/KC_DML_01_KCIAC-55_B000.sql
UPDATE NOTIFICATION_TYPE SET ACTION_CODE='323' WHERE MODULE_CODE='9' AND DESCRIPTION='IACUC Protocol Amendment Created Action'
/
<|file_sep|>current/src/main/config/sql/current/5.0.1/dml/KC_DML_01_KCIAC-55_B000.sql
UPDATE NOTIFICATIO... | 7b4e283fc50aa0eceac44eca40a20bc16a14b9d8 | src/main/config/sql/current/5.0.1/dml/KC_DML_01_KCIAC-55_B000.sql | src/main/config/sql/current/5.0.1/dml/KC_DML_01_KCIAC-55_B000.sql | SQL |
<|file_sep|>original/hieradata/nodes/bgo-dashboard-01.yaml
---
network::interfaces_hash:
'eth0':
ipaddress: '172.16.0.22'
netmask: '255.255.248.0'
gateway: '172.16.0.1'
mtu: '1500'
peerdns: 'yes'
dns1: "%{hiera('service__address__proxy')}"
domain: 'mgmt.iaas.intern'
... | ---
network::interfaces_hash:
'eth0':
ipaddress: '172.16.0.22'
netmask: '255.255.248.0'
gateway: '172.16.0.1'
mtu: '1500'
peerdns: 'yes'
dns1: "%{hiera('service__address__proxy')}"
domain: 'mgmt.iaas.intern'
defroute: 'no'
'eth1':
ipaddress: '158.39.77.254'
... | <|file_sep|>original/hieradata/nodes/bgo-dashboard-01.yaml
---
network::interfaces_hash:
'eth0':
ipaddress: '172.16.0.22'
netmask: '255.255.248.0'
gateway: '172.16.0.1'
mtu: '1500'
peerdns: 'yes'
dns1: "%{hiera('service__address__proxy')}"
domain: 'mgmt.iaas.intern'
... | 9a7faed994418718f267476d6342bea407959159 | hieradata/nodes/bgo-dashboard-01.yaml | hieradata/nodes/bgo-dashboard-01.yaml | YAML |
<|file_sep|>app/controllers/decisions_controller.rb.diff
original:
(session[:approvals] << oidreq.trust_root).uniq!
updated:
add_trusted oidreq.trust_root
<|file_sep|>original/app/controllers/decisions_controller.rb
class DecisionsController < ApplicationController
def new
flash[:notice] = "Do you tru... | end
def create
oidreq = session.delete :last_oidreq
session.delete :headless
if params[:commit] == 'yes'
add_trusted oidreq.trust_root
render_response(positive_response(oidreq, session[:username]))
else
redirect_to oidreq.cancel_url
end
end
private
def add_trusted(roo... | <|file_sep|>app/controllers/decisions_controller.rb.diff
original:
(session[:approvals] << oidreq.trust_root).uniq!
updated:
add_trusted oidreq.trust_root
<|file_sep|>original/app/controllers/decisions_controller.rb
class DecisionsController < ApplicationController
def new
flash[:notice] = "Do you tru... | f0a58d881abb89c2c293156606e0a99d469e7d4f | app/controllers/decisions_controller.rb | app/controllers/decisions_controller.rb | Ruby |
<|file_sep|>main/templates/comments/list.html.diff
original:
</div></div>
updated:
</div>
<|file_sep|>main/templates/comments/list.html.diff
original:
updated:
</div>
<|file_sep|>original/main/templates/comments/list.html
{% if not comment.open %}
</div></div>
{% endif %}
<d... | </div>
{% endif %}
<div class="media">
<div class="media-body" id="c{{ comment.id }}">
<strong class="media-heading">
{% if comment.user_id %}
<a href="{% url 'user' comment.user.username %}">{{ comment.user.userprofile }}</a>
{% el... | <|file_sep|>main/templates/comments/list.html.diff
original:
</div></div>
updated:
</div>
<|file_sep|>main/templates/comments/list.html.diff
original:
updated:
</div>
<|file_sep|>original/main/templates/comments/list.html
{% if not comment.open %}
</div></div>
{% endif %}
<d... | 4fcbca2637e4f17fadcbcbefc2a74e26134d89dd | main/templates/comments/list.html | main/templates/comments/list.html | HTML |
<|file_sep|>original/webkit/tools/layout_tests/test_expectations.txt
// This file should almost always be empty. Normally Chromium test expectations
// are found in
// src/third_party/WebKit/LayoutTests/platform/chromium/test_expectations.txt
//
// Only add expectations here to temporarily suppress messages on the bots... | // This file should almost always be empty. Normally Chromium test expectations
// are found in
// src/third_party/WebKit/LayoutTests/platform/chromium/test_expectations.txt
//
// Only add expectations here to temporarily suppress messages on the bots
// until the changes can be landed upstream.
// atwilson will upstr... | <|file_sep|>original/webkit/tools/layout_tests/test_expectations.txt
// This file should almost always be empty. Normally Chromium test expectations
// are found in
// src/third_party/WebKit/LayoutTests/platform/chromium/test_expectations.txt
//
// Only add expectations here to temporarily suppress messages on the bots... | 4da695af38387c562ef11dfc269741cf50f30057 | webkit/tools/layout_tests/test_expectations.txt | webkit/tools/layout_tests/test_expectations.txt | Text |
<|file_sep|>original/0_code_wars/split_the_bill.rb
<|file_sep|>current/0_code_wars/split_the_bill.rb
<|file_sep|>updated/0_code_wars/split_the_bill.rb | # http://www.codewars.com/kata/split-the-bill/
# --- iteration 1 ---
def split_the_bill(x)
avg = (x.values.reduce(:+)).fdiv(x.keys.size)
x.each { |k, v| x[k] = (v - avg).round(2) }
end | <|file_sep|>original/0_code_wars/split_the_bill.rb
<|file_sep|>current/0_code_wars/split_the_bill.rb
<|file_sep|>updated/0_code_wars/split_the_bill.rb
# http://www.codewars.com/kata/split-the-bill/
# --- iteration 1 ---
def split_the_bill(x)
avg = (x.values.reduce(:+)).fdiv(x.keys.size)
x.each { |k, v| x[k] = (v ... | c852888cab3e6119a40bbcc1531266722576105d | 0_code_wars/split_the_bill.rb | 0_code_wars/split_the_bill.rb | Ruby |
<|file_sep|>original/app/assets/javascripts/static_pages_index.js
$(document).ready(function(){
$(".navLinkContainer__resumeLink").on ("click", function(){
var iframe = document.createElement('iframe');
iframe.setAttribute("src", "https://resume.creddle.io/embed/1rktq4ubpei");
iframe.width = 850 + "px";
... | // $(document).ready(function(){
// // On click of resume link
// $(".navLinkContainer__resumeLink").on ("click", function(){
// var iframe = document.createElement('iframe');
// iframe.setAttribute("src", "https://resume.creddle.io/embed/1rktq4ubpei");
// iframe.width = 850 + "px";
// iframe.height... | <|file_sep|>original/app/assets/javascripts/static_pages_index.js
$(document).ready(function(){
$(".navLinkContainer__resumeLink").on ("click", function(){
var iframe = document.createElement('iframe');
iframe.setAttribute("src", "https://resume.creddle.io/embed/1rktq4ubpei");
iframe.width = 850 + "px";
... | c77cec213c30aa50ae33a267c21ce6475646390c | app/assets/javascripts/static_pages_index.js | app/assets/javascripts/static_pages_index.js | JavaScript |
<|file_sep|>original/renovate.json
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base",
":preserveSemverRanges",
"group:allNonMajor",
"schedule:weekdays",
":maintainLockFilesWeekly",
":separateMultipleMajorReleases",
":automergeMinor",
":gitSi... | {
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base",
"group:allNonMajor",
"schedule:weekdays",
":maintainLockFilesWeekly",
":separateMultipleMajorReleases",
":automergeMinor",
":gitSignOff"
],
"lockFileMaintenance": {
"extends": [
"g... | <|file_sep|>original/renovate.json
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base",
":preserveSemverRanges",
"group:allNonMajor",
"schedule:weekdays",
":maintainLockFilesWeekly",
":separateMultipleMajorReleases",
":automergeMinor",
":gitSi... | 341c30c339a90a5c826ff8a8bdf7ab10da2ba65b | renovate.json | renovate.json | JSON |
<|file_sep|>original/scalding-core/src/main/scala/com/twitter/scalding/examples/WordCountJob.scala
package com.twitter.scalding.examples
import com.twitter.scalding._
class WordCountJob(args: Args) extends Job(args) {
TextLine(args("input")).read.
flatMap('line -> 'word) { line: String => line.split("\\s+") }.
... | package com.twitter.scalding.examples
import com.twitter.scalding._
class WordCountJob(args: Args) extends Job(args) {
TypedPipe.from(TextLine(args("input")))
.flatMap { line: String => line.split("\\s+") }
.map (_ -> 1L)
.sumByKey
.write(TypedTsv[(String, Long)](args("output")))
} | <|file_sep|>original/scalding-core/src/main/scala/com/twitter/scalding/examples/WordCountJob.scala
package com.twitter.scalding.examples
import com.twitter.scalding._
class WordCountJob(args: Args) extends Job(args) {
TextLine(args("input")).read.
flatMap('line -> 'word) { line: String => line.split("\\s+") }.
... | 4557075308c006e6a7efb98e316d3606313b72b6 | scalding-core/src/main/scala/com/twitter/scalding/examples/WordCountJob.scala | scalding-core/src/main/scala/com/twitter/scalding/examples/WordCountJob.scala | Scala |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- '0.8'
- '0.10'
- '0.11'
matrix:
allow_failures:
- node_js: '0.11'
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- '0.8'
- '0.10'
- '0.11'
matrix:
allow_failures:
- node_js: '0.11'
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- '0.8'
- '0.10'
- '0.11'
matrix:
allow_failures:
- node_js: '0.11'
install:
- npm update npm -g
- npm install | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- '0.8'
- '0.10'
- '0.11'
matrix:
allow_failures:
- node_js: '0.11'
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- '0.8'
- '0.10'
- '0.11'
matrix:
allow_failures:
- node_js: '0.11'
<|file_sep|>updated/.travis.yml
language:... | 85cba189379a3e0548b66f73e98de641712d2572 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/emacs/config/init-company-mode.el
(require-package 'company)
(require 'company)
(setq company-idle-delay 0.1)
(setq company-minimum-prefix-length 1)
(setq company-tooltip-limit 20)
(add-hook 'after-init-hook 'global-company-mode)
(provide 'init-company-mode)
<|file_sep|>current/emacs/config/init... | (require-package 'company)
(require 'company)
(setq company-idle-delay 0.1)
(setq company-minimum-prefix-length 1)
(setq company-tooltip-limit 20)
(setq company-global-modes
'(not
eshell-mode))
(add-hook 'after-init-hook 'global-company-mode)
(provide 'init-company-mode) | <|file_sep|>original/emacs/config/init-company-mode.el
(require-package 'company)
(require 'company)
(setq company-idle-delay 0.1)
(setq company-minimum-prefix-length 1)
(setq company-tooltip-limit 20)
(add-hook 'after-init-hook 'global-company-mode)
(provide 'init-company-mode)
<|file_sep|>current/emacs/config/init... | cf94de80636a4b38f833b4521052a409a2292c95 | emacs/config/init-company-mode.el | emacs/config/init-company-mode.el | Emacs Lisp |
<|file_sep|>original/RemoveDirectories.py
<|file_sep|>current/RemoveDirectories.py
<|file_sep|>updated/RemoveDirectories.py | # -*- coding:utf-8 -*-
""" 這個程式能夠刪除所有在同目錄下的指定資料夾名稱(含子資料夾) """
import os
import shutil
FOLDER_NAME = 'PaxHeaders.20420'
def convert_all_files(path):
for dirPath, dirNames, fileNames in os.walk(path):
for dirName in dirNames:
if dirName == FOLDER_NAME:
shutil.rmtree(os.path.join... | <|file_sep|>original/RemoveDirectories.py
<|file_sep|>current/RemoveDirectories.py
<|file_sep|>updated/RemoveDirectories.py
# -*- coding:utf-8 -*-
""" 這個程式能夠刪除所有在同目錄下的指定資料夾名稱(含子資料夾) """
import os
import shutil
FOLDER_NAME = 'PaxHeaders.20420'
def convert_all_files(path):
for dirPath, dirNames, fileNames in os.... | 863678a76664879971d50d41d52fba5c35f67913 | RemoveDirectories.py | RemoveDirectories.py | Python |
<|file_sep|>original/requirements.txt
appdirs==1.4.3
autopep8==1.3.2
certifi==2017.7.27.1
chardet==3.0.4
contextlib2==0.5.5
Django==1.11.6
django-appconf==1.0.2
django-cacheops==4.0
django-cors-headers==2.1.0
django-silk==1.0.0
django-taggit==0.22.1
django-taggit-serializer==0.1.5
djangorestframework==3.7.0
djangorestf... | appdirs==1.4.3
autopep8==1.3.3
certifi==2017.7.27.1
chardet==3.0.4
contextlib2==0.5.5
Django==1.11.6
django-appconf==1.0.2
django-cacheops==4.0
django-cors-headers==2.1.0
django-silk==1.0.0
django-taggit==0.22.1
django-taggit-serializer==0.1.5
djangorestframework==3.7.0
djangorestframework-jwt==1.11.0
freezegun==0.3.9
... | <|file_sep|>original/requirements.txt
appdirs==1.4.3
autopep8==1.3.2
certifi==2017.7.27.1
chardet==3.0.4
contextlib2==0.5.5
Django==1.11.6
django-appconf==1.0.2
django-cacheops==4.0
django-cors-headers==2.1.0
django-silk==1.0.0
django-taggit==0.22.1
django-taggit-serializer==0.1.5
djangorestframework==3.7.0
djangorestf... | ac891f1c8de87351f0211940143f4b47a63ce725 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/source/index.rst
.. DocumentValidator documentation master file, created by
sphinx-quickstart on Sun Oct 13 13:50:32 2013.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
DocumentValidator: an inspection tool for technical do... | .. DocumentValidator documentation master file, created by
sphinx-quickstart on Sun Oct 13 13:50:32 2013.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
DocumentValidator: an inspection tool for technical documents
==============================... | <|file_sep|>original/source/index.rst
.. DocumentValidator documentation master file, created by
sphinx-quickstart on Sun Oct 13 13:50:32 2013.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
DocumentValidator: an inspection tool for technical do... | 1ab0796b0963a673278410fff9555449580e72f0 | source/index.rst | source/index.rst | reStructuredText |
<|file_sep|>original/templates/default/api.default.erb
CONFIG_FILE="<%= @config_file %>"
<% if @uwsgi_config.has_key?('pidfile') -%>
PID_FILE="<%= @uwsgi_config['pidfile'] %>"
<% end -%>
<% if @uwsgi_config.has_key?('logfile') -%>
LOG_FILE="<%= @uwsgi_config['logfile'] %>"
<% end -%>
DAEMON_OPTS="--ini $CONFIG_FILE"
... |
CONFIG_FILE="<%= @config_file %>"
<% if @uwsgi_config.has_key?('pidfile') -%>
PID_FILE="<%= @uwsgi_config['pidfile'] %>"
<% end -%>
<% if @uwsgi_config.has_key?('logfile') -%>
LOG_FILE="<%= @uwsgi_config['logfile'] %>"
<% end -%>
DAEMON_OPTS="$DAEMON_OPTS --ini $CONFIG_FILE"
| <|file_sep|>original/templates/default/api.default.erb
CONFIG_FILE="<%= @config_file %>"
<% if @uwsgi_config.has_key?('pidfile') -%>
PID_FILE="<%= @uwsgi_config['pidfile'] %>"
<% end -%>
<% if @uwsgi_config.has_key?('logfile') -%>
LOG_FILE="<%= @uwsgi_config['logfile'] %>"
<% end -%>
DAEMON_OPTS="--ini $CONFIG_FILE"
... | 689d6cac3ac23b1fccba3c27e9c6748571af64f9 | templates/default/api.default.erb | templates/default/api.default.erb | HTML+ERB |
<|file_sep|>original/shell/functions.sh
}
path_prepend() {
path_remove "$1"
PATH="$1${PATH:+":$PATH"}"
}
here() {
local loc
if [ "$#" -eq 1 ]; then
loc=$(realpath "$1")
else
loc=$(realpath ".")
fi
ln -sfn "${loc}" "$HOME/.shell.here"
echo "here -> $(readlink $HOME/.shel... | path_remove "$1"
PATH="${PATH:+"$PATH:"}$1"
}
path_prepend() {
path_remove "$1"
PATH="$1${PATH:+":$PATH"}"
}
here() {
local loc
if [ "$#" -eq 1 ]; then
loc=$(realpath "$1")
else
loc=$(realpath ".")
fi
ln -sfn "${loc}" "$HOME/.shell.here"
echo "here -> $(readlink... | <|file_sep|>original/shell/functions.sh
}
path_prepend() {
path_remove "$1"
PATH="$1${PATH:+":$PATH"}"
}
here() {
local loc
if [ "$#" -eq 1 ]; then
loc=$(realpath "$1")
else
loc=$(realpath ".")
fi
ln -sfn "${loc}" "$HOME/.shell.here"
echo "here -> $(readlink $HOME/.shel... | 07751aa42232f3c260ccf6c690be79149ba1dde7 | shell/functions.sh | shell/functions.sh | Shell |
<|file_sep|>original/Configuration/PageTS/Mod/web_layout.txt
########################
#### BACKENDLAYOUTS ####
########################
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:bootstrap_package/Configuration/PageTS/Mod/WebLayout/BackendLayouts/default.txt">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:bootstrap_package/Configur... | ########################
#### BACKENDLAYOUTS ####
########################
<INCLUDE_TYPOSCRIPT: source="DIR:EXT:bootstrap_package/Configuration/PageTS/Mod/WebLayout/BackendLayouts" extensions="txt"> | <|file_sep|>original/Configuration/PageTS/Mod/web_layout.txt
########################
#### BACKENDLAYOUTS ####
########################
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:bootstrap_package/Configuration/PageTS/Mod/WebLayout/BackendLayouts/default.txt">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:bootstrap_package/Configur... | 9b2c649dc2ec07d071694f73e4e3eb23ea72705d | Configuration/PageTS/Mod/web_layout.txt | Configuration/PageTS/Mod/web_layout.txt | Text |
<|file_sep|>src/ui/actions/editor/projectFile/layer/moveLayer.ts.diff
original:
updated:
if (payload.toIndex < 0 || payload.toIndex >= layers.length) {
return editor;
}
<|file_sep|>src/ui/actions/editor/projectFile/layer/moveLayer.ts.diff
original:
updated:
const selectedLayerIndex = (
editor.... | editor.selectedLayerIndex === payload.layerIndex ?
payload.toIndex :
editor.selectedLayerIndex
);
return {
...editor,
projectFile: {
...projectFile,
layers
},
selectedLayerIndex
};
}
return editor;
});
return {
...state,
editors
}; | <|file_sep|>src/ui/actions/editor/projectFile/layer/moveLayer.ts.diff
original:
updated:
if (payload.toIndex < 0 || payload.toIndex >= layers.length) {
return editor;
}
<|file_sep|>src/ui/actions/editor/projectFile/layer/moveLayer.ts.diff
original:
updated:
const selectedLayerIndex = (
editor.... | 2ee75ab297d920141398a030f825e4943eb16ad5 | src/ui/actions/editor/projectFile/layer/moveLayer.ts | src/ui/actions/editor/projectFile/layer/moveLayer.ts | TypeScript |
<|file_sep|>actions/write_pypirc.yaml.diff
original:
username:
updated:
pypi_username:
<|file_sep|>original/actions/write_pypirc.yaml
runner_type: "run-remote-script"
description: "Write the pypirc file."
enabled: true
entry_point: "write_pypirc.sh"
parameters:
username:
type: "string"
... | runner_type: "run-remote-script"
description: "Write the pypirc file."
enabled: true
entry_point: "write_pypirc.sh"
parameters:
pypi_username:
type: "string"
description: "PyPI account username"
default: "{{system.st2_pypi_username}}"
position: 0
pypi_password:
type: "s... | <|file_sep|>actions/write_pypirc.yaml.diff
original:
username:
updated:
pypi_username:
<|file_sep|>original/actions/write_pypirc.yaml
runner_type: "run-remote-script"
description: "Write the pypirc file."
enabled: true
entry_point: "write_pypirc.sh"
parameters:
username:
type: "string"
... | b9d882737acf648db0c8693b86c519f90fafdc2f | actions/write_pypirc.yaml | actions/write_pypirc.yaml | YAML |
<|file_sep|>week-3/chrome-devtools/positioning-reflection.md.diff
original:
##How can you use Chrome's DevTools inspector to help you format or position elements?
updated:
##How can you use Chrome's DevTools inspector to help you format or position elements
Chrome's DevTools inspector allows you to make changes to you... | #Peer Programming 3.4 Chrome DevTools
##How can you use Chrome's DevTools inspector to help you format or position elements
Chrome's DevTools inspector allows you to make changes to your code and observe those changes in real time. This makes it incredibly useful when it comes to making incremental changes to your f... | <|file_sep|>week-3/chrome-devtools/positioning-reflection.md.diff
original:
##How can you use Chrome's DevTools inspector to help you format or position elements?
updated:
##How can you use Chrome's DevTools inspector to help you format or position elements
Chrome's DevTools inspector allows you to make changes to you... | 22cfd8461ae0c8b980e46f898dfe7b110cf5d2e4 | week-3/chrome-devtools/positioning-reflection.md | week-3/chrome-devtools/positioning-reflection.md | Markdown |
<|file_sep|>spring-cloud-skipper-server/src/test/resources/application.yml.diff
original:
updated:
datasource:
initialize: true
url:
<|file_sep|>original/spring-cloud-skipper-server/src/test/resources/application.yml
cloud:
skipper:
server:
synchonizeIndexOnContextRefresh: false
maven:
... | cloud:
skipper:
server:
synchonizeIndexOnContextRefresh: false
datasource:
initialize: true
url:
maven:
remoteRepositories:
springRepo:
url: 'jdbc:h2:mem:testdb;DB_CLOSE_DELAY=- 1;DB_CLOSE_ON_EXIT=FALSE'
driverClassName: org.h2.Driver
username: sa
password:
l... | <|file_sep|>spring-cloud-skipper-server/src/test/resources/application.yml.diff
original:
updated:
datasource:
initialize: true
url:
<|file_sep|>original/spring-cloud-skipper-server/src/test/resources/application.yml
cloud:
skipper:
server:
synchonizeIndexOnContextRefresh: false
maven:
... | 943443c424ec3d625f4782b1e89276ee33c1c5ec | spring-cloud-skipper-server/src/test/resources/application.yml | spring-cloud-skipper-server/src/test/resources/application.yml | YAML |
<|file_sep|>original/.eslintrc.yaml
extends: 'normandy'
plugins:
- mozilla
rules:
indent: [1, 2, {SwitchCase: 1}]
mozilla/balanced-listeners: [1]
mozilla/no-aArgs: [1]
mozilla/this-top-level-scope: [1]
no-console: [1]
globals:
require: false
exports: true
uneval: false
<|file_sep|>current/.eslintrc.... | extends: 'normandy'
plugins:
- mozilla
rules:
indent: [1, 2, {SwitchCase: 1}]
mozilla/balanced-listeners: [1]
mozilla/no-aArgs: [1]
mozilla/this-top-level-scope: [1]
no-console: [1]
globals:
require: false
exports: true
uneval: false
crypto: true
TextEncoder: true | <|file_sep|>original/.eslintrc.yaml
extends: 'normandy'
plugins:
- mozilla
rules:
indent: [1, 2, {SwitchCase: 1}]
mozilla/balanced-listeners: [1]
mozilla/no-aArgs: [1]
mozilla/this-top-level-scope: [1]
no-console: [1]
globals:
require: false
exports: true
uneval: false
<|file_sep|>current/.eslintrc.... | 767c6142db9532fcd64f0cf5f8ad1d195a4cdd63 | .eslintrc.yaml | .eslintrc.yaml | YAML |
<|file_sep|>cmd/java/functions_framework/launch.sh.diff
original:
# to a value that should cause the JVM to use that memory size minus 80M.
updated:
# to a value that should cause the JVM to use 70% of that memory size.
<|file_sep|>original/cmd/java/functions_framework/launch.sh
# You may obtain a copy of the License a... | # You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# 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 L... | <|file_sep|>cmd/java/functions_framework/launch.sh.diff
original:
# to a value that should cause the JVM to use that memory size minus 80M.
updated:
# to a value that should cause the JVM to use 70% of that memory size.
<|file_sep|>original/cmd/java/functions_framework/launch.sh
# You may obtain a copy of the License a... | ec2139a9e499a3f2052ce07b5f8f412f3070dc09 | cmd/java/functions_framework/launch.sh | cmd/java/functions_framework/launch.sh | Shell |
<|file_sep|>PyPaste/views/pastes/templates/index.html.diff
original:
<form method='POST' action="{{ url_for('pastes.index') }}">
updated:
<form method='POST' action="{{ url_for('pastes.index') }}" autocomplete='off'>
<|file_sep|>original/PyPaste/views/pastes/templates/index.html
</script>
{% endblock %}
{... | </script>
{% endblock %}
{% block body %}
<form method='POST' action="{{ url_for('pastes.index') }}" autocomplete='off'>
{{ form.hidden_tag(form.csrf_token, form.text) }}
{{ form.paste(placeholder='Text goes here', autofocus='') }}
{{ form.title(placeholder="Title (Optional)", maxlen... | <|file_sep|>PyPaste/views/pastes/templates/index.html.diff
original:
<form method='POST' action="{{ url_for('pastes.index') }}">
updated:
<form method='POST' action="{{ url_for('pastes.index') }}" autocomplete='off'>
<|file_sep|>original/PyPaste/views/pastes/templates/index.html
</script>
{% endblock %}
{... | f9a89606083a768966fa78bdcb414c26b9077986 | PyPaste/views/pastes/templates/index.html | PyPaste/views/pastes/templates/index.html | HTML |
<|file_sep|>original/source/common/res/features/collapse-side-menu/main.css
.layout.collapsed .content,
.layout.collapsed .budget-header {
left: 40px;
}
.collapsed-buttons .active button {
background-color: #194853;
color: #fff;
}
.collapsed-buttons .active .collapsed-budget {
color: #ceec00;
}
.collapsed-button... | .layout.collapsed .content,
.layout.collapsed .budget-header {
left: 40px;
}
.layout.collapsed .content .scroll-wrap {
width: inherit;
min-width: 838px;
}
.collapsed-buttons .active button {
background-color: #194853;
color: #fff;
}
.collapsed-buttons .active .collapsed-budget {
color: #ceec00;
}
.collapsed-b... | <|file_sep|>original/source/common/res/features/collapse-side-menu/main.css
.layout.collapsed .content,
.layout.collapsed .budget-header {
left: 40px;
}
.collapsed-buttons .active button {
background-color: #194853;
color: #fff;
}
.collapsed-buttons .active .collapsed-budget {
color: #ceec00;
}
.collapsed-button... | d6a2e3687fdbde28801a04b117205c35af64c866 | source/common/res/features/collapse-side-menu/main.css | source/common/res/features/collapse-side-menu/main.css | CSS |
<|file_sep|>server/routes/index.js.diff
original:
import usersControllers from '../controllers';
import loginControllers from '../controllers';
updated:
import authControllers from '../controllers';
<|file_sep|>original/server/routes/index.js
import usersControllers from '../controllers';
import loginControllers from '... | import authControllers from '../controllers';
const usersController = authControllers.users;
const loginController = authControllers.login;
module.exports = (app) => {
app.get('/api', (req, res) => res.status(200).send({
message: 'Welcome to the Todos API!',
}));
app.post('/api/user/signin', loginControlle... | <|file_sep|>server/routes/index.js.diff
original:
import usersControllers from '../controllers';
import loginControllers from '../controllers';
updated:
import authControllers from '../controllers';
<|file_sep|>original/server/routes/index.js
import usersControllers from '../controllers';
import loginControllers from '... | be99d62865da1981f4549559e546ae7d26da9b43 | server/routes/index.js | server/routes/index.js | JavaScript |
<|file_sep|>original/org.foam.transform/test/src/org/foam/transform/utils/graphviz/GraphvizWrapperTest.xtend
package org.foam.transform.utils.graphviz
import static junit.framework.Assert.*
import org.junit.Test
import java.io.IOException
import org.junit.Ignore
// Tests added to ignore - running them at compile time... | package org.foam.transform.utils.graphviz
import static junit.framework.Assert.*
import org.junit.Test
import java.io.IOException
import org.junit.Ignore
// Tests added to ignore - running them at compile time makes little sense
// as they only discover whether build server has or has not graphviz
// installed.
//
//... | <|file_sep|>original/org.foam.transform/test/src/org/foam/transform/utils/graphviz/GraphvizWrapperTest.xtend
package org.foam.transform.utils.graphviz
import static junit.framework.Assert.*
import org.junit.Test
import java.io.IOException
import org.junit.Ignore
// Tests added to ignore - running them at compile time... | 10b1d353f72f015cdd999edd53f38a36fa5563fd | org.foam.transform/test/src/org/foam/transform/utils/graphviz/GraphvizWrapperTest.xtend | org.foam.transform/test/src/org/foam/transform/utils/graphviz/GraphvizWrapperTest.xtend | Xtend |
<|file_sep|>app/src/main/res/layout/activity_settings.xml.diff
original:
android:layout_marginBottom="20dp"
updated:
android:layout_marginBottom="40dp"
<|file_sep|>original/app/src/main/res/layout/activity_settings.xml
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns... | <fragment
android:tag=".ui.SettingsFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="40dp"
android:layout_marginBottom="40dp"
android:layout_marginStart="20dp"
android:layout_marginEnd="20dp"
c... | <|file_sep|>app/src/main/res/layout/activity_settings.xml.diff
original:
android:layout_marginBottom="20dp"
updated:
android:layout_marginBottom="40dp"
<|file_sep|>original/app/src/main/res/layout/activity_settings.xml
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns... | bb4cdacdc7398930ff2c7d08bfbd6f3b0514355a | app/src/main/res/layout/activity_settings.xml | app/src/main/res/layout/activity_settings.xml | XML |
<|file_sep|>original/app/components/calendar/calendar-illustration/index.js
/**
* Draws the illustration.
*
* @return {CalendarIllustration}
*/
draw() {
const moment = Moment();
this.dataset.time = moment.format('ha');
this.dataset.quarter = moment.format('Q');
... |
/**
* Draws the illustration.
*
* @return {CalendarIllustration}
*/
draw() {
const moment = Moment();
this.dataset.time = moment.format('ha');
this.dataset.month = moment.format('M');
return this;
}
}
// Remember document from import scope. Needed for ... | <|file_sep|>original/app/components/calendar/calendar-illustration/index.js
/**
* Draws the illustration.
*
* @return {CalendarIllustration}
*/
draw() {
const moment = Moment();
this.dataset.time = moment.format('ha');
this.dataset.quarter = moment.format('Q');
... | 2d8abed76cd7795771f5e89e752e800b8ae1350c | app/components/calendar/calendar-illustration/index.js | app/components/calendar/calendar-illustration/index.js | JavaScript |
<|file_sep|>original/.travis.yml
language: python
python:
- 3.4
before_install:
- make setup
- make setup_ci
script:
- make style
# - make test
<|file_sep|>current/.travis.yml
language: python
python:
- 3.4
before_install:
- make setup
- make setup_ci
script:
- make style
# -... | language: python
python:
- 3.4
before_install:
- make setup
- make setup_ci
script:
# - make style
- make test | <|file_sep|>original/.travis.yml
language: python
python:
- 3.4
before_install:
- make setup
- make setup_ci
script:
- make style
# - make test
<|file_sep|>current/.travis.yml
language: python
python:
- 3.4
before_install:
- make setup
- make setup_ci
script:
- make style
# -... | 006aa69dbbca8169c6c78dbb8c7060429a04b5b4 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/packages/ka/katip-rollbar.yaml
<|file_sep|>current/packages/ka/katip-rollbar.yaml
<|file_sep|>updated/packages/ka/katip-rollbar.yaml | homepage: https://github.com/joneshf/katip-rollbar#readme
changelog-type: ''
hash: 460a73899cbc6071a58d5c01f66740a80a67fb70d2baa49fc922e89ab81688db
test-bench-deps: {}
maintainer: jones3.hardy@gmail.com
synopsis: Katip scribe that logs to Rollbar
changelog: ''
basic-deps:
http-client: ! '>=0.5.10'
katip: ! '>=0.5 &... | <|file_sep|>original/packages/ka/katip-rollbar.yaml
<|file_sep|>current/packages/ka/katip-rollbar.yaml
<|file_sep|>updated/packages/ka/katip-rollbar.yaml
homepage: https://github.com/joneshf/katip-rollbar#readme
changelog-type: ''
hash: 460a73899cbc6071a58d5c01f66740a80a67fb70d2baa49fc922e89ab81688db
test-bench-deps:... | 81e31ec93a3dc8e36efc4409a9c90d8613642a16 | packages/ka/katip-rollbar.yaml | packages/ka/katip-rollbar.yaml | YAML |
<|file_sep|>original/chrome-extension/manifest.json
{
"name": "DevToolsRemote",
"version": "1.0.0",
"manifest_version": 2,
"description": "",
"homepage_url": "https://remotedebug.org",
"content_scripts": [
{
"matches": [
"<all_urls>"
],
"js": [
"content.js"
],
... | {
"name": "DevTools Remote",
"version": "1.0.0",
"manifest_version": 2,
"description": "",
"homepage_url": "https://remotedebug.org",
"content_scripts": [
{
"matches": [
"<all_urls>"
],
"js": [
"content.js"
],
"run_at": "document_idle"
}
],
"backgrou... | <|file_sep|>original/chrome-extension/manifest.json
{
"name": "DevToolsRemote",
"version": "1.0.0",
"manifest_version": 2,
"description": "",
"homepage_url": "https://remotedebug.org",
"content_scripts": [
{
"matches": [
"<all_urls>"
],
"js": [
"content.js"
],
... | 042f2ddef92b27a3151148dfbde83330ff49947a | chrome-extension/manifest.json | chrome-extension/manifest.json | JSON |
<|file_sep|>original/package.json
"version": "1.0.0",
"description": "A basic setup for new React.js projects utilizing the Flux application architecture.",
"main": "js/app.js",
"dependencies": {
"flux": "^2.0.0",
"react": "^0.12.0"
},
"devDependencies": {
"browserify": "~6.2.0",
"envify": "... | "version": "1.0.0",
"description": "A basic setup for new React.js projects utilizing the Flux application architecture.",
"main": "js/app.js",
"dependencies": {
"flux": "^2.0.0",
"react": "^0.12.0"
},
"devDependencies": {
"browserify": "~6.2.0",
"envify": "~3.0.0",
"reactify": "^0.15",
... | <|file_sep|>original/package.json
"version": "1.0.0",
"description": "A basic setup for new React.js projects utilizing the Flux application architecture.",
"main": "js/app.js",
"dependencies": {
"flux": "^2.0.0",
"react": "^0.12.0"
},
"devDependencies": {
"browserify": "~6.2.0",
"envify": "... | f4546ca588e8a39c6e60a214c2c68ff85967f6de | package.json | package.json | JSON |
<|file_sep|>original/dev-requirements.txt
black==19.10b0
doc8==0.8.1
coveralls==2.1.2
flake8==3.8.3
flake8-commas==2.0.0
flake8-comprehensions==3.2.3
flake8-docstrings==1.5.0
flake8-isort==4.0.0
flake8-mutable==1.2.0
freezegun==0.3.15
isort==5.4.1
mypy==0.782
pydocstyle==5.0.2
pytest==6.0.1
pytest-cov==2.10.1
rope==0.1... | black==19.10b0
doc8==0.8.1
coveralls==2.1.2
flake8==3.8.3
flake8-commas==2.0.0
flake8-comprehensions==3.2.3
flake8-docstrings==1.5.0
flake8-isort==4.0.0
flake8-mutable==1.2.0
freezegun==0.3.15
isort==5.4.2
mypy==0.782
pydocstyle==5.0.2
pytest==6.0.1
pytest-cov==2.10.1
rope==0.17.0
setuptools==49.6.0
sphinx==3.2.1
sphin... | <|file_sep|>original/dev-requirements.txt
black==19.10b0
doc8==0.8.1
coveralls==2.1.2
flake8==3.8.3
flake8-commas==2.0.0
flake8-comprehensions==3.2.3
flake8-docstrings==1.5.0
flake8-isort==4.0.0
flake8-mutable==1.2.0
freezegun==0.3.15
isort==5.4.1
mypy==0.782
pydocstyle==5.0.2
pytest==6.0.1
pytest-cov==2.10.1
rope==0.1... | 6f5ff35a61480f081e2d6bb7f70ecab551d596af | dev-requirements.txt | dev-requirements.txt | Text |
<|file_sep|>original/php/example_code/s3/DeleteBucket.php
<|file_sep|>current/php/example_code/s3/DeleteBucket.php
<|file_sep|>updated/php/example_code/s3/DeleteBucket.php | <?php
/**
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* This file is licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License. A copy of
* the License is located at
*
* http://aws.amazon.com/apache2.0/
... | <|file_sep|>original/php/example_code/s3/DeleteBucket.php
<|file_sep|>current/php/example_code/s3/DeleteBucket.php
<|file_sep|>updated/php/example_code/s3/DeleteBucket.php
<?php
/**
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* This file is licensed under the Apache License, Ve... | e8e6c817d765f23bde6db72da71f6228b30fc433 | php/example_code/s3/DeleteBucket.php | php/example_code/s3/DeleteBucket.php | PHP |
<|file_sep|>original/db/migrate/20190207000317_change_video_id_to_bigint.rb
<|file_sep|>current/db/migrate/20190207000317_change_video_id_to_bigint.rb
<|file_sep|>updated/db/migrate/20190207000317_change_video_id_to_bigint.rb | class ChangeVideoIdToBigint < ActiveRecord::Migration[6.0]
def up
change_column :videos, :id, :bigint
end
def down
change_column :videos, :id, :integer
end
end | <|file_sep|>original/db/migrate/20190207000317_change_video_id_to_bigint.rb
<|file_sep|>current/db/migrate/20190207000317_change_video_id_to_bigint.rb
<|file_sep|>updated/db/migrate/20190207000317_change_video_id_to_bigint.rb
class ChangeVideoIdToBigint < ActiveRecord::Migration[6.0]
def up
change_column :video... | 70beafa6e6ec1cb2ecd7aaae9754ed3ab89ca123 | db/migrate/20190207000317_change_video_id_to_bigint.rb | db/migrate/20190207000317_change_video_id_to_bigint.rb | Ruby |
<|file_sep|>.travis.yml.diff
original:
updated:
- git fetch --unshallow
- git diff --name-only $TRAVIS_COMMIT_RANGE | xargs pre-commit run --files
<|file_sep|>original/.travis.yml
addons:
apt_packages:
- default-jdk
install:
- "pip install 'requests>2' coverage codecov pre-commit"
- "pip ... |
addons:
apt_packages:
- default-jdk
install:
- "pip install 'requests>2' coverage codecov pre-commit"
- "pip install ."
- 'if [[ $TRAVIS_PYTHON_VERSION == "2.7" ]]; then travis_retry pip install faulthandler; fi'
- 'if [[ "${SOLRCLOUD:-false}" == "true" ]]; then pip install -e .[solrcloud]... | <|file_sep|>.travis.yml.diff
original:
updated:
- git fetch --unshallow
- git diff --name-only $TRAVIS_COMMIT_RANGE | xargs pre-commit run --files
<|file_sep|>original/.travis.yml
addons:
apt_packages:
- default-jdk
install:
- "pip install 'requests>2' coverage codecov pre-commit"
- "pip ... | 218734c7b40d22a0f1e2b0362d4c62c0313a2b21 | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/main/js/api.js.diff
original:
export default axios.create({
updated:
let observedPosition = 0;
export function updateObservedPosition() {
// TODO
}
export function buildConfig() {
return {
headers: {'X-Observed-Position': '' + observedPosition}
};
}
const http = axios.create({
<|file_sep|>o... | export function updateObservedPosition() {
// TODO
}
export function buildConfig() {
return {
headers: {'X-Observed-Position': '' + observedPosition}
};
}
const http = axios.create({
timeout: 15000,
headers: {
'Accept': 'application/json',
},
});
export default {
get: (url) => http.get(url, bui... | <|file_sep|>src/main/js/api.js.diff
original:
export default axios.create({
updated:
let observedPosition = 0;
export function updateObservedPosition() {
// TODO
}
export function buildConfig() {
return {
headers: {'X-Observed-Position': '' + observedPosition}
};
}
const http = axios.create({
<|file_sep|>o... | ae4dfedae57d7059b5d0141af8612ca1e6533f99 | src/main/js/api.js | src/main/js/api.js | JavaScript |
<|file_sep|>original/src/app/app.component.ts
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent implements OnInit {
title = 'Stats Bar';
playlist_data = PLAYLIST_DATA;
items: { name: string, playlistId: string }[] = null;... | templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent implements OnInit {
title = 'Stats Bar';
playlist_data = PLAYLIST_DATA;
items: { name: string, playlistId: string }[] = null;
constructor() { }
ngOnInit() {
if (this.playlist_data.length > 0) {
... | <|file_sep|>original/src/app/app.component.ts
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent implements OnInit {
title = 'Stats Bar';
playlist_data = PLAYLIST_DATA;
items: { name: string, playlistId: string }[] = null;... | 4d6e593c27e2bfb9d82b3a1f326f23c7f50403fd | src/app/app.component.ts | src/app/app.component.ts | TypeScript |
<|file_sep|>original/cgoflags_darwin.go
package clang
// #cgo darwin LDFLAGS: -L/opt/local/libexec/llvm-3.5/lib
import "C"
//EOF
<|file_sep|>current/cgoflags_darwin.go
package clang
// #cgo darwin LDFLAGS: -L/opt/local/libexec/llvm-3.5/lib
import "C"
//EOF
<|file_sep|>updated/cgoflags_darwin.go | package clang
// #cgo darwin LDFLAGS: -L/usr/local/opt/llvm35/lib/llvm-3.5/lib
import "C"
//EOF | <|file_sep|>original/cgoflags_darwin.go
package clang
// #cgo darwin LDFLAGS: -L/opt/local/libexec/llvm-3.5/lib
import "C"
//EOF
<|file_sep|>current/cgoflags_darwin.go
package clang
// #cgo darwin LDFLAGS: -L/opt/local/libexec/llvm-3.5/lib
import "C"
//EOF
<|file_sep|>updated/cgoflags_darwin.go
package clang
// #c... | 99b4364f58cb587c0174b745c76c7158d737313d | cgoflags_darwin.go | cgoflags_darwin.go | Go |
<|file_sep|>original/README.md
OpenSSH Connection Monitor
==========================
AppIndicator to monitor OpenSSH connections.
Dependencies
============
- PyGtk 2.0
- AppIndicator 3.0
- pynotify 0.1.1
- pyinotify 0.9.5
For best experience use OpenSSH from [bertwesarg/openssh-portable in the branch bw/master]... | OpenSSH Connection Monitor
==========================
AppIndicator to monitor OpenSSH connections.
Dependencies
============
- PyGtk 2.0
- AppIndicator 3.0
- pynotify 0.1.1
- pyinotify 0.9.5
For best experience use OpenSSH from https://github.com/bertwesarg/openssh-portable/tree/bw/master. | <|file_sep|>original/README.md
OpenSSH Connection Monitor
==========================
AppIndicator to monitor OpenSSH connections.
Dependencies
============
- PyGtk 2.0
- AppIndicator 3.0
- pynotify 0.1.1
- pyinotify 0.9.5
For best experience use OpenSSH from [bertwesarg/openssh-portable in the branch bw/master]... | 27ff0838abd705bbbc3983437034dc43dfa549d7 | README.md | README.md | Markdown |
<|file_sep|>original/plugins/arRestApiPlugin/modules/api/config/security.yml
default:
is_secure: true
informationobjectsCreate:
credentials: [[ contributor, editor, administrator ]]
informationobjectsDelete:
credentials: administrator
informationobjectsMove:
credentials: [[ contributor, editor, administrator... | default:
is_secure: true | <|file_sep|>original/plugins/arRestApiPlugin/modules/api/config/security.yml
default:
is_secure: true
informationobjectsCreate:
credentials: [[ contributor, editor, administrator ]]
informationobjectsDelete:
credentials: administrator
informationobjectsMove:
credentials: [[ contributor, editor, administrator... | 8ed41d459f57da40e623218c35ee7f96ad81f088 | plugins/arRestApiPlugin/modules/api/config/security.yml | plugins/arRestApiPlugin/modules/api/config/security.yml | YAML |
<|file_sep|>original/public/configurations/visualizations/top5-app-pie.json
"id": "top5-app-pie",
"graph": "PieGraph",
"title": "Top 5 Apps Pie",
"author": "Curran Kelleher",
"creationDate": "10/19/2016",
"data": {
"sliceColumn": "Sum of MB",
"labelColumn": "L7Classification",
... | "graph": "PieGraph",
"title": "Top 5 Apps Pie",
"author": "Curran Kelleher",
"creationDate": "10/19/2016",
"data": {
"sliceColumn": "Sum of MB",
"labelColumn": "L7Classification",
"tooltip": [
{ "column": "L7Classification", "label": "L7 Classification" },
... | <|file_sep|>original/public/configurations/visualizations/top5-app-pie.json
"id": "top5-app-pie",
"graph": "PieGraph",
"title": "Top 5 Apps Pie",
"author": "Curran Kelleher",
"creationDate": "10/19/2016",
"data": {
"sliceColumn": "Sum of MB",
"labelColumn": "L7Classification",
... | bd5f685619f5ad93e4e46fcaedf5cc99cd655369 | public/configurations/visualizations/top5-app-pie.json | public/configurations/visualizations/top5-app-pie.json | JSON |
<|file_sep|>original/src/html/includes/sections/home.html
<section class="home-section">
<div class="overlay"></div>
<div class="container">
<div class="row content">
<div class="col-md-8">
<div class="description">Lean coding week-ends</div>
<h1>WeLean<span>.... | <section class="home-section">
<div class="overlay"></div>
<div class="container">
<div class="row content">
<div class="col-md-8">
<div class="description">Lean coding week-ends</div>
<h1>WeLean<span>.</span>it</h1>
<div class="info">by <a hre... | <|file_sep|>original/src/html/includes/sections/home.html
<section class="home-section">
<div class="overlay"></div>
<div class="container">
<div class="row content">
<div class="col-md-8">
<div class="description">Lean coding week-ends</div>
<h1>WeLean<span>.... | bcd6f7e7930e4e15b93f9eca571caa9722bca168 | src/html/includes/sections/home.html | src/html/includes/sections/home.html | HTML |
<|file_sep|>original/requirements.txt
Celery==5.0.4
kombu==5.0.2
factory-boy==3.1.0
Django==3.1.4
djangorestframework==3.12.2
mock==4.0.2
six==1.15.0
jsonpickle==1.4.2
django_nose==1.4.7
<|file_sep|>current/requirements.txt
Celery==5.0.4
kombu==5.0.2
factory-boy==3.1.0
Django==3.1.4
djangorestframework==3.12.2
mock==4.... | Celery==5.0.5
kombu==5.0.2
factory-boy==3.1.0
Django==3.1.4
djangorestframework==3.12.2
mock==4.0.2
six==1.15.0
jsonpickle==1.4.2
django_nose==1.4.7 | <|file_sep|>original/requirements.txt
Celery==5.0.4
kombu==5.0.2
factory-boy==3.1.0
Django==3.1.4
djangorestframework==3.12.2
mock==4.0.2
six==1.15.0
jsonpickle==1.4.2
django_nose==1.4.7
<|file_sep|>current/requirements.txt
Celery==5.0.4
kombu==5.0.2
factory-boy==3.1.0
Django==3.1.4
djangorestframework==3.12.2
mock==4.... | 60515d7b662ad9cfc9bd880b2a670b40f6967120 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/l10n_br_fiscal/data/res_partner_data.xml
</record>
<record id="res_partner_ministerio_fazenda" model="res.partner">
<field name="name">Ministério da Fazenda</field>
<field name="legal_name">Ministério da Fazenda</field>
<field name="is_company">True</field>
</re... | </record>
<record id="res_partner_ministerio_fazenda" model="res.partner">
<field name="name">Ministério da Fazenda</field>
<field name="legal_name">Ministério da Fazenda</field>
<field name="is_company">True</field>
</record>
<record id="res_partner_previdencia_social" model="... | <|file_sep|>original/l10n_br_fiscal/data/res_partner_data.xml
</record>
<record id="res_partner_ministerio_fazenda" model="res.partner">
<field name="name">Ministério da Fazenda</field>
<field name="legal_name">Ministério da Fazenda</field>
<field name="is_company">True</field>
</re... | 7364bfec8c7764caad480ea4a8a49c70c955c495 | l10n_br_fiscal/data/res_partner_data.xml | l10n_br_fiscal/data/res_partner_data.xml | XML |
<|file_sep|>original/cmd/main.go
// Flag
var ext string
var ignore bool
func main() {
// DEBUG:
// createTestDir()
flag.BoolVar(&ignore, "ignore", false, "bool flag")
flag.StringVar(&ext, "ext", "", "extensions splited by \".\"")
flag.Parse()
exts := strings.Split(ext, ",")
var err error
if !ignore {
// e... |
// Flag
var ext string
var ignore bool
func main() {
// DEBUG:
// createTestDir()
flag.BoolVar(&ignore, "ignore", false, "bool flag")
flag.StringVar(&ext, "ext", "", "extensions splited by \",\"")
flag.Parse()
exts := strings.Split(ext, ",")
var err error
if !ignore {
// err = renfls.ToSubDirsNameExt(toDi... | <|file_sep|>original/cmd/main.go
// Flag
var ext string
var ignore bool
func main() {
// DEBUG:
// createTestDir()
flag.BoolVar(&ignore, "ignore", false, "bool flag")
flag.StringVar(&ext, "ext", "", "extensions splited by \".\"")
flag.Parse()
exts := strings.Split(ext, ",")
var err error
if !ignore {
// e... | fd730cdde2df3bb3c97bdb1f7cc809a3d8672c6e | cmd/main.go | cmd/main.go | Go |
<|file_sep|>scripts/mirror-winsys.js.diff
original:
srcPathsEnvKey = "SYSPOL_EXTERNAL_MIRROR_BACKUP_SOURCE_PATH";
dstPathsEnvKey = "SYSPOL_EXTERNAL_MIRROR_BACKUP_DESTINATION_PATH";
updated:
var srcPathsEnvKey = "SYSPOL_EXTERNAL_MIRROR_BACKUP_SOURCE_PATH";
var dstPathsEnvKey = "SYSPOL_EXTERNAL_MIRROR_BACKUP_DESTINATION_... | if(typeof(paths) == "undefined") {
throw Error("Environment variable %" + item + "% is empty/absent");
}
return paths.split(PATH_SEPARATOR);
});
// Strip double quotes
paths = paths.map(function(item, index, array) {
return item.map(function(item, index, array) {
return item.replace(/"/g, '');
});
})... | <|file_sep|>scripts/mirror-winsys.js.diff
original:
srcPathsEnvKey = "SYSPOL_EXTERNAL_MIRROR_BACKUP_SOURCE_PATH";
dstPathsEnvKey = "SYSPOL_EXTERNAL_MIRROR_BACKUP_DESTINATION_PATH";
updated:
var srcPathsEnvKey = "SYSPOL_EXTERNAL_MIRROR_BACKUP_SOURCE_PATH";
var dstPathsEnvKey = "SYSPOL_EXTERNAL_MIRROR_BACKUP_DESTINATION_... | a3547790203083b2d92c59112fb8d5523c91c789 | scripts/mirror-winsys.js | scripts/mirror-winsys.js | JavaScript |
<|file_sep|>original/README.md
bthomehub4-reboot-script
========================
Reboot the BT Home Hub 4 from the command line instead of using the nasty looking web interface. Useful for quick reboots or you can configure as a cron job for periodic restarts.
## Tested on
* Linux Mint 16 Petra
* BT Home Hub 4 (Type ... | bthomehub4-reboot-script
========================
Reboot the BT Home Hub 4 from the command line instead of using the nasty looking web interface. Useful for quick reboots or you can configure as a cron job for periodic restarts.
## Tested on
* Linux Mint 16 Petra
* BT Home Hub 4 (Type A), Software version 4.7.5.1.83... | <|file_sep|>original/README.md
bthomehub4-reboot-script
========================
Reboot the BT Home Hub 4 from the command line instead of using the nasty looking web interface. Useful for quick reboots or you can configure as a cron job for periodic restarts.
## Tested on
* Linux Mint 16 Petra
* BT Home Hub 4 (Type ... | 8e980e8ad34adf1789f5228cc4cfc7e36f404dc9 | README.md | README.md | Markdown |
<|file_sep|>README.md.diff
original:
[<img src="https://cdn.anychart.com/images/logo-transparent-segoe.png?2" width="234px" alt="AnyChart - Robust JavaScript/HTML5 Chart library for any project">](http://www.anychart.com)
updated:
[<img src="https://cdn.anychart.com/images/logo-transparent-segoe.png?2" width="234px" al... | [<img src="https://cdn.anychart.com/images/logo-transparent-segoe.png?2" width="234px" alt="AnyChart - Robust JavaScript/HTML5 Chart library for any project">](https://www.anychart.com)
## AnyStock - Drawing Tools and Annotations Demo
AnyStock offers a large set of features, that allow you to build your online financi... | <|file_sep|>README.md.diff
original:
[<img src="https://cdn.anychart.com/images/logo-transparent-segoe.png?2" width="234px" alt="AnyChart - Robust JavaScript/HTML5 Chart library for any project">](http://www.anychart.com)
updated:
[<img src="https://cdn.anychart.com/images/logo-transparent-segoe.png?2" width="234px" al... | 5561a5dbf0f32bd2b62a5b073fb807d7ff91064e | README.md | README.md | Markdown |
<|file_sep|>original/locales/ur/server.ftl
<|file_sep|>current/locales/ur/server.ftl
<|file_sep|>updated/locales/ur/server.ftl | // Localization for Server-side strings of Firefox Screenshots
//
// Please don't localize Firefox, Firefox Screenshots, or Screenshots
// Global phrases shared across pages, prefixed with 'g'
[[ global ]]
gHomeLink = ابتدائی صفحہ
[[ Footer ]]
// Note: link text for a link to mozilla.org
footerLinkMozilla = Moz... | <|file_sep|>original/locales/ur/server.ftl
<|file_sep|>current/locales/ur/server.ftl
<|file_sep|>updated/locales/ur/server.ftl
// Localization for Server-side strings of Firefox Screenshots
//
// Please don't localize Firefox, Firefox Screenshots, or Screenshots
// Global phrases shared across pages, prefixed wit... | 0c94bee093e1f6ec3693be064e36f2eadf83e906 | locales/ur/server.ftl | locales/ur/server.ftl | FreeMarker |
<|file_sep|>original/azure-pipelines.yml
- README.md
- CONTRIBUTING.md
- LICENSE.txt
- dco.txt
- .github/ISSUE_TEMPLATE/*.md
variables:
MAVEN_CACHE_FOLDER: $(Pipeline.Workspace)/.m2/repository/
MAVEN_OPTS: '-Dmaven.repo.local=$(MAVEN_CACHE_FOLDER)'
QUARKUS_LOCAL_REPO: $(MAVEN_CACHE_... | - README.md
- CONTRIBUTING.md
- LICENSE.txt
- dco.txt
- .github/ISSUE_TEMPLATE/*.md
variables:
MAVEN_CACHE_FOLDER: $(Pipeline.Workspace)/.m2/repository/
MAVEN_OPTS: '-Dmaven.repo.local=$(MAVEN_CACHE_FOLDER)'
QUARKUS_LOCAL_REPO: $(MAVEN_CACHE_FOLDER)
# Force everything to use VMs i... | <|file_sep|>original/azure-pipelines.yml
- README.md
- CONTRIBUTING.md
- LICENSE.txt
- dco.txt
- .github/ISSUE_TEMPLATE/*.md
variables:
MAVEN_CACHE_FOLDER: $(Pipeline.Workspace)/.m2/repository/
MAVEN_OPTS: '-Dmaven.repo.local=$(MAVEN_CACHE_FOLDER)'
QUARKUS_LOCAL_REPO: $(MAVEN_CACHE_... | 280ff6b3d6de3e65f43ad4a643c5215464d23c24 | azure-pipelines.yml | azure-pipelines.yml | YAML |
<|file_sep|>original/lib/rautomation/adapter/win_32.rb
Kernel.warn "[DEPRECATED] - RAutomation Win32 adapter will be removed in some future version. Use MsUia adapter instead!"
begin
gem "ffi"
rescue Gem::LoadError
raise Gem::LoadError, "Unable to load FFI gem. Install it with:\n\tgem install ffi"
end
require "ffi... | begin
gem "ffi"
rescue Gem::LoadError
raise Gem::LoadError, "Unable to load FFI gem. Install it with:\n\tgem install ffi"
end
require "ffi"
require File.dirname(__FILE__) + "/win_32/constants"
require File.dirname(__FILE__) + "/win_32/keys"
require File.dirname(__FILE__) + "/win_32/functions"
require File.dirname(_... | <|file_sep|>original/lib/rautomation/adapter/win_32.rb
Kernel.warn "[DEPRECATED] - RAutomation Win32 adapter will be removed in some future version. Use MsUia adapter instead!"
begin
gem "ffi"
rescue Gem::LoadError
raise Gem::LoadError, "Unable to load FFI gem. Install it with:\n\tgem install ffi"
end
require "ffi... | dffc923db9a7facbdace060a3cd97dafa1015ad3 | lib/rautomation/adapter/win_32.rb | lib/rautomation/adapter/win_32.rb | Ruby |
<|file_sep|>spec_helper.rb.diff
original:
# Running directly with ruby some_spec.rb
unless ENV['MSPEC_RUNNER']
updated:
unless ENV['MSPEC_RUNNER'] # Running directly with ruby some_spec.rb
<|file_sep|>spec_helper.rb.diff
original:
updated:
end
<|file_sep|>original/spec_helper.rb
raise "shim Thread#report_on_exce... | unless ENV['MSPEC_RUNNER'] # Running directly with ruby some_spec.rb
mspec_lib = File.expand_path("../../mspec/lib", __FILE__)
$LOAD_PATH << mspec_lib if File.directory?(mspec_lib)
begin
require 'mspec'
require 'mspec/commands/mspec-run'
rescue LoadError
puts "Please add -Ipath/to/mspec/lib or clon... | <|file_sep|>spec_helper.rb.diff
original:
# Running directly with ruby some_spec.rb
unless ENV['MSPEC_RUNNER']
updated:
unless ENV['MSPEC_RUNNER'] # Running directly with ruby some_spec.rb
<|file_sep|>spec_helper.rb.diff
original:
updated:
end
<|file_sep|>original/spec_helper.rb
raise "shim Thread#report_on_exce... | 8bdeceeb6202d8507e6e87f3be151c60ee076b91 | spec_helper.rb | spec_helper.rb | Ruby |
<|file_sep|>original/CONTRIBUTING.md
Here are a few tips to make it simpler to test a local copy of import-js in
Sublime:
## Symlink
Make a symlink inside your Sublime packages folder to the local copy of
sublime-import-js. Every time you change the `import_js.py` file the plugin will
reload.
```sh
cd ~/Library/Appl... | Here are a few tips to make it simpler to test a local copy of ImportJS in
Sublime:
## Symlink
Make a symlink inside your Sublime packages folder to the local copy of
sublime-import-js. Every time you change the `import_js.py` file the plugin will
reload.
```sh
cd ~/Library/Application Support/Sublime Text 3/Package... | <|file_sep|>original/CONTRIBUTING.md
Here are a few tips to make it simpler to test a local copy of import-js in
Sublime:
## Symlink
Make a symlink inside your Sublime packages folder to the local copy of
sublime-import-js. Every time you change the `import_js.py` file the plugin will
reload.
```sh
cd ~/Library/Appl... | 29480c1acb4818561b7ca933d97ba32ab1479381 | CONTRIBUTING.md | CONTRIBUTING.md | Markdown |
<|file_sep|>original/docs/requirements.txt
sphinx==1.6.3
sphinxcontrib-asyncio==0.2.0
sphinxcontrib-spelling==2.3.0
pyenchant==1.6.8
<|file_sep|>current/docs/requirements.txt
sphinx==1.6.3
sphinxcontrib-asyncio==0.2.0
sphinxcontrib-spelling==2.3.0
pyenchant==1.6.8
<|file_sep|>updated/docs/requirements.txt | sphinx==1.6.3
sphinxcontrib-asyncio==0.2.0
sphinxcontrib-spelling==2.3.0
pyenchant==1.6.11 | <|file_sep|>original/docs/requirements.txt
sphinx==1.6.3
sphinxcontrib-asyncio==0.2.0
sphinxcontrib-spelling==2.3.0
pyenchant==1.6.8
<|file_sep|>current/docs/requirements.txt
sphinx==1.6.3
sphinxcontrib-asyncio==0.2.0
sphinxcontrib-spelling==2.3.0
pyenchant==1.6.8
<|file_sep|>updated/docs/requirements.txt
sphinx==1.6.3... | 3f7f808697d9130d344206dd928dc999c0935527 | docs/requirements.txt | docs/requirements.txt | Text |
<|file_sep|>original/src/drivers/block_dev/stm32_sd/stm32f4_discovery_sd.h
#ifndef STM32F4_DISCOVERY_SD_H_
#define STM32F4_DISCOVERY_SD_H_
#include <assert.h>
#include "stm32f4xx_hal.h"
#include "stm32f4xx_hal_sd.h"
#include "stm324xg_eval_sd.h"
#include <framework/mod/options.h>
#define STM32_DMA_RX_IRQ OPTION_GE... | #ifndef STM32F4_DISCOVERY_SD_H_
#define STM32F4_DISCOVERY_SD_H_
#include <assert.h>
#include "stm32f4xx_hal.h"
#include "stm32f4xx_hal_sd.h"
#include "stm324xg_eval_sd.h"
#include <framework/mod/options.h>
#define STM32_DMA_RX_IRQ OPTION_GET(NUMBER, dma_rx_irq)
static_assert(STM32_DMA_RX_IRQ == DMA2_Stream3_IRQn);... | <|file_sep|>original/src/drivers/block_dev/stm32_sd/stm32f4_discovery_sd.h
#ifndef STM32F4_DISCOVERY_SD_H_
#define STM32F4_DISCOVERY_SD_H_
#include <assert.h>
#include "stm32f4xx_hal.h"
#include "stm32f4xx_hal_sd.h"
#include "stm324xg_eval_sd.h"
#include <framework/mod/options.h>
#define STM32_DMA_RX_IRQ OPTION_GE... | 9be52ff3eb31ac0c1365f1f6e2a1c54c436a5dca | src/drivers/block_dev/stm32_sd/stm32f4_discovery_sd.h | src/drivers/block_dev/stm32_sd/stm32f4_discovery_sd.h | C |
<|file_sep|>original/packages/un/union.yaml
homepage: ''
changelog-type: ''
hash: b18e62eb8495abc793873966fbfdce4cd179f9620f6f2df14d34d4ed00e3dc73
test-bench-deps:
base: -any
union: -any
criterion: -any
lens: -any
maintainer: Index Int <vlad.z.4096@gmail.com>
synopsis: Extensible type-safe unions
changelog: ''
... | homepage: ''
changelog-type: ''
hash: b727e5c9325d1672d30a1da433ddd1314775d7b50d2148713f419e524444ed79
test-bench-deps:
base: -any
union: -any
criterion: -any
lens: -any
maintainer: Index Int <vlad.z.4096@gmail.com>
synopsis: Extensible type-safe unions
changelog: ''
basic-deps:
base: ! '>=4.8 && <4.10'
vin... | <|file_sep|>original/packages/un/union.yaml
homepage: ''
changelog-type: ''
hash: b18e62eb8495abc793873966fbfdce4cd179f9620f6f2df14d34d4ed00e3dc73
test-bench-deps:
base: -any
union: -any
criterion: -any
lens: -any
maintainer: Index Int <vlad.z.4096@gmail.com>
synopsis: Extensible type-safe unions
changelog: ''
... | 6cb7300adb55bb3643926bbf0385c11e60a4f5e3 | packages/un/union.yaml | packages/un/union.yaml | YAML |
<|file_sep|>original/examples/bugs/ajax_status_change.html
<|file_sep|>current/examples/bugs/ajax_status_change.html
<|file_sep|>updated/examples/bugs/ajax_status_change.html | <!doctype html>
<html>
<head>
<title>ajax (look at console)</title>
<link rel="stylesheet" href="../../resources/css/app.css" type="text/css"/>
<script type="text/javascript" src="../../deps/sencha_touch/builds/sencha-touch-all-compat.js"></script>
<script type="text/javascript">
Ext.setup({
onRea... | <|file_sep|>original/examples/bugs/ajax_status_change.html
<|file_sep|>current/examples/bugs/ajax_status_change.html
<|file_sep|>updated/examples/bugs/ajax_status_change.html
<!doctype html>
<html>
<head>
<title>ajax (look at console)</title>
<link rel="stylesheet" href="../../resources/css/app.css" type="t... | dd277010b7e03ef58c769b725dbe8fe731b6d62b | examples/bugs/ajax_status_change.html | examples/bugs/ajax_status_change.html | HTML |
<|file_sep|>.travis.yml.diff
original:
updated:
- 7.1
<|file_sep|>original/.travis.yml
sudo: false
language: php
php:
- 5.6
- 7.0
- hhvm
- nightly
matrix:
fast_finish: true
allow_failures:
- php: hhvm
- php: nightly
before_script:
- composer self-update
- composer install --no-interaction ... | language: php
php:
- 5.6
- 7.0
- 7.1
- hhvm
- nightly
matrix:
fast_finish: true
allow_failures:
- php: 7.1
- php: hhvm
- php: nightly
before_script:
- composer self-update
- composer install --no-interaction --prefer-source --dev
script: make test | <|file_sep|>.travis.yml.diff
original:
updated:
- 7.1
<|file_sep|>original/.travis.yml
sudo: false
language: php
php:
- 5.6
- 7.0
- hhvm
- nightly
matrix:
fast_finish: true
allow_failures:
- php: hhvm
- php: nightly
before_script:
- composer self-update
- composer install --no-interaction ... | f63c692369bf842047d45609942e4d4d9756ff24 | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/Psalm/Report/XmlReport.php.diff
original:
updated:
use function get_object_vars;
<|file_sep|>original/src/Psalm/Report/XmlReport.php
class XmlReport extends Report
{
public function create(): string
{
$xml = Array2XML::createXML(
'report',
[
'item... |
class XmlReport extends Report
{
public function create(): string
{
$xml = Array2XML::createXML(
'report',
[
'item' => array_map(
function (IssueData $issue_data): array {
$issue_data = get_object_vars($issue_data);
... | <|file_sep|>src/Psalm/Report/XmlReport.php.diff
original:
updated:
use function get_object_vars;
<|file_sep|>original/src/Psalm/Report/XmlReport.php
class XmlReport extends Report
{
public function create(): string
{
$xml = Array2XML::createXML(
'report',
[
'item... | b1490970860166800e4acb823d154c16d5cbc9e7 | src/Psalm/Report/XmlReport.php | src/Psalm/Report/XmlReport.php | PHP |
<|file_sep|>original/spec/features/pm_spec.rb
<|file_sep|>current/spec/features/pm_spec.rb
<|file_sep|>updated/spec/features/pm_spec.rb | require 'rails_helper'
describe 'the private messaging system', type: feature do
before(:each) do
FactoryGirl.create(:ip_cache, ip_address: '1.2.3.4')
end
let(:sender) do
FactoryGirl.create(:activated_user, email: 'sender@example.com')
end
# let(:recipient) do
# FactoryGirl.create(:activated_use... | <|file_sep|>original/spec/features/pm_spec.rb
<|file_sep|>current/spec/features/pm_spec.rb
<|file_sep|>updated/spec/features/pm_spec.rb
require 'rails_helper'
describe 'the private messaging system', type: feature do
before(:each) do
FactoryGirl.create(:ip_cache, ip_address: '1.2.3.4')
end
let(:sender) d... | 90f61802f8c9173abcdb18654559c17c728ad964 | spec/features/pm_spec.rb | spec/features/pm_spec.rb | Ruby |
<|file_sep|>original/slurmec2utils/sysinit.py
#!/usr/bin/python
from __future__ import absolute_import, print_function
import boto.s3
from boto.s3.key import Key
from .clusterconfig import ClusterConfiguration
from .instanceinfo import get_instance_id
def check_munge_
<|file_sep|>current/slurmec2utils/sysinit.py
#!/us... | #!/usr/bin/python
from __future__ import absolute_import, print_function
import boto.s3
from boto.s3.key import Key
from .clusterconfig import ClusterConfiguration
from .instanceinfo import get_instance_id
def get_munge_key(cluster_configuration=None):
if cluster_configuration is None:
cluster_configuratio... | <|file_sep|>original/slurmec2utils/sysinit.py
#!/usr/bin/python
from __future__ import absolute_import, print_function
import boto.s3
from boto.s3.key import Key
from .clusterconfig import ClusterConfiguration
from .instanceinfo import get_instance_id
def check_munge_
<|file_sep|>current/slurmec2utils/sysinit.py
#!/us... | 4ec2b94551858e404f0de6d8ad3827d9c6138491 | slurmec2utils/sysinit.py | slurmec2utils/sysinit.py | Python |
<|file_sep|>.github/workflows/ci.yaml.diff
original:
name: Build and publish to ECR
updated:
name: CI
<|file_sep|>.github/workflows/ci.yaml.diff
original:
build-publish-image-to-ecr:
updated:
build-and-publish-image:
name: Build and publish image
<|file_sep|>original/.github/workflows/ci.yaml
name: Build and pu... | - main
push:
branches:
- main
paths-ignore:
- "Jenkinsfile"
- ".git**"
jobs:
build-and-publish-image:
name: Build and publish image
uses: alphagov/govuk-infrastructure/.github/workflows/ci-ecr.yaml@main
secrets:
AWS_GOVUK_ECR_ACCESS_KEY_ID: ${{ secrets.AWS_GOVUK_EC... | <|file_sep|>.github/workflows/ci.yaml.diff
original:
name: Build and publish to ECR
updated:
name: CI
<|file_sep|>.github/workflows/ci.yaml.diff
original:
build-publish-image-to-ecr:
updated:
build-and-publish-image:
name: Build and publish image
<|file_sep|>original/.github/workflows/ci.yaml
name: Build and pu... | a29996065dca8ef404bf5ff1ae40dc1d248a3818 | .github/workflows/ci.yaml | .github/workflows/ci.yaml | YAML |
<|file_sep|>original/_data/authors.yml
# Authors
jroelofs:
name: Jon Roelofs
web: http://github.com/jroelofs
email: jroelofs@gmail.com
bio: "Remind me again why I care?"
avatar: jroelofs-bio.jpg
twitter: jonathanroelofs
billy_rick:
name: Billy Rick
web: http://thewhip.com
email: billy@rick.com
bio... | # Authors
jroelofs:
name: Jon Roelofs
web: http://github.com/jroelofs
email: jroelofs@gmail.com
bio: "Remind me again why I care?"
avatar: jroelofs-bio.jpg
twitter: jonathanroelofs
madphilosopher:
name: Joey
bio: "Death metal is best viewed \"as art,\"... far more violent art can be found at the Vatic... | <|file_sep|>original/_data/authors.yml
# Authors
jroelofs:
name: Jon Roelofs
web: http://github.com/jroelofs
email: jroelofs@gmail.com
bio: "Remind me again why I care?"
avatar: jroelofs-bio.jpg
twitter: jonathanroelofs
billy_rick:
name: Billy Rick
web: http://thewhip.com
email: billy@rick.com
bio... | 360078ed029b54dc02fe33a6f16c3b1488787dde | _data/authors.yml | _data/authors.yml | YAML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.