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|>metadata/com.mschlauch.comfortreader.txt.diff original: updated: Build:1.9beta,7 commit=v1.9beta subdir=app gradle=yes <|file_sep|>original/metadata/com.mschlauch.comfortreader.txt include: supported file formats: txt and pdf displays; just the current phrase you are about to read; makes sur...
reading, reduces regression and expands your vision span; fully costumizable text appearance and reading configuration . Repo Type:git Repo:https://github.com/mschlauch/comfortreader Build:1.9alpha,6 commit=v1.9 subdir=app gradle=yes Build:1.9beta,7 commit=v1.9beta subdir=app gradle=yes Auto...
<|file_sep|>metadata/com.mschlauch.comfortreader.txt.diff original: updated: Build:1.9beta,7 commit=v1.9beta subdir=app gradle=yes <|file_sep|>original/metadata/com.mschlauch.comfortreader.txt include: supported file formats: txt and pdf displays; just the current phrase you are about to read; makes sur...
527588454b6b4bbfbf2783dae2bdeb8bd964827e
metadata/com.mschlauch.comfortreader.txt
metadata/com.mschlauch.comfortreader.txt
Text
<|file_sep|>azure-pipelines.yml.diff original: # ref: refs/heads/<branch-name> # for future testings on a branch of NSLS-II/profile-collection-ci updated: ref: refs/heads/main <|file_sep|>original/azure-pipelines.yml resources: repositories: - repository: templates type: github name: NSLS...
resources: repositories: - repository: templates type: github name: NSLS-II/profile-collection-ci ref: refs/heads/main endpoint: github jobs: - template: collection-2021-1.2.yml@templates parameters: beamline_acronym: HXN - template: nsls2-collection-2021-2.2.yml@templates ...
<|file_sep|>azure-pipelines.yml.diff original: # ref: refs/heads/<branch-name> # for future testings on a branch of NSLS-II/profile-collection-ci updated: ref: refs/heads/main <|file_sep|>original/azure-pipelines.yml resources: repositories: - repository: templates type: github name: NSLS...
c257ea567eb0aaa4149237df1e2a774ff16f2d0a
azure-pipelines.yml
azure-pipelines.yml
YAML
<|file_sep|>original/doc/example_manifests/breath_counting.json <|file_sep|>current/doc/example_manifests/breath_counting.json <|file_sep|>updated/doc/example_manifests/breath_counting.json
{ "name": "Breath Counting", "description": "Breath counting as a measure of mindfulness", "citations": [ { "author": "Levinson, DB", "title": "A mind you can count on: validating breath counting as a behavioral measure of mindfulness", "doi": "https://doi.org/10.3389/fpsyg.2014.01202" }...
<|file_sep|>original/doc/example_manifests/breath_counting.json <|file_sep|>current/doc/example_manifests/breath_counting.json <|file_sep|>updated/doc/example_manifests/breath_counting.json { "name": "Breath Counting", "description": "Breath counting as a measure of mindfulness", "citations": [ { "aut...
cf115ab20bffd4c74f23534bed0ad5224eee5cc5
doc/example_manifests/breath_counting.json
doc/example_manifests/breath_counting.json
JSON
<|file_sep|>original/src/test/resources/com/foundationdb/sql/pg/yaml/functional/test-many-through-many-in.yaml <|file_sep|>current/src/test/resources/com/foundationdb/sql/pg/yaml/functional/test-many-through-many-in.yaml <|file_sep|>updated/src/test/resources/com/foundationdb/sql/pg/yaml/functional/test-many-through-...
--- - CreateTable: artists (id serial PRIMARY KEY, name varchar(255)); --- - CreateTable: albums (id serial PRIMARY KEY, name varchar(255)); --- - CreateTable: albums_artists (album_id integer REFERENCES albums, artist_id integer REFERENCES artists); --- - Statement: INSERT INTO albums (name) VALUES ('A'), ('B'), ('C')...
<|file_sep|>original/src/test/resources/com/foundationdb/sql/pg/yaml/functional/test-many-through-many-in.yaml <|file_sep|>current/src/test/resources/com/foundationdb/sql/pg/yaml/functional/test-many-through-many-in.yaml <|file_sep|>updated/src/test/resources/com/foundationdb/sql/pg/yaml/functional/test-many-through-...
209845bfa0879914d334c16ab1824d511cf5d3b2
src/test/resources/com/foundationdb/sql/pg/yaml/functional/test-many-through-many-in.yaml
src/test/resources/com/foundationdb/sql/pg/yaml/functional/test-many-through-many-in.yaml
YAML
<|file_sep|>original/scripts/configs/github.coffee define [], () -> defaultRepo: repoUser: 'oerpub' repoName: 'textbook-demo' branch: 'master' <|file_sep|>current/scripts/configs/github.coffee define [], () -> defaultRepo: repoUser: 'oerpub' repoName: 'textbook-demo' branch: 'master' <|file_sep|>upd...
define [], () -> defaultRepo: repoUser: 'oerpub' repoName: 'textbook-demo' branch: ''
<|file_sep|>original/scripts/configs/github.coffee define [], () -> defaultRepo: repoUser: 'oerpub' repoName: 'textbook-demo' branch: 'master' <|file_sep|>current/scripts/configs/github.coffee define [], () -> defaultRepo: repoUser: 'oerpub' repoName: 'textbook-demo' branch: 'master' <|file_sep|>upd...
d09e4eaa29375b0c4dd752e14d56675426e55b0b
scripts/configs/github.coffee
scripts/configs/github.coffee
CoffeeScript
<|file_sep|>code/lib/mpe.tcl.diff original: # MPE event IDs updated: # MPE event ID <|file_sep|>code/lib/mpe.tcl.diff original: set event_names [ list metadata ] # debug set1 set1rA set1rB sum updated: <|file_sep|>code/lib/mpe.tcl.diff original: foreach e $event_names { ...
set mpe_ready 1 puts "metadata event ID: $event" } } # Add an arbitrary string to the MPE log as "metadata" # The string length limit is 32 proc metadata { stack result input } { turbine::rule "metadata-$input" $input $turbine::WORK \ "turbine::metada...
<|file_sep|>code/lib/mpe.tcl.diff original: # MPE event IDs updated: # MPE event ID <|file_sep|>code/lib/mpe.tcl.diff original: set event_names [ list metadata ] # debug set1 set1rA set1rB sum updated: <|file_sep|>code/lib/mpe.tcl.diff original: foreach e $event_names { ...
db829e8fda0301db54c96f49149918e52404fd31
code/lib/mpe.tcl
code/lib/mpe.tcl
Tcl
<|file_sep|>original/hephaestus/test/lib/resque/entities_extraction_task_test.rb <|file_sep|>current/hephaestus/test/lib/resque/entities_extraction_task_test.rb <|file_sep|>updated/hephaestus/test/lib/resque/entities_extraction_task_test.rb
require 'test_helper' describe EntitiesExtractionTask do let(:document){ FactoryGirl.create :document } let(:page) {FactoryGirl.create :page, from_pos: 0, to_pos: 100} let(:entities_extractor) { EntitiesExtractionTask.new(document.id) } let(:token) do stub(form: "form", lemma: "lemma", tag: "NP00SP0", ...
<|file_sep|>original/hephaestus/test/lib/resque/entities_extraction_task_test.rb <|file_sep|>current/hephaestus/test/lib/resque/entities_extraction_task_test.rb <|file_sep|>updated/hephaestus/test/lib/resque/entities_extraction_task_test.rb require 'test_helper' describe EntitiesExtractionTask do let(:document){ F...
e7fe57812a68a500e46563526182764b9860e9c7
hephaestus/test/lib/resque/entities_extraction_task_test.rb
hephaestus/test/lib/resque/entities_extraction_task_test.rb
Ruby
<|file_sep|>web/controllers/polls_controller.ex.diff original: #HTTPoison.post("https://1cb66526.ngrok.com/poll", Poison.encode!(params["polls"]), [{"Content-Type", "application/json"}]) updated: <|file_sep|>original/web/controllers/polls_controller.ex #HTTPoison.post("https://1cb66526.ngrok.com/poll", Poison.en...
def create(conn, params) do dict = params["polls"] answers = params["polls"] |> Enum.filter(fn({key, _value}) -> String.starts_with?(key, "answer") end) |> Enum.flat_map(fn({_key, value}) -> [value] end) dict = Dict.put(dict, :answers, answers) dict = Dict.put(dict, "mandatory", String.t...
<|file_sep|>web/controllers/polls_controller.ex.diff original: #HTTPoison.post("https://1cb66526.ngrok.com/poll", Poison.encode!(params["polls"]), [{"Content-Type", "application/json"}]) updated: <|file_sep|>original/web/controllers/polls_controller.ex #HTTPoison.post("https://1cb66526.ngrok.com/poll", Poison.en...
a38449b7e48c40a55b5adf6784a42bb207dbc87e
web/controllers/polls_controller.ex
web/controllers/polls_controller.ex
Elixir
<|file_sep|>original/www/index.php <?php // Include of configurations require_once("include/config.inc.php"); // Include of required libs require_once("include/functions.inc.php"); require_once("include/class.inc.php"); // Include valids users require_once("include/access.inc.php"); session_start(); // ...
<?php // Include of configurations require_once("include/config.inc.php"); // Include of required libs require_once("include/functions.inc.php"); // Include valids users require_once("include/access.inc.php"); session_start(); // TODO: Remove the second condition when the website is finished if (!iss...
<|file_sep|>original/www/index.php <?php // Include of configurations require_once("include/config.inc.php"); // Include of required libs require_once("include/functions.inc.php"); require_once("include/class.inc.php"); // Include valids users require_once("include/access.inc.php"); session_start(); // ...
ba5b9ffe77eecc94c0cf6627c1c9b5be2019afaf
www/index.php
www/index.php
PHP
<|file_sep|>original/config/tool_conf.xml <?xml version='1.0' encoding='utf-8'?> <toolbox> <label text="COMMON TOOLS" id="common" /> <section id="getext" name="Get Data"> <tool file="data_source/upload.xml" /> </section> <section id="extraction" name="Extract data"> <...
<tool file="extract/extract_similarity_search_report/extract_similarity_search_report.xml" /> </section> <label text="PRETREATMENTS" id="pretreatments" /> <section id="qualityControl" name="Control quality"> <tool file="quality_control/prinseq/prinseq.xml" /> </sectio...
<|file_sep|>original/config/tool_conf.xml <?xml version='1.0' encoding='utf-8'?> <toolbox> <label text="COMMON TOOLS" id="common" /> <section id="getext" name="Get Data"> <tool file="data_source/upload.xml" /> </section> <section id="extraction" name="Extract data"> <...
dca3a1e1bcff5686f2c3aa7c079310cc2c2087d3
config/tool_conf.xml
config/tool_conf.xml
XML
<|file_sep|>README.md.diff original: updated: sudo mv prevyu.sh /etc/init.d chmod 755 /etc/init.d/prevyu.sh sudo update-rc.d prevyu.sh defaults <|file_sep|>original/README.md source ~/.bashrc git clone https://github.com/baptistelabat/prevyu.git cd prevyu npm install dataviz-tangible npm install serialport SETUP...
npm install dataviz-tangible npm install serialport SETUP nano server.js Find 'myAPIKey' and replace it with your api key for forecast.io To launch automatically at start up, refer to http://www.pihomeserver.fr/2013/05/27/raspberry-pi-home-server-lancer-un-programme-automatiquement-au-demarrage/ sudo mv prevyu.s...
<|file_sep|>README.md.diff original: updated: sudo mv prevyu.sh /etc/init.d chmod 755 /etc/init.d/prevyu.sh sudo update-rc.d prevyu.sh defaults <|file_sep|>original/README.md source ~/.bashrc git clone https://github.com/baptistelabat/prevyu.git cd prevyu npm install dataviz-tangible npm install serialport SETUP...
75b29f1dd0e26d0d697ee93a000481bffb4c15bf
README.md
README.md
Markdown
<|file_sep|>original/CHANGELOG.md Version 1.0.2 (released on August 30th 2014) ------------- * Thx to Riccardo Ciovati for helping make the plugin work out of the box. * minor fixes and better logs. * LogLifeCycle now check if methods can be overriden. * CI * TODO tests Version 1.0.1 (released on August 23rd 2014) --...
Version 1.0.2 (released on August 30th 2014) ------------- * Thx to Riccardo Ciovati for helping make the plugin work out of the box. * minor fixes and better logs. * LogLifeCycle now check if methods can be overriden. * CI * Added tests and coverage Version 1.0.1 (released on August 23rd 2014) ------------- Support...
<|file_sep|>original/CHANGELOG.md Version 1.0.2 (released on August 30th 2014) ------------- * Thx to Riccardo Ciovati for helping make the plugin work out of the box. * minor fixes and better logs. * LogLifeCycle now check if methods can be overriden. * CI * TODO tests Version 1.0.1 (released on August 23rd 2014) --...
b85009ea2b78332777f25ed767358e1b73df8de0
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>original/mcrouter/lib/carbon/carbon.thrift <|file_sep|>current/mcrouter/lib/carbon/carbon.thrift <|file_sep|>updated/mcrouter/lib/carbon/carbon.thrift
namespace cpp2 carbon.thrift /** * This is mirroring the mc_res_t enum from mcrouter/lib/mc/msg.h */ enum Result { mc_res_unknown = 0, mc_res_deleted = 1 mc_res_touched = 2 mc_res_found = 3 mc_res_foundstale = 4 /* hot-miss w/ stale data */ mc_res_notfound = 5 mc_res_notfoundhot = 6 /* hot-miss w/o sta...
<|file_sep|>original/mcrouter/lib/carbon/carbon.thrift <|file_sep|>current/mcrouter/lib/carbon/carbon.thrift <|file_sep|>updated/mcrouter/lib/carbon/carbon.thrift namespace cpp2 carbon.thrift /** * This is mirroring the mc_res_t enum from mcrouter/lib/mc/msg.h */ enum Result { mc_res_unknown = 0, mc_res_delete...
ebb48f066555de42c652172a2e94d495e8e374d1
mcrouter/lib/carbon/carbon.thrift
mcrouter/lib/carbon/carbon.thrift
Thrift
<|file_sep|>original/win32/PlatWin.h // Scintilla source code edit control /** @file PlatWin.h ** Implementation of platform facilities on Windows. **/ // Copyright 1998-2011 by Neil Hodgson <neilh@scintilla.org> // The License.txt file describes the conditions under which this software may be distributed. extern bo...
// Scintilla source code edit control /** @file PlatWin.h ** Implementation of platform facilities on Windows. **/ // Copyright 1998-2011 by Neil Hodgson <neilh@scintilla.org> // The License.txt file describes the conditions under which this software may be distributed. extern bool IsNT(); extern void Platform_Initi...
<|file_sep|>original/win32/PlatWin.h // Scintilla source code edit control /** @file PlatWin.h ** Implementation of platform facilities on Windows. **/ // Copyright 1998-2011 by Neil Hodgson <neilh@scintilla.org> // The License.txt file describes the conditions under which this software may be distributed. extern bo...
1237be33a5d1f857ddd488ec1ea7137d00152100
win32/PlatWin.h
win32/PlatWin.h
C
<|file_sep|>original/features/step_definitions/login_steps.rb expect(page).to have_css('.nyu-login a.login') end Then(/^I should see "(.*?)" as the text of the login link$/) do |text| login_link = find(:css, '.nyu-login a.login') expect(login_link).to have_text text end Then(/^I should a logout link$/) do exp...
expect(page).to have_css('.nyu-login a.login') end Then(/^I should see "(.*?)" as the text of the login link$/) do |text| login_link = find(:css, '.nyu-login a.login') expect(login_link).to have_text text end Then(/^I should a logout link$/) do expect(page).to have_css('.nyu-login i.icons-famfamfam-lock') e...
<|file_sep|>original/features/step_definitions/login_steps.rb expect(page).to have_css('.nyu-login a.login') end Then(/^I should see "(.*?)" as the text of the login link$/) do |text| login_link = find(:css, '.nyu-login a.login') expect(login_link).to have_text text end Then(/^I should a logout link$/) do exp...
36348303c7ef82567b9277e6bba5ad2014a34b3d
features/step_definitions/login_steps.rb
features/step_definitions/login_steps.rb
Ruby
<|file_sep|>.dotfiles/shell/editors.zsh.diff original: export VISUAL=`which subl` # `which atom` updated: export EDITOR='vi -e' export VISUAL='subl' #'/usr/bin/vim' <|file_sep|>original/.dotfiles/shell/editors.zsh function o { if [ -z "$1" ] ; then open . else # -t Causes the given path to be opened with t...
# o quick open alias - with no args, opens finder to the current dir function o { if [ -z "$1" ] ; then open . else # -t Causes the given path to be opened with the default app, as determined via LaunchServices open -t "$*" fi } #---------------------------------------------------------------------...
<|file_sep|>.dotfiles/shell/editors.zsh.diff original: export VISUAL=`which subl` # `which atom` updated: export EDITOR='vi -e' export VISUAL='subl' #'/usr/bin/vim' <|file_sep|>original/.dotfiles/shell/editors.zsh function o { if [ -z "$1" ] ; then open . else # -t Causes the given path to be opened with t...
755738733003abe086f8b649f7a80a237d8fe0fe
.dotfiles/shell/editors.zsh
.dotfiles/shell/editors.zsh
Shell
<|file_sep|>original/src/servisne_info/utils.clj (ns servisne-info.utils (:require [environ.core :refer [env]])) (defn production? [] (== (env :app-environment) "production") <|file_sep|>current/src/servisne_info/utils.clj (ns servisne-info.utils (:require [environ.core :refer [env]])) (defn production? [] (=...
(ns servisne-info.utils (:require [environ.core :refer [env]])) (defn production? [] (== (env :app-environment) "production"))
<|file_sep|>original/src/servisne_info/utils.clj (ns servisne-info.utils (:require [environ.core :refer [env]])) (defn production? [] (== (env :app-environment) "production") <|file_sep|>current/src/servisne_info/utils.clj (ns servisne-info.utils (:require [environ.core :refer [env]])) (defn production? [] (=...
1573707b99c18e108d41065c561df62cfec7660e
src/servisne_info/utils.clj
src/servisne_info/utils.clj
Clojure
<|file_sep|>sky/unit/test/widget/date_picker_test.dart.diff original: updated: tester.tap(tester.findText('2015')); tester.pumpFrame(builder); // TODO(jackson): We shouldn't need to pump a second frame here. tester.pumpFrame(builder); tester.tap(tester.findText('2014')); tester.pumpFrame(builde...
]); } tester.pumpFrame(builder); // TODO(abarth): We shouldn't need to pump a second frame here. tester.pumpFrame(builder); expect(currentValue, isNull); tester.tap(tester.findText('2015')); tester.pumpFrame(builder); // TODO(jackson): We shouldn't need to pump a second frame her...
<|file_sep|>sky/unit/test/widget/date_picker_test.dart.diff original: updated: tester.tap(tester.findText('2015')); tester.pumpFrame(builder); // TODO(jackson): We shouldn't need to pump a second frame here. tester.pumpFrame(builder); tester.tap(tester.findText('2014')); tester.pumpFrame(builde...
1ca557929a5d24d18ce650902073863cc84ccb31
sky/unit/test/widget/date_picker_test.dart
sky/unit/test/widget/date_picker_test.dart
Dart
<|file_sep|>original/build/ci/macos.yml jobs: - job: 'macOS_${{ parameters.mode }}' displayName: 'macOS (${{ parameters.mode }})' variables: - name: CCACHE_DIR value: $(Build.SourcesDirectory)/ccache pool: vmImage: macOS-11 steps: - script: | brew install ccache d...
jobs: - job: 'macOS_${{ parameters.mode }}' displayName: 'macOS (${{ parameters.mode }})' variables: - name: CCACHE_DIR value: $(Build.SourcesDirectory)/ccache pool: vmImage: macOS-12 steps: - script: | brew install ccache displayName: 'Dependencies' - templa...
<|file_sep|>original/build/ci/macos.yml jobs: - job: 'macOS_${{ parameters.mode }}' displayName: 'macOS (${{ parameters.mode }})' variables: - name: CCACHE_DIR value: $(Build.SourcesDirectory)/ccache pool: vmImage: macOS-11 steps: - script: | brew install ccache d...
fac8ae0b001df229457f958cce6041231ac8e481
build/ci/macos.yml
build/ci/macos.yml
YAML
<|file_sep|>original/operations/experimental/enable-service-discovery.yml <|file_sep|>current/operations/experimental/enable-service-discovery.yml <|file_sep|>updated/operations/experimental/enable-service-discovery.yml
--- # requires capi-release > v1.47.0 # requires bosh-dns-release >= 0.2.0 # requires opsfile: https://github.com/cloudfoundry/cf-deployment/blob/master/operations/experimental/use-bosh-dns-for-containers.yml - type: replace path: /instance_groups/name=diego-cell/jobs/- value: name: bosh-dns-adapter release...
<|file_sep|>original/operations/experimental/enable-service-discovery.yml <|file_sep|>current/operations/experimental/enable-service-discovery.yml <|file_sep|>updated/operations/experimental/enable-service-discovery.yml --- # requires capi-release > v1.47.0 # requires bosh-dns-release >= 0.2.0 # requires opsfile: htt...
1cd6493e13eb04f8d0dbabcb6d6a0a2f399e8376
operations/experimental/enable-service-discovery.yml
operations/experimental/enable-service-discovery.yml
YAML
<|file_sep|>index.js.diff original: if (_.isFunction(result.nextPage)) { updated: if (result && _.isFunction(result.nextPage)) { <|file_sep|>index.js.diff original: }).catch((err) => { updated: }) .catch((err) => { <|file_sep|>original/index.js module.exports = function loadAllPages (callFx, opt...
return Promise .resolve(callFx(opts)) .then((result) => { arr.push(result) if (result && _.isFunction(result.nextPage)) { opts.page = opts.page + 1 return loadAllPages(callFx, opts) } else { var newArr = arr arr = [] return _.flatten(newArr) } ...
<|file_sep|>index.js.diff original: if (_.isFunction(result.nextPage)) { updated: if (result && _.isFunction(result.nextPage)) { <|file_sep|>index.js.diff original: }).catch((err) => { updated: }) .catch((err) => { <|file_sep|>original/index.js module.exports = function loadAllPages (callFx, opt...
12bbc10a2aadbe19bafe922696b32ceb396d90c2
index.js
index.js
JavaScript
<|file_sep|>original/package.json { "author": "David Pavlík", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/xxdavid/lastfm-friends-who-listen.git" }, "dependencies": { "async": "^2.0.0-rc.6", "jquery": "^2.1.4", "lockr": "^0.8.4", "lscache": "^1.0.5", ...
{ "author": "David Pavlík", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/xxdavid/lastfm-friends-who-listen.git" }, "dependencies": { "async": "^2.0.0-rc.6", "jquery": "^3.3.1", "lockr": "^0.8.4", "lscache": "^1.0.5", "nanobar": "^0.2.1", "react": ...
<|file_sep|>original/package.json { "author": "David Pavlík", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/xxdavid/lastfm-friends-who-listen.git" }, "dependencies": { "async": "^2.0.0-rc.6", "jquery": "^2.1.4", "lockr": "^0.8.4", "lscache": "^1.0.5", ...
6c5914ab166430fc2d112b1389056196098d82a3
package.json
package.json
JSON
<|file_sep|>original/src/Constructors/LgtmFiles.php * * @return void */ public function run() { if ($this->settings->withLgtmConfiguration()) { $this->filesystem->copy( __DIR__ . '/../stubs/MAINTAINERS.stub', $this->settings->getProjectLower() ....
* * @return void */ public function run() { if ($this->settings->withLgtmConfiguration()) { $this->filesystem->copy( __DIR__ . '/../stubs/MAINTAINERS.stub', $this->settings->getProjectLower() . '/' . 'MAINTAINERS' ); $th...
<|file_sep|>original/src/Constructors/LgtmFiles.php * * @return void */ public function run() { if ($this->settings->withLgtmConfiguration()) { $this->filesystem->copy( __DIR__ . '/../stubs/MAINTAINERS.stub', $this->settings->getProjectLower() ....
17e24cbc31e7259aa368c128dbd3ca68963672ba
src/Constructors/LgtmFiles.php
src/Constructors/LgtmFiles.php
PHP
<|file_sep|>cico_run_pydoc.sh.diff original: updated: check_python_version() { python3 tools/check_python_version.py 3 6 } <|file_sep|>original/cico_run_pydoc.sh #!/bin/bash set -ex prep() { yum -y update yum -y install epel-release yum -y install python36 python36-virtualenv which } prep ./check-d...
#!/bin/bash set -ex prep() { yum -y update yum -y install epel-release yum -y install python36 python36-virtualenv which } check_python_version() { python3 tools/check_python_version.py 3 6 } prep check_python_version ./check-docstyle.sh
<|file_sep|>cico_run_pydoc.sh.diff original: updated: check_python_version() { python3 tools/check_python_version.py 3 6 } <|file_sep|>original/cico_run_pydoc.sh #!/bin/bash set -ex prep() { yum -y update yum -y install epel-release yum -y install python36 python36-virtualenv which } prep ./check-d...
b6c8e7c11e620a4ad786004631b125a4d119b5fa
cico_run_pydoc.sh
cico_run_pydoc.sh
Shell
<|file_sep|>original/h2o-py/tests/testdir_algos/deeplearning/pyunit_iris_basic_deeplearning.py from builtins import range import sys, os sys.path.insert(1, os.path.join("..","..")) import h2o from tests import pyunit_utils from h2o.estimators.deeplearning import H2ODeepLearningEstimator def deeplearning_basic(): ...
from builtins import range import sys, os sys.path.insert(1, "../../../") import h2o from tests import pyunit_utils from h2o.estimators.deeplearning import H2ODeepLearningEstimator def deeplearning_basic(): iris_hex = h2o.import_file(path=pyunit_utils.locate("smalldata/iris/iris.csv")) hh = H2ODeepLearningEstim...
<|file_sep|>original/h2o-py/tests/testdir_algos/deeplearning/pyunit_iris_basic_deeplearning.py from builtins import range import sys, os sys.path.insert(1, os.path.join("..","..")) import h2o from tests import pyunit_utils from h2o.estimators.deeplearning import H2ODeepLearningEstimator def deeplearning_basic(): ...
7acd0f07522aa1752585f519109129f9e9b8687e
h2o-py/tests/testdir_algos/deeplearning/pyunit_iris_basic_deeplearning.py
h2o-py/tests/testdir_algos/deeplearning/pyunit_iris_basic_deeplearning.py
Python
<|file_sep|>config/bootstrap.php.diff original: throw new RuntimeException('Please run "composer require symfony/dotenv" to load the ".env" files configuring the application.'); updated: throw new RuntimeException( 'Please run "composer require symfony/dotenv" to load the ".env" files configuring the ap...
require dirname(__DIR__).'/vendor/autoload.php'; // Load cached env vars if the .env.local.php file exists // Run "composer dump-env prod" to create it (requires symfony/flex >=1.2) if (is_array($env = @include dirname(__DIR__).'/.env.local.php')) { $_SERVER += $env; $_ENV += $env; } elseif (!class_exists(Dot...
<|file_sep|>config/bootstrap.php.diff original: throw new RuntimeException('Please run "composer require symfony/dotenv" to load the ".env" files configuring the application.'); updated: throw new RuntimeException( 'Please run "composer require symfony/dotenv" to load the ".env" files configuring the ap...
9a8f7594418f78406838b3db131bc03263594ffd
config/bootstrap.php
config/bootstrap.php
PHP
<|file_sep|>original/develop_requirements.txt ansible==2.7.2 pip==18.1 wheel==0.32.3 watchdog==0.9.0 flake8==3.5.0 tox==3.5.3 coverage==4.5.2 Sphinx==1.8.2 twine==1.12.1 rstcheck==3.3.1 pycodestyle==2.4.0 pylint==2.2.1 <|file_sep|>current/develop_requirements.txt ansible==2.7.2 pip==18.1 wheel==0.32.3 watchdog==0.9.0 ...
ansible==2.7.2 pip==18.1 wheel==0.32.3 watchdog==0.9.0 flake8==3.5.0 tox==3.5.3 coverage==4.5.2 Sphinx==1.8.2 twine==1.12.1 rstcheck==3.3.1 pycodestyle==2.4.0 pylint==2.2.2
<|file_sep|>original/develop_requirements.txt ansible==2.7.2 pip==18.1 wheel==0.32.3 watchdog==0.9.0 flake8==3.5.0 tox==3.5.3 coverage==4.5.2 Sphinx==1.8.2 twine==1.12.1 rstcheck==3.3.1 pycodestyle==2.4.0 pylint==2.2.1 <|file_sep|>current/develop_requirements.txt ansible==2.7.2 pip==18.1 wheel==0.32.3 watchdog==0.9.0 ...
3848bd880de1925708d1640bb792f16d293b75e2
develop_requirements.txt
develop_requirements.txt
Text
<|file_sep|>original/.travis.yml sudo: true dist: xenial #services: # - docker #language: python #python: # - "3.4" script: # Get command line help - boot/bionitio-boot.sh -h <|file_sep|>current/.travis.yml sudo: true dist: xenial #services: # - docker #language: python #python: # - "3.4" script: # Get com...
sudo: true dist: xenial #services: # - docker #language: python #python: # - "3.4" script: # Get command line help - boot/bionitio-boot.sh -h # Create a new repository using Python - boot/bionitio-boot.sh -i python -n skynet -c BSD-3-Clause -g cyberdyne -a 'Miles Bennett Dyson' -e 'miles@cyberdyne.com'
<|file_sep|>original/.travis.yml sudo: true dist: xenial #services: # - docker #language: python #python: # - "3.4" script: # Get command line help - boot/bionitio-boot.sh -h <|file_sep|>current/.travis.yml sudo: true dist: xenial #services: # - docker #language: python #python: # - "3.4" script: # Get com...
7644f3cbc38d09c94d06954041575d053b8e8a43
.travis.yml
.travis.yml
YAML
<|file_sep|>original/ReQL-expr-test.cpp using namespace ReQL; TEST_CASE("Connection", "[c++][connect]") { Connection conn = connect(); REQUIRE(conn.isOpen()); } TEST_CASE("Expr", "[c][expr]") { SECTION("number") { _ReQL_Op_t num; const double val = 42.0; _reql_number_init(&num, val); CHECK(...
using namespace ReQL; TEST_CASE("Connection", "[c++][connect]") { Connection conn = connect(); REQUIRE(conn.isOpen()); } TEST_CASE("Expr", "[c][expr]") { SECTION("null") { _ReQL_Op_t null; _reql_null_init(&null); CHECK(_reql_datum_type(&null) == _REQL_R_NULL); } SECTION("number") { _ReQL...
<|file_sep|>original/ReQL-expr-test.cpp using namespace ReQL; TEST_CASE("Connection", "[c++][connect]") { Connection conn = connect(); REQUIRE(conn.isOpen()); } TEST_CASE("Expr", "[c][expr]") { SECTION("number") { _ReQL_Op_t num; const double val = 42.0; _reql_number_init(&num, val); CHECK(...
29adb0f188598baf996834fd4ae35e62673bee07
ReQL-expr-test.cpp
ReQL-expr-test.cpp
C++
<|file_sep|>original/app/controllers/api/v1/api_keys_controller.rb class Api::V1::ApiKeysController < Api::BaseController before_action :redirect_to_root, unless: :signed_in?, only: [:reset] def show authenticate_or_request_with_http_basic do |username, password| sign_in User.authenticate(username, passw...
class Api::V1::ApiKeysController < Api::BaseController before_action :verify_authenticity_token, only: :reset before_action :redirect_to_root, unless: :signed_in?, only: [:reset] def show authenticate_or_request_with_http_basic do |username, password| sign_in User.authenticate(username, password) ...
<|file_sep|>original/app/controllers/api/v1/api_keys_controller.rb class Api::V1::ApiKeysController < Api::BaseController before_action :redirect_to_root, unless: :signed_in?, only: [:reset] def show authenticate_or_request_with_http_basic do |username, password| sign_in User.authenticate(username, passw...
cc492ed91c0865ceac5554ebb56ed57f9506237d
app/controllers/api/v1/api_keys_controller.rb
app/controllers/api/v1/api_keys_controller.rb
Ruby
<|file_sep|>original/README.md pullmate ======== A bookmarklet to quickly hop from a github diff to the line in textmate <|file_sep|>current/README.md pullmate ======== A bookmarklet to quickly hop from a github diff to the line in textmate <|file_sep|>updated/README.md
pullmate ======== A bookmarklet to quickly hop from a github diff to the line in textmate. Tested with textmate 2. Installation (chrome): ---------------------- 1. Grab the bookmarklet js file and tweak the part that says `/Users/nick/reponame/` to the appropriate path to your root repo folder. Be sure to keep the ...
<|file_sep|>original/README.md pullmate ======== A bookmarklet to quickly hop from a github diff to the line in textmate <|file_sep|>current/README.md pullmate ======== A bookmarklet to quickly hop from a github diff to the line in textmate <|file_sep|>updated/README.md pullmate ======== A bookmarklet to quickly hop...
ae209484ac1c7645cb06b86616eb4de1bae3dbef
README.md
README.md
Markdown
<|file_sep|>original/CONTRIBUTING.md <|file_sep|>current/CONTRIBUTING.md <|file_sep|>updated/CONTRIBUTING.md
# How to contribute We welcome contributions and are pleased to have them. Please follow this guide when logging issues or making code changes. ## Logging Issues All issues should be created using the [new issue form](https://github.com/devinivy/dogwater/issues/new). Clearly describe the issue including steps to repr...
<|file_sep|>original/CONTRIBUTING.md <|file_sep|>current/CONTRIBUTING.md <|file_sep|>updated/CONTRIBUTING.md # How to contribute We welcome contributions and are pleased to have them. Please follow this guide when logging issues or making code changes. ## Logging Issues All issues should be created using the [new i...
fcfe8f0ee42dc8a14f6336fa3f716bbf12e17500
CONTRIBUTING.md
CONTRIBUTING.md
Markdown
<|file_sep|>static/locales/en-GB/messages.properties.diff original: updated: navigation-title=Pontoon Intro navigation-developers=Developers <|file_sep|>original/static/locales/en-GB/messages.properties # Title tag # Navigation # Header upper-title=Pontoon by Mozilla headline-1=LocaliSe the web. # What what-desc=Po...
# Title tag # Navigation navigation-title=Pontoon Intro navigation-developers=Developers # Header upper-title=Pontoon by Mozilla headline-1=LocaliSe the web. headline-2=In Place. call-to-action=Tell Me More # What what-desc=Pontoon allows you to localise web content in place, with context and spatial limitations rig...
<|file_sep|>static/locales/en-GB/messages.properties.diff original: updated: navigation-title=Pontoon Intro navigation-developers=Developers <|file_sep|>original/static/locales/en-GB/messages.properties # Title tag # Navigation # Header upper-title=Pontoon by Mozilla headline-1=LocaliSe the web. # What what-desc=Po...
e36c957f289bb1589e5b1010e10400322ad00ed1
static/locales/en-GB/messages.properties
static/locales/en-GB/messages.properties
INI
<|file_sep|>original/controls/class-kirki-controls.php <|file_sep|>current/controls/class-kirki-controls.php <|file_sep|>updated/controls/class-kirki-controls.php
<?php /** * Customizer Controls Init. * * @package Kirki * @subpackage Controls * @copyright Copyright (c) 2017, Aristeides Stathopoulos * @license http://opensource.org/licenses/https://opensource.org/licenses/MIT * @since 3.0.17 */ /** * Controls. */ class Kirki_Controls { /** * An arr...
<|file_sep|>original/controls/class-kirki-controls.php <|file_sep|>current/controls/class-kirki-controls.php <|file_sep|>updated/controls/class-kirki-controls.php <?php /** * Customizer Controls Init. * * @package Kirki * @subpackage Controls * @copyright Copyright (c) 2017, Aristeides Stathopoulos * @li...
73feb16e7ad7778f6964135bad34a1bd154a963e
controls/class-kirki-controls.php
controls/class-kirki-controls.php
PHP
<|file_sep|>original/src/index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Data visualization for the web with D3.js / Visualisation de données pour le web avec D3.js</title> </head> <body> <noscript> <ul> <li><a href="en/">Data visualization for the web with D3.js (English)</a...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Data visualization for the web with D3.js / Visualisation de données pour le web avec D3.js - Pablo Tamarit</title> </head> <body> <noscript> <ul> <li><a href="en/">Data visualization for the web with D3.js (English)</a></li> <li><a hr...
<|file_sep|>original/src/index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Data visualization for the web with D3.js / Visualisation de données pour le web avec D3.js</title> </head> <body> <noscript> <ul> <li><a href="en/">Data visualization for the web with D3.js (English)</a...
6db39a06a30ed2504ce174d453378952583021ca
src/index.html
src/index.html
HTML
<|file_sep|>docs/runners.md.diff original: updated: ``` <|file_sep|>docs/runners.md.diff original: updated: ```php <|file_sep|>docs/runners.md.diff original: updated: ``` <|file_sep|>docs/runners.md.diff original: updated: ```php <|file_sep|>docs/runners.md.diff original: updated: ``` <|file_sep|>original/docs/run...
```php /** * What to do when removing the file * * @return void */ public function removeFile(); ``` ```php /** * Determine which lines need to be removed by the importer. * * By default, the lines that were not present in the import file are * removed after the other lines are updated, added or remained unch...
<|file_sep|>docs/runners.md.diff original: updated: ``` <|file_sep|>docs/runners.md.diff original: updated: ```php <|file_sep|>docs/runners.md.diff original: updated: ``` <|file_sep|>docs/runners.md.diff original: updated: ```php <|file_sep|>docs/runners.md.diff original: updated: ``` <|file_sep|>original/docs/run...
5027d7671f4bf63c1cb013605f84a0af50cec64d
docs/runners.md
docs/runners.md
Markdown
<|file_sep|>original/tools/valgrind/gtest_exclude/base_unittests.gtest.txt # Crashes occasionally, see http://crbug.com/7477 ObserverListThreadSafeTest.CrossThreadObserver ObserverListThreadSafeTest.CrossThreadNotifications # Hangs sometimes on linux, see http://crbug.com/22138 ClipboardTest.* # These tests trigger ...
ObserverListThreadSafeTest.CrossThreadNotifications # Hangs sometimes on linux, see http://crbug.com/22138 ClipboardTest.* # These tests trigger a CHECK so they will leak memory. They don't test # anything else, so just disable them on valgrind. Bug 28179. OutOfMemoryDeathTest.* # Flaky under slow tools or just whe...
<|file_sep|>original/tools/valgrind/gtest_exclude/base_unittests.gtest.txt # Crashes occasionally, see http://crbug.com/7477 ObserverListThreadSafeTest.CrossThreadObserver ObserverListThreadSafeTest.CrossThreadNotifications # Hangs sometimes on linux, see http://crbug.com/22138 ClipboardTest.* # These tests trigger ...
57feac374db62ad377dc347a6f94753a47ee2d5c
tools/valgrind/gtest_exclude/base_unittests.gtest.txt
tools/valgrind/gtest_exclude/base_unittests.gtest.txt
Text
<|file_sep|>original/usage/jsgui/src/test/javascript/config.txt "brooklyn-utils":"js/libs/brooklyn-utils", "datatables-extensions":"js/libs/dataTables.extensions", "googlemaps":"view/googlemaps", "text":"js/libs/text", "model":"js/model", "view":"js/view", "route...
"googlemaps":"view/googlemaps", "text":"js/libs/text", "model":"js/model", "view":"js/view", "router":"js/router" }, shim:{ "underscore":{ exports:"_" }, "backbone":{ deps:[ "underscore", "jquery" ], exports:"Ba...
<|file_sep|>original/usage/jsgui/src/test/javascript/config.txt "brooklyn-utils":"js/libs/brooklyn-utils", "datatables-extensions":"js/libs/dataTables.extensions", "googlemaps":"view/googlemaps", "text":"js/libs/text", "model":"js/model", "view":"js/view", "route...
78028b276836a567e4d57d05b39999418026cc3d
usage/jsgui/src/test/javascript/config.txt
usage/jsgui/src/test/javascript/config.txt
Text
<|file_sep|>original/.profile.d/iterm.sh <|file_sep|>current/.profile.d/iterm.sh <|file_sep|>updated/.profile.d/iterm.sh
#!/usr/bin/env bash # Installed by iTerm's "Install Shell Integration" function. test -e "${HOME}/.iterm2_shell_integration.bash" && \ source "${HOME}/.iterm2_shell_integration.bash"
<|file_sep|>original/.profile.d/iterm.sh <|file_sep|>current/.profile.d/iterm.sh <|file_sep|>updated/.profile.d/iterm.sh #!/usr/bin/env bash # Installed by iTerm's "Install Shell Integration" function. test -e "${HOME}/.iterm2_shell_integration.bash" && \ source "${HOME}/.iterm2_shell_integration.bash"
90acffbdd3e0d50350dbe906bc9cb4d5b1e243ab
.profile.d/iterm.sh
.profile.d/iterm.sh
Shell
<|file_sep|>original/.travis_install.bash #! /bin/bash set -o errexit set -o nounset install_ponyc(){ echo -e "\033[0;32mInstalling latest ponyc release\033[0m" sudo add-apt-repository ppa:ponylang/ponylang -y sudo apt-get update sudo apt-get -V install ponyc -y } install_ponyc <|file_sep|>current/.travis_in...
#! /bin/bash set -o errexit set -o nounset install_ponyc(){ echo -e "\033[0;32mInstalling latest ponyc release\033[0m" sudo add-apt-repository ppa:ponylang/ponylang -y sudo apt-get update # NOTE: libpcre2-dev is specified because otherwise # apt refuses to install it and everything fails sudo apt-get -V i...
<|file_sep|>original/.travis_install.bash #! /bin/bash set -o errexit set -o nounset install_ponyc(){ echo -e "\033[0;32mInstalling latest ponyc release\033[0m" sudo add-apt-repository ppa:ponylang/ponylang -y sudo apt-get update sudo apt-get -V install ponyc -y } install_ponyc <|file_sep|>current/.travis_in...
1ae444c62beb1495c8eb28ac7ffaf4b8958cce15
.travis_install.bash
.travis_install.bash
Shell
<|file_sep|>original/requirements.txt -e . # General test libraries tox==2.9.1 pytest==3.3.0 pytest-django==3.1.1 pytest-isort==0.1.0 tzlocal==1.2.2 # Pep8 and code quality checkers flake8==3.2.1 pytest-cov==2.2.1 coverage==4.2 # Fixtures, test helpers factory-boy==2.7.0 mock==2.0.0 # General dependencies django==...
-e . # General test libraries tox==2.9.1 pytest==3.3.0 pytest-django==3.1.2 pytest-isort==0.1.0 tzlocal==1.2.2 # Pep8 and code quality checkers flake8==3.2.1 pytest-cov==2.2.1 coverage==4.2 # Fixtures, test helpers factory-boy==2.7.0 mock==2.0.0 # General dependencies django==1.10.3
<|file_sep|>original/requirements.txt -e . # General test libraries tox==2.9.1 pytest==3.3.0 pytest-django==3.1.1 pytest-isort==0.1.0 tzlocal==1.2.2 # Pep8 and code quality checkers flake8==3.2.1 pytest-cov==2.2.1 coverage==4.2 # Fixtures, test helpers factory-boy==2.7.0 mock==2.0.0 # General dependencies django==...
b0c905334611167bfe3d716ccec6e4501c0ad6ba
requirements.txt
requirements.txt
Text
<|file_sep|>original/app/models/hound_config.rb class HoundConfig CONFIG_FILE = ".hound.yml" BETA_LANGUAGES = %w( eslint jscs mdast python swift ) LANGUAGES = %w( coffeescript go haml javascript python ruby scss swift ) attr_reader_initialize :commit <|fi...
class HoundConfig CONFIG_FILE = ".hound.yml" BETA_LANGUAGES = %w( eslint jscs jshint mdast python swift ) LANGUAGES = %w( coffeescript go haml javascript python ruby scss swift )
<|file_sep|>original/app/models/hound_config.rb class HoundConfig CONFIG_FILE = ".hound.yml" BETA_LANGUAGES = %w( eslint jscs mdast python swift ) LANGUAGES = %w( coffeescript go haml javascript python ruby scss swift ) attr_reader_initialize :commit <|fi...
d9cef542c516a2a570fc22e4a6117118a3710b41
app/models/hound_config.rb
app/models/hound_config.rb
Ruby
<|file_sep|>original/code/ElementalGridFieldDeleteAction.php class ElementalGridFieldDeleteAction extends GridFieldDeleteAction { public function getColumnContent($gridField, $record, $columnName) { if(!$record->canEdit()) return; $field = new CompositeField(); if($record->getClassName() != "El...
class ElementalGridFieldDeleteAction extends GridFieldDeleteAction { public function getColumnContent($gridField, $record, $columnName) { if(!$record->canEdit()) return; $field = new CompositeField(); if(!$record instanceof ElementVirtualLinked) { $field->push(GridField_FormAction::cr...
<|file_sep|>original/code/ElementalGridFieldDeleteAction.php class ElementalGridFieldDeleteAction extends GridFieldDeleteAction { public function getColumnContent($gridField, $record, $columnName) { if(!$record->canEdit()) return; $field = new CompositeField(); if($record->getClassName() != "El...
4d286711f36e929e3150d7b446810af5db15d162
code/ElementalGridFieldDeleteAction.php
code/ElementalGridFieldDeleteAction.php
PHP
<|file_sep|>original/lib/omniauth/strategies/headers.rb require 'omniauth' module OmniAuth module Strategies class Headers include OmniAuth::Strategy option :headers, {uid: 'HTTP_USER_ID', email: 'HTTP_EMAIL'} option :uid_field, :uid uid do request.env[options.headers[options.ui...
require 'omniauth' module OmniAuth module Strategies class Headers include OmniAuth::Strategy option :headers, {uid: 'HTTP_USER_ID', email: 'HTTP_EMAIL'} option :uid_field, :uid def request_phase redirect callback_url end uid do request.env[options.headers[o...
<|file_sep|>original/lib/omniauth/strategies/headers.rb require 'omniauth' module OmniAuth module Strategies class Headers include OmniAuth::Strategy option :headers, {uid: 'HTTP_USER_ID', email: 'HTTP_EMAIL'} option :uid_field, :uid uid do request.env[options.headers[options.ui...
401111d0eac2ee4aa221b867e23a88be0afb6178
lib/omniauth/strategies/headers.rb
lib/omniauth/strategies/headers.rb
Ruby
<|file_sep|>modoboa/templates/common/buttons_list.html.diff original: <nav class="navbar" role="navigation"> <div class="container-fluid"> updated: <|file_sep|>modoboa/templates/common/buttons_list.html.diff original: <div class="navbar-header"> <button type="button" class="navbar-toggle" data-...
{% load lib_tags %} <!-- Brand and toggle get grouped for better mobile display --> <div class="btn-toolbar {{ extraclasses }}">{% for entry in entries %} <ul class="nav navbar-nav action-buttons btn-group">{% if entry.menu %} <a class="btn btn-default dropdown-t...
<|file_sep|>modoboa/templates/common/buttons_list.html.diff original: <nav class="navbar" role="navigation"> <div class="container-fluid"> updated: <|file_sep|>modoboa/templates/common/buttons_list.html.diff original: <div class="navbar-header"> <button type="button" class="navbar-toggle" data-...
81f67a88997a2dd499b05498fb7c953ffd4c3fcb
modoboa/templates/common/buttons_list.html
modoboa/templates/common/buttons_list.html
HTML
<|file_sep|>Setup.hs.diff original: updated: import Control.Monad (unless) <|file_sep|>Setup.hs.diff original: updated: import Distribution.Simple.LocalBuildInfo (LocalBuildInfo(..)) import Distribution.Simple.Utils (die) <|file_sep|>Setup.hs.diff original: updated: import System.Directory (doesDirectoryExist) <|fil...
module Main (main) where import Control.Monad (unless) import Distribution.Simple (defaultMainWithHooks, runTests, simpleUserHooks) import Distribution.Simple.LocalBuildInfo (LocalBuildInfo(..)) import Distribution.Simple.Utils (die) import System.Cmd (system) import System.Directory (doesDirectoryExist) main :: IO (...
<|file_sep|>Setup.hs.diff original: updated: import Control.Monad (unless) <|file_sep|>Setup.hs.diff original: updated: import Distribution.Simple.LocalBuildInfo (LocalBuildInfo(..)) import Distribution.Simple.Utils (die) <|file_sep|>Setup.hs.diff original: updated: import System.Directory (doesDirectoryExist) <|fil...
e811f44f57df07ebdfdc4ad7a4378229de276322
Setup.hs
Setup.hs
Haskell
<|file_sep|>src/components/RestaurantList/RestaurantList.js.diff original: import React, { PropTypes } from 'react'; updated: import React, { Component, PropTypes } from 'react'; <|file_sep|>original/src/components/RestaurantList/RestaurantList.js import RestaurantContainer from '../../containers/RestaurantContainer'; ...
import RestaurantContainer from '../../containers/RestaurantContainer'; class RestaurantList extends Component { componentWillUpdate() { this.scrollY = window.scrollY; } componentDidUpdate() { // prevent Chrome from scrolling to new position of voted restaurant window.scrollTo(0, this.scrollY); } ...
<|file_sep|>src/components/RestaurantList/RestaurantList.js.diff original: import React, { PropTypes } from 'react'; updated: import React, { Component, PropTypes } from 'react'; <|file_sep|>original/src/components/RestaurantList/RestaurantList.js import RestaurantContainer from '../../containers/RestaurantContainer'; ...
e3a968ea92b0e518368dfd607523bfed814e9244
src/components/RestaurantList/RestaurantList.js
src/components/RestaurantList/RestaurantList.js
JavaScript
<|file_sep|>setup/setup_dotfiles.sh.diff original: # \rm ~/.bash_aliases && ./setup_dotfiles.sh && . ~/.bash_aliases updated: # \rm -f ~/.bash_aliases && ./setup_dotfiles.sh && . ~/.bash_aliases <|file_sep|>original/setup/setup_dotfiles.sh BASH_ALIASES=~/.bash_aliases if [ ! -f $BASH_ALIASES ]; then cat > $BASH...
BASH_ALIASES=~/.bash_aliases if [ ! -f $BASH_ALIASES ]; then cat > $BASH_ALIASES << 'EOF' alias ll='ls -l' alias lla='ls -la' alias la='ls -A' alias l='ls -CF' alias rt='ls -lsrta' alias gstat='cd /home/pi/develop ; for dir in * ; do cd $dir; git status; echo $dir; echo " " ; cd ..; done ; cd -' alias gdi...
<|file_sep|>setup/setup_dotfiles.sh.diff original: # \rm ~/.bash_aliases && ./setup_dotfiles.sh && . ~/.bash_aliases updated: # \rm -f ~/.bash_aliases && ./setup_dotfiles.sh && . ~/.bash_aliases <|file_sep|>original/setup/setup_dotfiles.sh BASH_ALIASES=~/.bash_aliases if [ ! -f $BASH_ALIASES ]; then cat > $BASH...
de1de44a51cc679feffb35b068bc99c89239d394
setup/setup_dotfiles.sh
setup/setup_dotfiles.sh
Shell
<|file_sep|>original/CMakeLists.txt pkg_check_modules(gtk REQUIRED gtkmm-3.0) include_directories(${gtk_INCLUDE_DIRS}) link_directories(${gtk_LIBRARY_DIRS}) link_libraries(${gtk_LIBRARIES}) link_libraries(pthread) add_definitions(-std=c++11 -Wall -W) set(CMAKE_CXX_FLAGS_RELEASE "-O3") set(CMAKE_CXX_FLAGS_DEBUG "-Og ...
pkg_check_modules(gtk REQUIRED gtkmm-3.0) include_directories(${gtk_INCLUDE_DIRS}) link_directories(${gtk_LIBRARY_DIRS}) link_libraries(${gtk_LIBRARIES}) link_libraries(pthread) add_definitions(-std=c++11 -Wall -W) set(CMAKE_CXX_FLAGS_RELEASE "-O3") set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g") include_directories("${CMAKE_S...
<|file_sep|>original/CMakeLists.txt pkg_check_modules(gtk REQUIRED gtkmm-3.0) include_directories(${gtk_INCLUDE_DIRS}) link_directories(${gtk_LIBRARY_DIRS}) link_libraries(${gtk_LIBRARIES}) link_libraries(pthread) add_definitions(-std=c++11 -Wall -W) set(CMAKE_CXX_FLAGS_RELEASE "-O3") set(CMAKE_CXX_FLAGS_DEBUG "-Og ...
35720a5bd7c3e3a1a933ce71309531895ae5594e
CMakeLists.txt
CMakeLists.txt
Text
<|file_sep|>original/catdocx.sh #!/bin/sh filename="$1" extension=${filename##*.} if [ ${extension} = "doc" ] then # Use cat doc for older document formats catdoc "$filename" else # Unzip the docx file, and grab just the text with sed # This also replaces opening <w:r> tags with newlines # The final `sed G` double sp...
#!/bin/sh filename="$1" extension=${filename##*.} if [ ${extension} = "doc" ] then # Use cat doc for older document formats catdoc "$filename" else # Unzip the docx file, and grab just the text with sed # This also replaces opening <w:r> tags with newlines # The final `sed G` double spaces the output unzip -p "$filen...
<|file_sep|>original/catdocx.sh #!/bin/sh filename="$1" extension=${filename##*.} if [ ${extension} = "doc" ] then # Use cat doc for older document formats catdoc "$filename" else # Unzip the docx file, and grab just the text with sed # This also replaces opening <w:r> tags with newlines # The final `sed G` double sp...
7ea0446aea7cff3688dfe7921d96155b9b3d8c97
catdocx.sh
catdocx.sh
Shell
<|file_sep|>original/CIV/Ccs/CcsLexer.g4 COACTION: '\''[a-z][A-Za-z0-9]*; ACTION: [a-z][A-Za-z0-9]*; fragment InputCharacter: ~[\r\n\u0085\u2028\u2029]; COMMENT : MUL InputCharacter+ | MUL ; IDENTIFIER : [A-Z][A-Za-z0-9]* ; //RENAMINGS : RENAMING ',' RENAMINGS; //RENAMING : ACTION ACTION;...
LBRACK : '[' ; RBRACK : ']' ; T__1 : '\\' ; COACTION: '\''[a-z][A-Za-z0-9]*; ACTION: [a-z][A-Za-z0-9]*; fragment InputCharacter: ~[\r\n\u0085\u2028\u2029]; COMMENT : MUL InputCharacter+ | MUL ; IDENTIFIER : [A-Z][A-Za-z0-9]* ; // ignore whitespace WHITESPACE : [ \r\n\t] + -> channel (HIDDEN);
<|file_sep|>original/CIV/Ccs/CcsLexer.g4 COACTION: '\''[a-z][A-Za-z0-9]*; ACTION: [a-z][A-Za-z0-9]*; fragment InputCharacter: ~[\r\n\u0085\u2028\u2029]; COMMENT : MUL InputCharacter+ | MUL ; IDENTIFIER : [A-Z][A-Za-z0-9]* ; //RENAMINGS : RENAMING ',' RENAMINGS; //RENAMING : ACTION ACTION;...
c222c0812214366a829b8ebccb11c84d08358e2f
CIV/Ccs/CcsLexer.g4
CIV/Ccs/CcsLexer.g4
ANTLR
<|file_sep|>src/marketplace/compare/ComparisonItem.scss.diff original: height: 6em; width: 6em; updated: height: 8em; <|file_sep|>original/src/marketplace/compare/ComparisonItem.scss .comparison-item { position: relative; } .comparison-item-close { position: absolute; right: 17px; } .comparison-item-thumb...
.comparison-item { position: relative; } .comparison-item-close { position: absolute; right: 17px; } .comparison-item-thumb { height: 8em; display: block; padding: 13px; display: flex; justify-content: center; align-items: center; }
<|file_sep|>src/marketplace/compare/ComparisonItem.scss.diff original: height: 6em; width: 6em; updated: height: 8em; <|file_sep|>original/src/marketplace/compare/ComparisonItem.scss .comparison-item { position: relative; } .comparison-item-close { position: absolute; right: 17px; } .comparison-item-thumb...
6e4f72a11e140637dcc63c79028cb15bdbf25906
src/marketplace/compare/ComparisonItem.scss
src/marketplace/compare/ComparisonItem.scss
SCSS
<|file_sep|>docs/_posts/blog/2016-11-13.md.diff original: title: Test Post date: 2016/02/25 updated: title: Switching to TypeScript! date: 2016/11/13 <|file_sep|>original/docs/_posts/blog/2016-11-13.md --- filename: second-blog-post title: Test Post date: 2016/02/25 collection: blogPosts template: BlogPost.html --- Al...
--- filename: second-blog-post title: Switching to TypeScript! date: 2016/11/13 collection: blogPosts template: blogPost.html --- Although I considered variously, I decided to rewrite GLBoost with TypeScript. It will take some time for rewriting, so I will continue to add functionality in the current ECMAScript 2015 v...
<|file_sep|>docs/_posts/blog/2016-11-13.md.diff original: title: Test Post date: 2016/02/25 updated: title: Switching to TypeScript! date: 2016/11/13 <|file_sep|>original/docs/_posts/blog/2016-11-13.md --- filename: second-blog-post title: Test Post date: 2016/02/25 collection: blogPosts template: BlogPost.html --- Al...
95344159ced9786dbf1c049bce9804961dc0fa79
docs/_posts/blog/2016-11-13.md
docs/_posts/blog/2016-11-13.md
Markdown
<|file_sep|>original/bower.json "tests" ], "dependencies": { "requirejs": "^2.3.2", "underscore": "^1.8.3", "golden-layout": "^1.5.9", "jquery": "^3.1.1", "bootstrap": "^3.3.7", "selectize": "^0.12.2", "eventEmitter": "^5.1.0", "lz-string": "^1.4.4", "clipboard": "^1.5.12", ...
"tests" ], "dependencies": { "requirejs": "^2.3.2", "underscore": "^1.8.3", "golden-layout": "^1.5.9", "jquery": "^3.1.1", "bootstrap": "^3.3.7", "selectize": "^0.12.2", "eventEmitter": "^5.1.0", "lz-string": "^1.4.4", "clipboard": "^1.5.12", "raven-js": "^3.10.0", "e...
<|file_sep|>original/bower.json "tests" ], "dependencies": { "requirejs": "^2.3.2", "underscore": "^1.8.3", "golden-layout": "^1.5.9", "jquery": "^3.1.1", "bootstrap": "^3.3.7", "selectize": "^0.12.2", "eventEmitter": "^5.1.0", "lz-string": "^1.4.4", "clipboard": "^1.5.12", ...
e1229ec79dfcf59fc18d964e3abedc1dd8298283
bower.json
bower.json
JSON
<|file_sep|>original/src/utils.js return navigator.languages[0]; } else if (!!navigator && !!navigator.userLanguage) { return navigator.userLanguage; } else if (!!navigator && !!navigator.browserLanguage) { return navigator.browserLanguage; } return 'en-US'; } export function validateProps(props) {...
return navigator.languages[0]; } else if (!!navigator && !!navigator.userLanguage) { return navigator.userLanguage; } else if (!!navigator && !!navigator.browserLanguage) { return navigator.browserLanguage; } return 'en-US'; } export function validateProps(props) { const reservedNames = [ '_i...
<|file_sep|>original/src/utils.js return navigator.languages[0]; } else if (!!navigator && !!navigator.userLanguage) { return navigator.userLanguage; } else if (!!navigator && !!navigator.browserLanguage) { return navigator.browserLanguage; } return 'en-US'; } export function validateProps(props) {...
50cd362dbbd8a3ba8be80377188448ad79aa195d
src/utils.js
src/utils.js
JavaScript
<|file_sep|>metadata/com.leinardi.ubuntucountdownwidget.yml.diff original: updated: - versionName: v21.10 versionCode: 264 commit: v21.10 subdir: app gradle: - yes <|file_sep|>original/metadata/com.leinardi.ubuntucountdownwidget.yml IssueTracker: https://github.com/leinardi/UbuntuCountdownWidg...
Builds: - versionName: v21.04 versionCode: 259 commit: v21.04 subdir: app gradle: - yes - versionName: v21.10 versionCode: 264 commit: v21.10 subdir: app gradle: - yes AutoUpdateMode: Version UpdateCheckMode: Tags ^v.*$ UpdateCheckData: version.txt|\+(\d+)|.|(.+)\+ Cur...
<|file_sep|>metadata/com.leinardi.ubuntucountdownwidget.yml.diff original: updated: - versionName: v21.10 versionCode: 264 commit: v21.10 subdir: app gradle: - yes <|file_sep|>original/metadata/com.leinardi.ubuntucountdownwidget.yml IssueTracker: https://github.com/leinardi/UbuntuCountdownWidg...
4684703682e1bc81635fed0e208c02aa68090491
metadata/com.leinardi.ubuntucountdownwidget.yml
metadata/com.leinardi.ubuntucountdownwidget.yml
YAML
<|file_sep|>original/.github/workflows/capacity-test.yml name: user-registration-application-pipeline on: [push] jobs: pipeline: runs-on: ubuntu-latest steps: - name: checkout uses: actions/checkout@v1 - name: setup java uses: actions/setup-java@v1 with: java-version: '11...
name: user-registration-capacity-tests on: [push] jobs: pipeline: runs-on: ubuntu-latest steps: - name: checkout uses: actions/checkout@v1 - name: setup java uses: actions/setup-java@v1 with: java-version: '11' - name: Install application run: ./mvnw -pl user-r...
<|file_sep|>original/.github/workflows/capacity-test.yml name: user-registration-application-pipeline on: [push] jobs: pipeline: runs-on: ubuntu-latest steps: - name: checkout uses: actions/checkout@v1 - name: setup java uses: actions/setup-java@v1 with: java-version: '11...
8d713d0dd9396ca9a099afce8b2b21569e324a2b
.github/workflows/capacity-test.yml
.github/workflows/capacity-test.yml
YAML
<|file_sep|>tests/test_objectify.py.diff original: self.o = utils.Objectify() updated: self.o = utils.objectify() <|file_sep|>original/tests/test_objectify.py def test_bool_false(self): self.o['hello'] = 'world' self.o['_bool'] = False self.assertFalse(self.o) def test_b...
def test_bool_false(self): self.o['hello'] = 'world' self.o['_bool'] = False self.assertFalse(self.o) def test_bool_true(self): self.o['_bool'] = True self.assertTrue(self.o) def test_dict(self): d = {'hello': 'world', 'thanks': 'mom'} o = utils.obje...
<|file_sep|>tests/test_objectify.py.diff original: self.o = utils.Objectify() updated: self.o = utils.objectify() <|file_sep|>original/tests/test_objectify.py def test_bool_false(self): self.o['hello'] = 'world' self.o['_bool'] = False self.assertFalse(self.o) def test_b...
4b4f07f4bf9d81ab1829ccdf6562dc95d75ab7d4
tests/test_objectify.py
tests/test_objectify.py
Python
<|file_sep|>original/composer.json { "name": "frozzare/wp-admin-menu-tabs", "type": "wordpress-plugin", "license": "MIT", "description": " Add edit and admin tabs to admin menu and move updates after option menu", "authors": [ { "name": "Fredrik Forsmo", "email": "fredrik.forsmo@gmail.com", ...
{ "name": "frozzere/wp-admin-menu-tabs", "type": "wordpress-plugin", "license": "MIT", "description": " Add edit and admin tabs to admin menu and move updates after option menu", "authors": [ { "name": "Fredrik Forsmo", "email": "fredrik.forsmo@gmail.com", "homepage": "https://github.com...
<|file_sep|>original/composer.json { "name": "frozzare/wp-admin-menu-tabs", "type": "wordpress-plugin", "license": "MIT", "description": " Add edit and admin tabs to admin menu and move updates after option menu", "authors": [ { "name": "Fredrik Forsmo", "email": "fredrik.forsmo@gmail.com", ...
479e195b8f7ee88038c1347f59ba672357faa2c2
composer.json
composer.json
JSON
<|file_sep|>original/CHANGELOG.md # Change Log All notable changes to the CLAW Fortran Compiler project will be documented in this file. ## [Unreleased] ## [0.1.0] - 2016-02-05 ### First release - **CX2X XcodeML library**: An abstraction of a set of the XcodeML/F intermediate representation that let the elements easi...
# Change Log All notable changes to the CLAW Fortran Compiler project will be documented in this file. ## [Unreleased] New transformation: * `array-transform` * `kcache` Modification: * `collapse` clause can be applied to `loop-fusion` transformation. ## [0.1.0] - 2016-02-05 ### First release - **CX2X XcodeML librar...
<|file_sep|>original/CHANGELOG.md # Change Log All notable changes to the CLAW Fortran Compiler project will be documented in this file. ## [Unreleased] ## [0.1.0] - 2016-02-05 ### First release - **CX2X XcodeML library**: An abstraction of a set of the XcodeML/F intermediate representation that let the elements easi...
61bd7111bd1cef964a1898d6c9392e8e4d083e41
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>walldash/src/recent_observations.jsx.diff original: const size = "small"; updated: let size = "small"; <|file_sep|>walldash/src/recent_observations.jsx.diff original: flexGrow = 4; updated: flexGrow = flexGrow * 4; size = "large"; <|file_sep|>walldash/src/recent...
flexGrow = flexGrow * 2; size = "medium"; } return ( <a key={`recent-observations-${o.id}`} href={`http://www.inaturalist.org/observations/${o.id}`} width={width} height={height} style={{ minWidth: wi...
<|file_sep|>walldash/src/recent_observations.jsx.diff original: const size = "small"; updated: let size = "small"; <|file_sep|>walldash/src/recent_observations.jsx.diff original: flexGrow = 4; updated: flexGrow = flexGrow * 4; size = "large"; <|file_sep|>walldash/src/recent...
ac0e159c83f14463cd457999667d1fbad982a8d1
walldash/src/recent_observations.jsx
walldash/src/recent_observations.jsx
JSX
<|file_sep|>packages/in/interpolate.yaml.diff original: hash: bc243859cb5489b5ccd1e771714f79fc801bbd209c6c69b2059156c8f3dcb1ae updated: hash: e102d1870811afce16a339fc47f75cef6fc093bf931453569f326669186fb1db <|file_sep|>packages/in/interpolate.yaml.diff original: hspec: ! '>=1.5' updated: hspec: '>=1.5' <|file_sep|>...
synopsis: String interpolation done right changelog: '' basic-deps: base: ==4.* haskell-src-meta: '>=0.8' template-haskell: -any all-versions: - 0.0.0 - 0.0.1 - 0.0.2 - 0.0.3 - 0.0.4 - 0.1.0 - 0.1.1 - 0.2.0 - 0.2.1 author: Simon Hengel <sol@typeful.net> latest: 0.2.1 description-type: haddock description: String ...
<|file_sep|>packages/in/interpolate.yaml.diff original: hash: bc243859cb5489b5ccd1e771714f79fc801bbd209c6c69b2059156c8f3dcb1ae updated: hash: e102d1870811afce16a339fc47f75cef6fc093bf931453569f326669186fb1db <|file_sep|>packages/in/interpolate.yaml.diff original: hspec: ! '>=1.5' updated: hspec: '>=1.5' <|file_sep|>...
166e2fc5c03dd8e263dd2db32dd1739e25a27ddf
packages/in/interpolate.yaml
packages/in/interpolate.yaml
YAML
<|file_sep|>original/_includes/about.html <!-- About Section --> <section class="success" id="about"> <div class="container"> <div class="row"> <div class="col-lg-12 text-center"> <h2>About</h2> <hr class="star-light"> </div> </div> <div class="row"> <div class...
<div class="row"> <div class="col-lg-12 text-center"> <h2>About</h2> <hr class="star-light"> </div> </div> <div class="row"> <div class="col-md-8 col-md-offset-2"> <p> Hi! My name is Chris. </p> <p> I’m a jack-o...
<|file_sep|>original/_includes/about.html <!-- About Section --> <section class="success" id="about"> <div class="container"> <div class="row"> <div class="col-lg-12 text-center"> <h2>About</h2> <hr class="star-light"> </div> </div> <div class="row"> <div class...
c212a7f307bf49a9e3c7aaec6220a0f78dd69550
_includes/about.html
_includes/about.html
HTML
<|file_sep|>original/src/CompaniesHouse.Tests/CompaniesHouseDocumentClientTests/CompaniesHouseDocumentClientTests.cs { var requestUri = new Uri($"https://document-api.companieshouse.gov.uk/document/{DocumentId}/content"); var stubHttpMessageHandler = new StubHttpMessageHandler(requestUri...
{ var requestUri = new Uri($"https://document-api.companieshouse.gov.uk/document/{DocumentId}/content"); var stubHttpMessageHandler = new StubHttpMessageHandler(requestUri, ExpectedContent, ExpectedMediaType); var mockUriBuilder = new Mock<IDocumentUriBuilder>(); ...
<|file_sep|>original/src/CompaniesHouse.Tests/CompaniesHouseDocumentClientTests/CompaniesHouseDocumentClientTests.cs { var requestUri = new Uri($"https://document-api.companieshouse.gov.uk/document/{DocumentId}/content"); var stubHttpMessageHandler = new StubHttpMessageHandler(requestUri...
fba11017f695f9b26b62c7670c1cd2d59232307d
src/CompaniesHouse.Tests/CompaniesHouseDocumentClientTests/CompaniesHouseDocumentClientTests.cs
src/CompaniesHouse.Tests/CompaniesHouseDocumentClientTests/CompaniesHouseDocumentClientTests.cs
C#
<|file_sep|>original/innertube.gemspec $:.push File.expand_path("../lib", __FILE__) require 'innertube/version' Gem::Specification.new do |gem| gem.name = 'innertube' gem.version = Innertube::VERSION gem.summary = "A thread-safe resource pool, originally borne in riak-client (Ripple)." gem.description = "Becau...
$:.push File.expand_path("../lib", __FILE__) require 'innertube/version' Gem::Specification.new do |gem| gem.name = 'innertube' gem.version = Innertube::VERSION gem.summary = "A thread-safe resource pool, originally borne in riak-client (Ripple)." gem.description = "Because everyone needs their own pool librar...
<|file_sep|>original/innertube.gemspec $:.push File.expand_path("../lib", __FILE__) require 'innertube/version' Gem::Specification.new do |gem| gem.name = 'innertube' gem.version = Innertube::VERSION gem.summary = "A thread-safe resource pool, originally borne in riak-client (Ripple)." gem.description = "Becau...
45ac89d189722740f9f86361833916e63a2b8b6a
innertube.gemspec
innertube.gemspec
Ruby
<|file_sep|>original/.travis.yml language: python python: - "2.7" - "3.3" - "3.4" # command to install dependencies addons: apt: packages: - r-base install: - pip install -r dev_requirements.txt --use-mirrors - if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then pip install mdanalysis; ...
language: python python: - "2.7" - "3.3" - "3.4" # command to install dependencies addons: apt: packages: - r-base install: - pip install --upgrade pip - pip install -r dev_requirements.txt - if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then pip install mdanalysis; fi # command to...
<|file_sep|>original/.travis.yml language: python python: - "2.7" - "3.3" - "3.4" # command to install dependencies addons: apt: packages: - r-base install: - pip install -r dev_requirements.txt --use-mirrors - if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then pip install mdanalysis; ...
dd42389fc2245a556d9720e93e620266c9785111
.travis.yml
.travis.yml
YAML
<|file_sep|>original/lib/lexer/token.js configure (scanner) { this.lineNumber = scanner.lineNumber; this.lineStart = scanner.lineStart; this.start = scanner.index; this.end = scanner.index + this.value.length; } finalize () { this.loc = { start: { line: this.lineNumber, column: (this.start - th...
this.end = scanner.index + this.value.length; } finalize () { this.loc = { start: { line: this.lineNumber, column: (this.start - this.lineStart) + 1 } }; this.range = { start: this.start, end: this.end }; } toString () { return this.value; } }
<|file_sep|>original/lib/lexer/token.js configure (scanner) { this.lineNumber = scanner.lineNumber; this.lineStart = scanner.lineStart; this.start = scanner.index; this.end = scanner.index + this.value.length; } finalize () { this.loc = { start: { line: this.lineNumber, column: (this.start - th...
faf86b4e664e4234e96497ab5728051617c8b45b
lib/lexer/token.js
lib/lexer/token.js
JavaScript
<|file_sep|>original/lib/octodown/support/services/riposter.rb module Octodown module Support module Services class Riposter def self.call(file, &listener_callback) require 'listen' path = File.dirname(File.expand_path(file.path)) regex = Regexp.new(file.path) ...
module Octodown module Support module Services class Riposter def self.call(file, &listener_callback) require 'listen' path = File.dirname(File.expand_path(file.path)) regex = Regexp.new("^#{File.basename(file.path)}$") @listener ||= Listen.to(path, only: re...
<|file_sep|>original/lib/octodown/support/services/riposter.rb module Octodown module Support module Services class Riposter def self.call(file, &listener_callback) require 'listen' path = File.dirname(File.expand_path(file.path)) regex = Regexp.new(file.path) ...
a4d8e22b798804e387fd96dfd62b93891afd675c
lib/octodown/support/services/riposter.rb
lib/octodown/support/services/riposter.rb
Ruby
<|file_sep|>.github/dependabot.yml.diff original: public: type: maven-repository url: https://nexus.adaptris.net/nexus/content/groups/public username: developer password: ${{secrets.NEXUS_REPO_PASSWORD}} updated: <|file_sep|>original/.github/dependabot.yml interlok: type: maven-repository u...
interlok: type: maven-repository url: https://nexus.adaptris.net/nexus/content/groups/interlok username: developer password: ${{secrets.NEXUS_REPO_PASSWORD}} updates: - package-ecosystem: "gradle" directory: "/" registries: - "interlok" schedule: interval: "daily" allow:...
<|file_sep|>.github/dependabot.yml.diff original: public: type: maven-repository url: https://nexus.adaptris.net/nexus/content/groups/public username: developer password: ${{secrets.NEXUS_REPO_PASSWORD}} updated: <|file_sep|>original/.github/dependabot.yml interlok: type: maven-repository u...
00da14df42daf2d1e6d7a340afbdc60a2a382a4e
.github/dependabot.yml
.github/dependabot.yml
YAML
<|file_sep|>original/startup.rb ## This file is loaded by irb -r ## So, setup any necessary configuration variables / executables here ## Remove previous gem installation `rm -rf pkg/` ## Install local source code as gem `rake install` require 'Cb' Cb.configuration.dev_key = "WDHH6P96RQD9FSDCZ0G7" ## more configura...
## This file is loaded by irb -r ## So, setup any necessary configuration variables / executables here ## Remove all previous gem installations `gem uninstall -Ia cb-api` `rm -rf pkg/` ## Install local source code as gem `rake install` require 'Cb' Cb.configuration.dev_key = "WDHH6P96RQD9FSDCZ0G7" ## more configura...
<|file_sep|>original/startup.rb ## This file is loaded by irb -r ## So, setup any necessary configuration variables / executables here ## Remove previous gem installation `rm -rf pkg/` ## Install local source code as gem `rake install` require 'Cb' Cb.configuration.dev_key = "WDHH6P96RQD9FSDCZ0G7" ## more configura...
de94673c146c9e99418802fa5988b36fed6129f5
startup.rb
startup.rb
Ruby
<|file_sep|>spec/input_stream_spec.rb.diff original: pending updated: let(:file) { InputStream.read_file(['no.txt']) } it "raises an error when the file can't be found or read" do expect { file }.to raise_error(LoadError, "File not found: Please try again.") end <|file_sep|>original/spec/input_st...
expect { string_output }.to output("--- Please input your text below ----\n").to_stdout end end describe ".get_input" do it "captures STDIN and outputs it as a string" do mod_double = class_double("InputStream").as_stubbed_const(:transfer_nested_constants => true) allow(mod_double).to re...
<|file_sep|>spec/input_stream_spec.rb.diff original: pending updated: let(:file) { InputStream.read_file(['no.txt']) } it "raises an error when the file can't be found or read" do expect { file }.to raise_error(LoadError, "File not found: Please try again.") end <|file_sep|>original/spec/input_st...
ac79573b535ebda10b184a9cb55d96c33f9070f9
spec/input_stream_spec.rb
spec/input_stream_spec.rb
Ruby
<|file_sep|>_config.yml.diff original: permalink: /:collection/:name/ updated: permalink: /:collection/:path/ <|file_sep|>_config.yml.diff original: permalink: /:collection/:name/ updated: permalink: /:collection/:path/ <|file_sep|>original/_config.yml collections: activities: output: true per...
collections: activities: output: true permalink: /:collection/:path/ groups: output: true permalink: /:collection/:path/ people: output: true permalink: /:collection/:path/
<|file_sep|>_config.yml.diff original: permalink: /:collection/:name/ updated: permalink: /:collection/:path/ <|file_sep|>_config.yml.diff original: permalink: /:collection/:name/ updated: permalink: /:collection/:path/ <|file_sep|>original/_config.yml collections: activities: output: true per...
8baba156e6ba1ad521d78e263dbf79aa3da3b6c2
_config.yml
_config.yml
YAML
<|file_sep|>original/project/src/main/webapp/create-event.css .col { margin: auto; } .inline { display: inline-block; } .prefilled-pick { margin-left: 10px; } .prefilled-pool { margin-top: 20px; height: 300px; } form { margin-left: 5rem; margin-right: 5rem; } <|file_sep|>current/project/src/main/webap...
.inline { display: inline-block; } .prefilled-pick { margin-left: 10px; } .prefilled-pool { margin-top: 20px; height: 300px; } form { margin-left: 5rem; margin-right: 5rem; } #date { padding-left: 10px; }
<|file_sep|>original/project/src/main/webapp/create-event.css .col { margin: auto; } .inline { display: inline-block; } .prefilled-pick { margin-left: 10px; } .prefilled-pool { margin-top: 20px; height: 300px; } form { margin-left: 5rem; margin-right: 5rem; } <|file_sep|>current/project/src/main/webap...
827172daad34c035f6dd091849e13939a6d4e8c1
project/src/main/webapp/create-event.css
project/src/main/webapp/create-event.css
CSS
<|file_sep|>.travis.yml.diff original: - 4.4 - 5.8 updated: - 4 - 5 <|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - 0.10 - 0.12 - 4.4 - 5.8 matrix: allow_failures: - node_js: 4.4 - node_js: 5.8 env: global: - CXX=g++-4.8 script: "npm run travis" addons...
sudo: false language: node_js node_js: - 0.10 - 0.12 - 4 - 5 matrix: allow_failures: - node_js: 4 - node_js: 5 env: global: - CXX=g++-4.8 script: "npm run travis" addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8
<|file_sep|>.travis.yml.diff original: - 4.4 - 5.8 updated: - 4 - 5 <|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - 0.10 - 0.12 - 4.4 - 5.8 matrix: allow_failures: - node_js: 4.4 - node_js: 5.8 env: global: - CXX=g++-4.8 script: "npm run travis" addons...
f6d6a1c99d31ac63740b30feed42b85aeea8ae53
.travis.yml
.travis.yml
YAML
<|file_sep|>cpp/turbodbc_numpy/Library/src/set_numpy_parameters.cpp.diff original: updated: #include <turbodbc/make_description.h> #include <turbodbc/type_code.h> <|file_sep|>cpp/turbodbc_numpy/Library/src/set_numpy_parameters.cpp.diff original: updated: #include <algorithm> #ifdef _WIN32 #include <windows.h> #endif...
{ pybind11::dtype const np_int64("int64"); auto const & column = columns.front(); auto const dtype = column.dtype(); if (dtype == np_int64) { auto unchecked = column.unchecked<std::int64_t, 1>(); auto data_ptr = unchecked.data(0); parameters.rebind(0, turbodbc::make_description...
<|file_sep|>cpp/turbodbc_numpy/Library/src/set_numpy_parameters.cpp.diff original: updated: #include <turbodbc/make_description.h> #include <turbodbc/type_code.h> <|file_sep|>cpp/turbodbc_numpy/Library/src/set_numpy_parameters.cpp.diff original: updated: #include <algorithm> #ifdef _WIN32 #include <windows.h> #endif...
237b9142f90d24cefb757bd3cbe8b9a8c39ab92e
cpp/turbodbc_numpy/Library/src/set_numpy_parameters.cpp
cpp/turbodbc_numpy/Library/src/set_numpy_parameters.cpp
C++
<|file_sep|>original/demos/polls/requirements.txt -e . docker-py==1.10.6 pytest-aiohttp==0.1.2 <|file_sep|>current/demos/polls/requirements.txt -e . docker-py==1.10.6 pytest-aiohttp==0.1.2 <|file_sep|>updated/demos/polls/requirements.txt
-e . docker-py==1.10.6 pytest-aiohttp==0.1.3
<|file_sep|>original/demos/polls/requirements.txt -e . docker-py==1.10.6 pytest-aiohttp==0.1.2 <|file_sep|>current/demos/polls/requirements.txt -e . docker-py==1.10.6 pytest-aiohttp==0.1.2 <|file_sep|>updated/demos/polls/requirements.txt -e . docker-py==1.10.6 pytest-aiohttp==0.1.3
68292bc6240d032b03e400cb99f1b801b91b2503
demos/polls/requirements.txt
demos/polls/requirements.txt
Text
<|file_sep|>src/gcj/org/apache/lucene/index/GCJSegmentReader.java.diff original: updated: /** Try to use an optimized native implementation of TermDocs. The optimized * implementation can only be used when the segment's directory is a * GCJDirectory and it is not in compound format. */ <|file_sep|>original/s...
* limitations under the License. */ import java.io.IOException; import org.apache.lucene.store.GCJDirectory; class GCJSegmentReader extends SegmentReader { /** Try to use an optimized native implementation of TermDocs. The optimized * implementation can only be used when the segment's directory is a * GC...
<|file_sep|>src/gcj/org/apache/lucene/index/GCJSegmentReader.java.diff original: updated: /** Try to use an optimized native implementation of TermDocs. The optimized * implementation can only be used when the segment's directory is a * GCJDirectory and it is not in compound format. */ <|file_sep|>original/s...
07c48aa589379ef0739a4819a659b96620e598e4
src/gcj/org/apache/lucene/index/GCJSegmentReader.java
src/gcj/org/apache/lucene/index/GCJSegmentReader.java
Java
<|file_sep|>libsel4/arch_include/x86/sel4/arch/mapping.h.diff original: updated: #include <autoconf.h> <|file_sep|>libsel4/arch_include/x86/sel4/arch/mapping.h.diff original: updated: #ifdef CONFIG_PAE_PAGING #define SEL4_MAPPING_LOOKUP_NO_PT 21 #define SEL4_MAPPING_LOOKUP_NO_PD 30 #else <|file_sep|>original/libsel4...
*/ #ifndef __LIBSEL4_ARCH_MAPPING #define __LIBSEL4_ARCH_MAPPING #include <autoconf.h> #define SEL4_MAPPING_LOOKUP_LEVEL 2 #ifdef CONFIG_PAE_PAGING #define SEL4_MAPPING_LOOKUP_NO_PT 21 #define SEL4_MAPPING_LOOKUP_NO_PD 30 #else #define SEL4_MAPPING_LOOKUP_NO_PT 22 #endif static inline seL4_Word seL4_MappingFailedL...
<|file_sep|>libsel4/arch_include/x86/sel4/arch/mapping.h.diff original: updated: #include <autoconf.h> <|file_sep|>libsel4/arch_include/x86/sel4/arch/mapping.h.diff original: updated: #ifdef CONFIG_PAE_PAGING #define SEL4_MAPPING_LOOKUP_NO_PT 21 #define SEL4_MAPPING_LOOKUP_NO_PD 30 #else <|file_sep|>original/libsel4...
c2a85cdcb14b4b04619593261a49c310a8f59185
libsel4/arch_include/x86/sel4/arch/mapping.h
libsel4/arch_include/x86/sel4/arch/mapping.h
C
<|file_sep|>original/web/app/themes/bramster/src/sass/module/_header-video.scss /* * Header Video * * Header containing an embedded, full-width video */ .header-video { height: 225px; /* start height */ margin-bottom: $vertical-margin * 2 !important; padding-top: 56.25%; /* slope */ background: darken($gr...
/* * Header Video * * Header containing an embedded, full-width video */ .header-video { position: relative; height: 225px; /* start height */ margin-bottom: $vertical-margin * 2 !important; padding-top: 56.25%; /* slope */ background: darken($grey-50,25%); background-size: cover; -moz-background-si...
<|file_sep|>original/web/app/themes/bramster/src/sass/module/_header-video.scss /* * Header Video * * Header containing an embedded, full-width video */ .header-video { height: 225px; /* start height */ margin-bottom: $vertical-margin * 2 !important; padding-top: 56.25%; /* slope */ background: darken($gr...
dd946ab90c65a9d902e3eb54a4f723e3f49a0966
web/app/themes/bramster/src/sass/module/_header-video.scss
web/app/themes/bramster/src/sass/module/_header-video.scss
SCSS
<|file_sep|>original/src/Window.cpp } // Window Manager bool Window::create(string title, bool hide) { uint flags = hide ? 0 : SDL_WINDOW_SHOWN; flags = flags | SDL_WINDOW_ALLOW_HIGHDPI | SDL_WINDOW_INPUT_GRABBED; currentWindow = SDL_CreateWindow(title.c_str(), 0, 0, getDisplayWidth(), getDisplayHeight(), flags...
} // Window Manager bool Window::create(string title, bool hide) { uint flags = hide ? 0 : SDL_WINDOW_SHOWN; flags = flags | SDL_WINDOW_ALLOW_HIGHDPI | SDL_WINDOW_INPUT_GRABBED; currentWindow = SDL_CreateWindow(title.c_str(), 0, 0, getDisplayWidth(), getDisplayHeight(), flags); if(currentWindow == NULL) { ...
<|file_sep|>original/src/Window.cpp } // Window Manager bool Window::create(string title, bool hide) { uint flags = hide ? 0 : SDL_WINDOW_SHOWN; flags = flags | SDL_WINDOW_ALLOW_HIGHDPI | SDL_WINDOW_INPUT_GRABBED; currentWindow = SDL_CreateWindow(title.c_str(), 0, 0, getDisplayWidth(), getDisplayHeight(), flags...
827ca986329f6d6a9f85f2d9b31adfeb80c0c6d5
src/Window.cpp
src/Window.cpp
C++
<|file_sep|>testing_examples.rb.diff original: title "Assert/Refute (2)" updated: title "Assert/Refute (4)" <|file_sep|>testing_examples.rb.diff original: updated: begin Assert[False] Print["Asserting False failed"].(Noop) rescue Print["T"].(Noop) end <|file_sep|>original/testing_examples.rb require_relative 't...
title "Assert/Refute (4)" Assert[True] begin Assert[False] Print["Asserting False failed"].(Noop) rescue Print["T"].(Noop) end Refute[False] begin Refute[True] Print["Refuting True failed"].(Noop) rescue Print["T"].(Noop) end title "AssertEqual" AssertNumbersEqual = AssertEqual[NumbersEqual]
<|file_sep|>testing_examples.rb.diff original: title "Assert/Refute (2)" updated: title "Assert/Refute (4)" <|file_sep|>testing_examples.rb.diff original: updated: begin Assert[False] Print["Asserting False failed"].(Noop) rescue Print["T"].(Noop) end <|file_sep|>original/testing_examples.rb require_relative 't...
54c502fa40fb4e91d0a1107bc3c660c80d5fb04a
testing_examples.rb
testing_examples.rb
Ruby
<|file_sep|>original/app/controllers/comments_controller.rb def new @comment = Comment.new @track = Track.find(params[:track_id]) @project = @track.project end def create @track = Track.find(params[:track_id]) @comment = @track.comments.build(comment_params) if @comment.save redir...
def new @comment = Comment.new @track = Track.find(params[:track_id]) @project = @track.project end def create @track = Track.find(params[:track_id]) @comment = @track.comments.build(comment_params) @project = @track.project if @comment.save redirect_to project_track_path(@tra...
<|file_sep|>original/app/controllers/comments_controller.rb def new @comment = Comment.new @track = Track.find(params[:track_id]) @project = @track.project end def create @track = Track.find(params[:track_id]) @comment = @track.comments.build(comment_params) if @comment.save redir...
30b5093c44ecaa3326c9181d610ef47a79e92936
app/controllers/comments_controller.rb
app/controllers/comments_controller.rb
Ruby
<|file_sep|>original/lightcycle-processor/gradle.properties POM_NAME=Android LightCycle processor POM_ARTIFACT_ID=processor POM_PACKAGING=jar <|file_sep|>current/lightcycle-processor/gradle.properties POM_NAME=Android LightCycle processor POM_ARTIFACT_ID=processor POM_PACKAGING=jar <|file_sep|>updated/lightcycle-proces...
POM_NAME=LightCycle processor POM_ARTIFACT_ID=lightcycle-processor POM_PACKAGING=jar
<|file_sep|>original/lightcycle-processor/gradle.properties POM_NAME=Android LightCycle processor POM_ARTIFACT_ID=processor POM_PACKAGING=jar <|file_sep|>current/lightcycle-processor/gradle.properties POM_NAME=Android LightCycle processor POM_ARTIFACT_ID=processor POM_PACKAGING=jar <|file_sep|>updated/lightcycle-proces...
ee6c1389f3e52d81b1d3cfa8eee5310b88bc86f2
lightcycle-processor/gradle.properties
lightcycle-processor/gradle.properties
INI
<|file_sep|>original/amivapi/settings.py # Flask DEBUG = False TESTING = False # Flask-SQLALchemy # Eve ID_FIELD = "id" AUTH_FIELD = "_author" DATE_FORMAT = "%Y-%m-%dT%H:%M:%S" BANDWIDTH_SAVER = False RESOURCE_METHODS = ['GET', 'POST'] ITEM_METHODS = ['GET', 'PATCH', 'PUT', 'DELETE'] PUBLIC_METHODS = ['GET'] # This...
# Flask DEBUG = False TESTING = False # Flask-SQLALchemy # Eve ID_FIELD = "id" AUTH_FIELD = "_author" DATE_FORMAT = "%Y-%m-%dT%H:%M:%SZ" BANDWIDTH_SAVER = False RESOURCE_METHODS = ['GET', 'POST'] ITEM_METHODS = ['GET', 'PATCH', 'PUT', 'DELETE'] PUBLIC_METHODS = ['GET'] # This is the only way to make / public XML = ...
<|file_sep|>original/amivapi/settings.py # Flask DEBUG = False TESTING = False # Flask-SQLALchemy # Eve ID_FIELD = "id" AUTH_FIELD = "_author" DATE_FORMAT = "%Y-%m-%dT%H:%M:%S" BANDWIDTH_SAVER = False RESOURCE_METHODS = ['GET', 'POST'] ITEM_METHODS = ['GET', 'PATCH', 'PUT', 'DELETE'] PUBLIC_METHODS = ['GET'] # This...
085697bbf2bc4507cdacca04a24eda318940133d
amivapi/settings.py
amivapi/settings.py
Python
<|file_sep|>original/catalog/requirements.txt Flask==0.10.1 Flask-DebugToolbar==0.10.0 Flask-SQLAlchemy==2.1 Flask-Testing==0.4.2 Flask-WTF==0.12 Jinja2==2.8 Pillow==6.2.0 SQLAlchemy==1.0.9 WTForms==2.0.2 Werkzeug==0.11.2 httplib2==0.9.2 itsdangerous==0.24 oauth==1.0.1 oauth2client==1.5.2 psycopg2==2.4.5 requests==2.2....
Flask==0.10.1 Flask-DebugToolbar==0.10.0 Flask-SQLAlchemy==2.1 Flask-Testing==0.4.2 Flask-WTF==0.12 Jinja2==2.8 Pillow==6.2.0 SQLAlchemy==1.0.9 WTForms==2.0.2 Werkzeug==0.11.2 httplib2==0.9.2 itsdangerous==0.24 oauth==1.0.1 oauth2client==1.5.2 psycopg2==2.4.5 requests==2.2.1 simplejson==3.3.1 six==1.10.0 urllib3==1.24....
<|file_sep|>original/catalog/requirements.txt Flask==0.10.1 Flask-DebugToolbar==0.10.0 Flask-SQLAlchemy==2.1 Flask-Testing==0.4.2 Flask-WTF==0.12 Jinja2==2.8 Pillow==6.2.0 SQLAlchemy==1.0.9 WTForms==2.0.2 Werkzeug==0.11.2 httplib2==0.9.2 itsdangerous==0.24 oauth==1.0.1 oauth2client==1.5.2 psycopg2==2.4.5 requests==2.2....
49b407cc2d35f42c7154206fdd8f6b254cd07dd3
catalog/requirements.txt
catalog/requirements.txt
Text
<|file_sep|>lib/primehosting/database.rb.diff original: require 'highline/import' updated: <|file_sep|>lib/primehosting/database.rb.diff original: set :database_user, Proc.new { ask("What is your database username? ") { |q| q.default = "dbuser" } } set :database_pass, Proc.new { ask("What is your database passwo...
host: 127.0.0.1 EOF run "if test ! -d #{shared_path}/config/; then mkdir -p #{shared_path}/config/; fi" put db_config, "#{shared_path}/config/database.yml" puts "You should now add the following to your deploy.rb file" puts "after 'deploy:update_code', 'database:copy_config'" end ...
<|file_sep|>lib/primehosting/database.rb.diff original: require 'highline/import' updated: <|file_sep|>lib/primehosting/database.rb.diff original: set :database_user, Proc.new { ask("What is your database username? ") { |q| q.default = "dbuser" } } set :database_pass, Proc.new { ask("What is your database passwo...
d40198e08f8c2e85c4b4ead83dd888fb8f7eeee5
lib/primehosting/database.rb
lib/primehosting/database.rb
Ruby
<|file_sep|>original/README.md # Symbolic range analysis for LLVM ## Installing Update the submodules recursively and call make, as seen below. git submodule update --init --recursive make If the required version of SAGE is not installed, it will be downloaded and decompressed into the *SAGE/* directory. M...
# Symbolic range analysis for LLVM ## Installing Update the submodules recursively and call make, as seen below. git submodule update --init --recursive --remote make If the required version of SAGE is not installed, it will be downloaded and decompressed into the *SAGE/* directory. Makefile requires that ...
<|file_sep|>original/README.md # Symbolic range analysis for LLVM ## Installing Update the submodules recursively and call make, as seen below. git submodule update --init --recursive make If the required version of SAGE is not installed, it will be downloaded and decompressed into the *SAGE/* directory. M...
d27bf60c83f2be4e851b5297f8297eae96685ef7
README.md
README.md
Markdown
<|file_sep|>original/IssueReporter.podspec s.version = "2.0.0" s.summary = "Shake your phone to submit issues to your GitHub repository!" s.description = <<-DESC Presents a modal view controller when the phone is shaken that allows the user to report an issue in the ...
Pod::Spec.new do |s| s.name = "IssueReporter" s.version = "2.0.0" s.summary = "Shake your phone to submit issues to your GitHub repository!" s.description = <<-DESC Presents a modal view controller when the phone is shaken that allows the user to report...
<|file_sep|>original/IssueReporter.podspec s.version = "2.0.0" s.summary = "Shake your phone to submit issues to your GitHub repository!" s.description = <<-DESC Presents a modal view controller when the phone is shaken that allows the user to report an issue in the ...
2b3f4315b3206207276da0adfc020e99c83d5e6c
IssueReporter.podspec
IssueReporter.podspec
Ruby
<|file_sep|>original/README.md # Fs-ember-cli-typeahead This README outlines the details of collaborating on this Ember application. A short introduction of this app could easily go here. ## Prerequisites You will need the following things properly installed on your computer. * [Git](http://git-scm.com/) * [Node.j...
# ember-cli-twitter-typeahead This README outlines the details of collaborating on this Ember application. A short introduction of this app could easily go here. ## Prerequisites You will need the following things properly installed on your computer. * [Git](http://git-scm.com/) * [Node.js](http://nodejs.org/) (wi...
<|file_sep|>original/README.md # Fs-ember-cli-typeahead This README outlines the details of collaborating on this Ember application. A short introduction of this app could easily go here. ## Prerequisites You will need the following things properly installed on your computer. * [Git](http://git-scm.com/) * [Node.j...
ce519ced818c5d318de16ebba0d7934063b17d86
README.md
README.md
Markdown
<|file_sep|>original/.travis.yml cache: directories: # Cache the pip download cache across runs to avoid having to # repeatedly download packages over the network. - "$HOME/.cache/pip" # A special travis-based way to say that we need some additional OS # packages. These are required to build pyOpenSSL, ...
cache: directories: # Cache the pip download cache across runs to avoid having to # repeatedly download packages over the network. - "$HOME/.cache/pip" # A special travis-based way to say that we need some additional OS # packages. These are required to build pyOpenSSL, on which txAWS # depends. addons:...
<|file_sep|>original/.travis.yml cache: directories: # Cache the pip download cache across runs to avoid having to # repeatedly download packages over the network. - "$HOME/.cache/pip" # A special travis-based way to say that we need some additional OS # packages. These are required to build pyOpenSSL, ...
56ec49efae47740348bfc30b4fc61f304e611223
.travis.yml
.travis.yml
YAML
<|file_sep|>original/testem.json { "test_page": "test/index.html", "parallel": 5, "framework": "mocha", "launchers": { "Mocha": { "command": "./node_modules/.bin/mocha dist/test/browserify.js" } }, "launch_in_ci": [ "PhantomJS", "Mocha" ] } <|file_sep|>current/testem.json { "test_...
{ "test_page": "test/index.html", "parallel": 5, "framework": "mocha", "before_tests": "npm run build", "launchers": { "Mocha": { "command": "./node_modules/.bin/mocha dist/test/browserify.js" } }, "launch_in_ci": [ "PhantomJS", "Mocha" ] }
<|file_sep|>original/testem.json { "test_page": "test/index.html", "parallel": 5, "framework": "mocha", "launchers": { "Mocha": { "command": "./node_modules/.bin/mocha dist/test/browserify.js" } }, "launch_in_ci": [ "PhantomJS", "Mocha" ] } <|file_sep|>current/testem.json { "test_...
8b29a9c466218cd85f7fd096abf6c655b9b5a61d
testem.json
testem.json
JSON
<|file_sep|>slot/routes.py.diff original: from slot import basic_auth updated: <|file_sep|>original/slot/routes.py from slot import basic_auth from flask_login import login_required from slot.main import app from slot import controller as con @app.route('/') @app.route('/dashboard') @login_required def dashboard():...
from flask_login import login_required from slot.main import app from slot import controller as con from slot import basic_auth @app.route('/') @app.route('/dashboard') @login_required def dashboard(): return con.dashboard() @app.route('/new', methods=['GET', 'POST']) @login_required def render_new_procedure_f...
<|file_sep|>slot/routes.py.diff original: from slot import basic_auth updated: <|file_sep|>original/slot/routes.py from slot import basic_auth from flask_login import login_required from slot.main import app from slot import controller as con @app.route('/') @app.route('/dashboard') @login_required def dashboard():...
e0e1b41c93fdb0c148638f6c2f33e3d47c3ec17b
slot/routes.py
slot/routes.py
Python
<|file_sep|>original/appveyor.yml - cmd: git submodule update - ps: $env:APPVEYOR_BUILD_NUMBER_PADDED = ([int]$env:appveyor_build_number).ToString("00000") # Build Script build_script: - ps: . .\build.ps1 # Tests test: false # Deploy deploy: false # Notifications notifications: - provider: Slack incomin...
- ps: $env:APPVEYOR_BUILD_NUMBER_PADDED = ([int]$env:appveyor_build_number).ToString("00000") # Build Script build_script: - ps: . .\build.ps1 # Tests test: false # Deploy deploy: provider: NuGet server: https://ci.appveyor.com/nuget/aliumfx api_key: bpk8im3nsp3x9twj2bt0buw4 artifact: /.*\.nupkg/ # Noti...
<|file_sep|>original/appveyor.yml - cmd: git submodule update - ps: $env:APPVEYOR_BUILD_NUMBER_PADDED = ([int]$env:appveyor_build_number).ToString("00000") # Build Script build_script: - ps: . .\build.ps1 # Tests test: false # Deploy deploy: false # Notifications notifications: - provider: Slack incomin...
5a93556a251ad173bc3d455e9e2de96cc028862e
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/files/gitlab-cookbooks/gitlab/templates/default/mount_point_check.erb <% if node['gitlab']['high-availability']['mountpoint'] %> if ! mountpoint -q '<%= node['gitlab']['high-availability']['mountpoint'] %>' ; then echo 'Refusing to start because <%= node['gitlab']['high-availability']['mountpoint...
<% [node['gitlab']['high-availability']['mountpoint']].flatten.compact.each do |mountpoint| %> if ! mountpoint -q '<%= mountpoint %>' ; then echo 'Refusing to start because <%= mountpoint %> is not a mountpoint.' exit 1 fi <% end %>
<|file_sep|>original/files/gitlab-cookbooks/gitlab/templates/default/mount_point_check.erb <% if node['gitlab']['high-availability']['mountpoint'] %> if ! mountpoint -q '<%= node['gitlab']['high-availability']['mountpoint'] %>' ; then echo 'Refusing to start because <%= node['gitlab']['high-availability']['mountpoint...
2b37f2640810e534197d6a2c2174700bff2662d8
files/gitlab-cookbooks/gitlab/templates/default/mount_point_check.erb
files/gitlab-cookbooks/gitlab/templates/default/mount_point_check.erb
HTML+ERB
<|file_sep|>original/.appveyor.yml os: Visual Studio 2015 platform: - x86 branches: only: - master install: - ps: (new-object net.webclient).DownloadFile('https://www.python.org/ftp/python/3.4.4/python-3.4.4.msi', 'python-3.4.4.msi') - ps: msiexec /i python-3.4.4.msi /quiet /qn /norestart - ps: (new-objec...
version: 1.0.{build} os: Visual Studio 2015 platform: - x86 branches: only: - master install: - ps: (new-object net.webclient).DownloadFile('https://dl.dropboxusercontent.com/u/37517477/ninja.exe', 'c:\python34\ninja.exe') - cmd: copy c:\python34\python.exe c:\python34\python3.exe - '"C:\Program Files\Mi...
<|file_sep|>original/.appveyor.yml os: Visual Studio 2015 platform: - x86 branches: only: - master install: - ps: (new-object net.webclient).DownloadFile('https://www.python.org/ftp/python/3.4.4/python-3.4.4.msi', 'python-3.4.4.msi') - ps: msiexec /i python-3.4.4.msi /quiet /qn /norestart - ps: (new-objec...
b164ed611b7a66a2d760c34f3c9653ccd92d23ff
.appveyor.yml
.appveyor.yml
YAML
<|file_sep|>original/pydroid-base/src/main/AndroidManifest.xml <!-- ~ Copyright (C) 2018 Peter Kenji Yamanaka ~ ~ 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://ww...
~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ ...
<|file_sep|>original/pydroid-base/src/main/AndroidManifest.xml <!-- ~ Copyright (C) 2018 Peter Kenji Yamanaka ~ ~ 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://ww...
2dd3cf513c708b2c17181d4e8e6eba3d7b43d01b
pydroid-base/src/main/AndroidManifest.xml
pydroid-base/src/main/AndroidManifest.xml
XML
<|file_sep|>original/lib/tasks/invitational_tasks.rake # desc "Explaining what the task does" # task :invitational do # # Task goes here # end <|file_sep|>current/lib/tasks/invitational_tasks.rake # desc "Explaining what the task does" # task :invitational do # # Task goes here # end <|file_sep|>updated/lib/tasks/i...
namespace :invitational do desc "Creates an Uberadmin User" task :create_uberadmin => [:environment] do email = Digest::SHA1.hexdigest(DateTime.now.to_s) + "@localhost" creator = Invitational::CreatesUberAdminInvitation.for email invitation = creator.invitation puts "Your uberadmin invitation clai...
<|file_sep|>original/lib/tasks/invitational_tasks.rake # desc "Explaining what the task does" # task :invitational do # # Task goes here # end <|file_sep|>current/lib/tasks/invitational_tasks.rake # desc "Explaining what the task does" # task :invitational do # # Task goes here # end <|file_sep|>updated/lib/tasks/i...
b4deba666e08f4e6ec18d4c5ea7b85fa4649725a
lib/tasks/invitational_tasks.rake
lib/tasks/invitational_tasks.rake
Ruby
<|file_sep|>original/src/main/resources/static/css/main.css margin-top: 1.2rem; padding-bottom: 1.4rem; padding-top: 1.4rem; } main header { margin-bottom: 0.6rem; } .navbar { padding-left: 0; } .truncated { display: inline-block; vertical-align: bottom; width: 200px; white-space: nowrap; overflo...
padding-bottom: 1.4rem; padding-top: 1.4rem; } main header { margin-bottom: 0.6rem; } .navbar { padding-left: 0; padding-right: 0; } .truncated { display: inline-block; vertical-align: bottom; width: 200px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
<|file_sep|>original/src/main/resources/static/css/main.css margin-top: 1.2rem; padding-bottom: 1.4rem; padding-top: 1.4rem; } main header { margin-bottom: 0.6rem; } .navbar { padding-left: 0; } .truncated { display: inline-block; vertical-align: bottom; width: 200px; white-space: nowrap; overflo...
1b2794d5488173de93ea6bdbd500eeeabff675a3
src/main/resources/static/css/main.css
src/main/resources/static/css/main.css
CSS
<|file_sep|>original/dev-requirements.txt attrs==18.1.0 # Modern attrs is required for pytest autoflake==1.2 check-manifest==0.37 codecov==2.0.15 # Upload coverage data dodgy==0.1.9 # Look for uploaded secrets flake8==3.5.0 # Lint flake8-commas==2.0.0 # Require silicon valley commas flake8-quotes==1.0.0 # Require ...
attrs==18.1.0 # Modern attrs is required for pytest autoflake==1.2 check-manifest==0.37 codecov==2.0.15 # Upload coverage data dodgy==0.1.9 # Look for uploaded secrets flake8==3.5.0 # Lint flake8-commas==2.0.0 # Require silicon valley commas flake8-quotes==1.0.0 # Require single quotes freezegun==0.3.10 # Freeze ...
<|file_sep|>original/dev-requirements.txt attrs==18.1.0 # Modern attrs is required for pytest autoflake==1.2 check-manifest==0.37 codecov==2.0.15 # Upload coverage data dodgy==0.1.9 # Look for uploaded secrets flake8==3.5.0 # Lint flake8-commas==2.0.0 # Require silicon valley commas flake8-quotes==1.0.0 # Require ...
0608afbaa404232493351abccd4b60345305731a
dev-requirements.txt
dev-requirements.txt
Text
<|file_sep|>src/middleware/command/normalization/handler.js.diff original: updated: const newArgs = Object.assign({}, args); <|file_sep|>src/middleware/command/normalization/handler.js.diff original: args.nFilter = normalizeFilter({ filter }); updated: newArgs.nFilter = normalizeFilter({ filter }); <|...
const newArgs = Object.assign({}, args); if (filter) { newArgs.nFilter = normalizeFilter({ filter }); } if (orderBy) { newArgs.nOrderBy = normalizeOrderBy({ orderBy }); } input.args = newArgs; perf.stop(); const response = await this.next(input); return response; };...
<|file_sep|>src/middleware/command/normalization/handler.js.diff original: updated: const newArgs = Object.assign({}, args); <|file_sep|>src/middleware/command/normalization/handler.js.diff original: args.nFilter = normalizeFilter({ filter }); updated: newArgs.nFilter = normalizeFilter({ filter }); <|...
ba22c8b8939b3e87bfac4dac44c645f08d7fa910
src/middleware/command/normalization/handler.js
src/middleware/command/normalization/handler.js
JavaScript