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|>tfx/components/transform/executor_v2_test.py.diff original: import tensorflow_transform as tft updated: <|file_sep|>original/tfx/components/transform/executor_v2_test.py import os import tensorflow as tf import tensorflow_transform as tft from tfx.components.transform import executor_test class Executo...
With the native TF2 code path being exercised. """ import os import tensorflow as tf from tfx.components.transform import executor_test class ExecutorV2Test(executor_test.ExecutorTest): # Should not rely on inherited _SOURCE_DATA_DIR for integration tests to work # when TFX is installed as a non-editable packag...
<|file_sep|>tfx/components/transform/executor_v2_test.py.diff original: import tensorflow_transform as tft updated: <|file_sep|>original/tfx/components/transform/executor_v2_test.py import os import tensorflow as tf import tensorflow_transform as tft from tfx.components.transform import executor_test class Executo...
c1c2503933243fe51bb14f7d63222f958178d7e7
tfx/components/transform/executor_v2_test.py
tfx/components/transform/executor_v2_test.py
Python
<|file_sep|>original/.travis.yml language: scala scala: - 2.11.4 jdk: - oraclejdk8 script: sbt test <|file_sep|>current/.travis.yml language: scala scala: - 2.11.4 jdk: - oraclejdk8 script: sbt test <|file_sep|>updated/.travis.yml
language: scala scala: - 2.11.4 jdk: - oraclejdk8 before_script: - cp conf/application.conf.dist conf/application.conf - cp conf/silhouette.conf.dist conf/silhouette.conf - cp conf/twitter.conf.dist conf/twitter.conf script: sbt test
<|file_sep|>original/.travis.yml language: scala scala: - 2.11.4 jdk: - oraclejdk8 script: sbt test <|file_sep|>current/.travis.yml language: scala scala: - 2.11.4 jdk: - oraclejdk8 script: sbt test <|file_sep|>updated/.travis.yml language: scala scala: - 2.11.4 jdk: - oraclejdk8 before_script: ...
eaf341d31865e956e1df71b93083700c3e266cff
.travis.yml
.travis.yml
YAML
<|file_sep|>original/public/index.html <html> <head> <meta name="author" content="Jon Kuperman"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <link rel="stylesheet" href="/css/style.css"/> </head> <body>Hi,this is <b>One line</b>!</body> <p> Hi, I am not adding ...
<html> <head> <meta name="author" content="Jon Kuperman"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <link rel="stylesheet" href="/css/style.css"/> </head> <body>Hi,this is <b>One line</b>!</body> <p> Hi, I am not adding one paragraph. This could be helpfu...
<|file_sep|>original/public/index.html <html> <head> <meta name="author" content="Jon Kuperman"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <link rel="stylesheet" href="/css/style.css"/> </head> <body>Hi,this is <b>One line</b>!</body> <p> Hi, I am not adding ...
fc682cc08936428d403b5769d07d1830b61c392a
public/index.html
public/index.html
HTML
<|file_sep|>original/app/templates/test/name_test.js test.deepEqual(actual, expected, [message]) test.notDeepEqual(actual, expected, [message]) test.strictEqual(actual, expected, [message]) test.notStrictEqual(actual, expected, [message]) test.throws(block, [error], [message]) test.doesNotThrow(...
test.deepEqual(actual, expected, [message]) test.notDeepEqual(actual, expected, [message]) test.strictEqual(actual, expected, [message]) test.notStrictEqual(actual, expected, [message]) test.throws(block, [error], [message]) test.doesNotThrow(block, [error], [message]) test.ifError(value) */...
<|file_sep|>original/app/templates/test/name_test.js test.deepEqual(actual, expected, [message]) test.notDeepEqual(actual, expected, [message]) test.strictEqual(actual, expected, [message]) test.notStrictEqual(actual, expected, [message]) test.throws(block, [error], [message]) test.doesNotThrow(...
3a7621232056e34260f44fac72507002f3a2e7e1
app/templates/test/name_test.js
app/templates/test/name_test.js
JavaScript
<|file_sep|>original/keys/scp_keypair.sh HOST=$2 DIR=hosts/$HOST if ! [ -f "$CADIR/ca.pem" ]; then echo "*** Error: the file $CADIR/ca.pem does not exist, please run 'create_CA.sh' first." exit 1 fi if ! [ -f "$DIR/key.pem" ]; then echo "*** Error: the file $DIR/key.pem does not exist, please run 'create_...
DIR=hosts/$HOST if ! [ -f "$CADIR/ca.pem" ]; then echo "*** Error: the file $CADIR/ca.pem does not exist, please run 'create_CA.sh' first." exit 1 fi if ! [ -f "$DIR/key.pem" ]; then echo "*** Error: the file $DIR/key.pem does not exist, please run 'create_keypair.sh' first." exit 1 fi if ! [ -f "$DI...
<|file_sep|>original/keys/scp_keypair.sh HOST=$2 DIR=hosts/$HOST if ! [ -f "$CADIR/ca.pem" ]; then echo "*** Error: the file $CADIR/ca.pem does not exist, please run 'create_CA.sh' first." exit 1 fi if ! [ -f "$DIR/key.pem" ]; then echo "*** Error: the file $DIR/key.pem does not exist, please run 'create_...
d38f8d60d99b7155314cccc4635e90777af19aff
keys/scp_keypair.sh
keys/scp_keypair.sh
Shell
<|file_sep|>packages/storybook/examples/Popover/DemoList.js.diff original: updated: import { action } from '@storybook/addon-actions'; <|file_sep|>packages/storybook/examples/Popover/DemoList.js.diff original: updated: import Button from '@ichef/gypcrete/src/Button'; <|file_sep|>packages/storybook/examples/Popover/De...
{...props} /> ); } function DemoList() { return ( <List> <ListRow> <DemoButton basic="Row 1" onClick={action('click.1')} /> </ListRow> <ListRow> <DemoButton basic="Row 2" onClick={action('click.2')} /> </ListRow...
<|file_sep|>packages/storybook/examples/Popover/DemoList.js.diff original: updated: import { action } from '@storybook/addon-actions'; <|file_sep|>packages/storybook/examples/Popover/DemoList.js.diff original: updated: import Button from '@ichef/gypcrete/src/Button'; <|file_sep|>packages/storybook/examples/Popover/De...
ae73a9c27835b80d3f4102b9239e16506e534c75
packages/storybook/examples/Popover/DemoList.js
packages/storybook/examples/Popover/DemoList.js
JavaScript
<|file_sep|>spec/spec_helper.rb.diff original: # $: << File.join(File.dirname(__FILE__),"..", "lib") updated: <|file_sep|>original/spec/spec_helper.rb # $: << File.join(File.dirname(__FILE__),"..", "lib") require 'pry' require 'alephant/publisher' require 'alephant/publisher/models/writer' require 'alephant/publishe...
require 'pry' require 'alephant/publisher' require 'alephant/publisher/models/writer' require 'alephant/publisher/models/queue' require 'alephant/publisher/models/render_mapper' require 'alephant/renderer' require 'alephant/support/parser'
<|file_sep|>spec/spec_helper.rb.diff original: # $: << File.join(File.dirname(__FILE__),"..", "lib") updated: <|file_sep|>original/spec/spec_helper.rb # $: << File.join(File.dirname(__FILE__),"..", "lib") require 'pry' require 'alephant/publisher' require 'alephant/publisher/models/writer' require 'alephant/publishe...
869dd7333cf7c3f7376abb49e696b4875bedf4ce
spec/spec_helper.rb
spec/spec_helper.rb
Ruby
<|file_sep|>recipes/lmfit-0.9.0/meta.yaml.diff original: - setuptools updated: <|file_sep|>original/recipes/lmfit-0.9.0/meta.yaml build: number: 0 requirements: build: - python - setuptools - numpy - scipy run: - python - numpy - scipy test...
requirements: build: - python - numpy - scipy run: - python - numpy - scipy - ipython - ipywidgets - pandas - matplotlib test: imports: - lmfit about: home: http://lmfit.github.io/lmfit-py/
<|file_sep|>recipes/lmfit-0.9.0/meta.yaml.diff original: - setuptools updated: <|file_sep|>original/recipes/lmfit-0.9.0/meta.yaml build: number: 0 requirements: build: - python - setuptools - numpy - scipy run: - python - numpy - scipy test...
379d1ae73454dd702ff95be40079e4c98accad7e
recipes/lmfit-0.9.0/meta.yaml
recipes/lmfit-0.9.0/meta.yaml
YAML
<|file_sep|>original/pkg/remotedialer/wsconn.go w := &wsConn{ conn: conn, } w.setupDeadline() return w } func (w *wsConn) WriteMessage(messageType int, data []byte) error { w.Lock() defer w.Unlock() return w.conn.WriteMessage(messageType, data) } func (w *wsConn) NextReader() (int, io.Reader, error) { retur...
w := &wsConn{ conn: conn, } w.setupDeadline() return w } func (w *wsConn) WriteMessage(messageType int, data []byte) error { w.Lock() defer w.Unlock() w.conn.SetWriteDeadline(time.Now().Add(PingWaitDuration)) return w.conn.WriteMessage(messageType, data) } func (w *wsConn) NextReader() (int, io.Reader, erro...
<|file_sep|>original/pkg/remotedialer/wsconn.go w := &wsConn{ conn: conn, } w.setupDeadline() return w } func (w *wsConn) WriteMessage(messageType int, data []byte) error { w.Lock() defer w.Unlock() return w.conn.WriteMessage(messageType, data) } func (w *wsConn) NextReader() (int, io.Reader, error) { retur...
0f6027ac32c2afbd2b5a1d2532550f5b66c11204
pkg/remotedialer/wsconn.go
pkg/remotedialer/wsconn.go
Go
<|file_sep|>original/heufybot/output.py class OutputHandler(object): def __init__(self, connection): self.connection = connection def cmdJOIN(self, channels, keys=None): chans = channels.split(",") for i in range(len(chans)): if chans[i][0] not in self.connection.supportHelp...
class OutputHandler(object): def __init__(self, connection): self.connection = connection def cmdJOIN(self, channels, keys=[]): for i in range(len(channels)): if channels[i][0] not in self.connection.supportHelper.chanTypes: channels[i] = "#{}".format(channels[i]) ...
<|file_sep|>original/heufybot/output.py class OutputHandler(object): def __init__(self, connection): self.connection = connection def cmdJOIN(self, channels, keys=None): chans = channels.split(",") for i in range(len(chans)): if chans[i][0] not in self.connection.supportHelp...
a61d50ff6f564112c04d3a9a8ac6e57d5b99da9d
heufybot/output.py
heufybot/output.py
Python
<|file_sep|>original/composer.json { "name": "zofe/burp", "description": "Simple PHP router that works with query-string and uri-segments, laravel filter system", "keywords": ["php","router", "filter", "front controller", "simple"], "homepage": "https://github.com/zofe/burp", "license": "MIT", "...
{ "name": "zofe/burp", "description": "Simple PHP router that works with query-string and uri-segments, laravel filter system", "keywords": ["php","router", "filter", "front controller", "simple"], "homepage": "https://github.com/zofe/burp", "license": "MIT", "authors": [ { "...
<|file_sep|>original/composer.json { "name": "zofe/burp", "description": "Simple PHP router that works with query-string and uri-segments, laravel filter system", "keywords": ["php","router", "filter", "front controller", "simple"], "homepage": "https://github.com/zofe/burp", "license": "MIT", "...
43334be07f5d25d9e1487fd2509946a01f56e86f
composer.json
composer.json
JSON
<|file_sep|>original/.cicd/test.sh #!/bin/bash set -eo pipefail # variables . ./.cicd/helpers/general.sh # tests if [[ $(uname) == 'Darwin' ]]; then # macOS ./"$@" EXIT_STATUS=$? else # Linux . $HELPERS_DIR/docker-hash.sh echo "$ docker run --rm --init -v $(pwd):$MOUNTED_DIR $(buildkite-intrinsics) $FUL...
# tests if [[ $(uname) == 'Darwin' ]]; then # macOS ./"$@" EXIT_STATUS=$? else # Linux . $HELPERS_DIR/docker-hash.sh echo "$ docker run --rm --init -v $(pwd):$MOUNTED_DIR $(buildkite-intrinsics) $FULL_TAG bash -c \"$MOUNTED_DIR/$@\"" eval docker run --rm --init -v $(pwd):$MOUNTED_DIR $(buildkite-int...
<|file_sep|>original/.cicd/test.sh #!/bin/bash set -eo pipefail # variables . ./.cicd/helpers/general.sh # tests if [[ $(uname) == 'Darwin' ]]; then # macOS ./"$@" EXIT_STATUS=$? else # Linux . $HELPERS_DIR/docker-hash.sh echo "$ docker run --rm --init -v $(pwd):$MOUNTED_DIR $(buildkite-intrinsics) $FUL...
c228f551024af01c45945b8b299c2202ceb60fa3
.cicd/test.sh
.cicd/test.sh
Shell
<|file_sep|>src/test/java/examples/locale/LocaleNegotiationTest.java.diff original: updated: import org.junit.Ignore; <|file_sep|>original/src/test/java/examples/locale/LocaleNegotiationTest.java example.run(server); } @After public void stopServer() throws IOException { server.stop(); ...
Locale.setDefault(Locale.US); example.run(server); } @After public void stopServer() throws IOException { server.stop(); Locale.setDefault(originalDefault); } @Test @Ignore("wip") public void selectingTheBestSupportedLanguage() throws IOException { respo...
<|file_sep|>src/test/java/examples/locale/LocaleNegotiationTest.java.diff original: updated: import org.junit.Ignore; <|file_sep|>original/src/test/java/examples/locale/LocaleNegotiationTest.java example.run(server); } @After public void stopServer() throws IOException { server.stop(); ...
be26a931ac90f000fe36ed9334436d2ce4e9828a
src/test/java/examples/locale/LocaleNegotiationTest.java
src/test/java/examples/locale/LocaleNegotiationTest.java
Java
<|file_sep|>.travis.yml.diff original: updated: sudo: false <|file_sep|>.travis.yml.diff original: virtualenv: system_site_packages: true updated: cache: apt addons: apt: packages: - gfortran - libopenblas-dev - liblapack-dev <|file_sep|>.travis.yml.diff original: ...
language: python python: - 2.7 cache: apt addons: apt: packages: - gfortran - libopenblas-dev - liblapack-dev before_install: - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh - bash miniconda.sh -b -p $HOME/miniconda ...
<|file_sep|>.travis.yml.diff original: updated: sudo: false <|file_sep|>.travis.yml.diff original: virtualenv: system_site_packages: true updated: cache: apt addons: apt: packages: - gfortran - libopenblas-dev - liblapack-dev <|file_sep|>.travis.yml.diff original: ...
f07fddd99a3176a61cafc141caf87e3023abc41a
.travis.yml
.travis.yml
YAML
<|file_sep|>original/package.json "keywords": ["tigefa", "ruby", "rails"], "repository": { "type": "git", "url": "https://github.com/tigefa/tigefa.git" }, "bugs": { "url": "https://github.com/tigefa/tigefa/issues" }, "dependencies": { "@hotwired/stimulus": "^3.0.1", "@hotwired/turbo-rail...
"keywords": ["tigefa", "ruby", "rails"], "repository": { "type": "git", "url": "https://github.com/tigefa/tigefa.git" }, "bugs": { "url": "https://github.com/tigefa/tigefa/issues" }, "dependencies": { "@hotwired/stimulus": "^3.0.1", "@hotwired/turbo-rails": "^7.1.0" }, "devDependenci...
<|file_sep|>original/package.json "keywords": ["tigefa", "ruby", "rails"], "repository": { "type": "git", "url": "https://github.com/tigefa/tigefa.git" }, "bugs": { "url": "https://github.com/tigefa/tigefa/issues" }, "dependencies": { "@hotwired/stimulus": "^3.0.1", "@hotwired/turbo-rail...
1b5be19c6f5e0b78dc031dc3b3befc24880e8d14
package.json
package.json
JSON
<|file_sep|>original/db/seeds.rb # This file should contain all the record creation needed to seed the database with its default values. # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup). # # Examples: # # cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }]...
gds_organisation_id = "af07d5a5-df63-4ddc-9383-6a666845ebe9" User.create!( name: "Test user", permissions: %w[signin], organisation_content_id: gds_organisation_id, ) unless User.where(name: "Test user").exists?
<|file_sep|>original/db/seeds.rb # This file should contain all the record creation needed to seed the database with its default values. # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup). # # Examples: # # cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }]...
ec9636e4a5e8663e75b9d710ce434043e8e05099
db/seeds.rb
db/seeds.rb
Ruby
<|file_sep|>spec/functional/fc009_spec.rb.diff original: context "on chef 13.6.4 with a cookbook that new dsc_resource attributes" do foodcritic_command("--chef-version", "13.6.4", "--no-progress", ".") updated: context "on chef 14.2.0 with a cookbook that uses ifconfig attributes introduced in 14.0" do foo...
family 'inet' end EOH it { is_expected.not_to violate_rule } end context "on chef 13.9.1 with a cookbook that uses ifconfig attributes introduced in 14.0" do foodcritic_command("--chef-version", "13.9.1", "--no-progress", ".") recipe_file <<-EOH ifconfig 'foo' do family ...
<|file_sep|>spec/functional/fc009_spec.rb.diff original: context "on chef 13.6.4 with a cookbook that new dsc_resource attributes" do foodcritic_command("--chef-version", "13.6.4", "--no-progress", ".") updated: context "on chef 14.2.0 with a cookbook that uses ifconfig attributes introduced in 14.0" do foo...
e0cbb3bb2a61cf17378b7f43f66d688735d034e6
spec/functional/fc009_spec.rb
spec/functional/fc009_spec.rb
Ruby
<|file_sep|>original/tmuxinator/survey_tool_elm.yml # ~/.tmuxinator/survey_tool_elm.yml name: survey_tool_elm root: ~/elm/survey_tool_elm # Runs before everything. Use it to start daemons etc. on_project_first_start: # Back end - open --background http://localhost:4000/survey_results # Front end - open --back...
# ~/.tmuxinator/survey_tool_elm.yml name: survey_tool_elm root: ~/elm/survey_tool_elm # Runs before everything. Use it to start daemons etc. on_project_first_start: - asdf local elixir 1.6.4 - asdf local erlang 20.3.2 - asdf local nodejs 9.9.0 - asdf local elm 0.18.0 # Back end - open --background http://...
<|file_sep|>original/tmuxinator/survey_tool_elm.yml # ~/.tmuxinator/survey_tool_elm.yml name: survey_tool_elm root: ~/elm/survey_tool_elm # Runs before everything. Use it to start daemons etc. on_project_first_start: # Back end - open --background http://localhost:4000/survey_results # Front end - open --back...
5df65cbb119ca23d0137010ceb2a08982840c6a9
tmuxinator/survey_tool_elm.yml
tmuxinator/survey_tool_elm.yml
YAML
<|file_sep|>metadata/manifest.yml.diff original: Version: '6.8.1' updated: Version: '6.9.0' <|file_sep|>original/metadata/manifest.yml Name: nodejs Description: Custom Node.js cartridge auto-updating to the latest stable version on each build. Version: '6.8.1' License: Node.js License License-Url: https://raw.githubuse...
Name: nodejs Description: Custom Node.js cartridge auto-updating to the latest stable version on each build. Version: '6.9.0' License: Node.js License License-Url: https://raw.githubusercontent.com/nodejs/node/master/LICENSE Vendor: www.nodejs.org Website: http://www.nodejs.org/ Display-Name: Node.js Auto-Updating Cart...
<|file_sep|>metadata/manifest.yml.diff original: Version: '6.8.1' updated: Version: '6.9.0' <|file_sep|>original/metadata/manifest.yml Name: nodejs Description: Custom Node.js cartridge auto-updating to the latest stable version on each build. Version: '6.8.1' License: Node.js License License-Url: https://raw.githubuse...
12ec3c5b6627c131cd4def1db03df9c0b8c6e4a3
metadata/manifest.yml
metadata/manifest.yml
YAML
<|file_sep|>original/README.md # Omniauth::Bluevia OmniAuth strategy for connecting with [BlueVia connect's](https://bluevia.com/en/) OAuth API. You'll need to create a BlueVia account and register an new application [here](https://bluevia.com/en/api-keys/get-commercial). ## Installation Add this line to your appli...
# Omniauth::Bluevia OmniAuth strategy for connecting with [BlueVia connect's](https://bluevia.com/en/) OAuth API. You'll need to create a BlueVia account and register an new application [here](https://bluevia.com/en/api-keys/get-commercial). Please note that due to limitations in the way BlueVia has implemented OAut...
<|file_sep|>original/README.md # Omniauth::Bluevia OmniAuth strategy for connecting with [BlueVia connect's](https://bluevia.com/en/) OAuth API. You'll need to create a BlueVia account and register an new application [here](https://bluevia.com/en/api-keys/get-commercial). ## Installation Add this line to your appli...
88d995c9d2b47a2f2c7fa4052e70222892aa4f47
README.md
README.md
Markdown
<|file_sep|>original/libimagentrytag/Cargo.toml license = "LGPL-2.1" documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.html" repository = "https://github.com/matthiasbeyer/imag" homepage = "http://imag-pim.org" [profile.dev] codegen-units = 2 [dependencies] clap = "2.*" log =...
license = "LGPL-2.1" documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.html" repository = "https://github.com/matthiasbeyer/imag" homepage = "http://imag-pim.org" [profile.dev] codegen-units = 2 [dependencies] clap = ">=2.17" log = "0.3" regex = "0.1" toml = "0.2.*" itertools...
<|file_sep|>original/libimagentrytag/Cargo.toml license = "LGPL-2.1" documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.html" repository = "https://github.com/matthiasbeyer/imag" homepage = "http://imag-pim.org" [profile.dev] codegen-units = 2 [dependencies] clap = "2.*" log =...
d0c94bb921d3d1ee50532a2c2608295c209b9802
libimagentrytag/Cargo.toml
libimagentrytag/Cargo.toml
TOML
<|file_sep|>original/project.clj (defproject onyx-app/lein-template "0.10.0.0-beta2" :description "Onyx Leiningen application template" :url "https://github.com/onyx-platform/onyx-template" :license {:name "MIT License" :url "http://choosealicense.com/licenses/mit/#"} :repositories {"snapshots" {:ur...
(defproject onyx-app/lein-template "0.10.0.0-SNAPSHOT" :description "Onyx Leiningen application template" :url "https://github.com/onyx-platform/onyx-template" :license {:name "MIT License" :url "http://choosealicense.com/licenses/mit/#"} :repositories {"snapshots" {:url "https://clojars.org/repo" ...
<|file_sep|>original/project.clj (defproject onyx-app/lein-template "0.10.0.0-beta2" :description "Onyx Leiningen application template" :url "https://github.com/onyx-platform/onyx-template" :license {:name "MIT License" :url "http://choosealicense.com/licenses/mit/#"} :repositories {"snapshots" {:ur...
72cbff38cb59c45f9db4e2de654555ce03250856
project.clj
project.clj
Clojure
<|file_sep|>gulpfile.js.diff original: 'cd client && tsc -p .' updated: 'cd client && npm install && tsc -p .' <|file_sep|>original/gulpfile.js var clientFiles = { src: 'client/src/**/*.ts' } gulp.task('compileClient', shell.task([ 'cd client && tsc -p .' ])); gulp.task('compileServer', shell.task([ ...
var clientFiles = { src: 'client/src/**/*.ts' } gulp.task('compileClient', shell.task([ 'cd client && npm install && tsc -p .' ])); gulp.task('compileServer', shell.task([ 'cd server && npm install && tsc -p .' ])); gulp.task('tslint', function () { return gulp.src([serverFiles.src, clientFiles.src]...
<|file_sep|>gulpfile.js.diff original: 'cd client && tsc -p .' updated: 'cd client && npm install && tsc -p .' <|file_sep|>original/gulpfile.js var clientFiles = { src: 'client/src/**/*.ts' } gulp.task('compileClient', shell.task([ 'cd client && tsc -p .' ])); gulp.task('compileServer', shell.task([ ...
c9308d778ca5b93540ce36c50bd15fbeff6bf631
gulpfile.js
gulpfile.js
JavaScript
<|file_sep|>original/requirements.txt -e . hiveplot==2017.10.17.21.7 ipykernel==6.15.1 jupyter==1.0.0 matplotlib==3.5.3 mkdocs-material==8.4.2 mkdocs==1.3.1 git+https://github.com/greenape/mknotebooks.git nbconvert==6.5.0 networkx==2.8 numpy==1.22.3 nxviz==0.7.3 pandas==1.4.2 pyjanitor==0.22.0 pymdown-extensions==9.4 p...
-e . hiveplot==2017.10.17.21.7 ipykernel==6.15.1 jupyter==1.0.0 matplotlib==3.5.3 mkdocs-material==8.4.2 mkdocs==1.3.1 git+https://github.com/greenape/mknotebooks.git nbconvert==7.0.0 networkx==2.8 numpy==1.22.3 nxviz==0.7.3 pandas==1.4.2 pyjanitor==0.22.0 pymdown-extensions==9.4 pyprojroot==0.2.0 python-louvain==0.16 ...
<|file_sep|>original/requirements.txt -e . hiveplot==2017.10.17.21.7 ipykernel==6.15.1 jupyter==1.0.0 matplotlib==3.5.3 mkdocs-material==8.4.2 mkdocs==1.3.1 git+https://github.com/greenape/mknotebooks.git nbconvert==6.5.0 networkx==2.8 numpy==1.22.3 nxviz==0.7.3 pandas==1.4.2 pyjanitor==0.22.0 pymdown-extensions==9.4 p...
61bbf6f9bd547775fe80bd35eb301272408bff25
requirements.txt
requirements.txt
Text
<|file_sep|>original/yertle_formatter.gemspec spec.authors = ["Ed Gibbs"] spec.email = ["edgibbs@yahoo.com"] spec.summary = %q{An RSpec formatter highlighing slow specs.} spec.description = %q{Another whimsical formatter in the tradition of NyanCatFormatter.} spec.homepage = "" sp...
spec.authors = ["Ed Gibbs"] spec.email = ["edgibbs@yahoo.com"] spec.summary = %q{An RSpec formatter highlighing slow specs.} spec.description = %q{Another whimsical formatter in the tradition of NyanCatFormatter.} spec.homepage = "" spec.license = "MIT" spec.files ...
<|file_sep|>original/yertle_formatter.gemspec spec.authors = ["Ed Gibbs"] spec.email = ["edgibbs@yahoo.com"] spec.summary = %q{An RSpec formatter highlighing slow specs.} spec.description = %q{Another whimsical formatter in the tradition of NyanCatFormatter.} spec.homepage = "" sp...
b9994fbe675b97ba3b7c23951ffb58a113f63b9e
yertle_formatter.gemspec
yertle_formatter.gemspec
Ruby
<|file_sep|>original/.github/workflows/ci-ubuntu.yml restore-keys: | ${{ runner.os }}-pip- - name: Install Dependencies # if: steps.cache.outputs.cache-hit != 'true' run: | pip install -r requirements/pip_requirements.txt pip install -r requirements/test_requirements.t...
restore-keys: | ${{ runner.os }}-pip- - name: Install Dependencies # if: steps.cache.outputs.cache-hit != 'true' run: | pip install -r requirements/pip_requirements.txt pip install -r requirements/test_requirements.txt pip uninstall openpnm --yes python...
<|file_sep|>original/.github/workflows/ci-ubuntu.yml restore-keys: | ${{ runner.os }}-pip- - name: Install Dependencies # if: steps.cache.outputs.cache-hit != 'true' run: | pip install -r requirements/pip_requirements.txt pip install -r requirements/test_requirements.t...
828556995fe50b91d5af62a03d331994f7ee04fe
.github/workflows/ci-ubuntu.yml
.github/workflows/ci-ubuntu.yml
YAML
<|file_sep|>original/api/route_settings.py import json import falcon import models import schemas import api_util settings_schema = schemas.SettingSchema(many=True) setting_schema = schemas.SettingSchema() class SettingsResource: def on_get(self, req, resp): settings = models.Setting.select() ...
import json import falcon import models import schemas import api_util class SettingsResource: def on_get(self, req, resp): settings = models.Setting.select() settings_dict = {} for setting in settings: settings_dict[setting.key] = setting.value resp.body = api_uti...
<|file_sep|>original/api/route_settings.py import json import falcon import models import schemas import api_util settings_schema = schemas.SettingSchema(many=True) setting_schema = schemas.SettingSchema() class SettingsResource: def on_get(self, req, resp): settings = models.Setting.select() ...
ca43660869bbd390979a928dc219e016c1a0607a
api/route_settings.py
api/route_settings.py
Python
<|file_sep|>original/index.production.html <!doctype html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="theme-color" content="#673AB7"> <meta property="og:site_name" content="Showman" /> <link rel="icon" type="image/png" href...
<!doctype html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="theme-color" content="#673AB7"> <link rel="icon" type="image/png" href="<%= require('./assets/favicon_16.png') %>" sizes="16x16"> <link rel="icon" type="i...
<|file_sep|>original/index.production.html <!doctype html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="theme-color" content="#673AB7"> <meta property="og:site_name" content="Showman" /> <link rel="icon" type="image/png" href...
7650521d73a0f84f9b44051f19cf8480f3304b39
index.production.html
index.production.html
HTML
<|file_sep|>original/composer.json { "name": "dominionenterprises/image-util", "description": "A collection of image utilities", "keywords": ["utility", "image"], "authors": [ { "name": "Chad Gray", "email": "chad.gray@dominionenterprises.com", "role": "Develo...
{ "name": "traderinteractive/image-util", "description": "A collection of image utilities", "keywords": ["utility", "image"], "authors": [ { "name": "Chad Gray", "email": "chad.gray@dominionenterprises.com", "role": "Developer" }, { ...
<|file_sep|>original/composer.json { "name": "dominionenterprises/image-util", "description": "A collection of image utilities", "keywords": ["utility", "image"], "authors": [ { "name": "Chad Gray", "email": "chad.gray@dominionenterprises.com", "role": "Develo...
dd22888b74f9c474652bf0ef5cf7d897dfcadcec
composer.json
composer.json
JSON
<|file_sep|>original/scripts/remoteTesting.sh echo $GCLOUD_SERVICE_KEY > ${HOME}/client-secret.json GCLOUD=`which gcloud` $GCLOUD auth activate-service-account $GCLOUD_SERVICE_ACCOUNT --key-file $HOME/client-secret.json sudo $GCLOUD --quiet components update sudo $GCLOUD --quiet components ins...
echo $GCLOUD_SERVICE_KEY > ${HOME}/client-secret.json GCLOUD=`which gcloud` $GCLOUD auth activate-service-account $GCLOUD_SERVICE_ACCOUNT --key-file $HOME/client-secret.json sudo $GCLOUD --quiet components update sudo $GCLOUD --quiet components install beta GCLOUD_OUTPUT_LOG=gcloudLog.txt...
<|file_sep|>original/scripts/remoteTesting.sh echo $GCLOUD_SERVICE_KEY > ${HOME}/client-secret.json GCLOUD=`which gcloud` $GCLOUD auth activate-service-account $GCLOUD_SERVICE_ACCOUNT --key-file $HOME/client-secret.json sudo $GCLOUD --quiet components update sudo $GCLOUD --quiet components ins...
653aa8aa9a18433f548969384b33fcfa55fe3930
scripts/remoteTesting.sh
scripts/remoteTesting.sh
Shell
<|file_sep|>distarray/tests/test_client.py.diff original: def test_set_and_getitem_(self): dap = self.dac.empty((100,)) updated: def test_set_and_getitem_block_dist(self): dap = self.dac.empty((100,), dist={0: 'b'}) <|file_sep|>original/distarray/tests/test_client.py class TestDistArrayProxy(u...
def test_set_and_getitem_block_dist(self): dap = self.dac.empty((100,), dist={0: 'b'}) for val in xrange(100): dap[val] = val for val in xrange(100): self.assertEqual(dap[val], val) def test_set_and_getitem_cyclic_dist(self): dap = self.dac.empty((100,...
<|file_sep|>distarray/tests/test_client.py.diff original: def test_set_and_getitem_(self): dap = self.dac.empty((100,)) updated: def test_set_and_getitem_block_dist(self): dap = self.dac.empty((100,), dist={0: 'b'}) <|file_sep|>original/distarray/tests/test_client.py class TestDistArrayProxy(u...
affc010ccb741bbaba3b63eb565844a090bab51f
distarray/tests/test_client.py
distarray/tests/test_client.py
Python
<|file_sep|>original/spec/viewCacheSpec.coffee <|file_sep|>current/spec/viewCacheSpec.coffee <|file_sep|>updated/spec/viewCacheSpec.coffee
describe "Marowak.ViewCache", -> beforeEach -> @cache = new Marowak.ViewCache @view = new Backbone.View @cid = 1 @cache.add @cid, @view describe "#fetch", -> it 'retrieves a view by a corresponding id', -> expect(@cache.fetch(@cid)).toBe @view describe "#remove", -> it 'deletes a ...
<|file_sep|>original/spec/viewCacheSpec.coffee <|file_sep|>current/spec/viewCacheSpec.coffee <|file_sep|>updated/spec/viewCacheSpec.coffee describe "Marowak.ViewCache", -> beforeEach -> @cache = new Marowak.ViewCache @view = new Backbone.View @cid = 1 @cache.add @cid, @view describe "#fetch", ->...
2e248ed14ab56b66cec079b5cef79f10c439abeb
spec/viewCacheSpec.coffee
spec/viewCacheSpec.coffee
CoffeeScript
<|file_sep|>original/.travis.yml language: node_js node_js: - 4 - 5 - 6 cache: directories: - node_modules after_success: - npm run coveralls <|file_sep|>current/.travis.yml language: node_js node_js: - 4 - 5 - 6 cache: directories: - node_modules after_success: - npm run coveralls <|file_se...
language: node_js node_js: - 4 - 5 - 6 - 7 cache: directories: - node_modules after_success: - npm run coveralls
<|file_sep|>original/.travis.yml language: node_js node_js: - 4 - 5 - 6 cache: directories: - node_modules after_success: - npm run coveralls <|file_sep|>current/.travis.yml language: node_js node_js: - 4 - 5 - 6 cache: directories: - node_modules after_success: - npm run coveralls <|file_se...
aa884763cc43c3cfffd3797ca25984b8d55c09a1
.travis.yml
.travis.yml
YAML
<|file_sep|>original/database.sql CREATE DATABASE notes; CREATE TABLE note ( NoteId INT(11) AUTO_INCREMENT PRIMARY KEY, NoteText VARCHAR(255), NoteTags VARCHAR(512), NoteTitle VARCHAR(50), NoteComplete TINYINT, UserId VARCHAR(60), FOREIGN KEY (UserId) REFERENCES note_users(UserId) ON DELETE CASCADE ); ...
CREATE DATABASE notes; CREATE TABLE note ( NoteId INT(11) AUTO_INCREMENT PRIMARY KEY, NoteText VARCHAR(255), NoteTags VARCHAR(512), NoteTitle VARCHAR(50), NoteComplete TINYINT NULL DEFAULT '0', UserId VARCHAR(60), FOREIGN KEY (UserId) REFERENCES note_users(UserId) ON DELETE CASCADE ); CREATE TABLE not...
<|file_sep|>original/database.sql CREATE DATABASE notes; CREATE TABLE note ( NoteId INT(11) AUTO_INCREMENT PRIMARY KEY, NoteText VARCHAR(255), NoteTags VARCHAR(512), NoteTitle VARCHAR(50), NoteComplete TINYINT, UserId VARCHAR(60), FOREIGN KEY (UserId) REFERENCES note_users(UserId) ON DELETE CASCADE ); ...
73586de2189882266113f2cb435276da9b803dcf
database.sql
database.sql
SQL
<|file_sep|>original/js.thirdparty.bat "C:\Program Files (x86)\Java\jre1.8.0_45\bin\java.exe" -jar compiler.jar ^ --js=translate.js ^ --js=jquery/jquery-1.11.2.js ^ --js=jquery/jquery-ui.1.11.2.min.js ^ --js=jquery/jquery.qtip.js ^ --js=jquery/jquery.blockUI.js ^ --js=jquery/jquery.color.js ^ --js=jquery/jquery.tableso...
"C:\Program Files (x86)\Java\jre1.8.0_45\bin\java.exe" -jar compiler.jar ^ --js=translate.js ^ --js=jquery/jquery-1.11.2.js ^ --js=jquery/jquery-ui.1.11.4.min.js ^ --js=jquery/jquery.qtip.js ^ --js=jquery/jquery.blockUI.js ^ --js=jquery/jquery.color.js ^ --js=jquery/jquery.tablesorter.js ^ --js=jquery/jquery.flot.js ^ ...
<|file_sep|>original/js.thirdparty.bat "C:\Program Files (x86)\Java\jre1.8.0_45\bin\java.exe" -jar compiler.jar ^ --js=translate.js ^ --js=jquery/jquery-1.11.2.js ^ --js=jquery/jquery-ui.1.11.2.min.js ^ --js=jquery/jquery.qtip.js ^ --js=jquery/jquery.blockUI.js ^ --js=jquery/jquery.color.js ^ --js=jquery/jquery.tableso...
dd52da7bd29e6307173a8a82b752e5884f4d6ee2
js.thirdparty.bat
js.thirdparty.bat
Batchfile
<|file_sep|>original/.travis.yml language: node_js node_js: - "5" - "4" - "0.10" before_script: - npm install -g grunt-cli && npm install grunt <|file_sep|>current/.travis.yml language: node_js node_js: - "5" - "4" - "0.10" before_script: - npm install -g grunt-cli && npm install grunt <...
language: node_js node_js: - "5" - "4" - "0.10" before_script: - npm install -g grunt-cli && npm install grunt@0.4.5
<|file_sep|>original/.travis.yml language: node_js node_js: - "5" - "4" - "0.10" before_script: - npm install -g grunt-cli && npm install grunt <|file_sep|>current/.travis.yml language: node_js node_js: - "5" - "4" - "0.10" before_script: - npm install -g grunt-cli && npm install grunt <...
560b2852ab18156f75463b19b3bffd230c017710
.travis.yml
.travis.yml
YAML
<|file_sep|>reindexer/reindex_worker/src/test/scala/uk/ac/wellcome/platform/reindex/reindex_worker/fixtures/DynamoFixtures.scala.diff original: import uk.ac.wellcome.storage.dynamo.DynamoConfig updated: <|file_sep|>reindexer/reindex_worker/src/test/scala/uk/ac/wellcome/platform/reindex/reindex_worker/fixtures/DynamoFi...
val scanner = new ParallelScanner( scanSpecScanner = scanSpecScanner, dynamoConfig = createDynamoConfigWith(table) ) testWith(scanner) } } def withMaxRecordsScanner[R](table: Table)( testWith: TestWith[MaxRecordsScanner, R]): R = { withScanSpecScanner { scanSpecScanne...
<|file_sep|>reindexer/reindex_worker/src/test/scala/uk/ac/wellcome/platform/reindex/reindex_worker/fixtures/DynamoFixtures.scala.diff original: import uk.ac.wellcome.storage.dynamo.DynamoConfig updated: <|file_sep|>reindexer/reindex_worker/src/test/scala/uk/ac/wellcome/platform/reindex/reindex_worker/fixtures/DynamoFi...
7832a4c22d0971cbef002b7e31fe22d519e8bc26
reindexer/reindex_worker/src/test/scala/uk/ac/wellcome/platform/reindex/reindex_worker/fixtures/DynamoFixtures.scala
reindexer/reindex_worker/src/test/scala/uk/ac/wellcome/platform/reindex/reindex_worker/fixtures/DynamoFixtures.scala
Scala
<|file_sep|>test/link_checker_api_test.rb.diff original: before do @base_api_url = Plek.find("link-checker-api") @api = GdsApi::LinkCheckerApi.new(@base_api_url) end updated: describe "test helpers" do let(:base_url) { Plek.find("link-checker-api") } let(:api_client) { GdsApi::LinkCheckerApi.new(b...
stub_link_checker_api_create_batch(uris: ["http://example.com"]) batch_report = api_client.create_batch(["http://example.com"]) assert_equal :in_progress, batch_report.status assert_equal "http://example.com", batch_report.links[0].uri end end describe "#get_batch" do ...
<|file_sep|>test/link_checker_api_test.rb.diff original: before do @base_api_url = Plek.find("link-checker-api") @api = GdsApi::LinkCheckerApi.new(@base_api_url) end updated: describe "test helpers" do let(:base_url) { Plek.find("link-checker-api") } let(:api_client) { GdsApi::LinkCheckerApi.new(b...
45eabfb49375773049738ae7afa0b4eaf2ea416e
test/link_checker_api_test.rb
test/link_checker_api_test.rb
Ruby
<|file_sep|>.travis.yml.diff original: updated: setuptools: true <|file_sep|>original/.travis.yml - sudo apt-get install -qq python-numpy python-scipy python-matplotlib python-networkx - sudo apt-get install -qq libhdf5-serial-dev python-h5py python-tables - sudo apt-get install -qq python-gst0.10 gstreamer0.10-p...
- sudo apt-get -qq update - sudo apt-get install -qq python-numpy python-scipy python-matplotlib python-networkx - sudo apt-get install -qq libhdf5-serial-dev python-h5py python-tables - sudo apt-get install -qq python-gst0.10 gstreamer0.10-plugins-good gstreamer0.10-gnonlin gstreamer0.10-plugins-ugly gstreamer0.10...
<|file_sep|>.travis.yml.diff original: updated: setuptools: true <|file_sep|>original/.travis.yml - sudo apt-get install -qq python-numpy python-scipy python-matplotlib python-networkx - sudo apt-get install -qq libhdf5-serial-dev python-h5py python-tables - sudo apt-get install -qq python-gst0.10 gstreamer0.10-p...
04ea84911a8b6d871a91e67c1f861a40520d4f41
.travis.yml
.travis.yml
YAML
<|file_sep|>.travis.yml.diff original: updated: - cd $TRAVIS_BUILD_DIR/tests <|file_sep|>.travis.yml.diff original: ./configure --prefix=$TRAVIS_BUILD_DIR/sysconfcpus; updated: ./configure --prefix=$TRAVIS_BUILD_DIR/tests/sysconfcpus; <|file_sep|>.travis.yml.diff original: - $TRAVIS_BUILD_DIR/sysconfcp...
- npm --version - npm install -g elm@$ELM_VERSION elm-test - git clone https://github.com/NoRedInk/elm-ops-tooling - elm-ops-tooling/with_retry.rb elm package install --yes # Faster compile on Travis. - | if [ ! -d sysconfcpus/bin ]; then git clone https://github.com/obmarg/libsysconfcpus.git;...
<|file_sep|>.travis.yml.diff original: updated: - cd $TRAVIS_BUILD_DIR/tests <|file_sep|>.travis.yml.diff original: ./configure --prefix=$TRAVIS_BUILD_DIR/sysconfcpus; updated: ./configure --prefix=$TRAVIS_BUILD_DIR/tests/sysconfcpus; <|file_sep|>.travis.yml.diff original: - $TRAVIS_BUILD_DIR/sysconfcp...
fbd65f85d92b2fff1f4ee9616fcd98341958fe96
.travis.yml
.travis.yml
YAML
<|file_sep|>pkg/python2/install.sh.diff original: version="2.7.10" updated: version="2.7.11" <|file_sep|>pkg/python2/install.sh.diff original: ./configure --prefix=$target_dir updated: ./configure \ --prefix=$target_dir \ --enable-shared \ --with-threads \ --enable-ipv6 \ --with-dbmliborder=gdbm:ndbm \ --enable-l...
# extract files, configure, and compile ./configure \ --prefix=$target_dir \ --enable-shared \ --with-threads \ --enable-ipv6 \ --with-dbmliborder=gdbm:ndbm \ --enable-loadable-sqlite-extensions make make install cd - # install pip wget https://bootstrap.pypa.io/get-pip.py $target_dir/bin/python2 get-pip.py...
<|file_sep|>pkg/python2/install.sh.diff original: version="2.7.10" updated: version="2.7.11" <|file_sep|>pkg/python2/install.sh.diff original: ./configure --prefix=$target_dir updated: ./configure \ --prefix=$target_dir \ --enable-shared \ --with-threads \ --enable-ipv6 \ --with-dbmliborder=gdbm:ndbm \ --enable-l...
0f5f9d8cbd3f501cd0bb321428b76b99525731c5
pkg/python2/install.sh
pkg/python2/install.sh
Shell
<|file_sep|>original/scripts/check-git-updates.sh changes=$(git ls-files --others --exclude-standard) if [ "$changes" != "" ]; then echo 'YOU HAVE UNCOMMITTED FILES'; exit fi changes=$(git diff HEAD..FETCH_HEAD) if [ "$changes" != "" ] ; then git pull --quiet ec...
changes=$(git ls-files --others --exclude-standard) if [ "$changes" != "" ]; then echo 'YOU HAVE UNCOMMITTED FILES'; exit fi changes=$(git diff HEAD..FETCH_HEAD) if [ "$changes" != "" ] ; then git pull --quiet ~/.dotfiles/scripts/chmod-private-keys.sh ec...
<|file_sep|>original/scripts/check-git-updates.sh changes=$(git ls-files --others --exclude-standard) if [ "$changes" != "" ]; then echo 'YOU HAVE UNCOMMITTED FILES'; exit fi changes=$(git diff HEAD..FETCH_HEAD) if [ "$changes" != "" ] ; then git pull --quiet ec...
4dec4a000c970b21def8d4b4cd5b7749651db922
scripts/check-git-updates.sh
scripts/check-git-updates.sh
Shell
<|file_sep|>meshnet/interface.py.diff original: def _hash(key: str, sender: int, receiver: int, msg_type: int, data: bytes): packed_data = struct.pack(">h>hBs", sender, receiver, msg_type, data) return struct.pack("Q", siphash(key, packed_data)) updated: def _hash(key: bytes, sender: int, receiver: int, msg_ty...
def _hash(key: bytes, sender: int, receiver: int, msg_type: int, data: bytes): packed_data = struct.pack(">hhB", sender, receiver, msg_type) + data return struct.pack(">Q", siphash(key, packed_data)) class SerialMessage(object): def __init__(self): pass def serialize(self): pass cl...
<|file_sep|>meshnet/interface.py.diff original: def _hash(key: str, sender: int, receiver: int, msg_type: int, data: bytes): packed_data = struct.pack(">h>hBs", sender, receiver, msg_type, data) return struct.pack("Q", siphash(key, packed_data)) updated: def _hash(key: bytes, sender: int, receiver: int, msg_ty...
d6ff777c7fb3f645c021da1319bb5d78d13aa9db
meshnet/interface.py
meshnet/interface.py
Python
<|file_sep|>src/scene/request-animation-frame.js.diff original: else updated: else { <|file_sep|>src/scene/request-animation-frame.js.diff original: || (callback => window.setTimeout(callback, 1000 / 60)) updated: <|file_sep|>original/src/scene/request-animation-frame.js let func if(typeof window === 'undefine...
let func if(typeof window === 'undefined') // for unit testing in Node func = (callback => setTimeout(callback, 1000 / 60)) else { func = ( window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame ...
<|file_sep|>src/scene/request-animation-frame.js.diff original: else updated: else { <|file_sep|>src/scene/request-animation-frame.js.diff original: || (callback => window.setTimeout(callback, 1000 / 60)) updated: <|file_sep|>original/src/scene/request-animation-frame.js let func if(typeof window === 'undefine...
b6c36a57def8fab9a7a63487b3e335c0f44c370c
src/scene/request-animation-frame.js
src/scene/request-animation-frame.js
JavaScript
<|file_sep|>original/requirements-dev.txt -r requirements.txt flake8==3.6.0 pytest==4.0.0 pytest-cov==2.6.0 pytest-django==3.4.4 <|file_sep|>current/requirements-dev.txt -r requirements.txt flake8==3.6.0 pytest==4.0.0 pytest-cov==2.6.0 pytest-django==3.4.4 <|file_sep|>updated/requirements-dev.txt
-r requirements.txt flake8==3.6.0 pytest==4.0.1 pytest-cov==2.6.0 pytest-django==3.4.4
<|file_sep|>original/requirements-dev.txt -r requirements.txt flake8==3.6.0 pytest==4.0.0 pytest-cov==2.6.0 pytest-django==3.4.4 <|file_sep|>current/requirements-dev.txt -r requirements.txt flake8==3.6.0 pytest==4.0.0 pytest-cov==2.6.0 pytest-django==3.4.4 <|file_sep|>updated/requirements-dev.txt -r requirements.txt fl...
1bedb114f4c0b47ad9921b0cc7ceb063928802f1
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>bower.json.diff original: updated: "jquery": "3.2.1", <|file_sep|>original/bower.json "angular-route": "1.6.2", "angular-animate": "1.6.2", "angular-resource": "1.6.2", "angular-route-segment": "1.5.1", "angular-bootstrap": "2.5.0", "angular-ui-mask": "1.8.7", "bootstrap": "...
"angular": "1.6.2", "angular-route": "1.6.2", "angular-animate": "1.6.2", "angular-resource": "1.6.2", "angular-route-segment": "1.5.1", "angular-bootstrap": "2.5.0", "angular-ui-mask": "1.8.7", "bootstrap": "3.3.7", "bootstrap-sass": "3.3.7", "angular-growl-v2": "0.7.9", "fo...
<|file_sep|>bower.json.diff original: updated: "jquery": "3.2.1", <|file_sep|>original/bower.json "angular-route": "1.6.2", "angular-animate": "1.6.2", "angular-resource": "1.6.2", "angular-route-segment": "1.5.1", "angular-bootstrap": "2.5.0", "angular-ui-mask": "1.8.7", "bootstrap": "...
630dab0dee5f46c6ef6dbea95bd3e7b1e80558be
bower.json
bower.json
JSON
<|file_sep|>original/plots/scatter_cluster/scatter_cluster.gnu <|file_sep|>current/plots/scatter_cluster/scatter_cluster.gnu <|file_sep|>updated/plots/scatter_cluster/scatter_cluster.gnu
# circle_inout.inp # # Draw 500 points, some inside, and some outside, the unit circle. # # Choose the output device. # set term png medium # # Name the output file. # set output "circle_inout.png" # # Set the plot title. # set title "Random Points in/out of Circle" # # Get grid lines. # set grid # # Set axis la...
<|file_sep|>original/plots/scatter_cluster/scatter_cluster.gnu <|file_sep|>current/plots/scatter_cluster/scatter_cluster.gnu <|file_sep|>updated/plots/scatter_cluster/scatter_cluster.gnu # circle_inout.inp # # Draw 500 points, some inside, and some outside, the unit circle. # # Choose the output device. # set term...
d90bcfae8a3b92275aa2fe64732f64fde50db32a
plots/scatter_cluster/scatter_cluster.gnu
plots/scatter_cluster/scatter_cluster.gnu
Gnuplot
<|file_sep|>original/app/assets/stylesheets/nightlight/application.css /* *= require ./bootstrap.min *= require ./font-awesome.min *= require ./pages *= require_self */ body { padding-top: 30px; } table tr td { word-break: break-all; } <|file_sep|>current/app/assets/stylesheets/nightlight/application.css /* ...
/* *= require ./bootstrap.min *= require ./font-awesome.min *= require ./pages *= require_self */ body { padding-top: 30px; padding-bottom: 100px; } table tr td { word-break: break-all; }
<|file_sep|>original/app/assets/stylesheets/nightlight/application.css /* *= require ./bootstrap.min *= require ./font-awesome.min *= require ./pages *= require_self */ body { padding-top: 30px; } table tr td { word-break: break-all; } <|file_sep|>current/app/assets/stylesheets/nightlight/application.css /* ...
ab4686f48f47be22929fd2d5c86a7006ad0a581a
app/assets/stylesheets/nightlight/application.css
app/assets/stylesheets/nightlight/application.css
CSS
<|file_sep|>original/app/models/drawing.rb complete.validates :description, presence: true complete.validates :subject_matter, presence: true complete.validates :mood_rating, presence: true complete.validates :country, presence: true end validates :age, numericality: { only_integer: true }, allow_n...
complete.validates :description, presence: true complete.validates :subject_matter, presence: true complete.validates :mood_rating, presence: true complete.validates :country, presence: true end validates :age, numericality: { only_integer: true }, allow_nil: true validates :mood_rating, numerica...
<|file_sep|>original/app/models/drawing.rb complete.validates :description, presence: true complete.validates :subject_matter, presence: true complete.validates :mood_rating, presence: true complete.validates :country, presence: true end validates :age, numericality: { only_integer: true }, allow_n...
11e5bfc6310a259787fb60fcfbc077a885970060
app/models/drawing.rb
app/models/drawing.rb
Ruby
<|file_sep|>config/scripts/post-config.d/hooks.sh.diff original: # This script runs at boot of the EdgeRouter updated: # Fix ownership sudo chown -R root:vyattacfg /config/userdata sudo chown -R root:vyattacfg /config/scripts # Ensure scripts are executable sudo chmod +x /config/user-data/hooks/* <|file_sep|>original/...
#!/bin/bash source /config/user-data/edgerouter-backup.conf # Fix ownership sudo chown -R root:vyattacfg /config/userdata sudo chown -R root:vyattacfg /config/scripts # Ensure scripts are executable sudo chmod +x /config/user-data/hooks/* # Generate symlinks to hook script(s) sudo ln -fs /config/user-data/hooks/* /e...
<|file_sep|>config/scripts/post-config.d/hooks.sh.diff original: # This script runs at boot of the EdgeRouter updated: # Fix ownership sudo chown -R root:vyattacfg /config/userdata sudo chown -R root:vyattacfg /config/scripts # Ensure scripts are executable sudo chmod +x /config/user-data/hooks/* <|file_sep|>original/...
9ed27e3fa3fd6e684a9b5f13772acea015351533
config/scripts/post-config.d/hooks.sh
config/scripts/post-config.d/hooks.sh
Shell
<|file_sep|>original/appveyor.yml # Test against the latest version of this Node.js version environment: nodejs_version: "10" # Install scripts. (runs after repo cloning) install: # Get the latest stable version of Node.js or io.js - ps: Install-Product node $env:nodejs_version - cp qmui.config.js ../qmui.conf...
# Test against the latest version of this Node.js version environment: nodejs_version: "10" # Install scripts. (runs after repo cloning) install: # Get the latest stable version of Node.js or io.js - ps: Install-Product node $env:nodejs_version - cp qmui.config.js ../qmui.config.js - npm install -g gulp-cli ...
<|file_sep|>original/appveyor.yml # Test against the latest version of this Node.js version environment: nodejs_version: "10" # Install scripts. (runs after repo cloning) install: # Get the latest stable version of Node.js or io.js - ps: Install-Product node $env:nodejs_version - cp qmui.config.js ../qmui.conf...
c88ee88179f191d9d600c7e0dc2b22d34cc06121
appveyor.yml
appveyor.yml
YAML
<|file_sep|>spec/hamster/hash/hash_spec.rb.diff original: describe "#new" do updated: describe "#hash" do <|file_sep|>spec/hamster/hash/hash_spec.rb.diff original: map { |ka, va, kb, vb| Hamster::Hash.new(ka => va, kb => vb).hash }. updated: map { |ka, va, kb, vb| Hamster.hash(ka => va, kb => vb).ha...
end describe "from a subclass" do before do @subclass = Class.new(Hamster::Hash) @instance = @subclass.new("some" => "values") end it "should return an instance of the subclass" do @instance.class.should be @subclass end it "should return a frozen instan...
<|file_sep|>spec/hamster/hash/hash_spec.rb.diff original: describe "#new" do updated: describe "#hash" do <|file_sep|>spec/hamster/hash/hash_spec.rb.diff original: map { |ka, va, kb, vb| Hamster::Hash.new(ka => va, kb => vb).hash }. updated: map { |ka, va, kb, vb| Hamster.hash(ka => va, kb => vb).ha...
dc8e98c435400f7a6eb7d450ea4d00253698b81d
spec/hamster/hash/hash_spec.rb
spec/hamster/hash/hash_spec.rb
Ruby
<|file_sep|>original/lib/language_pack/rails5.rb require 'securerandom' require "language_pack" require "language_pack/rails42" class LanguagePack::Rails5 < LanguagePack::Rails42 # @return [Boolean] true if it's a Rails 5.x app def self.use? instrument "rails5.use" do rails_version = bundler.gem_version(...
require 'securerandom' require "language_pack" require "language_pack/rails42" class LanguagePack::Rails5 < LanguagePack::Rails42 # @return [Boolean] true if it's a Rails 5.x app def self.use? instrument "rails5.use" do rails_version = bundler.gem_version('railties') return false unless rails_versi...
<|file_sep|>original/lib/language_pack/rails5.rb require 'securerandom' require "language_pack" require "language_pack/rails42" class LanguagePack::Rails5 < LanguagePack::Rails42 # @return [Boolean] true if it's a Rails 5.x app def self.use? instrument "rails5.use" do rails_version = bundler.gem_version(...
362d624c07e62a9c338a521a63471b02374c0575
lib/language_pack/rails5.rb
lib/language_pack/rails5.rb
Ruby
<|file_sep|>original/src/utils/getListFieldText.js export default function getListFieldText(data, listField) { if (typeof listField === 'string') { return buildStringFromData(data, listField) } else { if (typeof listField.fields !== 'undefined') { let connector = listField.connector ? listField.connec...
export default function getListFieldText(data, listField) { if (typeof data === 'string') { return data } else if (typeof listField === 'string') { return buildStringFromData(data, listField) } else { if (typeof listField.fields !== 'undefined') { let connector = listField.connector ? listField....
<|file_sep|>original/src/utils/getListFieldText.js export default function getListFieldText(data, listField) { if (typeof listField === 'string') { return buildStringFromData(data, listField) } else { if (typeof listField.fields !== 'undefined') { let connector = listField.connector ? listField.connec...
1dbaa4bbcab5c053940700ecf7642705729ba59b
src/utils/getListFieldText.js
src/utils/getListFieldText.js
JavaScript
<|file_sep|>CHANGELOG.md.diff original: * Add Python support via `flake8`. ([#9](https://github.com/yujinakayama/atom-lint/pull/9)) updated: * [#9](https://github.com/yujinakayama/atom-lint/pull/9): Add Python support via `flake8`. ([@danielgtaylor][]) <|file_sep|>CHANGELOG.md.diff original: * Display violation marks f...
## v0.2.0 * Display violation marks for each line on gutter. ([@yujinakayama]) * Fix wrong use of key for offenses in RuboCop's JSON result. ([@yujinakayama]) ## v0.1.2 * ([#1](https://github.com/yujinakayama/atom-lint/issues/1)): Use `PATH` of the login shell even if Atom is launched from Finder or Dock so that ex...
<|file_sep|>CHANGELOG.md.diff original: * Add Python support via `flake8`. ([#9](https://github.com/yujinakayama/atom-lint/pull/9)) updated: * [#9](https://github.com/yujinakayama/atom-lint/pull/9): Add Python support via `flake8`. ([@danielgtaylor][]) <|file_sep|>CHANGELOG.md.diff original: * Display violation marks f...
0adbebfa0f887ea6bb2fc058527bc052d214d496
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>original/pywind/__init__.py """ pywind module. For more information visit https://github.com/zathras777/pywind """ __version__ = '1.0.3' <|file_sep|>current/pywind/__init__.py """ pywind module. For more information visit https://github.com/zathras777/pywind """ __version__ = '1.0.3' <|file_sep|>updat...
""" pywind module. For more information visit https://github.com/zathras777/pywind """ __version__ = '1.0.4'
<|file_sep|>original/pywind/__init__.py """ pywind module. For more information visit https://github.com/zathras777/pywind """ __version__ = '1.0.3' <|file_sep|>current/pywind/__init__.py """ pywind module. For more information visit https://github.com/zathras777/pywind """ __version__ = '1.0.3' <|file_sep|>updat...
7b8fe4aa426a8de24b5fc1a496b7b1eba92e7756
pywind/__init__.py
pywind/__init__.py
Python
<|file_sep|>original/.travis.yml php: - 5.4 - 5.5 - 5.6 - hhvm matrix: fast_finish: true allow_failures: - php: hhvm before_script: - travis_retry composer self-update - travis_retry composer install --no-interaction --prefer-source --dev script: - vendor/bin/phpunit --verbose --coverage-text ...
- 5.4 - 5.5 - 5.6 - hhvm matrix: fast_finish: true allow_failures: - php: hhvm before_script: - travis_retry composer self-update - travis_retry composer install --no-interaction --prefer-source --dev script: - vendor/bin/phpunit --verbose --coverage-text - ./vendor/bin/phpcs --standard=PSR1 ...
<|file_sep|>original/.travis.yml php: - 5.4 - 5.5 - 5.6 - hhvm matrix: fast_finish: true allow_failures: - php: hhvm before_script: - travis_retry composer self-update - travis_retry composer install --no-interaction --prefer-source --dev script: - vendor/bin/phpunit --verbose --coverage-text ...
7e74bc3a573356dda26dea1259b28b129d99d1ca
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml language: ruby cache: bundler sudo: false before_install: gem install bundler script: bundle exec rake rvm: - 2.3.1 <|file_sep|>current/.travis.yml language: ruby cache: bundler sudo: false before_install: gem install bundler script: bundle exec rake rvm: - 2.3.1 <|file_sep|>upd...
language: ruby cache: bundler sudo: false before_install: gem install bundler script: bundle exec rspec rvm: - 2.3.1
<|file_sep|>original/.travis.yml language: ruby cache: bundler sudo: false before_install: gem install bundler script: bundle exec rake rvm: - 2.3.1 <|file_sep|>current/.travis.yml language: ruby cache: bundler sudo: false before_install: gem install bundler script: bundle exec rake rvm: - 2.3.1 <|file_sep|>upd...
a2fa1187e8042d0699f69b1068f5023f1c812aad
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.circleci/config.yml version: 2 jobs: build: working_directory: ~/rabbithole docker: - image: python:3.6.0 steps: - checkout - restore_cache: keys: - rabbithole-{{ .Branch }}-{{ checksum "requirements/common.txt" }} - rabbithole-{{ ....
version: 2 jobs: build: working_directory: ~/rabbithole docker: - image: python:3.6.0 steps: - checkout - restore_cache: key: rabbithole-{{ .Branch }}- - run: apt update - run: apt install -y gcc python-dev - run: pip install tox - run: tox - save_...
<|file_sep|>original/.circleci/config.yml version: 2 jobs: build: working_directory: ~/rabbithole docker: - image: python:3.6.0 steps: - checkout - restore_cache: keys: - rabbithole-{{ .Branch }}-{{ checksum "requirements/common.txt" }} - rabbithole-{{ ....
5630ee6edc5aefc6cdf0dd49c5a7031f15c50781
.circleci/config.yml
.circleci/config.yml
YAML
<|file_sep|>.travis.yml.diff original: updated: - pip install coverage - pip install coveralls <|file_sep|>original/.travis.yml language: python python: - "2.6" - "2.7" - "pypy" - "3.2" - "3.3" - "3.4" install: - pip install requests - pip install httpretty - python setup.py install script: -...
language: python python: - "2.6" - "2.7" - "pypy" - "3.2" - "3.3" - "3.4" install: - pip install requests - pip install httpretty - pip install coverage - pip install coveralls - python setup.py install script: - nosetests --with-coverage agms/test/unit/* after_success: - coveralls
<|file_sep|>.travis.yml.diff original: updated: - pip install coverage - pip install coveralls <|file_sep|>original/.travis.yml language: python python: - "2.6" - "2.7" - "pypy" - "3.2" - "3.3" - "3.4" install: - pip install requests - pip install httpretty - python setup.py install script: -...
657e0dbab0f65c640bec0d666623cb5a621762ce
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml language: objective-c osx_image: xcode7.1 xcode_sdk: iphonesimulator xcode_project: PSOperations.xcodeproj xcode_scheme: PSOperations <|file_sep|>current/.travis.yml language: objective-c osx_image: xcode7.1 xcode_sdk: iphonesimulator xcode_project: PSOperations.xcodeproj xcode_scheme: ...
language: objective-c osx_image: xcode7.1 xcode_sdk: iphonesimulator xcode_project: PSOperations.xcodeproj xcode_scheme: - PSOperations - PSOperationsAppForTests
<|file_sep|>original/.travis.yml language: objective-c osx_image: xcode7.1 xcode_sdk: iphonesimulator xcode_project: PSOperations.xcodeproj xcode_scheme: PSOperations <|file_sep|>current/.travis.yml language: objective-c osx_image: xcode7.1 xcode_sdk: iphonesimulator xcode_project: PSOperations.xcodeproj xcode_scheme: ...
66f9bbf81c773d6a916e1b549b84eeac5122f093
.travis.yml
.travis.yml
YAML
<|file_sep|>packages/le/lens-family-th.yaml.diff original: hash: 000f9a41fb0673e6de577c3ff8eba37d33ea9ecc26e36563fb3aef65854043ca updated: hash: 13c96ddf2d410ec4e6671c8412710b7cdbbfc837ff5be1d09a6dbb9ecdb9285d <|file_sep|>original/packages/le/lens-family-th.yaml homepage: http://github.com/DanBurton/lens-family-th#read...
homepage: http://github.com/DanBurton/lens-family-th#readme changelog-type: '' hash: 13c96ddf2d410ec4e6671c8412710b7cdbbfc837ff5be1d09a6dbb9ecdb9285d test-bench-deps: {} maintainer: danburton.email@gmail.com synopsis: Generate lens-family style lenses changelog: '' basic-deps: base: ==4.* template-haskell: ! '>=2.7...
<|file_sep|>packages/le/lens-family-th.yaml.diff original: hash: 000f9a41fb0673e6de577c3ff8eba37d33ea9ecc26e36563fb3aef65854043ca updated: hash: 13c96ddf2d410ec4e6671c8412710b7cdbbfc837ff5be1d09a6dbb9ecdb9285d <|file_sep|>original/packages/le/lens-family-th.yaml homepage: http://github.com/DanBurton/lens-family-th#read...
8a763f11616eb415aac6b42f8e8bde72402979b5
packages/le/lens-family-th.yaml
packages/le/lens-family-th.yaml
YAML
<|file_sep|>build_config.rb.diff original: conf.gembox 'full-core' updated: conf.gembox 'default' <|file_sep|>original/build_config.rb MRuby::Build.new do |conf| toolchain :gcc # include the default GEMs conf.gembox 'full-core' conf.gem File.expand_path(File.dirname(__FILE__)) conf.gem :github => 'matsum...
MRuby::Build.new do |conf| toolchain :gcc # include the default GEMs conf.gembox 'default' conf.gem File.expand_path(File.dirname(__FILE__)) conf.enable_test end
<|file_sep|>build_config.rb.diff original: conf.gembox 'full-core' updated: conf.gembox 'default' <|file_sep|>original/build_config.rb MRuby::Build.new do |conf| toolchain :gcc # include the default GEMs conf.gembox 'full-core' conf.gem File.expand_path(File.dirname(__FILE__)) conf.gem :github => 'matsum...
46455c20eceef751498075c7c31393ac47b3e249
build_config.rb
build_config.rb
Ruby
<|file_sep|>log4j-api/src/main/java/org/apache/logging/log4j/spi/LoggerAdapter.java.diff original: * @param <L> the external logger class for this registry (e.g., {@code org.slf4j.Logger}) updated: * @param <T> the external logger class for this registry (e.g., {@code org.slf4j.Logger}) <|file_sep|>log4j-api/src/main...
import java.io.Closeable; /** * A basic registry for {@link LoggerContext} objects and their associated external * Logger classes. This registry should not be used for Log4j Loggers; it is instead used for creating bridges to * other external log systems. * * @param <T> the external logger class for this registr...
<|file_sep|>log4j-api/src/main/java/org/apache/logging/log4j/spi/LoggerAdapter.java.diff original: * @param <L> the external logger class for this registry (e.g., {@code org.slf4j.Logger}) updated: * @param <T> the external logger class for this registry (e.g., {@code org.slf4j.Logger}) <|file_sep|>log4j-api/src/main...
146fa40dd6b6889277a86f6e5858ffacb672480c
log4j-api/src/main/java/org/apache/logging/log4j/spi/LoggerAdapter.java
log4j-api/src/main/java/org/apache/logging/log4j/spi/LoggerAdapter.java
Java
<|file_sep|>environment_tools/config.py.diff original: DATA_DIRECTORY = '/nail/etc/services' updated: DATA_DIRECTORY = '/etc/yelp_location' OVERRIDE_DATA_DIRECTORY = '/nail/etc/services' <|file_sep|>environment_tools/config.py.diff original: updated: # FIXME - we're moving from distributing location information # ...
DATA_DIRECTORY = '/etc/yelp_location' OVERRIDE_DATA_DIRECTORY = '/nail/etc/services' # FIXME - we're moving from distributing location information # via our configs system to via just baking the package # into AMIs, but to do that we want to be able to read # both whilst we transition - with t...
<|file_sep|>environment_tools/config.py.diff original: DATA_DIRECTORY = '/nail/etc/services' updated: DATA_DIRECTORY = '/etc/yelp_location' OVERRIDE_DATA_DIRECTORY = '/nail/etc/services' <|file_sep|>environment_tools/config.py.diff original: updated: # FIXME - we're moving from distributing location information # ...
3bb79d53e71d3d3b6d22a6958e39e102917e1161
environment_tools/config.py
environment_tools/config.py
Python
<|file_sep|>services/services.php.diff original: 'mp4', 'mov', 'm4v', 'mpg', 'mpeg', 'avi', updated: 'mp4', 'mov', 'm4v', 'mpg', 'mpeg', 'avi', 'ogv', <|file_sep|>original/services/services.php * This list should be restrictive enough so that malicious users can't do too much damage. ...
* This list should be restrictive enough so that malicious users can't do too much damage. */ 'bucketDefaultAllowedTypes' => array( // Images 'png', 'jpg', 'gif', // Documents & Text 'pdf', 'doc', 'docx', 'ppt', 'pptx', 'xls', 'xlsx', 'rtf', 't...
<|file_sep|>services/services.php.diff original: 'mp4', 'mov', 'm4v', 'mpg', 'mpeg', 'avi', updated: 'mp4', 'mov', 'm4v', 'mpg', 'mpeg', 'avi', 'ogv', <|file_sep|>original/services/services.php * This list should be restrictive enough so that malicious users can't do too much damage. ...
2fefa1f045e9ce1c762704f8510402fa87cb7b74
services/services.php
services/services.php
PHP
<|file_sep|>original/lib/Resque/Failure/Redis.php * * @param object $payload Object containing details of the failed job. * @param object $exception Instance of the exception that was thrown by the failed job. * @param object $worker Instance of Resque_Worker that received the job. * @param string $queue The ...
* Initialize a failed job class and save it (where appropriate). * * @param object $payload Object containing details of the failed job. * @param object $exception Instance of the exception that was thrown by the failed job. * @param object $worker Instance of Resque_Worker that received the job. * @param s...
<|file_sep|>original/lib/Resque/Failure/Redis.php * * @param object $payload Object containing details of the failed job. * @param object $exception Instance of the exception that was thrown by the failed job. * @param object $worker Instance of Resque_Worker that received the job. * @param string $queue The ...
42eb856269a4b76c6db57cfe566c60906cd81e6b
lib/Resque/Failure/Redis.php
lib/Resque/Failure/Redis.php
PHP
<|file_sep|>original/.travis.yml language: generic dist: trusty sudo: required git: depth: 5 matrix: include: - env: - task=shellcheck before_install: - bash --version - shellcheck --version script: - bash -n setup.sh - shellcheck -s bash setup.sh - env: - task=ubun...
language: generic dist: xenial sudo: required git: depth: 5 matrix: include: - env: - task=shellcheck before_install: - bash --version - shellcheck --version script: - bash -n setup.sh - shellcheck -s bash setup.sh - env: - task=ubuntu1404 script: - sudo ./s...
<|file_sep|>original/.travis.yml language: generic dist: trusty sudo: required git: depth: 5 matrix: include: - env: - task=shellcheck before_install: - bash --version - shellcheck --version script: - bash -n setup.sh - shellcheck -s bash setup.sh - env: - task=ubun...
6f5a7a9c36f8511c52a0a90ab1079289b6218427
.travis.yml
.travis.yml
YAML
<|file_sep|>web/app/scripts/services/userservice.js.diff original: return mv.user.name; updated: if (localStorage.getItem('user')) if (mv.user != null) return mv.user.name; else { mv.user = JSON.parse(localStorage.getItem('user')); return mv.user.name } ...
if (mv.user != null) return mv.user.id; else { mv.user = JSON.parse(localStorage.getItem('user')); return mv.user.id } else return null }; this.getDormId = function () { if (localStorage.getItem('user')) if (mv.user != null) ...
<|file_sep|>web/app/scripts/services/userservice.js.diff original: return mv.user.name; updated: if (localStorage.getItem('user')) if (mv.user != null) return mv.user.name; else { mv.user = JSON.parse(localStorage.getItem('user')); return mv.user.name } ...
c971930ec987ae24f392f47c2b1b9b731f0cb4e9
web/app/scripts/services/userservice.js
web/app/scripts/services/userservice.js
JavaScript
<|file_sep|>original/circle.yml dependencies: override: - ./bin/setup test: override: - bundle exec rubocop - bundle exec rake spec deployment: rubygems: branch: master commands: - curl -u Leko:$RUBYGEMS_PASSWORD https://rubygems.org/api/v1/api_key.yaml > ~/.gem/credentials; chmod 0600...
dependencies: override: - ./bin/setup test: override: - bundle exec rubocop - bundle exec rake spec deployment: rubygems: branch: master commands: - curl -u Leko:$RUBYGEMS_PASSWORD https://rubygems.org/api/v1/api_key.yaml > ~/.gem/credentials; chmod 0600 ~/.gem/credentials - git ...
<|file_sep|>original/circle.yml dependencies: override: - ./bin/setup test: override: - bundle exec rubocop - bundle exec rake spec deployment: rubygems: branch: master commands: - curl -u Leko:$RUBYGEMS_PASSWORD https://rubygems.org/api/v1/api_key.yaml > ~/.gem/credentials; chmod 0600...
c4ce7ba727f7c28bc5e2a53f06ff22f3160f4c2c
circle.yml
circle.yml
YAML
<|file_sep|>.travis.yml.diff original: updated: - gem install executable-hooks --conservative --no-document <|file_sep|>original/.travis.yml sudo: false language: ruby cache: bundler rvm: - 2.3.8 - 2.4.5 - 2.5.3 - 2.6.0 - ruby-head before_install: - gem update --system - gem install bundler --conservat...
sudo: false language: ruby cache: bundler rvm: - 2.3.8 - 2.4.5 - 2.5.3 - 2.6.0 - ruby-head before_install: - gem update --system - gem install bundler --conservative --no-document -v "~> 2.0" - gem install executable-hooks --conservative --no-document matrix: include: # Run Danger only once, on 2....
<|file_sep|>.travis.yml.diff original: updated: - gem install executable-hooks --conservative --no-document <|file_sep|>original/.travis.yml sudo: false language: ruby cache: bundler rvm: - 2.3.8 - 2.4.5 - 2.5.3 - 2.6.0 - ruby-head before_install: - gem update --system - gem install bundler --conservat...
ad9065f9b1a795891ffe8c806385e6094ba67554
.travis.yml
.travis.yml
YAML
<|file_sep|>README.md.diff original: # FormForms updated: # FormForms [![Build Status](https://secure.travis-ci.org/meineerde/form_forms.png)](http://travis-ci.org/meineerde/form_forms) [![Dependency Status](https://gemnasium.com/meineerde/form_forms.png?travis)](https://gemnasium.com/meineerde/form_forms) <|file_sep|>...
Or install it yourself using gem install form_forms ## Usage TODO: Write usage instructions here. For now, see the tests. ## Development Install dependencies with bundle install then run tests with bundle exec rake ## Contributing 1. Fork it
<|file_sep|>README.md.diff original: # FormForms updated: # FormForms [![Build Status](https://secure.travis-ci.org/meineerde/form_forms.png)](http://travis-ci.org/meineerde/form_forms) [![Dependency Status](https://gemnasium.com/meineerde/form_forms.png?travis)](https://gemnasium.com/meineerde/form_forms) <|file_sep|>...
57ce66bc90b0c509b40d23030185eac59b322aa0
README.md
README.md
Markdown
<|file_sep|>readme.md.diff original: updated: ## Libraries <|file_sep|>readme.md.diff original: updated: ### Elixir <|file_sep|>original/readme.md # A list of burner email providers Throw away email addresses (burner emails) are great for single use signups where you would like the content but rather not give up you...
# A list of burner email providers Throw away email addresses (burner emails) are great for single use signups where you would like the content but rather not give up your email. I'm okay with people using burner email addresses to get my free content, I just need to be able to filter them out of my list so it doesn'...
<|file_sep|>readme.md.diff original: updated: ## Libraries <|file_sep|>readme.md.diff original: updated: ### Elixir <|file_sep|>original/readme.md # A list of burner email providers Throw away email addresses (burner emails) are great for single use signups where you would like the content but rather not give up you...
6c3f328467eb3268a4bc026d0aebef945bff47bf
readme.md
readme.md
Markdown
<|file_sep|>original/shinken/webui/plugins/mobile/htdocs/css/problems.css <|file_sep|>current/shinken/webui/plugins/mobile/htdocs/css/problems.css <|file_sep|>updated/shinken/webui/plugins/mobile/htdocs/css/problems.css
/* The same stars, but in the proble panel */ .criticity-inpb-icon-1 { width: 20px; height: 20px; position: absolute; margin-left: 60px; z-index: 1; outline: none; left: 20px; top : 10px; } /* The show problem image, on the right of the impact*/ .criticity-inpb-icon-2 { width: 20px...
<|file_sep|>original/shinken/webui/plugins/mobile/htdocs/css/problems.css <|file_sep|>current/shinken/webui/plugins/mobile/htdocs/css/problems.css <|file_sep|>updated/shinken/webui/plugins/mobile/htdocs/css/problems.css /* The same stars, but in the proble panel */ .criticity-inpb-icon-1 { width: 20px; height...
6efd67985c3e0dd31bc4edfb11ec2aa74f292ca8
shinken/webui/plugins/mobile/htdocs/css/problems.css
shinken/webui/plugins/mobile/htdocs/css/problems.css
CSS
<|file_sep|>original/exports.js goog.require('fontface.Observer'); if (typeof module !== 'undefined') { module.exports = fontface.Observer; } else { window['FontFaceObserver'] = fontface.Observer; window['FontFaceObserver']['prototype']['load'] = fontface.Observer.prototype.load; } <|file_sep|>current/exports.js...
goog.require('fontface.Observer'); if (typeof module === 'object') { module.exports = fontface.Observer; } else { window['FontFaceObserver'] = fontface.Observer; window['FontFaceObserver']['prototype']['load'] = fontface.Observer.prototype.load; }
<|file_sep|>original/exports.js goog.require('fontface.Observer'); if (typeof module !== 'undefined') { module.exports = fontface.Observer; } else { window['FontFaceObserver'] = fontface.Observer; window['FontFaceObserver']['prototype']['load'] = fontface.Observer.prototype.load; } <|file_sep|>current/exports.js...
14d31914de651203912a95fdcdef461be35ba1ac
exports.js
exports.js
JavaScript
<|file_sep|>src/glue/avm2/flash_geom.js.diff original: updated: natives.ColorTransformClass = function ColorTransformClass(runtime, scope, instance, baseClass) { var c = new runtime.domain.system.Class("ColorTransform", instance, Domain.passthroughCallable(instance)); c.extend(baseClass, ColorTransform.prototype);...
c.extend(baseClass, Point.prototype); c.nativeStatics = { }; c.nativeMethods = { }; return c; }; natives.RectangleClass = function RectangleClass(runtime, scope, instance, baseClass) { var c = new runtime.domain.system.Class("Rectangle", instance, Domain.passthroughCallable(instance)); c.extend(base...
<|file_sep|>src/glue/avm2/flash_geom.js.diff original: updated: natives.ColorTransformClass = function ColorTransformClass(runtime, scope, instance, baseClass) { var c = new runtime.domain.system.Class("ColorTransform", instance, Domain.passthroughCallable(instance)); c.extend(baseClass, ColorTransform.prototype);...
1b99797d3293cfe9c14aa3f166aaf30d245f9b6f
src/glue/avm2/flash_geom.js
src/glue/avm2/flash_geom.js
JavaScript
<|file_sep|>original/plugins/pluginTemplate/locationmap.xml Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language go...
<components> <matchers default="lm"> <matcher name="lm" src="org.apache.forrest.locationmap.WildcardLocationMapHintMatcher"/> </matchers> <selectors default="exists"> <selector name="exists" logger="sitemap.selector.exists" src="org.apache.forrest.source...
<|file_sep|>original/plugins/pluginTemplate/locationmap.xml Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language go...
1d0056cf95c9efa37e9373c39eeb99850a51afd5
plugins/pluginTemplate/locationmap.xml
plugins/pluginTemplate/locationmap.xml
XML
<|file_sep|>test/Parse/ConditionalCompilation/language_version_explicit.swift.diff original: // RUN: %target-parse-verify-swift -swift-version 3 updated: // RUN: %target-parse-verify-swift -swift-version 4 <|file_sep|>original/test/Parse/ConditionalCompilation/language_version_explicit.swift // RUN: %target-parse-verif...
// RUN: %target-parse-verify-swift -swift-version 4 #if swift(>=4) let w = 1 #else // This shouldn't emit any diagnostics. asdf asdf asdf asdf #endif
<|file_sep|>test/Parse/ConditionalCompilation/language_version_explicit.swift.diff original: // RUN: %target-parse-verify-swift -swift-version 3 updated: // RUN: %target-parse-verify-swift -swift-version 4 <|file_sep|>original/test/Parse/ConditionalCompilation/language_version_explicit.swift // RUN: %target-parse-verif...
ace9e7733d49a6bb68f0070ab5775a72dc395101
test/Parse/ConditionalCompilation/language_version_explicit.swift
test/Parse/ConditionalCompilation/language_version_explicit.swift
Swift
<|file_sep|>original/README_BUILD.sh git config --global user.name "Your Name" git config --global user.email "your.email@example.com" git config --global core.autocrlf false git config --global core.filemode false git config --global color.ui true # --- Fetches chromium --- # fetch chromium # Basic checkout for deskt...
git config --global core.autocrlf false git config --global core.filemode false git config --global color.ui true # --- Fetches chromium --- # fetch chromium # Basic checkout for desktop Chromium # fetch blink # Chromium code with Blink checked out to tip-of-tree # fetch android # Chromium checkout for Android p...
<|file_sep|>original/README_BUILD.sh git config --global user.name "Your Name" git config --global user.email "your.email@example.com" git config --global core.autocrlf false git config --global core.filemode false git config --global color.ui true # --- Fetches chromium --- # fetch chromium # Basic checkout for deskt...
4f7ac8fa748e0a19b9511ac129d58225ba38746e
README_BUILD.sh
README_BUILD.sh
Shell
<|file_sep|>web/backend/backend_django/apps/capacity/management/commands/importpath.py.diff original: updated: i = 0 <|file_sep|>web/backend/backend_django/apps/capacity/management/commands/importpath.py.diff original: updated: if i%1000==0: print(i) <|file_sep|>original/web/backend/backend_djang...
print(len(trips)) i = 0 for k, path in trips.items(): trip_id = k[0] stop_id = k[1] if i%1000==0: print(i) try: _, created = Path.objects.get_or_create( trip_id = int(trip_id), stop_id = int(s...
<|file_sep|>web/backend/backend_django/apps/capacity/management/commands/importpath.py.diff original: updated: i = 0 <|file_sep|>web/backend/backend_django/apps/capacity/management/commands/importpath.py.diff original: updated: if i%1000==0: print(i) <|file_sep|>original/web/backend/backend_djang...
261cb5aecc52d07b10d826e8b22d17817d1c3529
web/backend/backend_django/apps/capacity/management/commands/importpath.py
web/backend/backend_django/apps/capacity/management/commands/importpath.py
Python
<|file_sep|>original/lib/discordrb/commands/container.rb module Discordrb::Commands # This module holds a collection of commands that can be easily added to by calling the {CommandContainer#command} # function. Other containers can be included into it as well. This allows for modularization of command bots. modul...
name.each { |n| @commands[n] = new_command } new_command else @commands[name] = Command.new(name, attributes, &block) end end def remove_command(name) @commands ||= {} @commands.delete name end # Adds all commands from another container into this one. Ex...
<|file_sep|>original/lib/discordrb/commands/container.rb module Discordrb::Commands # This module holds a collection of commands that can be easily added to by calling the {CommandContainer#command} # function. Other containers can be included into it as well. This allows for modularization of command bots. modul...
3d9a36c8ce3718ffdfd63f66c274f9b195c8d967
lib/discordrb/commands/container.rb
lib/discordrb/commands/container.rb
Ruby
<|file_sep|>site.yml.diff original: - name: Wait for port 22 to become available from bastion server. updated: - name: Wait for ssh port to become available from bastion server. <|file_sep|>site.yml.diff original: port: 22 updated: port: "{{ ansible_ssh_port }}" <|file_sep|>original/site.yml ...
- name: Wait for ssh port to become available from bastion server. wait_for: port: "{{ ansible_ssh_port }}" host: "{{ ansible_ssh_host }}" delay: 10 timeout: 60 delegate_to: "{{ bastion_ip }}" sudo: False when: bastion_ip is defined - name: Wait for port 2...
<|file_sep|>site.yml.diff original: - name: Wait for port 22 to become available from bastion server. updated: - name: Wait for ssh port to become available from bastion server. <|file_sep|>site.yml.diff original: port: 22 updated: port: "{{ ansible_ssh_port }}" <|file_sep|>original/site.yml ...
2af189127e1de6b07ce920f6fd225edb04ee6fe6
site.yml
site.yml
YAML
<|file_sep|>.github/ISSUE_TEMPLATE/feature-request.md.diff original: ## Additional context updated: ## Additional relevant information <|file_sep|>original/.github/ISSUE_TEMPLATE/feature-request.md name: Feature request about: Suggest an idea for this project labels: --- ## Is your feature request related to a probl...
name: Feature request about: Suggest an idea for this project labels: --- ## Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] ## Describe the solution you'd like A clear and concise description of what you w...
<|file_sep|>.github/ISSUE_TEMPLATE/feature-request.md.diff original: ## Additional context updated: ## Additional relevant information <|file_sep|>original/.github/ISSUE_TEMPLATE/feature-request.md name: Feature request about: Suggest an idea for this project labels: --- ## Is your feature request related to a probl...
e1c2d51ee5830b455190912927c50f7572824e0b
.github/ISSUE_TEMPLATE/feature-request.md
.github/ISSUE_TEMPLATE/feature-request.md
Markdown
<|file_sep|>original/config.ru <|file_sep|>current/config.ru <|file_sep|>updated/config.ru
require 'rack' app = lambda do |env| path = env['PATH_INFO'] base_path = File.expand_path('../test/index.html', __FILE__) case path when /\.js/ contents = File.read(File.join(File.dirname(base_path), '..', path)) [200, {'Content-Type' => 'application/x-javascript'}, [contents]] else system 'rake ...
<|file_sep|>original/config.ru <|file_sep|>current/config.ru <|file_sep|>updated/config.ru require 'rack' app = lambda do |env| path = env['PATH_INFO'] base_path = File.expand_path('../test/index.html', __FILE__) case path when /\.js/ contents = File.read(File.join(File.dirname(base_path), '..', path)) ...
6aeb6330c5579fa965a78b30460303193aa0f3a8
config.ru
config.ru
Ruby
<|file_sep|>original/wiki/articles/algo2.build.gradle.kts import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { kotlin("jvm") version "1.5.31" jacoco } group = "ar.edu.unsam.algo2" version = "1.0-SNAPSHOT" repositories { mavenCentral() } val kotestVersion = "5.1.0" dependencies { impleme...
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { kotlin("jvm") version "1.6.10" jacoco } group = "ar.edu.unsam.algo2" version = "1.0-SNAPSHOT" repositories { mavenCentral() } val kotestVersion = "5.1.0" dependencies { implementation(kotlin("stdlib")) testImplementation("io.mockk...
<|file_sep|>original/wiki/articles/algo2.build.gradle.kts import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { kotlin("jvm") version "1.5.31" jacoco } group = "ar.edu.unsam.algo2" version = "1.0-SNAPSHOT" repositories { mavenCentral() } val kotestVersion = "5.1.0" dependencies { impleme...
3ab1b54e222fd82d4cb2b3c19132cad83f6997a0
wiki/articles/algo2.build.gradle.kts
wiki/articles/algo2.build.gradle.kts
Kotlin
<|file_sep|>original/src/main/java/io/gravitee/repository/ratelimit/model/RateLimit.java <|file_sep|>current/src/main/java/io/gravitee/repository/ratelimit/model/RateLimit.java <|file_sep|>updated/src/main/java/io/gravitee/repository/ratelimit/model/RateLimit.java
/** * Copyright (C) 2015 The Gravitee team (http://gravitee.io) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
<|file_sep|>original/src/main/java/io/gravitee/repository/ratelimit/model/RateLimit.java <|file_sep|>current/src/main/java/io/gravitee/repository/ratelimit/model/RateLimit.java <|file_sep|>updated/src/main/java/io/gravitee/repository/ratelimit/model/RateLimit.java /** * Copyright (C) 2015 The Gravitee team (http://g...
86fc2ed54997e398435a5bda4bbb6ac74f247399
src/main/java/io/gravitee/repository/ratelimit/model/RateLimit.java
src/main/java/io/gravitee/repository/ratelimit/model/RateLimit.java
Java
<|file_sep|>test/Hangfire.LiteDB.Test/Utils/ConnectionUtils.cs.diff original: return Path.GetFullPath(string.Format("Hangfire-LiteDB-Tests.{0}", Ext)); updated: var pathDb = Path.GetFullPath(string.Format("Hangfire-LiteDB-Tests.{0}", Ext)); return @"Filename=" + pathDb + "; mode=Excl...
public static LiteDbStorage CreateStorage() { var storageOptions = new LiteDbStorageOptions(); return CreateStorage(storageOptions); } public static LiteDbStorage CreateStorage(LiteDbStorageOptions storageOptions) { var connectio...
<|file_sep|>test/Hangfire.LiteDB.Test/Utils/ConnectionUtils.cs.diff original: return Path.GetFullPath(string.Format("Hangfire-LiteDB-Tests.{0}", Ext)); updated: var pathDb = Path.GetFullPath(string.Format("Hangfire-LiteDB-Tests.{0}", Ext)); return @"Filename=" + pathDb + "; mode=Excl...
6863432670e54717656f8e60091ea9313d207abe
test/Hangfire.LiteDB.Test/Utils/ConnectionUtils.cs
test/Hangfire.LiteDB.Test/Utils/ConnectionUtils.cs
C#
<|file_sep|>.travis.yml.diff original: - nightly updated: - 7.4snapshot <|file_sep|>.travis.yml.diff original: - php: nightly updated: - php: 7.4snapshot <|file_sep|>original/.travis.yml include: - php: 7.1 env: COMPOSER_FLAGS="--prefer-lowest" allow_failures: - php: nightly cache: dire...
fast_finish: true include: - php: 7.1 env: COMPOSER_FLAGS="--prefer-lowest" allow_failures: - php: 7.4snapshot cache: directories: - $COMPOSER_CACHE_DIR install: - composer update --prefer-dist --no-interaction $COMPOSER_FLAGS script: - mkdir -p build/logs - ./bin/phpunit --coverage-c...
<|file_sep|>.travis.yml.diff original: - nightly updated: - 7.4snapshot <|file_sep|>.travis.yml.diff original: - php: nightly updated: - php: 7.4snapshot <|file_sep|>original/.travis.yml include: - php: 7.1 env: COMPOSER_FLAGS="--prefer-lowest" allow_failures: - php: nightly cache: dire...
fca2d1d72c281c1a2685694ebb85f1dda475a164
.travis.yml
.travis.yml
YAML
<|file_sep|>src/preprocessors/preprocessBinaryExistentialOperator.js.diff original: // ^^^ ^^^^^^^^^^^^^^ updated: // ^^^^^ ^^^^^^^^^^^^^^^^ <|file_sep|>original/src/preprocessors/preprocessBinaryExistentialOperator.js */ export default function preprocessBinaryExistentialOpe...
*/ export default function preprocessBinaryExistentialOperator(node, patcher) { if (node.type === 'ExistsOp') { // e.g. `if a? then a else b` // ^^^ patcher.insert(node.range[0], 'if '); if (node.left.type === 'Identifier') { // e.g. `a ? b` -> `if a? then a else b` // ^^^^^ ...
<|file_sep|>src/preprocessors/preprocessBinaryExistentialOperator.js.diff original: // ^^^ ^^^^^^^^^^^^^^ updated: // ^^^^^ ^^^^^^^^^^^^^^^^ <|file_sep|>original/src/preprocessors/preprocessBinaryExistentialOperator.js */ export default function preprocessBinaryExistentialOpe...
44201c312e45e5f516465d582dac5a5ef3e5f3c4
src/preprocessors/preprocessBinaryExistentialOperator.js
src/preprocessors/preprocessBinaryExistentialOperator.js
JavaScript
<|file_sep|>original/lambda/serverless.yml service: lambda frameworkVersion: ">=1.12.0 <2.0.0" provider: name: aws runtime: nodejs6.10 region: us-west-2 profile: tab-sls stage: dev # Package each function individually to reduce file sizes. # https://serverless.com/framework/docs/providers/aws/guide/packagi...
service: lambda frameworkVersion: ">=1.12.0 <2.0.0" provider: name: aws runtime: nodejs6.10 region: us-west-2 profile: tab-sls stage: dev iamRoleStatements: - Effect: "Allow" Action: - "dynamodb:BatchGetItem" - "dynamodb:BatchWriteItem" - "dynamodb:DeleteItem" - "...
<|file_sep|>original/lambda/serverless.yml service: lambda frameworkVersion: ">=1.12.0 <2.0.0" provider: name: aws runtime: nodejs6.10 region: us-west-2 profile: tab-sls stage: dev # Package each function individually to reduce file sizes. # https://serverless.com/framework/docs/providers/aws/guide/packagi...
4a0d69c5c71279178bcc9ac15903bdff21b8247c
lambda/serverless.yml
lambda/serverless.yml
YAML
<|file_sep|>original/shared_includes/shell.bash # $1 pattern $2 - directory $3 file extension function grepx() { grepc $1 $2 --include \*.$3; } #find files with extension in current directory function findex() { find . -type f -name \*.$1; } #find file by name recursively in current directory alias findf="find . -nam...
#BUILT INS alias a="ls -G" alias aa="a -a" alias aaa="aa -l" alias up="cd ../;a" #grep for pattern in files with extension #http://stackoverflow.com/questions/12516937/grep-but-only-certain-file-extensions # $1 pattern $2 - directory $3 file extension function grepx() { grepc $1 $2 --include \*.$3; } #find files wi...
<|file_sep|>original/shared_includes/shell.bash # $1 pattern $2 - directory $3 file extension function grepx() { grepc $1 $2 --include \*.$3; } #find files with extension in current directory function findex() { find . -type f -name \*.$1; } #find file by name recursively in current directory alias findf="find . -nam...
32e3f2b9d47f7ff9dfacecfe04e50f05e27633a1
shared_includes/shell.bash
shared_includes/shell.bash
Shell
<|file_sep|>original/chrome/browser/extensions/extension_webnavigation_apitest.cc #include "chrome/common/chrome_switches.h" IN_PROC_BROWSER_TEST_F(ExtensionApiTest, WebNavigation) { CommandLine::ForCurrentProcess()->AppendSwitch( switches::kEnableExperimentalExtensionApis); ASSERT_TRUE(RunExtensionTest("w...
#include "chrome/common/chrome_switches.h" IN_PROC_BROWSER_TEST_F(ExtensionApiTest, WebNavigation) { CommandLine::ForCurrentProcess()->AppendSwitch( switches::kEnableExperimentalExtensionApis); ASSERT_TRUE(RunExtensionTest("webnavigation/api")) << message_; } // Disabled, flakily exceeds timeout, http://c...
<|file_sep|>original/chrome/browser/extensions/extension_webnavigation_apitest.cc #include "chrome/common/chrome_switches.h" IN_PROC_BROWSER_TEST_F(ExtensionApiTest, WebNavigation) { CommandLine::ForCurrentProcess()->AppendSwitch( switches::kEnableExperimentalExtensionApis); ASSERT_TRUE(RunExtensionTest("w...
942da68b34b095fca18e138d322867165d1d7fde
chrome/browser/extensions/extension_webnavigation_apitest.cc
chrome/browser/extensions/extension_webnavigation_apitest.cc
C++
<|file_sep|>original/test/src/autocluster_sup_tests.erl meck:new(supervisor, [passthrough, unstick]) end, fun(_) -> meck:unload(supervisor) end, [ { "supervisor start_link", fun() -> meck:expect(supervisor, start_link, fun(_, _, _) -> {ok, test_result} end), ...
meck:new(supervisor, [passthrough, unstick]) end, fun(_) -> meck:unload(supervisor) end, [ { "supervisor start_link", fun() -> meck:expect(supervisor, start_link, fun(_, _, _) -> {ok, test_result} end), ?assertEqual({ok, test_result}, autocluster_sup:start_l...
<|file_sep|>original/test/src/autocluster_sup_tests.erl meck:new(supervisor, [passthrough, unstick]) end, fun(_) -> meck:unload(supervisor) end, [ { "supervisor start_link", fun() -> meck:expect(supervisor, start_link, fun(_, _, _) -> {ok, test_result} end), ...
c1a4bf458eff20ee6a5987e4a8d79961e1f5a23a
test/src/autocluster_sup_tests.erl
test/src/autocluster_sup_tests.erl
Erlang
<|file_sep|>problem-spring-web-autoconfigure/src/main/java/org/zalando/problem/spring/web/autoconfigure/security/SecurityConfiguration.java.diff original: updated: import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; <|file_sep|>original/problem-spring-web-autoconfigure/src/main/java/org/zalando...
import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Import; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter; import org.zalando.pro...
<|file_sep|>problem-spring-web-autoconfigure/src/main/java/org/zalando/problem/spring/web/autoconfigure/security/SecurityConfiguration.java.diff original: updated: import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; <|file_sep|>original/problem-spring-web-autoconfigure/src/main/java/org/zalando...
8c072a0e8448715ba942f3239e147292d28bcf06
problem-spring-web-autoconfigure/src/main/java/org/zalando/problem/spring/web/autoconfigure/security/SecurityConfiguration.java
problem-spring-web-autoconfigure/src/main/java/org/zalando/problem/spring/web/autoconfigure/security/SecurityConfiguration.java
Java
<|file_sep|>IntUITive.Selenium.Tests/IntuitivelyFindByIdTests.cs.diff original: public void Find_WithIdAsTerm_ReturnsSingleElement() updated: public void Find_WithIdAsTerm_ReturnsElement() <|file_sep|>IntUITive.Selenium.Tests/IntuitivelyFindByIdTests.cs.diff original: public void Find_WithCaseIn...
[TestFixture] public class IntuitivelyFindByIdTests : BaseIntuitivelyTests { [Test] public void Find_WithIdAsTerm_ReturnsElement() { var element = Intuitively.Find("uniqueId"); Assert.That(element.GetAttribute("id"), Is.EqualTo("uniqueId")); } ...
<|file_sep|>IntUITive.Selenium.Tests/IntuitivelyFindByIdTests.cs.diff original: public void Find_WithIdAsTerm_ReturnsSingleElement() updated: public void Find_WithIdAsTerm_ReturnsElement() <|file_sep|>IntUITive.Selenium.Tests/IntuitivelyFindByIdTests.cs.diff original: public void Find_WithCaseIn...
8a8d9193a7a93bfa34780cbe5b110ab2e0ba5f1c
IntUITive.Selenium.Tests/IntuitivelyFindByIdTests.cs
IntUITive.Selenium.Tests/IntuitivelyFindByIdTests.cs
C#
<|file_sep|>LICENSE.txt.diff original: Copyright 2016 Yelp Inc updated: Copyright (c) 2016 Yelp Inc <|file_sep|>LICENSE.txt.diff original: Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at updated: MIT...
MIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ...
<|file_sep|>LICENSE.txt.diff original: Copyright 2016 Yelp Inc updated: Copyright (c) 2016 Yelp Inc <|file_sep|>LICENSE.txt.diff original: Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at updated: MIT...
ee93ae436505469179a1f144b42c1c77399a91d0
LICENSE.txt
LICENSE.txt
Text
<|file_sep|>src/helpers.js.diff original: import { flatten, groupBy, map, omit } from 'lodash'; updated: import fp from 'lodash/fp'; <|file_sep|>src/helpers.js.diff original: export function populateByService(app, documents, idField, typeField, options) { let types = groupBy(documents, typeField); updated: const popu...
const populateByService = (app, idField, typeField, options) => (list) => { let types = fp.groupBy(typeField, list); return Promise.all( Object.keys(types).map((type) => { let entries = types[type]; return app.service(plural(type)).find(Object.assign({ query: { _id: { $in: fp.map(i...
<|file_sep|>src/helpers.js.diff original: import { flatten, groupBy, map, omit } from 'lodash'; updated: import fp from 'lodash/fp'; <|file_sep|>src/helpers.js.diff original: export function populateByService(app, documents, idField, typeField, options) { let types = groupBy(documents, typeField); updated: const popu...
360f33015fb0c4f7c33099b9b24cf6216f1adcc6
src/helpers.js
src/helpers.js
JavaScript
<|file_sep|>original/src/cpu/mos6510.rs <|file_sep|>current/src/cpu/mos6510.rs <|file_sep|>updated/src/cpu/mos6510.rs
use mem::Addressable; use super::cpu::CPU; use super::mos6502::Mos6502; /// The MOS65010 processor pub struct Mos6510 { priv cpu: Mos6502, // Core CPU is a MOS6502 priv port_ddr: u8, // CPU port data direction register priv port_dat: u8, // CPU port data register } impl Mos6510 { /// Create a new M...
<|file_sep|>original/src/cpu/mos6510.rs <|file_sep|>current/src/cpu/mos6510.rs <|file_sep|>updated/src/cpu/mos6510.rs use mem::Addressable; use super::cpu::CPU; use super::mos6502::Mos6502; /// The MOS65010 processor pub struct Mos6510 { priv cpu: Mos6502, // Core CPU is a MOS6502 priv port_ddr: u8, // C...
344796c128aaaf36d321062f34729f93e7749de5
src/cpu/mos6510.rs
src/cpu/mos6510.rs
Rust
<|file_sep|>original/src/main/java/com/williamschris/CustomerController.java @RequestMapping("/customer/{id}") public Customer getCustomer(@PathVariable String id){ return customerMap.get(id); } @RequestMapping("/customer") public List<Customer> getCustomers(){ List<Customer> custom...
@RequestMapping(value = "/customer", method = RequestMethod.POST) public void addCustomer(@RequestBody Customer c) { c.setId(customerIdGenerator); customerMap.put(String.valueOf(customerIdGenerator++), c); } @RequestMapping("/customer/{id}") public Customer getCustomer(@PathVariable...
<|file_sep|>original/src/main/java/com/williamschris/CustomerController.java @RequestMapping("/customer/{id}") public Customer getCustomer(@PathVariable String id){ return customerMap.get(id); } @RequestMapping("/customer") public List<Customer> getCustomers(){ List<Customer> custom...
c394277e3e3b010f83a75c7eea8acb5414c8dc2c
src/main/java/com/williamschris/CustomerController.java
src/main/java/com/williamschris/CustomerController.java
Java
<|file_sep|>README.md.diff original: #### <i class="icon-upload"></i> Download version [1.0](https://github.com/ragde085/CFDI-XMLtoPDF/raw/master/CFDIXMLtoPDFwpf/Installer/CFDI%20XML%20To%20PDF%20%20-%201.0.zip) updated: #### <i class="icon-upload"></i> Download [Beta 1](https://github.com/ragde085/CFDI-XMLtoPDF/raw/...
# CFDI-XMLtoPDF Bulk transforms CFDI XML to PDF using C#.Net WPF > **Developed using:** > - Requires E-Iceblue [Spire.PDF](https://www.e-iceblue.com/Introduce/free-pdf-component.html) > - QRCoder 1.2.9 Download Latest Version ----------------------- #### <i class="icon-upload"></i> Download [Beta 1](https://github.c...
<|file_sep|>README.md.diff original: #### <i class="icon-upload"></i> Download version [1.0](https://github.com/ragde085/CFDI-XMLtoPDF/raw/master/CFDIXMLtoPDFwpf/Installer/CFDI%20XML%20To%20PDF%20%20-%201.0.zip) updated: #### <i class="icon-upload"></i> Download [Beta 1](https://github.com/ragde085/CFDI-XMLtoPDF/raw/...
b0ab42e44093e5b52d3e0a31850c51f4a4c689ca
README.md
README.md
Markdown